mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-29 11:28:20 +00:00
22 lines
791 B
Plaintext
22 lines
791 B
Plaintext
|
digraph merkle_tree {
|
||
|
splines=ortho;
|
||
|
node [shape=box, style="filled", color="black", fontcolor="black", fillcolor="white"];
|
||
|
|
||
|
"Merkle Root" -> "Hash AB";
|
||
|
"Merkle Root" -> "Hash C";
|
||
|
"Hash AB" -> "Hash A";
|
||
|
"Hash AB" -> "Hash B";
|
||
|
"Hash A" -> "A";
|
||
|
//"Hash B" -> "B";
|
||
|
//"Hash C" -> "C" [minlen = 2];
|
||
|
|
||
|
"Merkle Root" [label="Merkle Root", style = "diagonals"];
|
||
|
"Hash AB" [label="Hash AB", style = "diagonals" ];
|
||
|
"Hash A" [label="Hash A" style = "diagonals"];
|
||
|
"Hash B" [label="Hash B"];
|
||
|
"Hash C" [label="Hash C"];
|
||
|
"A" [label="2 <M> <S> <Z> 3 OP_CHECKMULTISIG"];
|
||
|
//"B" [label="<30 days> OP_CSV OP_DROP\n<Lawyer> OP_CHECKSIGVERIFY\n1 <M> <S> <Z> 3 OP_CHECKMULTISIG"];
|
||
|
//"C" [label="<90 days> OP_CSV OP_DROP\n<Lawyer> OP_CHECKSIG"];
|
||
|
}
|