dash-docs/img/dev/en-unlocking-p2sh-output.dot
David Harding ffde087f02 Contributions by @harding to devel docs
Thanks also (in alphabetical order) to @cbeams, @mikehearn, and
@tgeller, among others.

The last pre-squash commit was: c2b8d562aa107c7b68c60946cea14cdccc5159ad
2014-05-09 22:13:59 -04:00

47 lines
987 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 = "ScriptSig", shape = "none" ];
tx2_signature [ label = "Signature" ];
tx2_redeemScript [ label = "Full RedeemScript" ];
script [ label = " \nScript", shape = "none" ];
tx2_redeemScript_hash [ label = "RedeemScript Hash" ];
}
subgraph cluster_tx1 {
tx1_redeemScript_hash [ label = "RedeemScript Hash" ];
label = "TX 1 Output"
}
subgraph cluster_bob {
private_key [ label = "Private Key" ];
redeemScript [ label = "Full RedeemScript" ];
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"
}