neo-go/pkg/consensus
Roman Khimov 462022bbdd 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-25 00:27:39 +03:00
..
testdata vm: move RET and SYSCALL opcodes 2020-05-07 13:23:05 +03:00
block.go consensus.Block: removed unnecessary setters 2020-04-27 17:59:56 +03:00
block_test.go consensus.Block: removed unnecessary setters 2020-04-27 17:59:56 +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 *: 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-25 00:27:39 +03:00
consensus_test.go core: add SystemFee and NetworkFee to transaction 2020-05-20 23:26:48 +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 vm: move Bool method to the StackItem interface 2020-04-28 15:13:41 +03:00
payload_test.go *: drop miner transaction 2020-04-27 17:57:37 +03:00
prepare_request.go *: drop miner transaction 2020-04-27 17:57:37 +03:00
prepare_request_test.go core, consensus: nanoseconds-precision timestamp 2020-04-27 17:57:32 +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 14:35:58 +03:00
recovery_message_test.go *: drop miner transaction 2020-04-27 17:57:37 +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