neoneo-go/pkg/core
Roman Khimov 3a93977b7b oracle: only process new requests after initial sync
If an oracle node is resynchronized from the genesis the service receives all
requests from all blocks via AddRequests() invoked from the native
contract. Almost all of them are long obsolete and need to be removed, native
oracle contract will try to do that with RemoveRequests() calls, but they
won't change anything.

So queue up all "initial" requests in special map and manage it directly
before the module is Run() which happens after synchronization
completion. Then process any requests that are still active and work with new
blocks as usual.
2021-07-19 22:52:59 +03:00
..
block core/block: add Nonce field to header 2021-07-15 15:58:49 +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 interop: implement System.Runtime.GetRandom 2021-07-15 16:00:01 +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: do not create an Extension for the last child of a Branch 2021-07-07 15:49:53 +03:00
native Merge pull request #2055 from nspcc-dev/fix-gas-limits 2021-07-16 16:53:06 +03:00
state state/result: save/return real JSONization errors 2021-07-07 00:42:36 +03:00
stateroot *: increase GAS for verification 2021-07-14 10:27:09 +03:00
storage storage: convert key once in MemoryStore.seek 2021-07-12 14:14:32 +03:00
test_data core/block: add Nonce field to header 2021-07-15 15:58:49 +03:00
transaction oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
blockchain.go Merge pull request #2055 from nspcc-dev/fix-gas-limits 2021-07-16 16:53:06 +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 core/test: use testing.TB in constructors 2021-07-12 14:20:45 +03:00
interop_system.go core: optimize storageFind 2021-07-12 14:22:17 +03:00
interop_system_test.go interop: implement System.Runtime.GetRandom 2021-07-15 16:00:01 +03:00
interops.go interop: implement System.Runtime.GetRandom 2021-07-15 16:00: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 core/test: get rid of empty tx scripts 2021-07-15 15:58:49 +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 core/block: add Nonce field to header 2021-07-15 15:58:49 +03:00
native_management_test.go stackitem: remove Item/StackItem from function names 2021-07-06 19:56:23 +03:00
native_neo_test.go core/test: get rid of empty tx scripts 2021-07-15 15:58:49 +03:00
native_notary_test.go config: make MaxValidUntilBlockIncrement configurable 2021-05-17 13:43:03 +03:00
native_oracle_test.go core/test: get rid of empty tx scripts 2021-07-15 15:58:49 +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 oracle: only process new requests after initial sync 2021-07-19 22:52:59 +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 core/block: add Nonce field to header 2021-07-15 15:58:49 +03:00
util_test.go core/block: add Nonce field to header 2021-07-15 15:58:49 +03:00