[Storehouse] 011 - Add checkpoint iterate nodes function and util#8587
Open
zhangchiqing wants to merge 3 commits into
Open
[Storehouse] 011 - Add checkpoint iterate nodes function and util#8587zhangchiqing wants to merge 3 commits into
zhangchiqing wants to merge 3 commits into
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
zhangchiqing
marked this pull request as ready for review
June 25, 2026 23:51
zhangchiqing
force-pushed
the
leo/payloadless-util-convert-checkpoint
branch
from
July 2, 2026 19:11
a9c6645 to
ca39b1a
Compare
zhangchiqing
force-pushed
the
leo/payloadless-checkpoint-iteration
branch
from
July 2, 2026 19:12
534061d to
b826c88
Compare
zhangchiqing
force-pushed
the
leo/payloadless-util-convert-checkpoint
branch
from
July 13, 2026 17:26
ca39b1a to
4d5c8bf
Compare
zhangchiqing
force-pushed
the
leo/payloadless-checkpoint-iteration
branch
from
July 13, 2026 17:26
b826c88 to
39f9dcb
Compare
zhangchiqing
force-pushed
the
leo/payloadless-util-convert-checkpoint
branch
from
July 14, 2026 19:56
4d5c8bf to
91eb0a7
Compare
zhangchiqing
force-pushed
the
leo/payloadless-checkpoint-iteration
branch
from
July 14, 2026 20:01
39f9dcb to
61ed3ef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a utility that streams a v6 or v7 checkpoint file and reports the total number of leaf and interim nodes. To minimize memory usage, it processes the checkpoint incrementally instead of loading the entire checkpoint into memory and reconstructing the trie.
While the initial use case is fairly specific, the implementation provides a generic checkpoint trie node iterator (
ledger/complete/wal/checkpoint_node_iterator.go#IterateCheckpointNodes) that can be reused for other purposes. For example, it can be used to collect payload size statistics, group nodes by owner key, or support other checkpoint analysis tasks.