If a custom peer.Receive() call is used with peer.transport.Run() instead of just calling peer.Run(), the IP address might never get deleted from the hash table. This is because IP address deletion happens in peer discovery and a custom receive function might not use peer discovery at all.
If a custom
peer.Receive()
call is used withpeer.transport.Run()
instead of just callingpeer.Run()
, the IP address might never get deleted from the hash table. This is because IP address deletion happens in peer discovery and a custom receive function might not use peer discovery at all.