neoneo-go/pkg/network
Roman Khimov d3bb8ddf8f network: handle errors and connection close more correctly
This makes writer side handle errors properly and fixes communication between
reader and writer goroutine to always correctly unregister the peer. This is
especially important for the case where error occurs before handshake
completes as in this case we don't even have goroutine in startProtocol()
running.
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: start worker goroutine for every connection attempts 2019-09-16 16:26:30 +03:00
handshakestage_string.go network: make node strictly follow handshake procedure 2019-09-16 16:32:04 +03:00
helper_test.go network: make node strictly follow handshake procedure 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: handle errors and connection close more correctly 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