diff options
author | Felix Lange <fjl@twurst.com> | 2015-05-08 21:54:35 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-05-08 22:09:54 +0800 |
commit | 914e57e49bea0617515e1935972c5990a222cd7b (patch) | |
tree | 5b3f05c7b3b72e1d35f8fb3900ba49c2491383fa /accounts | |
parent | 23454dcfcb75b9e421d0c3bfe67d33ab49633c5c (diff) | |
download | go-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 'accounts')
0 files changed, 0 insertions, 0 deletions