neoneo-go/pkg/consensus
Roman Khimov 9ceefe17e2 consensus: check current chain height before processing timer
The chain may already be more current than our dBFT state (like when the node
has commited something at view 0, but all the other nodes changed view and
accepted something at view 1), so in this case we should reinit dBFT on new
height.
2020-02-04 13:16:09 +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 consensus: check current chain height before processing timer 2020-02-04 13:16:09 +03:00
consensus_test.go consensus: close chain in tests 2020-01-20 19:40: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: verify payloads correctly 2019-12-26 10:49:56 +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