aboutsummaryrefslogtreecommitdiffstats
path: root/dex/peer.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-29 10:20:00 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:58 +0800
commitd92551112ba40e99e737ff895b1a921d3a043521 (patch)
tree75eacccd2ff5653a80fbb26a67a64168bb988870 /dex/peer.go
parentf4503ed3078357f4a9ae45759315c709d0d56f2d (diff)
downloaddexon-d92551112ba40e99e737ff895b1a921d3a043521.tar
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.gz
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.bz2
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.lz
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.xz
dexon-d92551112ba40e99e737ff895b1a921d3a043521.tar.zst
dexon-d92551112ba40e99e737ff895b1a921d3a043521.zip
Fix lint
Diffstat (limited to 'dex/peer.go')
-rw-r--r--dex/peer.go14
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