neoneo-go/pkg/services
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
..
helpers/rpcbroadcaster rpcbroadcaster: don't mess with the URL from the config 2021-04-02 11:13:38 +03:00
notary *: regenerate test wallets with resources-friendly scrypt parameters 2021-06-11 15:22:32 +03:00
oracle oracle: only process new requests after initial sync 2021-07-19 22:52:59 +03:00
stateroot crypto: allow to provide non-default scrypt parameters 2021-06-11 15:22:28 +03:00