mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-12-23 07:08:13 +00:00
89b548d5b5
Special thanks to Murchandamus who provided most of the feedback
22 lines
756 B
Plaintext
22 lines
756 B
Plaintext
digraph merkle_tree {
|
|
splines=ortho;
|
|
node [shape=box, style="filled", color="black", fontcolor="black", fillcolor="white"];
|
|
|
|
"Merkle Root" -> "Hash A";
|
|
"Merkle Root" -> "Hash BC";
|
|
"Hash BC" -> "Hash B";
|
|
"Hash BC" -> "Hash C";
|
|
"Hash A" -> "A" [minlen = 2];
|
|
"Hash B" -> "B";
|
|
"Hash C" -> "C";
|
|
|
|
"Merkle Root" [label="Merkle Root"];
|
|
"Hash BC" [label="Hash BC"];
|
|
"Hash A" [label="Hash A"];
|
|
"Hash B" [label="Hash B"];
|
|
"Hash C" [label="Hash C"];
|
|
"A" [label="2 <M> <S> <Z> 3 OP_CHECKMULTISIG", style="filled", fillcolor="silver"];
|
|
"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"];
|
|
}
|