-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
V2next iteration of the contractnext iteration of the contract
Milestone
Description
Tendermint updated their simple merkle tree to the following:
leaf nodes and inner nodes have different hashes.
This is for "second pre-image resistance", to prevent the proof to an inner node being valid as the proof of a leaf.
The leaf nodes are SHA256(0x00 || leaf_data), and inner nodes are SHA256(0x01 || left_hash || right_hash)
This can be seen here
Metadata
Metadata
Assignees
Labels
V2next iteration of the contractnext iteration of the contract