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>2018-12-19 20:54:27 +0800
commit3ea93f56e7edcb50a44060ebe5bd022cd2efd205 (patch)
tree398d525dfc339b53f4ab4e458bae785eceb33f5e /dex/peer.go
parentd00250d9631c4408d7f27f1a20a308788e36698d (diff)
downloaddexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.gz
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.bz2
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.lz
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.xz
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.tar.zst
dexon-3ea93f56e7edcb50a44060ebe5bd022cd2efd205.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