neo-go/pkg/core
Anna Shaleva 9673a04009 core: allow to add several headers with StateRootInHeader on
Problem: with StateRootInHeader setting on only one header of height N+1
can be added to the chain of height N, because we need local stateroot
to verify headers (which is calculated for the last stored block N).
Thus, adding chunk of headers starting from the current chain's heigh
is impossible and (*Blockchain).AddHeaders doesn't have much sense.

Solution: verify header.PrevStateRoot only for header N+1. Rest of the
headers should be added without PrevStateRoot verification.
2021-06-30 11:56:05 +03:00
..
block *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
blockchainer rpc: add CalculateNetworkFee RPC method 2021-03-26 19:14:46 +03:00
chaindump block: drop Network from the Header 2021-03-26 13:45:18 +03:00
dao *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
fee core: add price for CALLT instruction 2021-06-07 19:17:22 +03:00
interop core: detalize errors during contract.LoadToken and contract.Call 2021-05-17 22:08:15 +03:00
mempool core: move mempool.Event to a separate package 2021-06-01 12:24:28 +03:00
mempoolevent core: move mempool.Event to a separate package 2021-06-01 12:24:28 +03:00
mpt mpt/tests: add compatibility tests 2021-06-04 11:09:17 +03:00
native core: fix the way candidates are sorted 2021-06-16 17:35:04 +03:00
state core: export (*NEOBalanceState).FromStackItem 2021-05-31 11:18:54 +03:00
stateroot core: allow to add several headers with StateRootInHeader on 2021-06-30 11:56:05 +03:00
storage *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
test_data change block/tx/extensible signing process, fix #1741 2021-03-12 11:27:50 +03:00
transaction config: make MaxValidUntilBlockIncrement configurable 2021-05-17 13:43:03 +03:00
blockchain.go core: allow to add several headers with StateRootInHeader on 2021-06-30 11:56:05 +03:00
blockchain_test.go core: allow to add several headers with StateRootInHeader on 2021-06-30 11:56:05 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
helper_test.go crypto: allow to provide non-default scrypt parameters 2021-06-11 15:22:28 +03:00
interop_system.go core: remove neointerops-related files 2021-05-12 13:30:04 +03:00
interop_system_test.go *: remove dead code 2021-05-12 18:13:14 +03:00
interops.go core: simplify interop functions 2021-05-12 13:30:01 +03:00
interops_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
native_contract_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
native_designate_test.go *: fix whitespace errors 2021-05-12 22:51:41 +03:00
native_gas_test.go core: do not allow NEP17 roundtrip in case of insufficient funds 2021-06-09 13:36:50 +03:00
native_ledger_test.go *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
native_management_test.go *: fix whitespace errors 2021-05-12 22:51:41 +03:00
native_neo_test.go core: do not allow NEP17 roundtrip in case of insufficient funds 2021-06-09 13:36:50 +03:00
native_notary_test.go config: make MaxValidUntilBlockIncrement configurable 2021-05-17 13:43:03 +03:00
native_oracle_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
native_policy_test.go native: allow to set candidate register price 2021-03-11 10:12:30 +03:00
nonnative_name_service_test.go examples: fix IPv6 bounds check 2021-05-28 11:31:09 +03:00
notary_test.go crypto: allow to provide non-default scrypt parameters 2021-06-11 15:22:28 +03:00
oracle_test.go crypto: allow to provide non-default scrypt parameters 2021-06-11 15:22:28 +03:00
prometheus.go stateroot: move state-root related logic to core/stateroot 2021-03-09 13:48:29 +03:00
stateroot_test.go crypto: allow to provide non-default scrypt parameters 2021-06-11 15:22:28 +03:00
util.go *: remove dead code 2021-05-12 18:13:14 +03:00
util_test.go core: rename Neo.Crypto.CheckMultisig interop 2021-05-11 18:38:14 +03:00