neoneo-go/pkg
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
..
compiler interop: implement System.Runtime.GetRandom 2021-07-15 16:00:01 +03:00
config oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
consensus consensus: add Nonce to PrepareRequest 2021-07-15 16:00:02 +03:00
core oracle: only process new requests after initial sync 2021-07-19 22:52:59 +03:00
crypto keys: simplify code a bit 2021-06-17 21:55:00 +03:00
encoding encoding/bigint: allow to convert unsigned integers 2021-07-15 15:58:49 +03:00
interop interop: implement System.Runtime.GetRandom 2021-07-15 16:00:01 +03:00
io stackitem: use byte-slice directly during encoding 2021-07-13 11:06:18 +03:00
network *: increase GAS for verification 2021-07-14 10:27:09 +03:00
rpc rpc/request: support passing accounts as addresses 2021-07-18 16:45:53 +03:00
services oracle: only process new requests after initial sync 2021-07-19 22:52:59 +03:00
smartcontract callflag: add C#-compliant JSONization, fix #2040 2021-07-06 11:17:12 +03:00
util *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
vm Merge pull request #2053 from nspcc-dev/stackitem-json 2021-07-13 11:27:33 +03:00
wallet *: regenerate test wallets with resources-friendly scrypt parameters 2021-06-11 15:22:32 +03:00