Skip to content
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

Update chain.md #544

Closed
wants to merge 1 commit into from
Closed

Update chain.md #544

wants to merge 1 commit into from

Conversation

jennijuju
Copy link
Member

No description provided.

It is possible to "prune" the current chain data used by Lotus to reduce the disk footprint of a Lotus node by resyncing from a minimal snapshot. This is a quick overview of the steps:
It is possible to "prune" the current chain data used by Lotus to reduce the disk footprint of a Lotus node by resyncing from a minimal snapshot.

> Note: A minimal snapshot only has the full state trees from some recent tipset onward and nothing before that tipset. To have all historical states, sync from the full snapshot above.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not apply: the above is incorrect, both snapshots have just the last 2000 states: if you want really everything-everything - the snapshot .car would be ~350GiB and it still doesn't quite include everything: filecoin-project/lotus#3849

The difference between pruned/unpruned is how many of the headers are present. You can validate the large one via --import-chain, you can not do this with the smaller one.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh damn.. thats new to me and unfortunate...

@jennijuju jennijuju closed this Nov 3, 2020
@johnnymatthews johnnymatthews deleted the jennijuju-patch-2 branch November 4, 2020 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants