mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Dev Docs: Describe Almost All Remaining P2P Network Messages
* Describes all remaining messages except filterload. Specificially, the following messages are described: Addr, Alert, FilterAdd, FilterClear, GetAddr, Ping, Pong, Reject, VerAck, and Version * New makefile test: report broken markdown tables * Put relevant protocol version changes at the top of all message subsections.
This commit is contained in:
parent
e29104fb82
commit
a149ae1f37
8 changed files with 650 additions and 19 deletions
26
img/dev/en-p2p-control-messages.dot
Normal file
26
img/dev/en-p2p-control-messages.dot
Normal file
|
@ -0,0 +1,26 @@
|
|||
digraph {
|
||||
|
||||
size="6.25";
|
||||
rankdir=TB
|
||||
nodesep=0.2;
|
||||
ranksep=0.3;
|
||||
splines="false"
|
||||
|
||||
edge [ penwidth = 1.75, fontname="Sans", dir="none" ]
|
||||
node [ penwidth = 1.75, shape = "box", fontname="Sans", ]
|
||||
graph [ penwidth = 1.75, fontname="Sans" ]
|
||||
|
||||
version -> verack;
|
||||
ping -> pong;
|
||||
getaddr -> addr;
|
||||
|
||||
filterload -> filteradd;
|
||||
filterload -> filterclear;
|
||||
alert;
|
||||
|
||||
ERROR [ style = "invis" ];
|
||||
ERROR -> reject [ style = "invis" ];
|
||||
|
||||
label = " \nOverview Of P2P Protocol Control And Advisory Messages"
|
||||
|
||||
}
|
BIN
img/dev/en-p2p-control-messages.png
Normal file
BIN
img/dev/en-p2p-control-messages.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
92
img/dev/en-p2p-control-messages.svg
Normal file
92
img/dev/en-p2p-control-messages.svg
Normal file
|
@ -0,0 +1,92 @@
|
|||
<?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: _anonymous_0 Pages: 1 -->
|
||||
<svg width="450pt" height="134pt"
|
||||
viewBox="0.00 0.00 450.00 134.16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph1" class="graph" transform="scale(0.931677 0.931677) rotate(0) translate(4 140)">
|
||||
<title>_anonymous_0</title>
|
||||
<polygon fill="white" stroke="white" points="-4,5 -4,-140 480,-140 480,5 -4,5"/>
|
||||
<text text-anchor="middle" x="237.5" y="-25.4" font-family="Sans" font-size="14.00"> </text>
|
||||
<text text-anchor="middle" x="237.5" y="-8.4" font-family="Sans" font-size="14.00">Overview Of P2P Protocol Control And Advisory Messages</text>
|
||||
<!-- version -->
|
||||
<g id="node1" class="node"><title>version</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="66,-136 2.84217e-14,-136 0,-100 66,-100 66,-136"/>
|
||||
<text text-anchor="middle" x="33" y="-113.9" font-family="Sans" font-size="14.00">version</text>
|
||||
</g>
|
||||
<!-- verack -->
|
||||
<g id="node3" class="node"><title>verack</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="64,-78 2,-78 2,-42 64,-42 64,-78"/>
|
||||
<text text-anchor="middle" x="33" y="-55.9" font-family="Sans" font-size="14.00">verack</text>
|
||||
</g>
|
||||
<!-- version->verack -->
|
||||
<g id="edge2" class="edge"><title>version->verack</title>
|
||||
<path fill="none" stroke="black" stroke-width="1.75" d="M33,-99.9664C33,-93.0495 33,-85.1566 33,-78.2222"/>
|
||||
</g>
|
||||
<!-- ping -->
|
||||
<g id="node4" class="node"><title>ping</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="134,-136 80,-136 80,-100 134,-100 134,-136"/>
|
||||
<text text-anchor="middle" x="107" y="-113.9" font-family="Sans" font-size="14.00">ping</text>
|
||||
</g>
|
||||
<!-- pong -->
|
||||
<g id="node6" class="node"><title>pong</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="134,-78 80,-78 80,-42 134,-42 134,-78"/>
|
||||
<text text-anchor="middle" x="107" y="-55.9" font-family="Sans" font-size="14.00">pong</text>
|
||||
</g>
|
||||
<!-- ping->pong -->
|
||||
<g id="edge4" class="edge"><title>ping->pong</title>
|
||||
<path fill="none" stroke="black" stroke-width="1.75" d="M107,-99.9664C107,-93.0495 107,-85.1566 107,-78.2222"/>
|
||||
</g>
|
||||
<!-- getaddr -->
|
||||
<g id="node7" class="node"><title>getaddr</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="218,-136 148,-136 148,-100 218,-100 218,-136"/>
|
||||
<text text-anchor="middle" x="183" y="-113.9" font-family="Sans" font-size="14.00">getaddr</text>
|
||||
</g>
|
||||
<!-- addr -->
|
||||
<g id="node9" class="node"><title>addr</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="210,-78 156,-78 156,-42 210,-42 210,-78"/>
|
||||
<text text-anchor="middle" x="183" y="-55.9" font-family="Sans" font-size="14.00">addr</text>
|
||||
</g>
|
||||
<!-- getaddr->addr -->
|
||||
<g id="edge6" class="edge"><title>getaddr->addr</title>
|
||||
<path fill="none" stroke="black" stroke-width="1.75" d="M183,-99.9664C183,-93.0495 183,-85.1566 183,-78.2222"/>
|
||||
</g>
|
||||
<!-- filterload -->
|
||||
<g id="node10" class="node"><title>filterload</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="311,-136 235,-136 235,-100 311,-100 311,-136"/>
|
||||
<text text-anchor="middle" x="273" y="-113.9" font-family="Sans" font-size="14.00">filterload</text>
|
||||
</g>
|
||||
<!-- filteradd -->
|
||||
<g id="node12" class="node"><title>filteradd</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="304,-78 230,-78 230,-42 304,-42 304,-78"/>
|
||||
<text text-anchor="middle" x="267" y="-55.9" font-family="Sans" font-size="14.00">filteradd</text>
|
||||
</g>
|
||||
<!-- filterload->filteradd -->
|
||||
<g id="edge8" class="edge"><title>filterload->filteradd</title>
|
||||
<path fill="none" stroke="black" stroke-width="1.75" d="M271.134,-99.9664C270.419,-93.0495 269.602,-85.1566 268.885,-78.2222"/>
|
||||
</g>
|
||||
<!-- filterclear -->
|
||||
<g id="node14" class="node"><title>filterclear</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="400,-78 318,-78 318,-42 400,-42 400,-78"/>
|
||||
<text text-anchor="middle" x="359" y="-55.9" font-family="Sans" font-size="14.00">filterclear</text>
|
||||
</g>
|
||||
<!-- filterload->filterclear -->
|
||||
<g id="edge10" class="edge"><title>filterload->filterclear</title>
|
||||
<path fill="none" stroke="black" stroke-width="1.75" d="M299.74,-99.9664C310.094,-92.983 321.924,-85.0048 332.277,-78.0225"/>
|
||||
</g>
|
||||
<!-- alert -->
|
||||
<g id="node15" class="node"><title>alert</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="385,-136 331,-136 331,-100 385,-100 385,-136"/>
|
||||
<text text-anchor="middle" x="358" y="-113.9" font-family="Sans" font-size="14.00">alert</text>
|
||||
</g>
|
||||
<!-- ERROR -->
|
||||
<!-- reject -->
|
||||
<g id="node18" class="node"><title>reject</title>
|
||||
<polygon fill="none" stroke="black" stroke-width="1.75" points="470,-78 414,-78 414,-42 470,-42 470,-78"/>
|
||||
<text text-anchor="middle" x="442" y="-55.9" font-family="Sans" font-size="14.00">reject</text>
|
||||
</g>
|
||||
<!-- ERROR->reject -->
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue