neo-go/pkg/consensus
Roman Khimov dd8bcfae47 consensus: remove OnNewBlock(), use Blockchain subscription
Get new blocks directly from the Blockchain. It may lead to some duplications
(as we'll also receive our own blocks), but at the same time it's more
correct, because technically we can also get blocks via other means besides
network server like RPC (submitblock call). And it simplifies network server
at the same time.
2020-05-12 17:41:23 +03:00
..
testdata consensus: use wallet in service 2020-01-17 17:25:51 +03:00
block.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
block_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +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 17:16:29 +03:00
change_view.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
change_view_test.go network: plug in dBFT library 2019-11-27 10:57:22 +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: remove OnNewBlock(), use Blockchain subscription 2020-05-12 17:41:23 +03:00
consensus_test.go consensus: added partial message decoding 2020-04-16 17:16:29 +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: added partial message decoding 2020-04-16 17:16:29 +03:00
payload_test.go consensus: added partial message decoding 2020-04-16 17:16:29 +03:00
prepare_request.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
prepare_request_test.go random: make use or random package in tests 2020-03-27 10:27:46 +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: added partial message decoding 2020-04-16 17:16:29 +03:00
recovery_message_test.go consensus: added partial message decoding 2020-04-16 17:16:29 +03:00
recovery_request.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
recovery_request_test.go network: plug in dBFT library 2019-11-27 10:57:22 +03:00