neoneo-go/config
Vsevolod Brekelov 4e6ed9021c network: add ping pong processing
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)
2020-01-17 13:24:14 +03:00
..
config.go network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.mainnet.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.privnet.docker.four.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.privnet.docker.one.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.privnet.docker.single.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.privnet.docker.three.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.privnet.docker.two.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.privnet.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.testnet.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00
protocol.unit_testnet.yml network: add ping pong processing 2020-01-17 13:24:14 +03:00