Replies: 1 comment
-
For reaching out to other nodes you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking for a pretty similar approach widely used in blockchains - chain sync.
Once upon a time node realizes it is not in sync with other nodes. So it must request a sync from a network. It's fine if one random node will fulfill request by launching a long running process and pushing its state in chunks (there are blocks, so block after block or N blocks a time) to a peer which requested the sync.
What first comes to my mind: request-response to a random peer, request sync, get response with N blocks. But it's too dead simple solution it seems.
What would community suggest?
Beta Was this translation helpful? Give feedback.
All reactions