Support starting lbcd
with snapshot #66
Labels
No labels
ci
claimtrie
consider soon
Epic
good first issue
hacktoberfest
help wanted
mempool
mining
peer
priority: blocker
priority: high
priority: low
priority: medium
rpc
runtime
test
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
ux
wallet
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbcd#66
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
packages