3a93977b7b
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. |
||
---|---|---|
.. | ||
broadcaster | ||
jsonpath | ||
neofs | ||
testdata | ||
filter.go | ||
filter_test.go | ||
network.go | ||
network_test.go | ||
nodes.go | ||
oracle.go | ||
request.go | ||
request_test.go | ||
response.go | ||
transaction.go |