dash-docs/img/dev/en-tx-overview.svg
David A. Harding e26b0e3819
Revise TX Overview Image
* Replace previous TX Overview image with a simplified illustration.
  The previous overview image was commented out in pull #566 / commit
  6afc683.  New image incorporates suggestions by @saivann (thanks!)

* Add new illustration showing the specifics of outputs and inputs (and
  how they're related). This replaces most of the detail lost by using a
  simplified overview image

* Add two short paragraphs briefly describing the ouput and input
  features, leading into the existing detailed P2PKH description
2014-10-01 18:40:38 -04:00

89 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: tx_overview Pages: 1 -->
<svg width="450pt" height="171pt"
viewBox="0.00 0.00 450.00 170.69" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(0.775862 0.775862) rotate(0) translate(4 216)">
<title>tx_overview</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-216 577,-216 577,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_tx</title>
<polygon fill="none" stroke="black" stroke-width="0" points="38,-110 38,-168 476,-168 476,-110 38,-110"/>
</g>
<g id="graph3" class="cluster"><title>cluster_tx1</title>
<polygon fill="none" stroke="black" stroke-width="0" points="38,-44 38,-102 476,-102 476,-44 38,-44"/>
</g>
<!-- Locktime -->
<g id="node2" class="node"><title>Locktime</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="468,-157 390,-157 390,-121 468,-121 468,-157"/>
<text text-anchor="middle" x="429" y="-134.9" font-family="Sans" font-size="14.00">Locktime</text>
</g>
<!-- Locktime1 -->
<g id="node14" class="node"><title>Locktime1</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="468,-91 390,-91 390,-55 468,-55 468,-91"/>
<text text-anchor="middle" x="429" y="-68.9" font-family="Sans" font-size="14.00">Locktime</text>
</g>
<!-- Locktime&#45;&gt;Locktime1 -->
<!-- Outputs -->
<g id="node3" class="node"><title>Outputs</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="389,-157 317,-157 317,-121 389,-121 389,-157"/>
<text text-anchor="middle" x="353" y="-134.9" font-family="Sans" font-size="14.00">Outputs</text>
</g>
<!-- Inputs1 -->
<g id="node12" class="node"><title>Inputs1</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="316,-91 256,-91 256,-55 316,-55 316,-91"/>
<text text-anchor="middle" x="286" y="-68.9" font-family="Sans" font-size="14.00">Inputs</text>
</g>
<!-- Outputs&#45;&gt;Inputs1 -->
<g id="edge16" class="edge"><title>Outputs&#45;&gt;Inputs1</title>
<path fill="none" stroke="black" stroke-width="1.75" d="M334.692,-120.965C327.602,-113.981 319.359,-105.861 311.694,-98.3109"/>
<polygon fill="black" stroke="black" points="313.866,-95.5373 304.286,-91.013 308.954,-100.524 313.866,-95.5373"/>
</g>
<!-- Outputs1 -->
<g id="node13" class="node"><title>Outputs1</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="389,-91 317,-91 317,-55 389,-55 389,-91"/>
<text text-anchor="middle" x="353" y="-68.9" font-family="Sans" font-size="14.00">Outputs</text>
</g>
<!-- Outputs&#45;&gt;Outputs1 -->
<!-- Inputs -->
<g id="node4" class="node"><title>Inputs</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="316,-157 256,-157 256,-121 316,-121 316,-157"/>
<text text-anchor="middle" x="286" y="-134.9" font-family="Sans" font-size="14.00">Inputs</text>
</g>
<!-- Inputs&#45;&gt;Inputs1 -->
<!-- Version -->
<g id="node5" class="node"><title>Version</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="255,-157 187,-157 187,-121 255,-121 255,-157"/>
<text text-anchor="middle" x="221" y="-134.9" font-family="Sans" font-size="14.00">Version</text>
</g>
<!-- Version1 -->
<g id="node11" class="node"><title>Version1</title>
<polygon fill="none" stroke="black" stroke-width="1.75" points="255,-91 187,-91 187,-55 255,-55 255,-91"/>
<text text-anchor="middle" x="221" y="-68.9" font-family="Sans" font-size="14.00">Version</text>
</g>
<!-- Version&#45;&gt;Version1 -->
<!-- tx0_label -->
<g id="node6" class="node"><title>tx0_label</title>
<text text-anchor="middle" x="116" y="-143.4" font-family="Sans" font-size="14.00">The Main Parts Of</text>
<text text-anchor="middle" x="116" y="-126.4" font-family="Sans" font-size="14.00">Transaction 0</text>
</g>
<!-- tx_label -->
<g id="node7" class="node"><title>tx_label</title>
<text text-anchor="middle" x="319" y="-189.9" font-family="Sans" font-size="14.00">Each input spends a previous output</text>
</g>
<!-- tx_label&#45;&gt;Outputs -->
<!-- tx_label&#45;&gt;Inputs -->
<!-- utxos -->
<g id="node16" class="node"><title>utxos</title>
<text text-anchor="middle" x="286" y="-13.9" font-family="Sans" font-size="14.00">Each output waits as an Unspent TX Output (UTXO) until a later input spends it</text>
</g>
<!-- Inputs1&#45;&gt;utxos -->
<!-- tx1_label -->
<g id="node15" class="node"><title>tx1_label</title>
<text text-anchor="middle" x="116" y="-77.4" font-family="Sans" font-size="14.00">The Main Parts Of</text>
<text text-anchor="middle" x="116" y="-60.4" font-family="Sans" font-size="14.00">Transaction 1</text>
</g>
</g>
</svg>