digraph {
// This file is licensed under the MIT License (MIT) available on
// http://opensource.org/licenses/MIT.

size=6.25;
rankdir=LR
splines = "false";
ranksep = 0.2;
nodesep = 0.1;

edge [ penwidth = 1.75, fontname="Sans" ]
node [ penwidth = 1.75, shape = "box", fontname="Sans"]
graph [ penwidth = 1.75, fontname="Sans" ]

ibd -> getdata:f1 -> sync;

ibd [ label = "IBD\nNode", shape="none" ];
sync [ label = "Sync\nNode", shape="none" ];

getdata [ shape="plaintext", label=<
    <table border="2" cellborder="1">
      <tr>
        <td colspan="4" port="f1" border="0" cellpadding="4"><b>GetData Message</b></td>
      </tr>

      <tr>
        <td colspan="4" border="0"><i>Message Header</i></td>
      </tr>

      <tr>
        <td border="1"><i>Start String</i><br/><font face="courier">bf0c6bbd</font></td>
        <td border="1"><i>Command</i><br/><font face="courier">getdata</font></td>
        <td border="1"><i>Size</i><br/><font face="courier">4609</font></td>
        <td border="1"><i>Checksum</i><br/><font face="courier">33e41222</font></td>
      </tr>

      <tr>
        <td colspan="4" border="0"><i>Payload</i></td>
      </tr>

      <tr>
        <td colspan="4"><i>Number Of Objects Requested By Inventory</i><br /><font face="courier">128</font></td>
      </tr>

      <tr>
        <td colspan="4">
        <table border="0">
          <tr>
            <td colspan="2"><i>Objects Requested (Inventory Entries)</i></td>
          </tr>
          <tr>
            <td><i>Type</i></td>
            <td><i>Unique Identifier (For Blocks, A Header Hash)</i></td>
          </tr>
          <tr>
            <td>Block</td>
            <td><font face="courier">434341c0ecf9a2b4...d654121dd9070000</font></td>
          </tr>
          <tr>
            <td>Block</td>
            <td><font face="courier">bddd99ccfda39da1...ce1e57ccaf0b0000</font></td>
          </tr>
          <tr>
            <td colspan="2"><i>...............126 more inventory entries...............</i></td>
          </tr>

        </table>
        </td>
      </tr>
    </table>>];

label = "First getdata message sent from Initial Blocks Download (IBD) node"
}
