Status | IN PROGRESS |
---|---|
Stakeholders | |
Outcome | |
Due date | |
Owner |
Background
Shorthand
Discussion Participants: Makoto Takemiya , Salakhiev Kamil
...
We should be storing the merkle root in the block header now in iroha 2, I mean, that is how the design is. For the block hash, the txs shouldn't be hashed, but only the merkle root.
...
Problem
To make fast validations of Blockchain state we should use some secure solution like Merkle Tree.
Solution
Block's Merkle Tree should have parents Block's hash as a leftmost leaf, and transactions hashes for other leafs. Blocks headers will store only hashes of Merkle Tree (Merkle root).
Block