diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 7ece1a9f76ba17eb07c078cce6f8ffe48bac7551 (patch) | |
tree | 6f3a71a6257e23521a1ed4be3088f436b757bdb3 /dex/peer.go | |
parent | 3bc8c1628257b2fab50f260e048118fc56b1ab02 (diff) | |
download | go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.gz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.bz2 go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.lz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.xz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.zst go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.zip |
Fix lint
Diffstat (limited to 'dex/peer.go')
-rw-r--r-- | dex/peer.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/dex/peer.go b/dex/peer.go index 67aa50694..f60145f0d 100644 --- a/dex/peer.go +++ b/dex/peer.go @@ -67,12 +67,14 @@ const ( maxKnownMetas = 32768 // Maximum metas hashes to keep in the known list (prevent DOS) maxKnownBlocks = 1024 // Maximum block hashes to keep in the known list (prevent DOS) - maxKnownLatticeBLocks = 2048 - maxKnownVotes = 2048 - maxKnownAgreements = 10240 - maxKnownRandomnesses = 10240 - maxKnownDKGPrivateShare = 1024 // this related to DKG Size - maxKnownDKGPartialSignature = 1024 // this related to DKG Size + /* + maxKnownLatticeBLocks = 2048 + maxKnownVotes = 2048 + maxKnownAgreements = 10240 + maxKnownRandomnesses = 10240 + maxKnownDKGPrivateShare = 1024 // this related to DKG Size + maxKnownDKGPartialSignature = 1024 // this related to DKG Size + */ // maxQueuedTxs is the maximum number of transaction lists to queue up before // dropping broadcasts. This is a sensitive number as a transaction list might |