Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Question : Are hashes being created differently. #16

@Vee-Emm

Description

@Vee-Emm

Hi ,
Apologies for posting here , had no other way of contacting or asking a question.
I am attempting to recreate a regular merkle tree using smtree in this project
https://github.com/Vee-Emm/smtreeDemo

This is a pymerkle implementation of tree generation .
https://github.com/Vee-Emm/smtreeDemo/blob/master/generateTree.py

However the hashes created from this function prints different values for the internal nodes.
https://github.com/Vee-Emm/smtreeDemo/blob/master/src/main.rs#L112

Are the hashes being created in a different way when using Sparse Merkle tree?
Is there a way to generate a regular MT using the smtree library or if there is an expectation of that being inlcuded in the future . If pointed in the right direction , I can attempt to help contribute towards that effort.
Please do let me know .

Thanks a bunch !
vee-Emm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions