neoneo-go/pkg/network
Roman Khimov 773ccc2b92 network: allow discoverer to reuse addresses
...and don't try to connect to the nodes we're already connected to.

Before this change we had a problem of discoverer throwing away good valid
addresses just because they are already known which lead to pool draining over
time (as address reuse was basically forbidden and getaddr may not get enough
new nodes).
2019-09-16 16:32:04 +03:00
..
payload network: implement getaddr sends and addr receival 2019-09-16 16:26:30 +03:00
discovery.go network: allow discoverer to reuse addresses 2019-09-16 16:32:04 +03:00
handshakestage_string.go network: make node strictly follow handshake procedure 2019-09-16 16:32:04 +03:00
helper_test.go network: allow discoverer to reuse addresses 2019-09-16 16:32:04 +03:00
message.go network: decode CMDGetData the same way as CMDInv 2019-08-30 13:14:12 +03:00
message_test.go Node improvements (#47) 2018-03-14 10:36:59 +01:00
peer.go network: make node strictly follow handshake procedure 2019-09-16 16:32:04 +03:00
relay_reason.go Implement rpc server method: sendrawtransaction (#174) 2019-03-20 12:30:05 +00:00
server.go network: allow discoverer to reuse addresses 2019-09-16 16:32:04 +03:00
server_config.go Fix typos and warnings for GoReport / GolangCiLinter (#132) 2019-02-09 16:53:58 +01:00
server_test.go util: drop Endpoint structure, fix #321 2019-09-09 17:54:38 +03:00
tcp_peer.go network: handle errors and connection close more correctly 2019-09-16 16:32:04 +03:00
tcp_transport.go network: handle errors and connection close more correctly 2019-09-16 16:32:04 +03:00
transport.go Fixed some networking issues (#68) 2018-04-13 12:14:08 +02:00