neoneo-go/pkg/consensus
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
..
testdata consensus: use wallet in service 2020-01-17 17:25:51 +03:00
block.go block: rename BlockBase to Base 2020-01-16 10:16:24 +03:00
block_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
cache.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
cache_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
change_view.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
change_view_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
commit.go io: implement ReadBytes() 2019-12-09 15:00:15 +03:00
commit_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
consensus.go network: fix block relaying, don't spit out useless errors 2020-02-06 15:41:56 +03:00
consensus_test.go core/mempool: fix AddBlock and tx pooling concurrency issues 2020-02-06 15:41:52 +03:00
crypto.go keys: don't return error from PrivateKey.Sign 2020-01-17 17:00:30 +03:00
crypto_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
payload.go consensus: handle encoding errors in Hash() 2020-02-03 16:33:03 +03:00
payload_test.go consensus: verify payloads correctly 2019-12-26 10:49:56 +03:00
prepare_request.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
prepare_request_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
prepare_response.go io: implement ReadBytes() 2019-12-09 15:00:15 +03:00
prepare_response_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00
recovery_message.go io: rename Read/WriteBytes to Read/WriteB 2019-12-12 20:19:50 +03:00
recovery_message_test.go consensus: verify payloads correctly 2019-12-26 10:49:56 +03:00
recovery_request.go io: add type-specific read/write methods 2019-12-12 20:19:50 +03:00
recovery_request_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00