You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows the node to allocate more buffer (x10) for txn announcements for trusted and static peers. Larger queue reduces the possibility a transaction might get dropped by the node when there is a surge of txns in the network.
Copy file name to clipboardExpand all lines: eth/protocols/eth/peer.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,9 @@ const (
45
45
// before dropping older announcements.
46
46
maxQueuedTxAnns=4096
47
47
48
+
// maxQueuedTxAnnsTrusted is the maximum number of transaction announcements to queue up before dropping older announcements for trusted and static peers.
49
+
maxQueuedTxAnnsTrusted=40960
50
+
48
51
// maxQueuedBlocks is the maximum number of block propagations to queue up before
49
52
// dropping broadcasts. There's not much point in queueing stale blocks, so a few
0 commit comments