mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
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) |
||
---|---|---|
.. | ||
config.go | ||
protocol.mainnet.yml | ||
protocol.privnet.docker.four.yml | ||
protocol.privnet.docker.one.yml | ||
protocol.privnet.docker.single.yml | ||
protocol.privnet.docker.three.yml | ||
protocol.privnet.docker.two.yml | ||
protocol.privnet.yml | ||
protocol.testnet.yml | ||
protocol.unit_testnet.yml |