Skip to content

Add Hypercore.treeHashFromStorage() method to check tree in storage#783

Merged
lejeunerenard merged 1 commit intomainfrom
add-merkle-tree-verify
Mar 11, 2026
Merged

Add Hypercore.treeHashFromStorage() method to check tree in storage#783
lejeunerenard merged 1 commit intomainfrom
add-merkle-tree-verify

Conversation

@lejeunerenard
Copy link
Contributor

This method will not throw if the passed session is a resumed session. If that session is .ready'ed then it would throw. The resumed sessions skip loading the roots from storage and copy the parent roots.

This method will not throw if the passed session is a resumed session.
If that session is `.ready`'ed then it would throw. The resumed sessions
skip loading the roots from storage and copy the parent roots.
@lejeunerenard lejeunerenard merged commit 4e1f07c into main Mar 11, 2026
5 checks passed
@lejeunerenard lejeunerenard deleted the add-merkle-tree-verify branch March 11, 2026 14:22
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.

1 participant