Inspired by a comment from Roasbeef about how we shouldn't described MAST because that's not what taproot implements.develop
parent
89b548d5b5
commit
114d7bf25a
@ -0,0 +1,12 @@
|
||||
digraph AST {
|
||||
node [shape=box];
|
||||
|
||||
// Main Script
|
||||
script [label="Script"];
|
||||
op1 [ label = "<pubKey1> OP_CHECKSIG" ]
|
||||
op2 [ label = "<pubKey2> OP_CHECKSIG" ]
|
||||
|
||||
// Script Structure
|
||||
script -> {op1, op2};
|
||||
}
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
@ -0,0 +1,23 @@
|
||||
digraph AST {
|
||||
node [shape=box];
|
||||
|
||||
// Main Script
|
||||
script [label="Script"];
|
||||
op_if [label="OP_IF"];
|
||||
pubKey1 [label="<pubKey1>"];
|
||||
op_checksig1 [label="OP_CHECKSIG"];
|
||||
op_else [label="OP_ELSE"];
|
||||
pubKey2 [label="<pubKey2>"];
|
||||
op_checksig2 [label="OP_CHECKSIG"];
|
||||
op_endif [label="OP_ENDIF"];
|
||||
|
||||
// Script Structure
|
||||
script -> op_if;
|
||||
op_if -> pubKey1;
|
||||
op_if -> op_checksig1;
|
||||
script -> op_else;
|
||||
op_else -> pubKey2;
|
||||
op_else -> op_checksig2;
|
||||
script -> op_endif;
|
||||
}
|
||||
|
After Width: | Height: | Size: 7.2 KiB |
Loading…
Reference in new issue