mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
47 lines
1,005 B
Text
47 lines
1,005 B
Text
digraph blockchain {
|
|
|
|
size="6.25";
|
|
|
|
//splines = "false";
|
|
rankdir=LR;
|
|
//ranksep=0.1;
|
|
//splines=ortho;
|
|
overlap = false;
|
|
nodesep = 0.1;
|
|
|
|
node [ shape = box, penwidth = 1.75 ];
|
|
edge [ penwidth = 1.75, minlen = 2 ];
|
|
penwidth = 1.75;
|
|
|
|
subgraph cluster_tx2 {
|
|
scriptSig [ label = "Signature Script", shape = "none" ];
|
|
tx2_signature [ label = "Signature" ];
|
|
tx2_redeemScript [ label = "Full Redeem Script" ];
|
|
script [ label = " \nPubkey Script", shape = "none" ];
|
|
tx2_redeemScript_hash [ label = "Redeem Script Hash" ];
|
|
|
|
}
|
|
|
|
subgraph cluster_tx1 {
|
|
tx1_redeemScript_hash [ label = "Redeem Script Hash" ];
|
|
|
|
label = "TX 1 Output"
|
|
}
|
|
|
|
subgraph cluster_bob {
|
|
private_key [ label = "Private Key" ];
|
|
redeemScript [ label = "Full Redeem Script" ];
|
|
|
|
label = "Bob's Computer"
|
|
}
|
|
|
|
tx1_redeemScript_hash -> tx2_redeemScript_hash;
|
|
|
|
{
|
|
edge [ dir=back ]
|
|
tx2_redeemScript -> redeemScript;
|
|
tx2_signature -> private_key [ style = "dashed" ];
|
|
}
|
|
|
|
label = " \nSpending A P2SH Output"
|
|
}
|