forked from TrueCloudLab/neoneo-go
4e6ed9021c
add pingInterval same as used in ref C# implementation with the same logic add pingTimeout which is used to check whether pong received. If not -- drop the peer. add pingLimit which is hardcoded to 4 in TCPPeer. It's limit for unsuccessful ping/pong calls (where pong wasn't received in pingTimeout interval) |
||
---|---|---|
.. | ||
address.go | ||
address_test.go | ||
getblocks.go | ||
getblocks_test.go | ||
headers.go | ||
headers_test.go | ||
inventory.go | ||
inventory_test.go | ||
merkleblock.go | ||
payload.go | ||
ping.go | ||
ping_test.go | ||
version.go | ||
version_test.go |