mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-16 04:59:35 +00:00
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 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"];
|
|
"C" [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"];
|
|
"A" [label="<90 days> OP_CSV OP_DROP\n<Lawyer> OP_CHECKSIG"];
|
|
}
|