forked from btcsuite/btcd
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support starting lbcd
with snapshot
#66
Labels
ux
User experience
Comments
roylee17
changed the title
Support starting **lbcd** with snapshot
Support starting *lbcd* with snapshot
Jun 18, 2022
roylee17
changed the title
Support starting *lbcd* with snapshot
Support starting Jun 18, 2022
lbcd
with snapshot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To help new nodes catch up faster without syncing blocks from scratch, we publish snapshots compressed in zstd format.
Some users requested a convenient way to start lbcd with the snapshot without manually downloading and uncompress the snapshot. This is handy for automated / integrated setup environment.
This can be done with:
--snapshot
cli flag, which takes a file or url.Go has zstd package to do this.
Either implementation should support:
Download a snapshot from a URL
Uncompress from a downloaded snapshot
Download and uncompress on the fly, for example:
Note: 2) support of
--snapshot
is preferred so we don't require installingzstd
packagesThe text was updated successfully, but these errors were encountered: