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

chore(trie): add MerkleValue method and functions #2602

Merged
merged 5 commits into from
Aug 11, 2022

Commits on Aug 10, 2022

  1. chore(trie): add Merkle value functions

    - Add `CalculateMerkleValue` node method
    - Add `MerkleValue` function
    - Add `MerkleValueRoot` function
    - Use pool of hashers in Merkle value functions
    - Use `EncodeAndHash` method in branch child encoding `scaleEncodeHash` function
    - Add TODO comment about using io.Writer to use sync.Pool buffers
    qdm12 committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    1217feb View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Configuration menu
    Copy the full SHA
    7076d5b View commit details
    Browse the repository at this point in the history
  2. Split CalculateMerkleValue in CalculateMerkleValue + `CalculateRo…

    …otMerkleValue` to satisfy DeepSource
    qdm12 committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    6d7881b View commit details
    Browse the repository at this point in the history
  3. Add encodeIfNeeded node method

    qdm12 committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    9d09fe3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e64f0f7 View commit details
    Browse the repository at this point in the history