mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:24:03 +03:00
Update docs
This commit is contained in:
+8
-8
@@ -1,17 +1,17 @@
|
||||
// Antireplay package has cache implementations that are effective
|
||||
// against replay attacks.
|
||||
// Antireplay package has cache implementations that are effective against
|
||||
// replay attacks.
|
||||
//
|
||||
// To understand more about replay attacks, please read documentation
|
||||
// for mtglib.AntiReplayCache interface. This package has a list of some
|
||||
// To understand more about replay attacks, please read documentation for
|
||||
// [mtglib.AntiReplayCache] interface. This package has a list of some
|
||||
// implementations of this interface.
|
||||
package antireplay
|
||||
|
||||
const (
|
||||
// DefaultStableBloomFilterMaxSize is a recommended byte size for a
|
||||
// stable bloom filter.
|
||||
// DefaultStableBloomFilterMaxSize is a recommended byte size for a stable
|
||||
// bloom filter.
|
||||
DefaultStableBloomFilterMaxSize = 1024 * 1024 // 1MiB
|
||||
|
||||
// DefaultStableBloomFilterErrorRate is a recommended default error
|
||||
// rate for a stable bloom filter.
|
||||
// DefaultStableBloomFilterErrorRate is a recommended default error rate for a
|
||||
// stable bloom filter.
|
||||
DefaultStableBloomFilterErrorRate = 0.001
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user