BIP draft: Merkelized Abstract Syntax Tree



Summary:

The proposed BIP (Bitcoin Improvement Proposal) introduces a new witness program type that uses a Merkle tree to encode mutually exclusive branches in a script. This allows for complicated redemption conditions, improves privacy by hiding unexecuted scripts, and enables inclusion of non-consensus enforced data at low or no additional cost. The reference implementation is a small patch on top of BIP141 (segwit), but the author does not intend to push it until segwit is enforced. The author hopes that MAST will come with many new op codes, particularly Schnorr signature. Links to the BIP draft and the reference implementation are provided for further information.


Updated on: 2023-06-11T04:42:27.387888+00:00