mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
eth: remove directPeersHysteresis
This commit is contained in:
parent
59b224af5f
commit
583fca2a10
1 changed files with 0 additions and 3 deletions
|
|
@ -60,9 +60,6 @@ const (
|
||||||
// All transactions with a higher size will be announced and need to be fetched
|
// All transactions with a higher size will be announced and need to be fetched
|
||||||
// by the peer.
|
// by the peer.
|
||||||
txMaxBroadcastSize = 4096
|
txMaxBroadcastSize = 4096
|
||||||
|
|
||||||
// Hysteresis to stabilize the number of direct peers to send transactions to.
|
|
||||||
directPeersHysteresis = 0.5
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var syncChallengeTimeout = 15 * time.Second // Time allowance for a node to reply to the sync progress challenge
|
var syncChallengeTimeout = 15 * time.Second // Time allowance for a node to reply to the sync progress challenge
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue