A Better MMR Definition [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2017-04-01T19:46:12+00:00


Summary:

In an email exchange between Bram Cohen and Peter Todd, the concept of UTXO commitments and the use of merkle trees for proving the current state of an output were discussed. Todd suggested committing to the state of all transaction outputs with a merkle tree structure, while Cohen argued that MMRs seemed redundant with the actual blockchain history. However, they agreed on the main goal of UTXO commitments: making a compact proof that something is still in the UTXO set.There were concerns about the performance and scalability of implementing UTXO commitments, particularly due to the size of the txo set. Cohen believed that with appropriate format and implementation tricks, good enough performance could be achieved. The benefits and drawbacks of using MMRs were also discussed. Todd argued that MMRs were redundant because you could prove something is in the TXO or STXO set using the actual blockchain, while Cohen believed that UTXO commitments provided benefits in terms of proving block validity and preventing fraud.The importance of independent validation by full nodes and the potential issues of relying too heavily on proofs were also touched upon. Todd emphasized the need to consider MMRs on their own merits before comparing them to UTXO commitments.Another email conversation involved G. Andrew Stone asking about efficient nonexistence proofs in an insertion-ordered MMR. This proposal aimed to enhance the efficiency of non-existence proofs and improve TXO commitments. Additionally, there was a discussion about the definition of a prunable MMR for use in Bitcoin. The improved definition committed to the number of items in the tree implicitly, allowing for an efficient proof-of-tree-size by following the right-most nodes. The insertion-ordered MMR was seen as a way to enhance non-existence proofs and overall TXO commitments.Overall, these discussions highlighted the ongoing exploration of UTXO commitments and MMRs as potential solutions for improving the scalability, performance, and security of blockchain transactions.


Updated on: 2023-08-01T19:34:55.774037+00:00