go-merkletree icon indicating copy to clipboard operation
go-merkletree copied to clipboard

MerkleTree from 1 data node

Open Dmdv opened this issue 9 months ago • 1 comments

Why merkle tree can't be from 1 node?

https://github.com/txaty/go-merkletree/blob/ccfc3d24289d9c28111edc02f688b8bef9f45fb7/merkle_tree.go#L104

Even if there's just one mode, we still can compute 1 node merkle tree. What is the standard solution?

Dmdv avatar May 20 '24 02:05 Dmdv