neo-go/pkg/network/payload
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
..
address.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
address_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
getblocks.go network: implement getblocks command 2019-12-25 19:46:57 +03:00
getblocks_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
headers.go network: return error if header message is too big 2020-01-10 11:14:29 +03:00
headers_test.go network: return error if header message is too big 2020-01-10 11:14:29 +03:00
inventory.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
inventory_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
merkleblock.go io: rename ReadBytes() to ReadVarBytes() 2019-12-09 15:00:15 +03:00
payload.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00
ping.go network: add ping pong processing 2020-01-17 13:24:14 +03:00
ping_test.go network: add ping pong processing 2020-01-17 13:24:14 +03:00
version.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
version_test.go io: redo Serializable to return errors in BinReader/BinWriter 2019-09-17 13:21:52 +03:00