neoneo-go/pkg/network
Roman Khimov 686f983ccf network: prevent disconnects during initial sync
Node receiving extensible payload from the future is confused and drops
connection. Note that this can still happen if the node is to loose its
synchrony.

Calling `IsInSync()` is quite expensive, so we stop doing that once synchrony
is reached (hence bool flag).
2021-02-05 14:54:43 +03:00
..
capability capability: prevent panic on wrong capabilities receival 2020-05-29 00:11:54 +03:00
extpool network: implement pool for Extensible payloads 2021-01-28 17:09:06 +03:00
metrics cli,pkg: use zap.Logger 2020-01-10 11:14:27 +03:00
payload payload: extensible payload hashes are network-dependent 2021-02-04 16:50:51 +03:00
blockqueue.go network: restrict block queue size 2020-09-02 17:04:49 +03:00
blockqueue_test.go internals: move testchain from network to internals 2021-02-02 22:01:32 +03:00
compress.go network: handle length mismatch in decompression routine 2020-08-03 22:38:55 +03:00
discovery.go network: don't register addresses before version handshake 2021-01-18 21:10:06 +03:00
discovery_test.go network: don't register addresses before version handshake 2021-01-18 21:10:06 +03:00
helper_test.go internals: move testchain from network to internals 2021-02-02 22:01:32 +03:00
message.go network: replace ConsensusType with ExtensibleType 2021-01-22 10:38:33 +03:00
message_string.go network: replace ConsensusType with ExtensibleType 2021-01-22 10:38:33 +03:00
message_test.go network: replace ConsensusType with ExtensibleType 2021-01-22 10:38:33 +03:00
notary_feer.go core: introduce mempool notifications 2021-02-02 22:01:32 +03:00
peer.go network: support non-blocking broadcast 2020-12-25 14:36:52 +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: prevent disconnects during initial sync 2021-02-05 14:54:43 +03:00
server_config.go oracle: integrate module in core and RPC 2021-01-28 13:00:58 +03:00
server_test.go internals: move testchain from network to internals 2021-02-02 22:01:32 +03:00
tcp_peer.go network: set timeout on write 2020-12-25 14:36:53 +03:00
tcp_peer_test.go protocol: add capabilities to version payload 2020-05-27 19:01:14 +03:00
tcp_transport.go network: fix datarace in TCPTransport 2020-09-18 12:07:02 +03:00
transport.go protocol: add capabilities to version payload 2020-05-27 19:01:14 +03:00