-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(api): chain export v2 support #13395
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
base: master
Are you sure you want to change the base?
Changes from 4 commits
20e8fd2
7e0058a
abf7f6d
9adf222
d636d4d
74d34c5
ad2bbec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -207,7 +207,8 @@ type FullNode interface { | |
| // back to genesis, the entire genesis state, and the most recent 'nroots' | ||
| // state trees. | ||
| // If oldmsgskip is set, messages from before the requested roots are also not included. | ||
| ChainExport(ctx context.Context, nroots abi.ChainEpoch, oldmsgskip bool, tsk types.TipSetKey) (<-chan []byte, error) //perm:read | ||
| // | ||
tediou5 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ChainExport(ctx context.Context, nroots abi.ChainEpoch, oldmsgskip bool, tsk types.TipSetKey, version uint64) (<-chan []byte, error) //perm:read | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is going to be an annoyingly breaking change .. of the type we've kind of agreed to avoid if at all possible in v1
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is a change that needs careful consideration, so I'm putting it in a separate PR now. |
||
|
|
||
| // ChainExportRangeInternal triggers the export of a chain | ||
| // CAR-snapshot directly to disk. It is similar to ChainExport, | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.