mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
Replace P2PH by P2PKH in devel-docs
This commit is contained in:
parent
70d871d43e
commit
c7eed3e444
19 changed files with 62 additions and 59 deletions
48
img/dev/en-unlocking-p2pkh-output.dot
Normal file
48
img/dev/en-unlocking-p2pkh-output.dot
Normal file
|
@ -0,0 +1,48 @@
|
|||
digraph blockchain {
|
||||
|
||||
size="6.25";
|
||||
|
||||
//splines = "false";
|
||||
rankdir=LR;
|
||||
//ranksep=0.1;
|
||||
//splines=ortho;
|
||||
overlap = false;
|
||||
nodesep = 0.1;
|
||||
|
||||
node [ fontname="Sans", shape = box, penwidth = 1.75 ];
|
||||
edge [ fontname="Sans", penwidth = 1.75, minlen = 2 ];
|
||||
graph [ fontname="Sans" ];
|
||||
penwidth = 1.75;
|
||||
|
||||
subgraph cluster_tx2 {
|
||||
scriptSig [ label = "ScriptSig", shape = "none" ];
|
||||
tx2_signature [ label = "Signature" ];
|
||||
tx2_full_public_key [ label = "Full Public Key" ];
|
||||
script [ label = " \nScript", shape = "none" ];
|
||||
tx2_pubkey_hash [ label = "Public Key Hash" ];
|
||||
|
||||
}
|
||||
|
||||
subgraph cluster_tx1 {
|
||||
tx1_pubkey_hash [ label = "Public Key Hash" ];
|
||||
|
||||
label = "TX 1 Output"
|
||||
}
|
||||
|
||||
subgraph cluster_bob {
|
||||
private_key [ label = "Private Key" ];
|
||||
full_public_key [ label = "Full Public Key" ];
|
||||
|
||||
label = "Bob's Computer"
|
||||
}
|
||||
|
||||
tx1_pubkey_hash -> tx2_pubkey_hash;
|
||||
|
||||
{
|
||||
edge [ arrowhead = "none", arrowtail = "normal", dir=both ]
|
||||
tx2_full_public_key -> full_public_key;
|
||||
tx2_signature -> private_key [ style = "dashed" ];
|
||||
}
|
||||
|
||||
label = " \nSpending A P2PKH Output"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue