neo-go/pkg/core/statesync
Anna Shaleva 3b7807e897 network: request unknown MPT nodes
In this commit:

1. Request unknown MPT nodes from peers. Note, that StateSync module itself
shouldn't be responsible for nodes requests, that's a server duty.
2. Do not request the same node twice, check if it is in storage
already. If so, then the only thing remaining is to update refcounter.
2021-09-07 19:43:27 +03:00
..
module.go network: request unknown MPT nodes 2021-09-07 19:43:27 +03:00
mptpool.go network: request unknown MPT nodes 2021-09-07 19:43:27 +03:00
mptpool_test.go network: request unknown MPT nodes 2021-09-07 19:43:27 +03:00