neoneo-go/pkg/network
Roman Khimov 462022bbdd consensus: remove OnNewBlock(), use Blockchain subscription
Get new blocks directly from the Blockchain. It may lead to some duplications
(as we'll also receive our own blocks), but at the same time it's more
correct, because technically we can also get blocks via other means besides
network server like RPC (submitblock call). And it simplifies network server
at the same time.
2020-05-25 00:27:39 +03:00
..
metrics cli,pkg: use zap.Logger 2020-01-10 11:14:27 +03:00
payload Merge pull request #982 from nspcc-dev/neo3/protocol/getblockdata 2020-05-22 19:28:42 +03:00
blockqueue.go core: move Blockchainer interface to a separate package 2020-04-11 10:56:36 +03:00
blockqueue_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
discovery.go network: fix a deadlock in DefaultDiscovery 2020-03-10 15:40:23 +03:00
discovery_test.go network: add Close() to discoverer, shut it down on exit 2020-02-28 16:22:04 +03:00
helper_test.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
message.go protocol: implement getblockdata p2p command 2020-05-22 19:16:49 +03:00
message_string.go protocol: implement getblockdata p2p command 2020-05-22 19:16:49 +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 consensus: remove OnNewBlock(), use Blockchain subscription 2020-05-25 00:27:39 +03:00
server_config.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00
server_test.go protocol: move magic exchange to version payload 2020-05-21 14:23:41 +03:00
tcp_peer.go protocol: switch to binary MessageCommand 2020-05-21 13:57:49 +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