neo-go/pkg/network
Anna Shaleva 6c8accf18c core, network: request blocks instead of headers
Closes #1192

1. We now have CMDGetBlockByIndex, so there's no need to request headers
   first when we can just ask for blocks.
2. We don't ask for headers (i.e. we don't send CMDGetHeaders),
   consequently, we shouldn't react on CMDHeaders.
3. But we still keep on reacting on CMDGetHeaders command as
   there could be a node which needs headers.
2020-08-04 17:52:34 +03:00
..
capability capability: prevent panic on wrong capabilities receival 2020-05-29 00:11:54 +03:00
metrics cli,pkg: use zap.Logger 2020-01-10 11:14:27 +03:00
payload network: allow to use -1 to specify GetBlockByIndex.Count 2020-08-04 17:52:34 +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
compress.go network: handle length mismatch in decompression routine 2020-08-03 22:38:55 +03:00
discovery.go protocol: add capabilities to address payload 2020-05-27 19:02:25 +03:00
discovery_test.go protocol: add capabilities to address payload 2020-05-27 19:02:25 +03:00
helper_test.go consensus: apply policy during verifyBlock 2020-08-04 10:59:09 +03:00
message.go network: allow to GetHeaders by index 2020-08-04 17:52:34 +03:00
message_string.go network: rename GetBlockData command 2020-08-04 17:52:34 +03:00
message_test.go network: remove outdated fields 2020-05-27 19:32:50 +03:00
peer.go protocol: add capabilities to version payload 2020-05-27 19:01:14 +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 core, network: request blocks instead of headers 2020-08-04 17:52:34 +03:00
server_config.go *: move wallet config from wallet to config package 2020-06-29 09:15:29 +03:00
server_test.go core, network: request blocks instead of headers 2020-08-04 17:52:34 +03:00
tcp_peer.go core, network: request blocks instead of headers 2020-08-04 17:52:34 +03:00
tcp_peer_test.go protocol: add capabilities to version payload 2020-05-27 19:01:14 +03:00
tcp_transport.go protocol: add capabilities to version payload 2020-05-27 19:01:14 +03:00
transport.go protocol: add capabilities to version payload 2020-05-27 19:01:14 +03:00