This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
How to modify and add a manual sync feature? #13060
Unanswered
canonbrother
asked this question in
Q&A
Replies: 1 comment
-
This is currently not that easy possible. After this issue is done, it should maybe be a little bit easier. However, could you describe on what you want to achieve with this? |
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
-
Substrate blockchain automatically syncs up upon starting, however, I'd like to have manual sync feature for some devs purpose.
Todo
rpc::sync(Option<Hash>)
to start sync (discover -> connect) node, stop sync on target hash whileOption<Hash>
is provided else on bestAs I am new to substrate and rust, this is not quite as straightforward as I would have thought, I simply cannot figure out how to proceed.
Beta Was this translation helpful? Give feedback.
All reactions