mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-13 19:16:49 +01:00
Assign BIP 114: Merkelized Abstract Syntax Tree
This commit is contained in:
parent
735a556129
commit
952ba4ad16
2 changed files with 9 additions and 3 deletions
|
@ -404,6 +404,12 @@ Those proposing changes should consider that ultimately consent may rest with th
|
||||||
| Standard
|
| Standard
|
||||||
| Draft
|
| Draft
|
||||||
|-
|
|-
|
||||||
|
| [[bip-0114.mediawiki|114]]
|
||||||
|
| Merkelized Abstract Syntax Tree
|
||||||
|
| Johnson Lau
|
||||||
|
| Standard
|
||||||
|
| Draft
|
||||||
|
|-
|
||||||
| [[bip-0120.mediawiki|120]]
|
| [[bip-0120.mediawiki|120]]
|
||||||
| Proof of Payment
|
| Proof of Payment
|
||||||
| Kalle Rosenbaum
|
| Kalle Rosenbaum
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<pre>
|
<pre>
|
||||||
BIP: ?
|
BIP: 114
|
||||||
Title: Merkelized Abstract Syntax Tree
|
Title: Merkelized Abstract Syntax Tree
|
||||||
Author: Johnson Lau <jl2012@xbt.hk>
|
Author: Johnson Lau <jl2012@xbt.hk>
|
||||||
Status: Draft
|
Status: Draft
|
||||||
|
@ -135,7 +135,7 @@ The idea of MAST originates from Russell O’Connor, Pieter Wuille, and [https:/
|
||||||
== Reference Implementation ==
|
== Reference Implementation ==
|
||||||
https://github.com/jl2012/bitcoin/commit/f335cab76eb95d4f7754a718df201216a4975d8c
|
https://github.com/jl2012/bitcoin/commit/f335cab76eb95d4f7754a718df201216a4975d8c
|
||||||
|
|
||||||
<source lang=cpp>
|
<source lang="cpp">
|
||||||
if (witversion == 1) {
|
if (witversion == 1) {
|
||||||
if (program.size() == 32) {
|
if (program.size() == 32) {
|
||||||
if (witness.stack.size() < 3)
|
if (witness.stack.size() < 3)
|
||||||
|
@ -189,4 +189,4 @@ if (witversion == 1) {
|
||||||
*[[bip-0141.mediawiki|BIP141 Segregated Witness (Consensus layer)]]
|
*[[bip-0141.mediawiki|BIP141 Segregated Witness (Consensus layer)]]
|
||||||
|
|
||||||
== Copyright ==
|
== Copyright ==
|
||||||
This document is placed in the public domain.
|
This document is placed in the public domain.
|
Loading…
Add table
Reference in a new issue