neoneo-go/pkg/network
Roman Khimov b9b77ac1be network: fix block relaying, don't spit out useless errors
We can only add one block of the given height and we have two competing
goroutines to do that --- consensus and block queue. Whomever adds the block
first shouldn't trigger an error in another one.

Fix block relaying for blocks added via the block queue also, previously one
consensus-generated blocks were broadcasted.
2020-02-06 15:41:56 +03:00
..
metrics cli,pkg: use zap.Logger 2020-01-10 11:14:27 +03:00
payload Merge pull request #601 from nspcc-dev/refactoring/core 2020-01-20 16:19:20 +03:00
blockqueue.go network: fix block relaying, don't spit out useless errors 2020-02-06 15:41:56 +03:00
blockqueue_test.go network: fix block relaying, don't spit out useless errors 2020-02-06 15:41:56 +03:00
discovery.go network: register connected addr in handleVersionCmd() 2020-01-30 14:03:52 +03:00
discovery_test.go network: rework discovery with rwmutex, add test 2019-10-28 13:37:27 +03:00
helper_test.go core/mempool: fix AddBlock and tx pooling concurrency issues 2020-02-06 15:41:52 +03:00
message.go network: introduce peer sending queues 2020-01-20 17:23:26 +03:00
message_test.go Node improvements (#47) 2018-03-14 10:36:59 +01:00
peer.go network: introduce peer-to-peer message queue 2020-01-30 14:03: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: fix block relaying, don't spit out useless errors 2020-02-06 15:41:56 +03:00
server_config.go network: add ping pong processing 2020-01-17 13:24:14 +03:00
server_test.go network: move SendVersion() to the Peer 2020-01-21 17:26:08 +03:00
tcp_peer.go network: prevent broadcast queue starving, share time with p2p 2020-01-30 14:03:52 +03:00
tcp_peer_test.go network: move SendVersion() to the Peer 2020-01-21 17:26:08 +03:00
tcp_transport.go network: move per-peer goroutines into the TCPPeer 2020-01-20 17:23:26 +03:00
transport.go Fixed some networking issues (#68) 2018-04-13 12:14:08 +02:00