Skip to content

add caching in hashTreeRoot#62

Open
anshalshukla wants to merge 1 commit intomasterfrom
anshalshukla/merkle-cache
Open

add caching in hashTreeRoot#62
anshalshukla wants to merge 1 commit intomasterfrom
anshalshukla/merkle-cache

Conversation

@anshalshukla
Copy link
Copy Markdown
Contributor

Adds caching in hashing path for List and BitList

  • Supports caching only when hashing with Sha256
  • init API doesn't take in Hasher as an input so CacheType cannot be Hasher agnostic without API changes
  • Can support multiple Hasher in CacheType either by updating init API or by storing a list of CacheType which can be appended based on the Hasher call in hashTreeRoot

@anshalshukla anshalshukla requested a review from gballet as a code owner April 28, 2026 06:14
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