mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
223 lines
96 KiB
HTML
223 lines
96 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Dash Core: src/protocol.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Dash Core
|
|
 <span id="projectnumber">0.12.2.1</span>
|
|
</div>
|
|
<div id="projectbrief">P2P Digital Currency</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('protocol_8h_source.html','');});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">protocol.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="protocol_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (c) 2009-2010 Satoshi Nakamoto</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright (c) 2009-2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#ifndef __cplusplus</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#error This header can only be compiled as C++.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifndef BITCOIN_PROTOCOL_H</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#define BITCOIN_PROTOCOL_H</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "<a class="code" href="netaddress_8h.html">netaddress.h</a>"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="serialize_8h.html">serialize.h</a>"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="uint256_8h.html">uint256.h</a>"</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="version_8h.html">version.h</a>"</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <stdint.h></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="protocol_8h.html#a6bcadada595cc3da13e6a04be1715917"> 21</a></span> <span class="preprocessor">#define MESSAGE_START_SIZE 4</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classCMessageHeader.html"> 29</a></span> <span class="keyword">class </span><a class="code" href="classCMessageHeader.html">CMessageHeader</a></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f"> 32</a></span>  <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f">MessageStartChars</a>[<a class="code" href="protocol_8h.html#a6bcadada595cc3da13e6a04be1715917">MESSAGE_START_SIZE</a>];</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="classCMessageHeader.html#af2b7b2dbd21363099e3da99699d93d59">CMessageHeader</a>(<span class="keyword">const</span> <a class="code" href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f">MessageStartChars</a>& pchMessageStartIn);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="classCMessageHeader.html#af2b7b2dbd21363099e3da99699d93d59">CMessageHeader</a>(<span class="keyword">const</span> <a class="code" href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f">MessageStartChars</a>& pchMessageStartIn, <span class="keyword">const</span> <span class="keywordtype">char</span>* pszCommand, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nMessageSizeIn);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  std::string <a class="code" href="classCMessageHeader.html#ab5b3807481d4b918527b86523f1efee2">GetCommand</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">bool</span> <a class="code" href="classCMessageHeader.html#a759db7100358ba4a44bf6dee757ffe51">IsValid</a>(<span class="keyword">const</span> <a class="code" href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f">MessageStartChars</a>& messageStart) <span class="keyword">const</span>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#a447044c3fbf9d5e98dcc4121ac808d2f"> 40</a></span>  <a class="code" href="classCMessageHeader.html#a447044c3fbf9d5e98dcc4121ac808d2f">ADD_SERIALIZE_METHODS</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> Stream, <span class="keyword">typename</span> Operation></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#a3881923a93297c3a7a8e413ab3730408"> 43</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classCMessageHeader.html#a3881923a93297c3a7a8e413ab3730408">SerializationOp</a>(Stream& s, Operation ser_action, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nVersion)</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="serialize_8h.html#a9393dd1b6a30ae7fe9cc42240241f741">FLATDATA</a>(<a class="code" href="classCMessageHeader.html#a4284bf1d2fd792af89e1c93b7e6e274e">pchMessageStart</a>));</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="serialize_8h.html#a9393dd1b6a30ae7fe9cc42240241f741">FLATDATA</a>(<a class="code" href="classCMessageHeader.html#a87d62b0d9afb3889f318991700a34431">pchCommand</a>));</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCMessageHeader.html#aebbc26feb23d551467ebd58b509204d0">nMessageSize</a>);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="serialize_8h.html#a9393dd1b6a30ae7fe9cc42240241f741">FLATDATA</a>(<a class="code" href="classCMessageHeader.html#aa0da43a88e43c6ac575b8b3af98b8107">pchChecksum</a>));</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// TODO: make private (improves encapsulation)</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">enum</span> {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54"> 54</a></span>  <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54">COMMAND_SIZE</a> = 12,</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa223ee9c2e0e31d0afe31c713b41400d2"> 55</a></span>  <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa223ee9c2e0e31d0afe31c713b41400d2">MESSAGE_SIZE_SIZE</a> = 4,</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aac92b66287a05d5c96bf494ff5a48e726"> 56</a></span>  <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aac92b66287a05d5c96bf494ff5a48e726">CHECKSUM_SIZE</a> = 4,</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa73cc507b1a2c32fba10305201e40f2b3"> 58</a></span>  <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa73cc507b1a2c32fba10305201e40f2b3">MESSAGE_SIZE_OFFSET</a> = <a class="code" href="protocol_8h.html#a6bcadada595cc3da13e6a04be1715917">MESSAGE_START_SIZE</a> + <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54">COMMAND_SIZE</a>,</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aad4e76479ab116367800a146dbb299393"> 59</a></span>  <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aad4e76479ab116367800a146dbb299393">CHECKSUM_OFFSET</a> = <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa73cc507b1a2c32fba10305201e40f2b3">MESSAGE_SIZE_OFFSET</a> + <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa223ee9c2e0e31d0afe31c713b41400d2">MESSAGE_SIZE_SIZE</a>,</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aadd8582d526addef583c978e5261dfec1"> 60</a></span>  <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aadd8582d526addef583c978e5261dfec1">HEADER_SIZE</a> = <a class="code" href="protocol_8h.html#a6bcadada595cc3da13e6a04be1715917">MESSAGE_START_SIZE</a> + <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54">COMMAND_SIZE</a> + <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa223ee9c2e0e31d0afe31c713b41400d2">MESSAGE_SIZE_SIZE</a> + <a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aac92b66287a05d5c96bf494ff5a48e726">CHECKSUM_SIZE</a></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  };</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#a4284bf1d2fd792af89e1c93b7e6e274e"> 62</a></span>  <span class="keywordtype">char</span> <a class="code" href="classCMessageHeader.html#a4284bf1d2fd792af89e1c93b7e6e274e">pchMessageStart</a>[<a class="code" href="protocol_8h.html#a6bcadada595cc3da13e6a04be1715917">MESSAGE_START_SIZE</a>];</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#a87d62b0d9afb3889f318991700a34431"> 63</a></span>  <span class="keywordtype">char</span> <a class="code" href="classCMessageHeader.html#a87d62b0d9afb3889f318991700a34431">pchCommand</a>[<a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54">COMMAND_SIZE</a>];</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#aebbc26feb23d551467ebd58b509204d0"> 64</a></span>  uint32_t <a class="code" href="classCMessageHeader.html#aebbc26feb23d551467ebd58b509204d0">nMessageSize</a>;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classCMessageHeader.html#aa0da43a88e43c6ac575b8b3af98b8107"> 65</a></span>  uint8_t <a class="code" href="classCMessageHeader.html#aa0da43a88e43c6ac575b8b3af98b8107">pchChecksum</a>[<a class="code" href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aac92b66287a05d5c96bf494ff5a48e726">CHECKSUM_SIZE</a>];</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> };</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword">namespace </span><a class="code" href="namespaceNetMsgType.html">NetMsgType</a> {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a79d16fca661ece8c17e786943721fd34">VERSION</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#aaf8228cc7b3374862bcb3d79f5ff38e6">VERACK</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a77d83bbf95702906ee01ca4fd934e1c0">ADDR</a>;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#afabe3cd738cb766597ff4c1ee1e47cbd">INV</a>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#aa53772dc0dfe3dc5a6ac2c99444a2afe">GETDATA</a>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ae5af2ea09090341213f7021f7741e929">MERKLEBLOCK</a>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a7a51f1ef81fa21178b6e241937934fed">GETBLOCKS</a>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a9f6abd72d04b4128a949c0c4db11d883">GETHEADERS</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a75ab96e2e9fa2a1b1655f0034667604d">TX</a>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a216e35db319a5d508043639fd3170776">HEADERS</a>;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a1842ab3e065d8bc5180974b9e3f44377">BLOCK</a>;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a4d0f984b71f9e4c4b8b3619cb3f3dadd">GETADDR</a>;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a68c340a8ef4f949cfd06c19a620aa32c">MEMPOOL</a>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ad9a2ba0319f01bf1c26f5206b5156496">PING</a>;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a395de13511c6ef9946844ee280b8f08e">PONG</a>;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ac993eb54177079f7a0e8c0c1ad657c6f">ALERT</a>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a567653d3f26a7e711889682e7fd1c484">NOTFOUND</a>;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a0e95085c85cbbb8330fa1a5ffe49070f">FILTERLOAD</a>;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a75c8dba2361ddda663917c27f14c3a16">FILTERADD</a>;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a1ef3ccc1966cb35a59882fb97c15a30e">FILTERCLEAR</a>;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#af659195932e1bac2ed2bdd1cda6d2e2b">REJECT</a>;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a34f999f9e5179be5fc361aaca9c0e5b3">SENDHEADERS</a>;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment">// Dash message types</span></div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment">// NOTE: do NOT declare non-implmented here, we don't want them to be exposed to the outside</span></div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment">// TODO: add description</span></div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a13eac32e61d992756b94e714fa24e182">TXLOCKREQUEST</a>;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a8b94e14857fd0ee095d5ebf4e6cb9be4">TXLOCKVOTE</a>;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ae4af19c6d5d69539afe179b84a91cbad">SPORK</a>;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ae9da7484b23bc90b5c18b009f9f6c2ab">GETSPORKS</a>;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a52ba4e8bec9f766efd43edac1acf8c9d">MASTERNODEPAYMENTVOTE</a>;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a15b8d57330bcd4ffc79521016a0ec8e9">MASTERNODEPAYMENTSYNC</a>;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a22acc167096d6b0ce88c4a09a83988ce">MNANNOUNCE</a>;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#aa5e06959ed73a2a200cce6638102972b">MNPING</a>;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a791820242fcf96633e9fd9ac6ed2185d">DSACCEPT</a>;</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a30c8180071c9495011228da267d6735f">DSVIN</a>;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ac38125d51ba5734daa34215a23882aa8">DSFINALTX</a>;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a29f23c78896bc7d0516ed7100e1de714">DSSIGNFINALTX</a>;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a6e7944ac984922d3647b6f08affc6b2c">DSCOMPLETE</a>;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#aca278bd6a0438856b158eafc2928ee31">DSSTATUSUPDATE</a>;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a0138bc5c11da6ec5f5890a53ef15ca0c">DSTX</a>;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#aafc49a8bfe8f36ad8d7ab089824cf868">DSQUEUE</a>;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a2145d629ac6adc136e1d3b2ebd50b93f">DSEG</a>;</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ab64324fd41d2505f5306f8b3d1d0d2ba">SYNCSTATUSCOUNT</a>;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ae5f4b017caf19039dfca2b72fb3ea085">MNGOVERNANCESYNC</a>;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#ab93722c7e784f3a5c110e82eb3c31078">MNGOVERNANCEOBJECT</a>;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a4dc585a49c4b1374d2bd49ae4d4569ca">MNGOVERNANCEOBJECTVOTE</a>;</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="namespaceNetMsgType.html#a056ec0899d4010d04c39eaf38cbea56d">MNVERIFY</a>;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> };</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> </div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment">/* Get a vector of all valid message types (see above) */</span></div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="keyword">const</span> std::vector<std::string> &<a class="code" href="protocol_8h.html#a5f8d18ec9217ffee378339dc22ebe20d">getAllNetMessageTypes</a>();</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537"> 253</a></span> <span class="keyword">enum</span> <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> : uint64_t {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// Nothing</span></div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a51f819cd0b9ac374d6950a29b4861398"> 255</a></span>  <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a51f819cd0b9ac374d6950a29b4861398">NODE_NONE</a> = 0,</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">// NODE_NETWORK means that the node is capable of serving the block chain. It is currently</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="comment">// set by all Dash Core nodes, and is unset by SPV clients or other peers that just want</span></div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="comment">// network services but don't provide them.</span></div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9d1154f0e7e56f183a5c8373abe2e86c"> 259</a></span>  <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9d1154f0e7e56f183a5c8373abe2e86c">NODE_NETWORK</a> = (1 << 0),</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="comment">// NODE_GETUTXO means the node is capable of responding to the getutxo protocol request.</span></div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="comment">// Dash Core does not support this but a patch set called Bitcoin XT does.</span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="comment">// See BIP 64 for details on how this is implemented.</span></div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a720fdab810216774bd4c48b8b8cf4c70"> 263</a></span>  <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a720fdab810216774bd4c48b8b8cf4c70">NODE_GETUTXO</a> = (1 << 1),</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="comment">// NODE_BLOOM means the node is capable and willing to handle bloom-filtered connections.</span></div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="comment">// Dash Core nodes used to support this by default, without advertising this bit,</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="comment">// but no longer do as of protocol version 70201 (= NO_BLOOM_VERSION)</span></div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9ca74e44e29a412c070750bdbf2380bb"> 267</a></span>  <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9ca74e44e29a412c070750bdbf2380bb">NODE_BLOOM</a> = (1 << 2),</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// Bits 24-31 are reserved for temporary experiments. Just pick a bit that</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">// isn't getting used, or one not being used much, and notify the</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="comment">// bitcoin-development mailing list. Remember that service bits are just</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="comment">// unauthenticated advertisements, so your code must be robust against</span></div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="comment">// collisions and other cases where nodes may be advertising a service they</span></div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// do not actually support. Other service bits should be allocated via the</span></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">// BIP process.</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> };</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="classCAddress.html"> 279</a></span> <span class="keyword">class </span><a class="code" href="classCAddress.html">CAddress</a> : <span class="keyword">public</span> <a class="code" href="classCService.html">CService</a></div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classCAddress.html#a84cd336180580ab69b8888a4339ccc37">CAddress</a>();</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keyword">explicit</span> <a class="code" href="classCAddress.html#a84cd336180580ab69b8888a4339ccc37">CAddress</a>(<a class="code" href="classCService.html">CService</a> ipIn, <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> nServicesIn);</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keywordtype">void</span> <a class="code" href="classCAddress.html#ac060c84dcf47b8ccfae0142c9b29a243">Init</a>();</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="classCAddress.html#a9582fc22433b2ed275d4b65fb72551e7"> 287</a></span>  <a class="code" href="classCAddress.html#a9582fc22433b2ed275d4b65fb72551e7">ADD_SERIALIZE_METHODS</a>;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> Stream, <span class="keyword">typename</span> Operation></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classCAddress.html#aec10c7075404eefbcf6f7a4c5671be02"> 290</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classCAddress.html#aec10c7075404eefbcf6f7a4c5671be02">SerializationOp</a>(Stream& s, Operation ser_action, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nVersion)</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">if</span> (ser_action.ForRead())</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="classCAddress.html#ac060c84dcf47b8ccfae0142c9b29a243">Init</a>();</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">if</span> (nType & <a class="code" href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a34949680c53028d35a449bf88b3c329d">SER_DISK</a>)</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(nVersion);</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">if</span> ((nType & <a class="code" href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a34949680c53028d35a449bf88b3c329d">SER_DISK</a>) ||</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  (nVersion >= <a class="code" href="version_8h.html#a04ad229ffd8c41a83118551a4d395205">CADDR_TIME_VERSION</a> && !(nType & <a class="code" href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18aca6c7596d50ce42f28b5b97f39ba178a">SER_GETHASH</a>)))</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCAddress.html#ac1c44aac968b11f90ce529b133ae4e9b">nTime</a>);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  uint64_t nServicesInt = <a class="code" href="classCAddress.html#a24e2309d92694a5a234751634bdf0458">nServices</a>;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(nServicesInt);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="classCAddress.html#a24e2309d92694a5a234751634bdf0458">nServices</a> = (<a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a>)nServicesInt;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(*(<a class="code" href="classCService.html">CService</a>*)<span class="keyword">this</span>);</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  }</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="comment">// TODO: make private (improves encapsulation)</span></div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classCAddress.html#a24e2309d92694a5a234751634bdf0458"> 307</a></span>  <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCAddress.html#a24e2309d92694a5a234751634bdf0458">nServices</a>;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">// disk and network only</span></div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classCAddress.html#ac1c44aac968b11f90ce529b133ae4e9b"> 310</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCAddress.html#ac1c44aac968b11f90ce529b133ae4e9b">nTime</a>;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span> };</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div><div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="classCInv.html"> 314</a></span> <span class="keyword">class </span><a class="code" href="classCInv.html">CInv</a></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> {</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <a class="code" href="classCInv.html#a831d208e5e1b142e36a89999b81c2298">CInv</a>();</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="classCInv.html#a831d208e5e1b142e36a89999b81c2298">CInv</a>(<span class="keywordtype">int</span> typeIn, <span class="keyword">const</span> <a class="code" href="classuint256.html">uint256</a>& hashIn);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <a class="code" href="classCInv.html#a831d208e5e1b142e36a89999b81c2298">CInv</a>(<span class="keyword">const</span> std::string& strType, <span class="keyword">const</span> <a class="code" href="classuint256.html">uint256</a>& hashIn);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div><div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classCInv.html#a3dc91b40ff6fe8c2c8879c81de67e209"> 321</a></span>  <a class="code" href="classCInv.html#a3dc91b40ff6fe8c2c8879c81de67e209">ADD_SERIALIZE_METHODS</a>;</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> </div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> Stream, <span class="keyword">typename</span> Operation></div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classCInv.html#a7f56c1696e6c5c7ca36c1637f94dd1a0"> 324</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classCInv.html#a7f56c1696e6c5c7ca36c1637f94dd1a0">SerializationOp</a>(Stream& s, Operation ser_action, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nVersion)</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  {</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCInv.html#a2da8a26c6b8824011e3144459d278c75">type</a>);</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCInv.html#abfa04c38e9c0def9a2b09a9c43929744">hash</a>);</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  }</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classCInv.html#a2684809000d3a0523769ad7585ace197">operator<</a>(<span class="keyword">const</span> <a class="code" href="classCInv.html">CInv</a>& a, <span class="keyword">const</span> <a class="code" href="classCInv.html">CInv</a>& b);</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> </div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keywordtype">bool</span> <a class="code" href="classCInv.html#a3da7d96ce51443a1bfe8ce5342d0afbe">IsKnownType</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classCInv.html#a29020c06b49edebfe9993adee93cf65a">GetCommand</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  std::string <a class="code" href="classCInv.html#a5bf13e9595035d2155b04cceb848c37d">ToString</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="comment">// TODO: make private (improves encapsulation)</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classCInv.html#a2da8a26c6b8824011e3144459d278c75"> 338</a></span>  <span class="keywordtype">int</span> <a class="code" href="classCInv.html#a2da8a26c6b8824011e3144459d278c75">type</a>;</div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classCInv.html#abfa04c38e9c0def9a2b09a9c43929744"> 339</a></span>  <a class="code" href="classuint256.html">uint256</a> <a class="code" href="classCInv.html#abfa04c38e9c0def9a2b09a9c43929744">hash</a>;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> };</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="keyword">enum</span> {</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0494732fc92c975f58783e224585c473"> 343</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0494732fc92c975f58783e224585c473">MSG_TX</a> = 1,</div><div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da4cae15fd207d555331995cd5c57689c1"> 344</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da4cae15fd207d555331995cd5c57689c1">MSG_BLOCK</a>,</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="comment">// Nodes may always request a MSG_FILTERED_BLOCK in a getdata, however,</span></div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="comment">// MSG_FILTERED_BLOCK should not appear in any invs except as a part of getdata.</span></div><div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da11f393e43f75b471170b96ce59a07d33"> 347</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da11f393e43f75b471170b96ce59a07d33">MSG_FILTERED_BLOCK</a>,</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="comment">// Dash message types</span></div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="comment">// NOTE: declare non-implmented here, we must keep this enum consistent and backwards compatible</span></div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da802e4d970385efb01469f48db2cf1e06"> 350</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da802e4d970385efb01469f48db2cf1e06">MSG_TXLOCK_REQUEST</a>,</div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da9d087eae96b6c836c7eb63693b8b7483"> 351</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da9d087eae96b6c836c7eb63693b8b7483">MSG_TXLOCK_VOTE</a>,</div><div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dabacdb1618207a44c1301ae59acf7f5d8"> 352</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dabacdb1618207a44c1301ae59acf7f5d8">MSG_SPORK</a>,</div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da4b07f9302d2d304c1e151bc611d3cd6c"> 353</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da4b07f9302d2d304c1e151bc611d3cd6c">MSG_MASTERNODE_PAYMENT_VOTE</a>,</div><div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da11b49df4769b3e5c303fbb87ef05c96d"> 354</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da11b49df4769b3e5c303fbb87ef05c96d">MSG_MASTERNODE_PAYMENT_BLOCK</a>, <span class="comment">// reusing, was MSG_MASTERNODE_SCANNING_ERROR previousely, was NOT used in 12.0</span></div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0a62cfc215f661f4fa91bb326caaa6ab"> 355</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0a62cfc215f661f4fa91bb326caaa6ab">MSG_BUDGET_VOTE</a>, <span class="comment">// depreciated since 12.1</span></div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da20193d1745405323aea6a11346dde763"> 356</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da20193d1745405323aea6a11346dde763">MSG_BUDGET_PROPOSAL</a>, <span class="comment">// depreciated since 12.1</span></div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dac017cd4bf4df999290168e35bbec641d"> 357</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dac017cd4bf4df999290168e35bbec641d">MSG_BUDGET_FINALIZED</a>, <span class="comment">// depreciated since 12.1</span></div><div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da94c78af7040bfb89864d74fcf75bec88"> 358</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da94c78af7040bfb89864d74fcf75bec88">MSG_BUDGET_FINALIZED_VOTE</a>, <span class="comment">// depreciated since 12.1</span></div><div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da246a3fc71dcac235bbf647a08dd9997c"> 359</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da246a3fc71dcac235bbf647a08dd9997c">MSG_MASTERNODE_QUORUM</a>, <span class="comment">// not implemented</span></div><div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da3a28db7deec3a185c981b159a7b235fc"> 360</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da3a28db7deec3a185c981b159a7b235fc">MSG_MASTERNODE_ANNOUNCE</a>,</div><div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da50511d9d8e551a2890f09622d82f13f7"> 361</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da50511d9d8e551a2890f09622d82f13f7">MSG_MASTERNODE_PING</a>,</div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dab7e23cc7eff00496b50b04e9e98f1b85"> 362</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dab7e23cc7eff00496b50b04e9e98f1b85">MSG_DSTX</a>,</div><div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dae8208d8fb3855c56c3e5befaeb923fa2"> 363</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dae8208d8fb3855c56c3e5befaeb923fa2">MSG_GOVERNANCE_OBJECT</a>,</div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da2cb5fe00e73ee666aa3daef76b299251"> 364</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da2cb5fe00e73ee666aa3daef76b299251">MSG_GOVERNANCE_OBJECT_VOTE</a>,</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dae2eafa466f6492ab207617288629f23c"> 365</a></span>  <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dae2eafa466f6492ab207617288629f23c">MSG_MASTERNODE_VERIFY</a>,</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> };</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="preprocessor">#endif // BITCOIN_PROTOCOL_H</span></div><div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da11b49df4769b3e5c303fbb87ef05c96d"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da11b49df4769b3e5c303fbb87ef05c96d">MSG_MASTERNODE_PAYMENT_BLOCK</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00354">protocol.h:354</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da0494732fc92c975f58783e224585c473"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0494732fc92c975f58783e224585c473">MSG_TX</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00343">protocol.h:343</a></div></div>
|
|
<div class="ttc" id="classCAddress_html"><div class="ttname"><a href="classCAddress.html">CAddress</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00279">protocol.h:279</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_aa5e06959ed73a2a200cce6638102972b"><div class="ttname"><a href="namespaceNetMsgType.html#aa5e06959ed73a2a200cce6638102972b">NetMsgType::MNPING</a></div><div class="ttdeci">const char * MNPING</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00053">protocol.cpp:53</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a77d83bbf95702906ee01ca4fd934e1c0"><div class="ttname"><a href="namespaceNetMsgType.html#a77d83bbf95702906ee01ca4fd934e1c0">NetMsgType::ADDR</a></div><div class="ttdeci">const char * ADDR</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00018">protocol.cpp:18</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_aaf8228cc7b3374862bcb3d79f5ff38e6"><div class="ttname"><a href="namespaceNetMsgType.html#aaf8228cc7b3374862bcb3d79f5ff38e6">NetMsgType::VERACK</a></div><div class="ttdeci">const char * VERACK</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00017">protocol.cpp:17</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a791820242fcf96633e9fd9ac6ed2185d"><div class="ttname"><a href="namespaceNetMsgType.html#a791820242fcf96633e9fd9ac6ed2185d">NetMsgType::DSACCEPT</a></div><div class="ttdeci">const char * DSACCEPT</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00054">protocol.cpp:54</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_ad131f3177584caea787cdbf6f85a9537"><div class="ttname"><a href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a></div><div class="ttdeci">ServiceFlags</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00253">protocol.h:253</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a0138bc5c11da6ec5f5890a53ef15ca0c"><div class="ttname"><a href="namespaceNetMsgType.html#a0138bc5c11da6ec5f5890a53ef15ca0c">NetMsgType::DSTX</a></div><div class="ttdeci">const char * DSTX</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00060">protocol.cpp:60</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da4cae15fd207d555331995cd5c57689c1"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da4cae15fd207d555331995cd5c57689c1">MSG_BLOCK</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00344">protocol.h:344</a></div></div>
|
|
<div class="ttc" id="serialize_8h_html_a4d7fc7040e01003a01f367b8d90324f1"><div class="ttname"><a href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a></div><div class="ttdeci">#define READWRITE(obj)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00175">serialize.h:175</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a52ba4e8bec9f766efd43edac1acf8c9d"><div class="ttname"><a href="namespaceNetMsgType.html#a52ba4e8bec9f766efd43edac1acf8c9d">NetMsgType::MASTERNODEPAYMENTVOTE</a></div><div class="ttdeci">const char * MASTERNODEPAYMENTVOTE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00043">protocol.cpp:43</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a6bcadada595cc3da13e6a04be1715917"><div class="ttname"><a href="protocol_8h.html#a6bcadada595cc3da13e6a04be1715917">MESSAGE_START_SIZE</a></div><div class="ttdeci">#define MESSAGE_START_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00021">protocol.h:21</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_aafc49a8bfe8f36ad8d7ab089824cf868"><div class="ttname"><a href="namespaceNetMsgType.html#aafc49a8bfe8f36ad8d7ab089824cf868">NetMsgType::DSQUEUE</a></div><div class="ttdeci">const char * DSQUEUE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00061">protocol.cpp:61</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_a4284bf1d2fd792af89e1c93b7e6e274e"><div class="ttname"><a href="classCMessageHeader.html#a4284bf1d2fd792af89e1c93b7e6e274e">CMessageHeader::pchMessageStart</a></div><div class="ttdeci">char pchMessageStart[MESSAGE_START_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00062">protocol.h:62</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a5f8d18ec9217ffee378339dc22ebe20d"><div class="ttname"><a href="protocol_8h.html#a5f8d18ec9217ffee378339dc22ebe20d">getAllNetMessageTypes</a></div><div class="ttdeci">const std::vector< std::string > & getAllNetMessageTypes()</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00275">protocol.cpp:275</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da4b07f9302d2d304c1e151bc611d3cd6c"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da4b07f9302d2d304c1e151bc611d3cd6c">MSG_MASTERNODE_PAYMENT_VOTE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00353">protocol.h:353</a></div></div>
|
|
<div class="ttc" id="classCInv_html_abfa04c38e9c0def9a2b09a9c43929744"><div class="ttname"><a href="classCInv.html#abfa04c38e9c0def9a2b09a9c43929744">CInv::hash</a></div><div class="ttdeci">uint256 hash</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00339">protocol.h:339</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a567653d3f26a7e711889682e7fd1c484"><div class="ttname"><a href="namespaceNetMsgType.html#a567653d3f26a7e711889682e7fd1c484">NetMsgType::NOTFOUND</a></div><div class="ttdeci">const char * NOTFOUND</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00032">protocol.cpp:32</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a1842ab3e065d8bc5180974b9e3f44377"><div class="ttname"><a href="namespaceNetMsgType.html#a1842ab3e065d8bc5180974b9e3f44377">NetMsgType::BLOCK</a></div><div class="ttdeci">const char * BLOCK</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00026">protocol.cpp:26</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da2cb5fe00e73ee666aa3daef76b299251"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da2cb5fe00e73ee666aa3daef76b299251">MSG_GOVERNANCE_OBJECT_VOTE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00364">protocol.h:364</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_afabe3cd738cb766597ff4c1ee1e47cbd"><div class="ttname"><a href="namespaceNetMsgType.html#afabe3cd738cb766597ff4c1ee1e47cbd">NetMsgType::INV</a></div><div class="ttdeci">const char * INV</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00019">protocol.cpp:19</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_ad131f3177584caea787cdbf6f85a9537a9d1154f0e7e56f183a5c8373abe2e86c"><div class="ttname"><a href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9d1154f0e7e56f183a5c8373abe2e86c">NODE_NETWORK</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00259">protocol.h:259</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ac38125d51ba5734daa34215a23882aa8"><div class="ttname"><a href="namespaceNetMsgType.html#ac38125d51ba5734daa34215a23882aa8">NetMsgType::DSFINALTX</a></div><div class="ttdeci">const char * DSFINALTX</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00056">protocol.cpp:56</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab1cedd864043d80317912c5e225f342aa223ee9c2e0e31d0afe31c713b41400d2"><div class="ttname"><a href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa223ee9c2e0e31d0afe31c713b41400d2">CMessageHeader::MESSAGE_SIZE_SIZE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00055">protocol.h:55</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_a447044c3fbf9d5e98dcc4121ac808d2f"><div class="ttname"><a href="classCMessageHeader.html#a447044c3fbf9d5e98dcc4121ac808d2f">CMessageHeader::ADD_SERIALIZE_METHODS</a></div><div class="ttdeci">ADD_SERIALIZE_METHODS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00040">protocol.h:40</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a68c340a8ef4f949cfd06c19a620aa32c"><div class="ttname"><a href="namespaceNetMsgType.html#a68c340a8ef4f949cfd06c19a620aa32c">NetMsgType::MEMPOOL</a></div><div class="ttdeci">const char * MEMPOOL</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00028">protocol.cpp:28</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a75ab96e2e9fa2a1b1655f0034667604d"><div class="ttname"><a href="namespaceNetMsgType.html#a75ab96e2e9fa2a1b1655f0034667604d">NetMsgType::TX</a></div><div class="ttdeci">const char * TX</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00024">protocol.cpp:24</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_ad131f3177584caea787cdbf6f85a9537a9ca74e44e29a412c070750bdbf2380bb"><div class="ttname"><a href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9ca74e44e29a412c070750bdbf2380bb">NODE_BLOOM</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00267">protocol.h:267</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ab64324fd41d2505f5306f8b3d1d0d2ba"><div class="ttname"><a href="namespaceNetMsgType.html#ab64324fd41d2505f5306f8b3d1d0d2ba">NetMsgType::SYNCSTATUSCOUNT</a></div><div class="ttdeci">const char * SYNCSTATUSCOUNT</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00063">protocol.cpp:63</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a3da7d96ce51443a1bfe8ce5342d0afbe"><div class="ttname"><a href="classCInv.html#a3da7d96ce51443a1bfe8ce5342d0afbe">CInv::IsKnownType</a></div><div class="ttdeci">bool IsKnownType() const</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00254">protocol.cpp:254</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a216e35db319a5d508043639fd3170776"><div class="ttname"><a href="namespaceNetMsgType.html#a216e35db319a5d508043639fd3170776">NetMsgType::HEADERS</a></div><div class="ttdeci">const char * HEADERS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00025">protocol.cpp:25</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a2684809000d3a0523769ad7585ace197"><div class="ttname"><a href="classCInv.html#a2684809000d3a0523769ad7585ace197">CInv::operator<</a></div><div class="ttdeci">friend bool operator<(const CInv &a, const CInv &b)</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00249">protocol.cpp:249</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_a759db7100358ba4a44bf6dee757ffe51"><div class="ttname"><a href="classCMessageHeader.html#a759db7100358ba4a44bf6dee757ffe51">CMessageHeader::IsValid</a></div><div class="ttdeci">bool IsValid(const MessageStartChars &messageStart) const</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00172">protocol.cpp:172</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4dae2eafa466f6492ab207617288629f23c"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dae2eafa466f6492ab207617288629f23c">MSG_MASTERNODE_VERIFY</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00365">protocol.h:365</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a0e95085c85cbbb8330fa1a5ffe49070f"><div class="ttname"><a href="namespaceNetMsgType.html#a0e95085c85cbbb8330fa1a5ffe49070f">NetMsgType::FILTERLOAD</a></div><div class="ttdeci">const char * FILTERLOAD</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00033">protocol.cpp:33</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a056ec0899d4010d04c39eaf38cbea56d"><div class="ttname"><a href="namespaceNetMsgType.html#a056ec0899d4010d04c39eaf38cbea56d">NetMsgType::MNVERIFY</a></div><div class="ttdeci">const char * MNVERIFY</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00067">protocol.cpp:67</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a75c8dba2361ddda663917c27f14c3a16"><div class="ttname"><a href="namespaceNetMsgType.html#a75c8dba2361ddda663917c27f14c3a16">NetMsgType::FILTERADD</a></div><div class="ttdeci">const char * FILTERADD</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00034">protocol.cpp:34</a></div></div>
|
|
<div class="ttc" id="serialize_8h_html_a9393dd1b6a30ae7fe9cc42240241f741"><div class="ttname"><a href="serialize_8h.html#a9393dd1b6a30ae7fe9cc42240241f741">FLATDATA</a></div><div class="ttdeci">#define FLATDATA(obj)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00387">serialize.h:387</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_a87d62b0d9afb3889f318991700a34431"><div class="ttname"><a href="classCMessageHeader.html#a87d62b0d9afb3889f318991700a34431">CMessageHeader::pchCommand</a></div><div class="ttdeci">char pchCommand[COMMAND_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00063">protocol.h:63</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da94c78af7040bfb89864d74fcf75bec88"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da94c78af7040bfb89864d74fcf75bec88">MSG_BUDGET_FINALIZED_VOTE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00358">protocol.h:358</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_aebbc26feb23d551467ebd58b509204d0"><div class="ttname"><a href="classCMessageHeader.html#aebbc26feb23d551467ebd58b509204d0">CMessageHeader::nMessageSize</a></div><div class="ttdeci">uint32_t nMessageSize</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00064">protocol.h:64</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a7f56c1696e6c5c7ca36c1637f94dd1a0"><div class="ttname"><a href="classCInv.html#a7f56c1696e6c5c7ca36c1637f94dd1a0">CInv::SerializationOp</a></div><div class="ttdeci">void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00324">protocol.h:324</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a7a51f1ef81fa21178b6e241937934fed"><div class="ttname"><a href="namespaceNetMsgType.html#a7a51f1ef81fa21178b6e241937934fed">NetMsgType::GETBLOCKS</a></div><div class="ttdeci">const char * GETBLOCKS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00022">protocol.cpp:22</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_af659195932e1bac2ed2bdd1cda6d2e2b"><div class="ttname"><a href="namespaceNetMsgType.html#af659195932e1bac2ed2bdd1cda6d2e2b">NetMsgType::REJECT</a></div><div class="ttdeci">const char * REJECT</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00036">protocol.cpp:36</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html"><div class="ttname"><a href="namespaceNetMsgType.html">NetMsgType</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00015">protocol.cpp:15</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a2145d629ac6adc136e1d3b2ebd50b93f"><div class="ttname"><a href="namespaceNetMsgType.html#a2145d629ac6adc136e1d3b2ebd50b93f">NetMsgType::DSEG</a></div><div class="ttdeci">const char * DSEG</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00062">protocol.cpp:62</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a8b94e14857fd0ee095d5ebf4e6cb9be4"><div class="ttname"><a href="namespaceNetMsgType.html#a8b94e14857fd0ee095d5ebf4e6cb9be4">NetMsgType::TXLOCKVOTE</a></div><div class="ttdeci">const char * TXLOCKVOTE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00040">protocol.cpp:40</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a34f999f9e5179be5fc361aaca9c0e5b3"><div class="ttname"><a href="namespaceNetMsgType.html#a34f999f9e5179be5fc361aaca9c0e5b3">NetMsgType::SENDHEADERS</a></div><div class="ttdeci">const char * SENDHEADERS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00037">protocol.cpp:37</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a29020c06b49edebfe9993adee93cf65a"><div class="ttname"><a href="classCInv.html#a29020c06b49edebfe9993adee93cf65a">CInv::GetCommand</a></div><div class="ttdeci">const char * GetCommand() const</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00259">protocol.cpp:259</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ae5f4b017caf19039dfca2b72fb3ea085"><div class="ttname"><a href="namespaceNetMsgType.html#ae5f4b017caf19039dfca2b72fb3ea085">NetMsgType::MNGOVERNANCESYNC</a></div><div class="ttdeci">const char * MNGOVERNANCESYNC</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00064">protocol.cpp:64</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_af2b7b2dbd21363099e3da99699d93d59"><div class="ttname"><a href="classCMessageHeader.html#af2b7b2dbd21363099e3da99699d93d59">CMessageHeader::CMessageHeader</a></div><div class="ttdeci">CMessageHeader(const MessageStartChars &pchMessageStartIn)</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00150">protocol.cpp:150</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ac993eb54177079f7a0e8c0c1ad657c6f"><div class="ttname"><a href="namespaceNetMsgType.html#ac993eb54177079f7a0e8c0c1ad657c6f">NetMsgType::ALERT</a></div><div class="ttdeci">const char * ALERT</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00031">protocol.cpp:31</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab5b3807481d4b918527b86523f1efee2"><div class="ttname"><a href="classCMessageHeader.html#ab5b3807481d4b918527b86523f1efee2">CMessageHeader::GetCommand</a></div><div class="ttdeci">std::string GetCommand() const</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00167">protocol.cpp:167</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_ad131f3177584caea787cdbf6f85a9537a51f819cd0b9ac374d6950a29b4861398"><div class="ttname"><a href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a51f819cd0b9ac374d6950a29b4861398">NODE_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00255">protocol.h:255</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da50511d9d8e551a2890f09622d82f13f7"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da50511d9d8e551a2890f09622d82f13f7">MSG_MASTERNODE_PING</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00361">protocol.h:361</a></div></div>
|
|
<div class="ttc" id="netaddress_8h_html"><div class="ttname"><a href="netaddress_8h.html">netaddress.h</a></div></div>
|
|
<div class="ttc" id="serialize_8h_html"><div class="ttname"><a href="serialize_8h.html">serialize.h</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab1cedd864043d80317912c5e225f342aadd8582d526addef583c978e5261dfec1"><div class="ttname"><a href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aadd8582d526addef583c978e5261dfec1">CMessageHeader::HEADER_SIZE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00060">protocol.h:60</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a831d208e5e1b142e36a89999b81c2298"><div class="ttname"><a href="classCInv.html#a831d208e5e1b142e36a89999b81c2298">CInv::CInv</a></div><div class="ttdeci">CInv()</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00221">protocol.cpp:221</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab1cedd864043d80317912c5e225f342aad4e76479ab116367800a146dbb299393"><div class="ttname"><a href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aad4e76479ab116367800a146dbb299393">CMessageHeader::CHECKSUM_OFFSET</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00059">protocol.h:59</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ae9da7484b23bc90b5c18b009f9f6c2ab"><div class="ttname"><a href="namespaceNetMsgType.html#ae9da7484b23bc90b5c18b009f9f6c2ab">NetMsgType::GETSPORKS</a></div><div class="ttdeci">const char * GETSPORKS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00042">protocol.cpp:42</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html"><div class="ttname"><a href="classCMessageHeader.html">CMessageHeader</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00029">protocol.h:29</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da0a62cfc215f661f4fa91bb326caaa6ab"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0a62cfc215f661f4fa91bb326caaa6ab">MSG_BUDGET_VOTE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00355">protocol.h:355</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54"><div class="ttname"><a href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa8c1bfc0fa6a63c8b73abef30555a5e54">CMessageHeader::COMMAND_SIZE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00054">protocol.h:54</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_aa53772dc0dfe3dc5a6ac2c99444a2afe"><div class="ttname"><a href="namespaceNetMsgType.html#aa53772dc0dfe3dc5a6ac2c99444a2afe">NetMsgType::GETDATA</a></div><div class="ttdeci">const char * GETDATA</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00020">protocol.cpp:20</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da11f393e43f75b471170b96ce59a07d33"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da11f393e43f75b471170b96ce59a07d33">MSG_FILTERED_BLOCK</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00347">protocol.h:347</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a1ef3ccc1966cb35a59882fb97c15a30e"><div class="ttname"><a href="namespaceNetMsgType.html#a1ef3ccc1966cb35a59882fb97c15a30e">NetMsgType::FILTERCLEAR</a></div><div class="ttdeci">const char * FILTERCLEAR</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00035">protocol.cpp:35</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a395de13511c6ef9946844ee280b8f08e"><div class="ttname"><a href="namespaceNetMsgType.html#a395de13511c6ef9946844ee280b8f08e">NetMsgType::PONG</a></div><div class="ttdeci">const char * PONG</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00030">protocol.cpp:30</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4dae8208d8fb3855c56c3e5befaeb923fa2"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dae8208d8fb3855c56c3e5befaeb923fa2">MSG_GOVERNANCE_OBJECT</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00363">protocol.h:363</a></div></div>
|
|
<div class="ttc" id="classCAddress_html_a24e2309d92694a5a234751634bdf0458"><div class="ttname"><a href="classCAddress.html#a24e2309d92694a5a234751634bdf0458">CAddress::nServices</a></div><div class="ttdeci">ServiceFlags nServices</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00307">protocol.h:307</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ab93722c7e784f3a5c110e82eb3c31078"><div class="ttname"><a href="namespaceNetMsgType.html#ab93722c7e784f3a5c110e82eb3c31078">NetMsgType::MNGOVERNANCEOBJECT</a></div><div class="ttdeci">const char * MNGOVERNANCEOBJECT</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00065">protocol.cpp:65</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a79d16fca661ece8c17e786943721fd34"><div class="ttname"><a href="namespaceNetMsgType.html#a79d16fca661ece8c17e786943721fd34">NetMsgType::VERSION</a></div><div class="ttdeci">const char * VERSION</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00016">protocol.cpp:16</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ae4af19c6d5d69539afe179b84a91cbad"><div class="ttname"><a href="namespaceNetMsgType.html#ae4af19c6d5d69539afe179b84a91cbad">NetMsgType::SPORK</a></div><div class="ttdeci">const char * SPORK</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00041">protocol.cpp:41</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da3a28db7deec3a185c981b159a7b235fc"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da3a28db7deec3a185c981b159a7b235fc">MSG_MASTERNODE_ANNOUNCE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00360">protocol.h:360</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da9d087eae96b6c836c7eb63693b8b7483"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da9d087eae96b6c836c7eb63693b8b7483">MSG_TXLOCK_VOTE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00351">protocol.h:351</a></div></div>
|
|
<div class="ttc" id="classCAddress_html_a84cd336180580ab69b8888a4339ccc37"><div class="ttname"><a href="classCAddress.html#a84cd336180580ab69b8888a4339ccc37">CAddress::CAddress</a></div><div class="ttdeci">CAddress()</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00204">protocol.cpp:204</a></div></div>
|
|
<div class="ttc" id="version_8h_html"><div class="ttname"><a href="version_8h.html">version.h</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a29f23c78896bc7d0516ed7100e1de714"><div class="ttname"><a href="namespaceNetMsgType.html#a29f23c78896bc7d0516ed7100e1de714">NetMsgType::DSSIGNFINALTX</a></div><div class="ttdeci">const char * DSSIGNFINALTX</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00057">protocol.cpp:57</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a5bf13e9595035d2155b04cceb848c37d"><div class="ttname"><a href="classCInv.html#a5bf13e9595035d2155b04cceb848c37d">CInv::ToString</a></div><div class="ttdeci">std::string ToString() const</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00266">protocol.cpp:266</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a9f6abd72d04b4128a949c0c4db11d883"><div class="ttname"><a href="namespaceNetMsgType.html#a9f6abd72d04b4128a949c0c4db11d883">NetMsgType::GETHEADERS</a></div><div class="ttdeci">const char * GETHEADERS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00023">protocol.cpp:23</a></div></div>
|
|
<div class="ttc" id="classuint256_html"><div class="ttname"><a href="classuint256.html">uint256</a></div><div class="ttdef"><b>Definition:</b> <a href="uint256_8h_source.html#l00114">uint256.h:114</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a13eac32e61d992756b94e714fa24e182"><div class="ttname"><a href="namespaceNetMsgType.html#a13eac32e61d992756b94e714fa24e182">NetMsgType::TXLOCKREQUEST</a></div><div class="ttdeci">const char * TXLOCKREQUEST</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00039">protocol.cpp:39</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a4dc585a49c4b1374d2bd49ae4d4569ca"><div class="ttname"><a href="namespaceNetMsgType.html#a4dc585a49c4b1374d2bd49ae4d4569ca">NetMsgType::MNGOVERNANCEOBJECTVOTE</a></div><div class="ttdeci">const char * MNGOVERNANCEOBJECTVOTE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00066">protocol.cpp:66</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4dab7e23cc7eff00496b50b04e9e98f1b85"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dab7e23cc7eff00496b50b04e9e98f1b85">MSG_DSTX</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00362">protocol.h:362</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4dac017cd4bf4df999290168e35bbec641d"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dac017cd4bf4df999290168e35bbec641d">MSG_BUDGET_FINALIZED</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00357">protocol.h:357</a></div></div>
|
|
<div class="ttc" id="classCAddress_html_ac1c44aac968b11f90ce529b133ae4e9b"><div class="ttname"><a href="classCAddress.html#ac1c44aac968b11f90ce529b133ae4e9b">CAddress::nTime</a></div><div class="ttdeci">unsigned int nTime</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00310">protocol.h:310</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a4d0f984b71f9e4c4b8b3619cb3f3dadd"><div class="ttname"><a href="namespaceNetMsgType.html#a4d0f984b71f9e4c4b8b3619cb3f3dadd">NetMsgType::GETADDR</a></div><div class="ttdeci">const char * GETADDR</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00027">protocol.cpp:27</a></div></div>
|
|
<div class="ttc" id="uint256_8h_html"><div class="ttname"><a href="uint256_8h.html">uint256.h</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_a0d0eeb540cbf4087973f6652ad61878f"><div class="ttname"><a href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f">CMessageHeader::MessageStartChars</a></div><div class="ttdeci">unsigned char MessageStartChars[MESSAGE_START_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00032">protocol.h:32</a></div></div>
|
|
<div class="ttc" id="serialize_8h_html_ae4d5251432e1a9e6803c0240cc492e18a34949680c53028d35a449bf88b3c329d"><div class="ttname"><a href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a34949680c53028d35a449bf88b3c329d">SER_DISK</a></div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00171">serialize.h:171</a></div></div>
|
|
<div class="ttc" id="classCAddress_html_a9582fc22433b2ed275d4b65fb72551e7"><div class="ttname"><a href="classCAddress.html#a9582fc22433b2ed275d4b65fb72551e7">CAddress::ADD_SERIALIZE_METHODS</a></div><div class="ttdeci">ADD_SERIALIZE_METHODS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00287">protocol.h:287</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ad9a2ba0319f01bf1c26f5206b5156496"><div class="ttname"><a href="namespaceNetMsgType.html#ad9a2ba0319f01bf1c26f5206b5156496">NetMsgType::PING</a></div><div class="ttdeci">const char * PING</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00029">protocol.cpp:29</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da802e4d970385efb01469f48db2cf1e06"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da802e4d970385efb01469f48db2cf1e06">MSG_TXLOCK_REQUEST</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00350">protocol.h:350</a></div></div>
|
|
<div class="ttc" id="version_8h_html_a04ad229ffd8c41a83118551a4d395205"><div class="ttname"><a href="version_8h.html#a04ad229ffd8c41a83118551a4d395205">CADDR_TIME_VERSION</a></div><div class="ttdeci">static const int CADDR_TIME_VERSION</div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00026">version.h:26</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a2da8a26c6b8824011e3144459d278c75"><div class="ttname"><a href="classCInv.html#a2da8a26c6b8824011e3144459d278c75">CInv::type</a></div><div class="ttdeci">int type</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00338">protocol.h:338</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab1cedd864043d80317912c5e225f342aa73cc507b1a2c32fba10305201e40f2b3"><div class="ttname"><a href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aa73cc507b1a2c32fba10305201e40f2b3">CMessageHeader::MESSAGE_SIZE_OFFSET</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00058">protocol.h:58</a></div></div>
|
|
<div class="ttc" id="classCInv_html"><div class="ttname"><a href="classCInv.html">CInv</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00314">protocol.h:314</a></div></div>
|
|
<div class="ttc" id="classCService_html"><div class="ttname"><a href="classCService.html">CService</a></div><div class="ttdef"><b>Definition:</b> <a href="netaddress_8h_source.html#l00132">netaddress.h:132</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_a3881923a93297c3a7a8e413ab3730408"><div class="ttname"><a href="classCMessageHeader.html#a3881923a93297c3a7a8e413ab3730408">CMessageHeader::SerializationOp</a></div><div class="ttdeci">void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00043">protocol.h:43</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_ae5af2ea09090341213f7021f7741e929"><div class="ttname"><a href="namespaceNetMsgType.html#ae5af2ea09090341213f7021f7741e929">NetMsgType::MERKLEBLOCK</a></div><div class="ttdeci">const char * MERKLEBLOCK</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00021">protocol.cpp:21</a></div></div>
|
|
<div class="ttc" id="serialize_8h_html_ae4d5251432e1a9e6803c0240cc492e18aca6c7596d50ce42f28b5b97f39ba178a"><div class="ttname"><a href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18aca6c7596d50ce42f28b5b97f39ba178a">SER_GETHASH</a></div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00172">serialize.h:172</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a15b8d57330bcd4ffc79521016a0ec8e9"><div class="ttname"><a href="namespaceNetMsgType.html#a15b8d57330bcd4ffc79521016a0ec8e9">NetMsgType::MASTERNODEPAYMENTSYNC</a></div><div class="ttdeci">const char * MASTERNODEPAYMENTSYNC</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00045">protocol.cpp:45</a></div></div>
|
|
<div class="ttc" id="classCAddress_html_aec10c7075404eefbcf6f7a4c5671be02"><div class="ttname"><a href="classCAddress.html#aec10c7075404eefbcf6f7a4c5671be02">CAddress::SerializationOp</a></div><div class="ttdeci">void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00290">protocol.h:290</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a30c8180071c9495011228da267d6735f"><div class="ttname"><a href="namespaceNetMsgType.html#a30c8180071c9495011228da267d6735f">NetMsgType::DSVIN</a></div><div class="ttdeci">const char * DSVIN</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00055">protocol.cpp:55</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a6e7944ac984922d3647b6f08affc6b2c"><div class="ttname"><a href="namespaceNetMsgType.html#a6e7944ac984922d3647b6f08affc6b2c">NetMsgType::DSCOMPLETE</a></div><div class="ttdeci">const char * DSCOMPLETE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00058">protocol.cpp:58</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4dabacdb1618207a44c1301ae59acf7f5d8"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4dabacdb1618207a44c1301ae59acf7f5d8">MSG_SPORK</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00352">protocol.h:352</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_ab1cedd864043d80317912c5e225f342aac92b66287a05d5c96bf494ff5a48e726"><div class="ttname"><a href="classCMessageHeader.html#ab1cedd864043d80317912c5e225f342aac92b66287a05d5c96bf494ff5a48e726">CMessageHeader::CHECKSUM_SIZE</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00056">protocol.h:56</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_aca278bd6a0438856b158eafc2928ee31"><div class="ttname"><a href="namespaceNetMsgType.html#aca278bd6a0438856b158eafc2928ee31">NetMsgType::DSSTATUSUPDATE</a></div><div class="ttdeci">const char * DSSTATUSUPDATE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00059">protocol.cpp:59</a></div></div>
|
|
<div class="ttc" id="namespaceNetMsgType_html_a22acc167096d6b0ce88c4a09a83988ce"><div class="ttname"><a href="namespaceNetMsgType.html#a22acc167096d6b0ce88c4a09a83988ce">NetMsgType::MNANNOUNCE</a></div><div class="ttdeci">const char * MNANNOUNCE</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00052">protocol.cpp:52</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_ad131f3177584caea787cdbf6f85a9537a720fdab810216774bd4c48b8b8cf4c70"><div class="ttname"><a href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a720fdab810216774bd4c48b8b8cf4c70">NODE_GETUTXO</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00263">protocol.h:263</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da20193d1745405323aea6a11346dde763"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da20193d1745405323aea6a11346dde763">MSG_BUDGET_PROPOSAL</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00356">protocol.h:356</a></div></div>
|
|
<div class="ttc" id="classCAddress_html_ac060c84dcf47b8ccfae0142c9b29a243"><div class="ttname"><a href="classCAddress.html#ac060c84dcf47b8ccfae0142c9b29a243">CAddress::Init</a></div><div class="ttdeci">void Init()</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8cpp_source.html#l00215">protocol.cpp:215</a></div></div>
|
|
<div class="ttc" id="protocol_8h_html_a16af7b253440dadd46a80a4b9fddba4da246a3fc71dcac235bbf647a08dd9997c"><div class="ttname"><a href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da246a3fc71dcac235bbf647a08dd9997c">MSG_MASTERNODE_QUORUM</a></div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00359">protocol.h:359</a></div></div>
|
|
<div class="ttc" id="classCInv_html_a3dc91b40ff6fe8c2c8879c81de67e209"><div class="ttname"><a href="classCInv.html#a3dc91b40ff6fe8c2c8879c81de67e209">CInv::ADD_SERIALIZE_METHODS</a></div><div class="ttdeci">ADD_SERIALIZE_METHODS</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00321">protocol.h:321</a></div></div>
|
|
<div class="ttc" id="classCMessageHeader_html_aa0da43a88e43c6ac575b8b3af98b8107"><div class="ttname"><a href="classCMessageHeader.html#aa0da43a88e43c6ac575b8b3af98b8107">CMessageHeader::pchChecksum</a></div><div class="ttdeci">uint8_t pchChecksum[CHECKSUM_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="protocol_8h_source.html#l00065">protocol.h:65</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="protocol_8h.html">protocol.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:04 for Dash Core by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|