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

Tracking issue for forest-cli archive #3141

Closed
3 of 6 tasks
lemmih opened this issue Jul 7, 2023 · 4 comments
Closed
3 of 6 tasks

Tracking issue for forest-cli archive #3141

lemmih opened this issue Jul 7, 2023 · 4 comments

Comments

@lemmih
Copy link
Contributor

lemmih commented Jul 7, 2023

Issue summary

In order to generate and maintain the archival data described here, we need better tooling for manipulating archives. This tooling is independent of the daemon (i.e., does not require a running node) and should operate directly on CAR files.

Other information and links

@ruseinov
Copy link
Contributor

Let's flesh out forest-cli archive snapshot --epoch=X.

I'll outline the process the way I understand it

  1. We have a car file
  2. We index a car file using a car-backed Blockstore
  3. We then export a snapshot up to a certain tipset at --epoch=X
  4. How big of a readable window the snapshot has to represent. e.g. if we export at --epoch=X, should --epoch=x-900 still be verifiable (with all the lookups and such)
  5. If exported epoch is not present in the storage - bail.

@lemmih
Copy link
Contributor Author

lemmih commented Jul 10, 2023

Spot on.

For point 4, let's make it a flag with 900 epochs as the minimum and 2000 epochs as the default (to align with Lotus).

@lemmih
Copy link
Contributor Author

lemmih commented Jul 10, 2023

@ruseinov I created a separate issue for the task: #3159

@ruseinov
Copy link
Contributor

@ruseinov I created a separate issue for the task: #3159

Perfect!

@lemmih lemmih closed this as completed Aug 7, 2023
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

No branches or pull requests

2 participants