Replace P2PH by P2PKH in devel-docs
Before Width: | Height: | Size: 4 KiB |
|
@ -7,8 +7,9 @@ rankdir=LR;
|
|||
//ranksep=0.1;
|
||||
//splines=ortho;
|
||||
|
||||
node [ shape = box, penwidth = 1.75 ];
|
||||
edge [ penwidth = 1.75 ];
|
||||
node [ fontname="Sans", shape = box, penwidth = 1.75 ];
|
||||
edge [ fontname="Sans", penwidth = 1.75 ];
|
||||
graph [ fontname="Sans" ];
|
||||
penwidth = 1.75;
|
||||
|
||||
subgraph cluster_bob {
|
||||
|
@ -37,5 +38,5 @@ private_key -> full_public_key -> pubkey_hash -> spender_pubkey_hash -> tx1_pubk
|
|||
|
||||
|
||||
|
||||
label = "Creating A P2PH Public Key Hash To Receive Payment"
|
||||
label = "Creating A P2PKH Public Key Hash To Receive Payment"
|
||||
}
|
BIN
img/dev/en-creating-p2pkh-output.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
|
@ -9,7 +9,7 @@
|
|||
<g id="graph1" class="graph" transform="scale(0.722311 0.722311) rotate(0) translate(4 144)">
|
||||
<title>blockchain</title>
|
||||
<polygon fill="white" stroke="white" points="-4,5 -4,-144 620,-144 620,5 -4,5"/>
|
||||
<text text-anchor="middle" x="307.5" y="-8.4" font-family="Sans" font-size="14.00">Creating A P2PH Public Key Hash To Receive Payment</text>
|
||||
<text text-anchor="middle" x="307.5" y="-8.4" font-family="Sans" font-size="14.00">Creating A P2PKH Public Key Hash To Receive Payment</text>
|
||||
<g id="graph2" class="cluster"><title>cluster_bob</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="8,-41 8,-124 334,-124 334,-41 8,-41"/>
|
||||
<text text-anchor="middle" x="171" y="-107.4" font-family="Sans" font-size="14.00">Bob's Computer</text>
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 20 KiB |
|
@ -1,13 +1,14 @@
|
|||
digraph blockchain {
|
||||
|
||||
size=6.66;
|
||||
size=6.25;
|
||||
splines = "false";
|
||||
//rankdir=LR;
|
||||
//ranksep=0.1;
|
||||
//splines=ortho;
|
||||
|
||||
node [ shape = box ];
|
||||
edge [ style = invis, minlen = 1 ];
|
||||
node [ fontname="Sans", shape = box ];
|
||||
edge [ fontname="Sans", style = invis, minlen = 1 ];
|
||||
graph [ fontname="Sans" ];
|
||||
//fixedsize
|
||||
nodesep = 0.05;
|
||||
//concentrate = true;
|
||||
|
@ -141,5 +142,5 @@ stack6_ophash -> stack6_pubkeyhash [ style = "" ];
|
|||
stack7_pubkey -> stack7_opchecksig [ style = "" ];
|
||||
stack7_sig -> stack7_pubkey [ style = "" ];
|
||||
|
||||
label = "Evaluation Stack Over Time During Succesful P2PH Script Validation"
|
||||
label = "Evaluation Stack Over Time During Succesful P2PKH Script Validation"
|
||||
}
|
BIN
img/dev/en-p2pkh-stack.png
Normal file
After Width: | Height: | Size: 18 KiB |
|
@ -4,12 +4,12 @@
|
|||
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
|
||||
-->
|
||||
<!-- Title: blockchain Pages: 1 -->
|
||||
<svg width="480pt" height="351pt"
|
||||
viewBox="0.00 0.00 480.00 350.53" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph1" class="graph" transform="scale(0.631579 0.631579) rotate(0) translate(4 551)">
|
||||
<svg width="450pt" height="329pt"
|
||||
viewBox="0.00 0.00 450.00 328.62" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph1" class="graph" transform="scale(0.592105 0.592105) rotate(0) translate(4 551)">
|
||||
<title>blockchain</title>
|
||||
<polygon fill="white" stroke="white" points="-4,5 -4,-551 757,-551 757,5 -4,5"/>
|
||||
<text text-anchor="middle" x="376" y="-8.4" font-family="Sans" font-size="14.00">Evaluation Stack Over Time During Succesful P2PH Script Validation</text>
|
||||
<text text-anchor="middle" x="376" y="-8.4" font-family="Sans" font-size="14.00">Evaluation Stack Over Time During Succesful P2PKH Script Validation</text>
|
||||
<g id="graph2" class="cluster"><title>cluster_alice</title>
|
||||
<polygon fill="grey" stroke="black" points="8,-462 8,-539 710,-539 710,-462 8,-462"/>
|
||||
<text text-anchor="middle" x="359" y="-522.4" font-family="Sans" font-size="14.00">Instructions And Data Provided By Alice In Transaction #1's Output Script</text>
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 5.4 KiB |
|
@ -9,8 +9,9 @@ rankdir=LR;
|
|||
overlap = false;
|
||||
nodesep = 0.1;
|
||||
|
||||
node [ shape = box, penwidth = 1.75 ];
|
||||
edge [ penwidth = 1.75, minlen = 2 ];
|
||||
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 {
|
||||
|
@ -43,5 +44,5 @@ tx1_pubkey_hash -> tx2_pubkey_hash;
|
|||
tx2_signature -> private_key [ style = "dashed" ];
|
||||
}
|
||||
|
||||
label = " \nSpending A P2PH Output"
|
||||
label = " \nSpending A P2PKH Output"
|
||||
}
|
BIN
img/dev/en-unlocking-p2pkh-output.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
|
@ -10,7 +10,7 @@
|
|||
<title>blockchain</title>
|
||||
<polygon fill="white" stroke="white" points="-4,5 -4,-292 553,-292 553,5 -4,5"/>
|
||||
<text text-anchor="middle" x="274" y="-25.4" font-family="Sans" font-size="14.00"> </text>
|
||||
<text text-anchor="middle" x="274" y="-8.4" font-family="Sans" font-size="14.00">Spending A P2PH Output</text>
|
||||
<text text-anchor="middle" x="274" y="-8.4" font-family="Sans" font-size="14.00">Spending A P2PKH Output</text>
|
||||
<g id="graph2" class="cluster"><title>cluster_tx2</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="208,-50 208,-280 350,-280 350,-50 208,-50"/>
|
||||
</g>
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |