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) |
||
---|---|---|
.. | ||
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 |