neoneo-go/pkg/consensus
Roman Khimov 7eef895061 consensus: use GetNextBlockValidators where appropriate
GetValidators without parameter is called upon DBFT initialization and it
should receive validators for the next block (that will create it),
parameterized GetValidators is used for NextConsensus calculation where we
need a list for the current state of the chain.
2020-07-11 19:54:50 +03:00
..
testdata wallet: marshal script in base64 2020-07-02 11:43:53 +03:00
block.go consensus.Block: removed unnecessary setters 2020-04-27 17:59:56 +03:00
block_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
cache.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
cache_test.go consensus: added partial message decoding 2020-04-16 14:35:58 +03:00
change_view.go consensus: update dbft, use millisecond-precision time, add CV reason 2020-07-11 19:54:50 +03:00
change_view_test.go consensus: update dbft, use millisecond-precision time, add CV reason 2020-07-11 19:54:50 +03:00
commit.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
commit_test.go random: make use or random package in tests 2020-03-27 10:27:46 +03:00
consensus.go consensus: use GetNextBlockValidators where appropriate 2020-07-11 19:54:50 +03:00
consensus_test.go consensus: update dbft, use millisecond-precision time, add CV reason 2020-07-11 19:54:50 +03:00
crypto.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
crypto_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
payload.go consensus: take payload hash based on data 2020-06-29 15:52:06 +03:00
payload_test.go consensus: drop NextConsensus from the prepareRequest 2020-07-11 19:54:50 +03:00
prepare_request.go consensus: drop NextConsensus from the prepareRequest 2020-07-11 19:54:50 +03:00
prepare_request_test.go consensus: drop NextConsensus from the prepareRequest 2020-07-11 19:54:50 +03:00
prepare_response.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
prepare_response_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
recovery_message.go consensus: update dbft, use millisecond-precision time, add CV reason 2020-07-11 19:54:50 +03:00
recovery_message_test.go consensus: drop NextConsensus from the prepareRequest 2020-07-11 19:54:50 +03:00
recovery_request.go consensus: update dbft, use millisecond-precision time, add CV reason 2020-07-11 19:54:50 +03:00
recovery_request_test.go consensus: update dbft, use millisecond-precision time, add CV reason 2020-07-11 19:54:50 +03:00