neo-go/pkg/network
Roman Khimov 46a59e904a network: don't register addresses before version handshake
1) It duplicates registration in `version` message handler and no valid
   connection can work without version exchange.
2) On public networks we have seed nodes defined by names, so we register
   connections to them using these names, but then if connection is dropped we
   delist them by IP:PORT combinations which can lead to zero PeerCount() with
   all seeds still being registered as connected in the discovery subsystem
   and thus no reconnection attempts being made.
2021-06-18 10:49:42 +03:00
..
metrics cli,pkg: use zap.Logger 2020-01-10 11:14:27 +03:00
payload network: add MPT-related P2P payloads 2020-06-03 13:33:44 +03:00
blockqueue.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
blockqueue_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
discovery.go network: don't register addresses before version handshake 2021-06-18 10:49:42 +03:00
discovery_test.go network: don't register addresses before version handshake 2021-06-18 10:49:42 +03:00
helper_test.go rpc: fix getblocksystemfee call 2021-02-15 17:58:39 +03:00
message.go network: remove extra error check from Message.Encode() 2020-12-31 12:52:40 +03:00
message_test.go Node improvements (#47) 2018-03-14 10:36:59 +01:00
peer.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +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 requestTx() 2020-12-31 13:00:50 +03:00
server_config.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00
server_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
tcp_peer.go network: set timeout on write 2020-12-31 12:58:00 +03:00
tcp_peer_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
tcp_transport.go network: add a nil check in (*TCPTransport).Close, prevent panic 2020-03-05 11:53:26 +03:00
transport.go Fixed some networking issues (#68) 2018-04-13 12:14:08 +02:00