neoneo-go/pkg/consensus
Roman Khimov 7589733017 config: add a special Blockchain type to configure Blockchain
And include some node-specific configurations there with backwards
compatibility. Note that in the future we'll remove Ledger's
fields from the ProtocolConfiguration and it'll be possible to access them in
Blockchain directly (not via .Ledger).

The other option tried was using two configuration types separately, but that
incurs more changes to the codebase, single structure that behaves almost like
the old one is better for backwards compatibility.

Fixes #2676.
2022-12-07 17:35:53 +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 config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +03:00
consensus_test.go config: add a special Blockchain type to configure Blockchain 2022-12-07 17:35:53 +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 [#2442] English Check 2022-05-04 19:48:27 +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