aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-08 21:54:35 +0800
committerFelix Lange <fjl@twurst.com>2015-05-08 22:09:54 +0800
commit914e57e49bea0617515e1935972c5990a222cd7b (patch)
tree5b3f05c7b3b72e1d35f8fb3900ba49c2491383fa /cmd
parent23454dcfcb75b9e421d0c3bfe67d33ab49633c5c (diff)
downloadgo-tangerine-914e57e49bea0617515e1935972c5990a222cd7b.tar.gz
go-tangerine-914e57e49bea0617515e1935972c5990a222cd7b.tar.zst
go-tangerine-914e57e49bea0617515e1935972c5990a222cd7b.zip
p2p: fix disconnect at capacity
With the introduction of static/trusted nodes, the peer count can go above MaxPeers. Update the capacity check to handle this. While here, decouple the trusted nodes check from the handshake by passing a function instead.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions