neoneo-go/pkg/consensus
Anna Shaleva 47aefad7ea consensus: remove unnecessary call to ComputeNextBlockValidators
dBFT doesn't use validators got from this call to GetValidators callback,
because NeoGo doesn't properly set WithGetConsensusAddress, and thus
this call can be safely skipped. Instead, NeoGo fills NextConsensus field
by itself in NewBlockFromContext callback.

This commit technically doesn't perform any functional changes and doesn't
affect the problem described in #3253 in any way. This commit is just a
removal of the code that was never used by NeoGo library.

This commit is a direct consequence of https://github.com/nspcc-dev/dbft/issues/84.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-12-21 18:16:34 +03:00
..
testdata wallet: fix wallet version to conform to NEP-6 2022-08-07 22:41:40 +03:00
block.go [#2442] English Check 2022-05-04 19:48:27 +03:00
block_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
cache.go [#2442] English Check 2022-05-04 19:48:27 +03:00
cache_test.go consensus: refactor payloads structure 2021-01-22 10:38:32 +03:00
change_view.go [#2442] English Check 2022-05-04 19:48:27 +03:00
change_view_test.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00
commit.go [#2442] English Check 2022-05-04 19:48:27 +03:00
commit_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
consensus.go consensus: remove unnecessary call to ComputeNextBlockValidators 2023-12-21 18:16:34 +03:00
consensus_test.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00
crypto.go consensus: update dbft, drop marshaling from private key 2022-09-02 14:44:18 +03:00
crypto_test.go consensus: update dbft, drop marshaling from private key 2022-09-02 14:44:18 +03:00
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
payload.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
payload_test.go *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
prepare_request.go consensus: don't use WriteArray for PrepareRequests 2022-06-02 15:38:39 +03:00
prepare_request_test.go consensus: remove nonce from PrepareRequest 2021-03-18 21:32:43 +03:00
prepare_response.go [#2442] English Check 2022-05-04 19:48:27 +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 network/consensus: always process dBFT messages as high priority 2022-08-02 13:07:18 +03:00
recovery_message_test.go *: remove dead code 2021-05-12 18:13:14 +03:00
recovery_request.go [#2442] English Check 2022-05-04 19:48:27 +03:00
recovery_request_test.go consensus: replace magic 1000000 with something more meaningful 2020-07-11 19:54:50 +03:00