dash-docs/img/dev/en-unlocking-p2pkh-output.dot
David A. Harding 6afc6835bf
Use Terms "Pubkey Script" And "Signature Script"
This modifies commits provided by @petertodd to use the terms "pubkey
script" and "signature script" instead of other terms.

* Rename "scriptPubKey" and "output script" to "pubkey script"
  (suggested by @luke-jr). We leave a token "scriptPubKey" at the point
  where we define pubkey script so that searchers can find it.

* Rename "scriptSig" to "signature script" (suggested by @luke-jr). We
  also leave a token "scriptSig" at this definition point.

* Rename "redeemScript" to "redeem script"

* Defined ECDSA on secp256k1 curve as the crypto used in the Transaction
  section and added references to secp256k1 private/public keys and
  signatures.

* Removed "The Parts Of A Transaction" illustration by commenting it out
  in the HTML. Shoehorning the pubkey/signature script terms into this
  image was becoming difficult, and I'm not very fond of that
  illustration anyway. I'll see if I can think of a nicer replacement
  illustration for some point in the future.

* Add a short paraphrased version @petertodd's description of scripts as
  generalized crypto.

* Updated all the illustrations which referred to either pubkey scripts
  or signature scripts to use these terms.
2014-09-20 15:07:42 -04:00

48 lines
1.1 KiB
Text

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 = "Signature Script", shape = "none" ];
tx2_signature [ label = "Signature" ];
tx2_full_public_key [ label = "Full Public Key" ];
script [ label = " \nPubkey Script", 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"
}