mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-26 09:58:22 +00:00
22 lines
720 B
Plaintext
22 lines
720 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"];
|
||
|
"Hash AB" [label="Hash AB"];
|
||
|
"Hash A" [label="Hash A"];
|
||
|
"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"];
|
||
|
}
|