neo-go/pkg/network
Roman Khimov d7f747fa9a network: wait for both Version messages before ACKing
Otherwise the node might crash in `startProtocol` because of missing Version
field in the peer. And it also keeps the sequence correct, Version MUST be
sent first and ACKs can only follow it.
2019-11-06 18:05:50 +03:00
..
metrics monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
payload fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
blockqueue.go monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
blockqueue_test.go network: add block queue 2019-09-27 13:00:09 +03:00
discovery.go monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
discovery_test.go network: rework discovery with rwmutex, add test 2019-10-28 13:37:27 +03:00
helper_test.go network: split Peer's NetAddr into RemoteAddr and PeerAddr 2019-11-06 15:26:24 +03:00
message.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
message_test.go Node improvements (#47) 2018-03-14 10:36:59 +01:00
peer.go network: split Peer's NetAddr into RemoteAddr and PeerAddr 2019-11-06 15:26:24 +03:00
prometheus.go monitoring: add prometheus monitoring 2019-10-29 20:51:17 +03:00
relay_reason.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
server.go network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
server_config.go network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
server_test.go network: disallow double connections to the same peer 2019-11-06 15:29:58 +03:00
tcp_peer.go network: wait for both Version messages before ACKing 2019-11-06 18:05:50 +03:00
tcp_peer_test.go network: wait for both Version messages before ACKing 2019-11-06 18:05:50 +03:00
tcp_transport.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
transport.go Fixed some networking issues (#68) 2018-04-13 12:14:08 +02:00