dash-docs/en/doxygen/html/net_8h_source.html

551 lines
344 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/net.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&amp;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
&#160;<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&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('net_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">net.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="net_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>&#160;<span class="comment">// Copyright (c) 2009-2010 Satoshi Nakamoto</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<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>&#160;<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>&#160;<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>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#ifndef BITCOIN_NET_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#define BITCOIN_NET_H</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="addrdb_8h.html">addrdb.h</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="addrman_8h.html">addrman.h</a>&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="bloom_8h.html">bloom.h</a>&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="compat_8h.html">compat.h</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="limitedmap_8h.html">limitedmap.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="netaddress_8h.html">netaddress.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="protocol_8h.html">protocol.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="random_8h.html">random.h</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="streams_8h.html">streams.h</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sync_8h.html">sync.h</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="uint256_8h.html">uint256.h</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="util_8h.html">util.h</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="threadinterrupt_8h.html">threadinterrupt.h</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;atomic&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;deque&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;thread&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;condition_variable&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#ifndef WIN32</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;arpa/inet.h&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;boost/filesystem/path.hpp&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &lt;boost/foreach.hpp&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &lt;boost/signals2/signal.hpp&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">class </span><a class="code" href="classCAddrMan.html">CAddrMan</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">class </span><a class="code" href="classCScheduler.html">CScheduler</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">class </span><a class="code" href="classCNode.html">CNode</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceboost.html">boost</a> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">class </span>thread_group;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;} <span class="comment">// namespace boost</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="net_8h.html#a24ecbac59f1e63af4c4c8c112f00468d"> 47</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a24ecbac59f1e63af4c4c8c112f00468d">PING_INTERVAL</a> = 2 * 60;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="net_8h.html#a7853d10884491eae33796656e1673fe3"> 49</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a7853d10884491eae33796656e1673fe3">TIMEOUT_INTERVAL</a> = 20 * 60;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="net_8h.html#a48948c1d61d3fb24fbbb010eee32e4c4"> 51</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a48948c1d61d3fb24fbbb010eee32e4c4">WARNING_INTERVAL</a> = 10 * 60;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="net_8h.html#a52479fcaa2103ab394bc6ba098abf269"> 53</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a52479fcaa2103ab394bc6ba098abf269">FEELER_INTERVAL</a> = 120;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="net_8h.html#af677dfc85dddc429fe0303f338878ec0"> 55</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#af677dfc85dddc429fe0303f338878ec0">MAX_INV_SZ</a> = 50000;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="net_8h.html#a84d4a16942889a214b340327d2597a05"> 57</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a84d4a16942889a214b340327d2597a05">MAX_ADDR_TO_SEND</a> = 1000;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="net_8h.html#a4dd59589d5788e2d620556c43a3381d9"> 59</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a4dd59589d5788e2d620556c43a3381d9">MAX_PROTOCOL_MESSAGE_LENGTH</a> = 3 * 1024 * 1024;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="net_8h.html#a2f02122aa15cdc5ac394b010f97422e9"> 61</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a2f02122aa15cdc5ac394b010f97422e9">MAX_SUBVERSION_LENGTH</a> = 256;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="net_8h.html#a517820e441633664d6e96ce8f6a10ef2"> 63</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a517820e441633664d6e96ce8f6a10ef2">MAX_OUTBOUND_CONNECTIONS</a> = 8;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="net_8h.html#a58a39fe81582f307b3165d13dc7dcf2f"> 65</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a58a39fe81582f307b3165d13dc7dcf2f">MAX_OUTBOUND_MASTERNODE_CONNECTIONS</a> = 20;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="net_8h.html#ab5eb159bc77432e0eba1dbb48889e7b4"> 67</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#ab5eb159bc77432e0eba1dbb48889e7b4">DEFAULT_LISTEN</a> = <span class="keyword">true</span>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#ifdef USE_UPNP</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a9fa860f9d989072cec441fbee8d924fc">DEFAULT_UPNP</a> = <a class="code" href="dash-config_8h.html#a6cebda7b932feb7805127dbbe935b05d">USE_UPNP</a>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="net_8h.html#a9fa860f9d989072cec441fbee8d924fc"> 72</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a9fa860f9d989072cec441fbee8d924fc">DEFAULT_UPNP</a> = <span class="keyword">false</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="net_8h.html#aa994a3fa6352ccb31e5bfc425364daf1"> 75</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code" href="net_8h.html#aa994a3fa6352ccb31e5bfc425364daf1">MAPASKFOR_MAX_SZ</a> = <a class="code" href="net_8h.html#af677dfc85dddc429fe0303f338878ec0">MAX_INV_SZ</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="net_8h.html#a04723cf5ca6f222bf5cd3c7b2aeb6be5"> 77</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code" href="net_8h.html#a04723cf5ca6f222bf5cd3c7b2aeb6be5">SETASKFOR_MAX_SZ</a> = 2 * <a class="code" href="net_8h.html#af677dfc85dddc429fe0303f338878ec0">MAX_INV_SZ</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="net_8h.html#a0bb441ba7fab4118434b1a24b7b50586"> 79</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a0bb441ba7fab4118434b1a24b7b50586">DEFAULT_MAX_PEER_CONNECTIONS</a> = 125;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="net_8h.html#ab1fc2e0b012407353f610f4c3e1f5bc2"> 81</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> uint64_t <a class="code" href="net_8h.html#ab1fc2e0b012407353f610f4c3e1f5bc2">DEFAULT_MAX_UPLOAD_TARGET</a> = 0;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="net_8h.html#a3b1400085260cb71fabfab55ade84c32"> 83</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a3b1400085260cb71fabfab55ade84c32">DEFAULT_BLOCKSONLY</a> = <span class="keyword">false</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="net_8h.html#a48a4c7f4f3eac6c8c0f3c1c3fabbee69"> 85</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a48a4c7f4f3eac6c8c0f3c1c3fabbee69">DEFAULT_FORCEDNSSEED</a> = <span class="keyword">false</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="net_8h.html#a6b8c3480cd1aa1106e0b4211e62913de"> 86</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code" href="net_8h.html#a6b8c3480cd1aa1106e0b4211e62913de">DEFAULT_MAXRECEIVEBUFFER</a> = 5 * 1000;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="net_8h.html#a38af042899fdda9d7e8246e090cb98b6"> 87</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code" href="net_8h.html#a38af042899fdda9d7e8246e090cb98b6">DEFAULT_MAXSENDBUFFER</a> = 1 * 1000;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="net_8h.html#a99a450f0d7268ee95f310f2b78be3370"> 89</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="net_8h.html#a99a450f0d7268ee95f310f2b78be3370">REQUIRED_SERVICES</a> = <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a9d1154f0e7e56f183a5c8373abe2e86c">NODE_NETWORK</a>;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="comment">// NOTE: When adjusting this, update rpcnet:setban&#39;s help (&quot;24h&quot;)</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="net_8h.html#abb358e6d9aa1383e5196cb61f9357265"> 92</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#abb358e6d9aa1383e5196cb61f9357265">DEFAULT_MISBEHAVING_BANTIME</a> = 60 * 60 * 24; <span class="comment">// Default 24-hour ban</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="net_8h.html#a954d746a58632565552615fd0a4ee660"> 94</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">int</span> <a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structAddedNodeInfo.html"> 96</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structAddedNodeInfo.html">AddedNodeInfo</a></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;{</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structAddedNodeInfo.html#af35afd7b3a58c8798ace9ee2dccccab3"> 98</a></span>&#160; std::string <a class="code" href="structAddedNodeInfo.html#af35afd7b3a58c8798ace9ee2dccccab3">strAddedNode</a>;</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structAddedNodeInfo.html#a49f4f7a55883eef82e57ae447507da9c"> 99</a></span>&#160; <a class="code" href="classCService.html">CService</a> <a class="code" href="structAddedNodeInfo.html#a49f4f7a55883eef82e57ae447507da9c">resolvedAddress</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structAddedNodeInfo.html#ae918d8da95cfa48443481ccafa901827"> 100</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structAddedNodeInfo.html#ae918d8da95cfa48443481ccafa901827">fConnected</a>;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structAddedNodeInfo.html#a2c736112ca94faf4eead41d573830c59"> 101</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structAddedNodeInfo.html#a2c736112ca94faf4eead41d573830c59">fInbound</a>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;};</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="keyword">class </span><a class="code" href="classCTransaction.html">CTransaction</a>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="keyword">class </span><a class="code" href="classCNodeStats.html">CNodeStats</a>;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="keyword">class </span><a class="code" href="classCClientUIInterface.html">CClientUIInterface</a>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classCConnman.html"> 108</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCConnman.html">CConnman</a></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;{</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6a"> 112</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6a">NumConnections</a> {</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa2df211f1ae2b5b422310b46bab5f33c1"> 113</a></span>&#160; <a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa2df211f1ae2b5b422310b46bab5f33c1">CONNECTIONS_NONE</a> = 0,</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa03265dbe8e18aa30dd559b9fa18a8acb"> 114</a></span>&#160; <a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa03265dbe8e18aa30dd559b9fa18a8acb">CONNECTIONS_IN</a> = (1U &lt;&lt; 0),</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa8ee363e1db3837d38b4ce949d29daa7c"> 115</a></span>&#160; <a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa8ee363e1db3837d38b4ce949d29daa7c">CONNECTIONS_OUT</a> = (1U &lt;&lt; 1),</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa45b675928145678b43b3927be215c60f"> 116</a></span>&#160; <a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa45b675928145678b43b3927be215c60f">CONNECTIONS_ALL</a> = (<a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa03265dbe8e18aa30dd559b9fa18a8acb">CONNECTIONS_IN</a> | <a class="code" href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa8ee363e1db3837d38b4ce949d29daa7c">CONNECTIONS_OUT</a>),</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; };</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html"> 119</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structCConnman_1_1Options.html">Options</a></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; {</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a857dbc21954a6613fe0a3939521ae8c8"> 121</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="structCConnman_1_1Options.html#a857dbc21954a6613fe0a3939521ae8c8">nLocalServices</a> = <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a51f819cd0b9ac374d6950a29b4861398">NODE_NONE</a>;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#aac4a45ec513fe972d3060f93c92e951f"> 122</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="structCConnman_1_1Options.html#aac4a45ec513fe972d3060f93c92e951f">nRelevantServices</a> = <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537a51f819cd0b9ac374d6950a29b4861398">NODE_NONE</a>;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a83e2addcfd43683ff69eef0d61c38135"> 123</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structCConnman_1_1Options.html#a83e2addcfd43683ff69eef0d61c38135">nMaxConnections</a> = 0;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a48c33ead9af87461d5d4023e1e34ade2"> 124</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structCConnman_1_1Options.html#a48c33ead9af87461d5d4023e1e34ade2">nMaxOutbound</a> = 0;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a63829fe8ee352b187f14307ce9c4c8b6"> 125</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structCConnman_1_1Options.html#a63829fe8ee352b187f14307ce9c4c8b6">nMaxFeeler</a> = 0;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a4b779b0f0eba5f2cf82f431123466df5"> 126</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structCConnman_1_1Options.html#a4b779b0f0eba5f2cf82f431123466df5">nBestHeight</a> = 0;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a4175e08ea3b9ee7d651824b6d92f1e9b"> 127</a></span>&#160; <a class="code" href="classCClientUIInterface.html">CClientUIInterface</a>* <a class="code" href="structCConnman_1_1Options.html#a4175e08ea3b9ee7d651824b6d92f1e9b">uiInterface</a> = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#ab6e4a5465dcc41b7ba131ce04fb35ac3"> 128</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structCConnman_1_1Options.html#ab6e4a5465dcc41b7ba131ce04fb35ac3">nSendBufferMaxSize</a> = 0;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structCConnman_1_1Options.html#a0b7a96aca7f3b38561ac6eb85702440e"> 129</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structCConnman_1_1Options.html#a0b7a96aca7f3b38561ac6eb85702440e">nReceiveFloodSize</a> = 0;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; };</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="classCConnman.html#af15272cb307fd9128a6099487ae9a8c7">CConnman</a>();</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="classCConnman.html#ab4bc83003310d960423d963148d5c9ec">~CConnman</a>();</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a80caf4db74fcf515068f169e085ff84e">Start</a>(<a class="code" href="classCScheduler.html">CScheduler</a>&amp; scheduler, std::string&amp; strNodeError, <a class="code" href="structCConnman_1_1Options.html">Options</a> options);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a289dca0ee65310fcfc5b552249fc0401">Stop</a>();</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a4d51a2b0b901b8538ed7cf6a8df7a3ef">Interrupt</a>();</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#ad2f3516addf9e195688437021a8e3182">BindListenPort</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a> &amp;bindAddr, std::string&amp; strError, <span class="keywordtype">bool</span> fWhitelisted = <span class="keyword">false</span>);</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classCConnman.html#a1f7504b4cb3e7e2491a5634b6816a7a9"> 137</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a1f7504b4cb3e7e2491a5634b6816a7a9">GetNetworkActive</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classCConnman.html#a57501169f1faf1750efc6158f825b531">fNetworkActive</a>; };</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a9a7c3cfda53ccb9b9a33f4291043b47b">SetNetworkActive</a>(<span class="keywordtype">bool</span> active);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a0cc39d54353d7edc2a57f4a4e4d0912a">OpenNetworkConnection</a>(<span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; addrConnect, <a class="code" href="classCSemaphoreGrant.html">CSemaphoreGrant</a> *grantOutbound = NULL, <span class="keyword">const</span> <span class="keywordtype">char</span> *strDest = NULL, <span class="keywordtype">bool</span> fOneShot = <span class="keyword">false</span>, <span class="keywordtype">bool</span> fFeeler = <span class="keyword">false</span>);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#ac95687bc3457cbc25a78abcc2a5cc7fc">CheckIncomingNonce</a>(uint64_t nonce);</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">// fConnectToMasternode should be &#39;true&#39; only if you want this node to allow to connect to itself</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="comment">// and/or you want it to be disconnected on CMasternodeMan::ProcessMasternodeConnections()</span></div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="comment">// Unfortunately, can&#39;t make this method private like in Bitcoin,</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// because it&#39;s used in many Dash-specific places (masternode, privatesend).</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="classCNode.html">CNode</a>* <a class="code" href="classCConnman.html#a3b31c247f9fc1c0f0d4e5f3482c667b3">ConnectNode</a>(<a class="code" href="classCAddress.html">CAddress</a> addrConnect, <span class="keyword">const</span> <span class="keywordtype">char</span> *pszDest = NULL, <span class="keywordtype">bool</span> fConnectToMasternode = <span class="keyword">false</span>);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="structCConnman_1_1CFullyConnectedOnly.html"> 148</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structCConnman_1_1CFullyConnectedOnly.html">CFullyConnectedOnly</a> {</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structCConnman_1_1CFullyConnectedOnly.html#ab1d29fa97c380b4701c7953ac0c391d6"> 149</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structCConnman_1_1CFullyConnectedOnly.html#ab1d29fa97c380b4701c7953ac0c391d6">operator() </a>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>* pnode)<span class="keyword"> const </span>{</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCConnman.html#a8fd1903719cc907b1024088bd715fefb">NodeFullyConnected</a>(pnode);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; }</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; };</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classCConnman.html#ada03158efc97507ad867bcf12e379952"> 154</a></span>&#160; constexpr <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structCConnman_1_1CFullyConnectedOnly.html">CFullyConnectedOnly</a> <a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>{};</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="structCConnman_1_1CAllNodes.html"> 156</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structCConnman_1_1CAllNodes.html">CAllNodes</a> {</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structCConnman_1_1CAllNodes.html#a5dd062f67f1006b7b48993246f2bf709"> 157</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structCConnman_1_1CAllNodes.html#a5dd062f67f1006b7b48993246f2bf709">operator() </a>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>*)<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="keyword">true</span>;}</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; };</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classCConnman.html#a81ee60dee3278cf33319ab0c02c239bd"> 160</a></span>&#160; constexpr <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structCConnman_1_1CAllNodes.html">CAllNodes</a> <a class="code" href="classCConnman.html#a81ee60dee3278cf33319ab0c02c239bd">AllNodes</a>{};</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a28701e595fcd7dd71791f105457db034">ForNode</a>(<a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <span class="keywordtype">id</span>, std::function&lt;<span class="keywordtype">bool</span>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>* pnode)&gt; cond, std::function&lt;<span class="keywordtype">bool</span>(<a class="code" href="classCNode.html">CNode</a>* pnode)&gt; func);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a28701e595fcd7dd71791f105457db034">ForNode</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr, std::function&lt;<span class="keywordtype">bool</span>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>* pnode)&gt; cond, std::function&lt;<span class="keywordtype">bool</span>(<a class="code" href="classCNode.html">CNode</a>* pnode)&gt; func);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classCConnman.html#a447794157fee913aa13f3d0a7f946f2f"> 166</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a447794157fee913aa13f3d0a7f946f2f">ForNode</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr, Callable&amp;&amp; func)</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; {</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCConnman.html#a28701e595fcd7dd71791f105457db034">ForNode</a>(addr, <a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, func);</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; }</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classCConnman.html#aae39909a16dd6dad7b487935eee5e152"> 172</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#aae39909a16dd6dad7b487935eee5e152">ForNode</a>(<a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <span class="keywordtype">id</span>, Callable&amp;&amp; func)</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; {</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCConnman.html#a28701e595fcd7dd71791f105457db034">ForNode</a>(<span class="keywordtype">id</span>, <a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, func);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classCConnman.html#aadf6f72eea5e6014bd83c365064d6470"> 178</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#aadf6f72eea5e6014bd83c365064d6470">PushMessageWithVersionAndFlag</a>(<a class="code" href="classCNode.html">CNode</a>* pnode, <span class="keywordtype">int</span> nVersion, <span class="keywordtype">int</span> flag, <span class="keyword">const</span> std::string&amp; sCommand, Args&amp;&amp;... args)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; {</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">auto</span> <a class="code" href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">msg</a>(<a class="code" href="classCConnman.html#af33367840224e80bcfa5c6582dc88170">BeginMessage</a>(pnode, nVersion, flag, sCommand));</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <a class="code" href="serialize_8h.html#ad4ccb7eebcb006dc7143382e9a6c4642">::SerializeMany</a>(<a class="code" href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">msg</a>, <a class="code" href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">msg</a>.nType, <a class="code" href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">msg</a>.nVersion, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="classCConnman.html#a4f4e4c1e7e161ff31b73f64d97b9900e">EndMessage</a>(<a class="code" href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">msg</a>);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <a class="code" href="classCConnman.html#a7083075680ab1633003a4a5acb09b453">PushMessage</a>(pnode, <a class="code" href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">msg</a>, sCommand);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classCConnman.html#a43269fed1e47109ee143249d1e762668"> 187</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a43269fed1e47109ee143249d1e762668">PushMessageWithFlag</a>(<a class="code" href="classCNode.html">CNode</a>* pnode, <span class="keywordtype">int</span> flag, <span class="keyword">const</span> std::string&amp; sCommand, Args&amp;&amp;... args)</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <a class="code" href="classCConnman.html#aadf6f72eea5e6014bd83c365064d6470">PushMessageWithVersionAndFlag</a>(pnode, 0, flag, sCommand, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; }</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classCConnman.html#aaacbcc399569e16cedee9e95d2a8bc11"> 193</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#aaacbcc399569e16cedee9e95d2a8bc11">PushMessageWithVersion</a>(<a class="code" href="classCNode.html">CNode</a>* pnode, <span class="keywordtype">int</span> nVersion, <span class="keyword">const</span> std::string&amp; sCommand, Args&amp;&amp;... args)</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="classCConnman.html#aadf6f72eea5e6014bd83c365064d6470">PushMessageWithVersionAndFlag</a>(pnode, nVersion, 0, sCommand, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classCConnman.html#a7083075680ab1633003a4a5acb09b453"> 199</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a7083075680ab1633003a4a5acb09b453">PushMessage</a>(<a class="code" href="classCNode.html">CNode</a>* pnode, <span class="keyword">const</span> std::string&amp; sCommand, Args&amp;&amp;... args)</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; {</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <a class="code" href="classCConnman.html#aadf6f72eea5e6014bd83c365064d6470">PushMessageWithVersionAndFlag</a>(pnode, 0, 0, sCommand, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Condition, <span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classCConnman.html#a1cbf9aa1c0e71a10993116d7d7a25bd6"> 205</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a1cbf9aa1c0e71a10993116d7d7a25bd6">ForEachNodeContinueIf</a>(<span class="keyword">const</span> Condition&amp; cond, Callable&amp;&amp; func)</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp;&amp; node : <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>)</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordflow">if</span> (cond(node))</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordflow">if</span>(!func(node))</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; };</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classCConnman.html#aecacad9a722bf0b065b2e3062d8506c4"> 216</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#aecacad9a722bf0b065b2e3062d8506c4">ForEachNodeContinueIf</a>(Callable&amp;&amp; func)</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; {</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCConnman.html#a1cbf9aa1c0e71a10993116d7d7a25bd6">ForEachNodeContinueIf</a>(<a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, func);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; }</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Condition, <span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="classCConnman.html#a1f2e6c46cf3eb520a74bc05e604fcbe0"> 222</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a1f2e6c46cf3eb520a74bc05e604fcbe0">ForEachNodeContinueIf</a>(<span class="keyword">const</span> Condition&amp; cond, Callable&amp;&amp; func)<span class="keyword"> const</span></div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>);</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>&amp; node : <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>)</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keywordflow">if</span> (cond(node))</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">if</span>(!func(node))</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; };</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classCConnman.html#a4ff8a26baa7a8f6182e05e7e1c923ed9"> 233</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a4ff8a26baa7a8f6182e05e7e1c923ed9">ForEachNodeContinueIf</a>(Callable&amp;&amp; func)<span class="keyword"> const</span></div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCConnman.html#a1cbf9aa1c0e71a10993116d7d7a25bd6">ForEachNodeContinueIf</a>(<a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, func);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; }</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Condition, <span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classCConnman.html#a2d665bfdec68f6484b9f0d6760f9efd1"> 239</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a2d665bfdec68f6484b9f0d6760f9efd1">ForEachNode</a>(<span class="keyword">const</span> Condition&amp; cond, Callable&amp;&amp; func)</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; {</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>);</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp;&amp; node : <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>) {</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">if</span> (cond(node))</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; func(node);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; }</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; };</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classCConnman.html#aec1d86d7a6bd9e10544b93ccb56adf0d"> 249</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#aec1d86d7a6bd9e10544b93ccb56adf0d">ForEachNode</a>(Callable&amp;&amp; func)</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="code" href="classCConnman.html#a2d665bfdec68f6484b9f0d6760f9efd1">ForEachNode</a>(<a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, func);</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Condition, <span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classCConnman.html#a61e3eda66ac8ed92a616874a6b16e6de"> 255</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a61e3eda66ac8ed92a616874a6b16e6de">ForEachNode</a>(<span class="keyword">const</span> Condition&amp; cond, Callable&amp;&amp; func)<span class="keyword"> const</span></div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp;&amp; node : <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>) {</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordflow">if</span> (cond(node))</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; func(node);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; }</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; };</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable&gt;</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classCConnman.html#a78430cdfe79954901d243de24fd4da63"> 265</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a78430cdfe79954901d243de24fd4da63">ForEachNode</a>(Callable&amp;&amp; func)<span class="keyword"> const</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="code" href="classCConnman.html#a2d665bfdec68f6484b9f0d6760f9efd1">ForEachNode</a>(<a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, func);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Condition, <span class="keyword">typename</span> Callable, <span class="keyword">typename</span> CallableAfter&gt;</div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classCConnman.html#a9b7efcca91a687285efcbad17523e0bf"> 271</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a9b7efcca91a687285efcbad17523e0bf">ForEachNodeThen</a>(<span class="keyword">const</span> Condition&amp; cond, Callable&amp;&amp; pre, CallableAfter&amp;&amp; post)</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; {</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp;&amp; node : <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>) {</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordflow">if</span> (cond(node))</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; pre(node);</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; }</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; post();</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; };</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable, <span class="keyword">typename</span> CallableAfter&gt;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="classCConnman.html#a38959b6bfe2e0aa536f91e7f20db6aac"> 282</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a38959b6bfe2e0aa536f91e7f20db6aac">ForEachNodeThen</a>(Callable&amp;&amp; pre, CallableAfter&amp;&amp; post)</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; {</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <a class="code" href="classCConnman.html#a9b7efcca91a687285efcbad17523e0bf">ForEachNodeThen</a>(<a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, pre, post);</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Condition, <span class="keyword">typename</span> Callable, <span class="keyword">typename</span> CallableAfter&gt;</div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="classCConnman.html#a7432095afafaa80af8fd08b7d1b7e2ed"> 288</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a7432095afafaa80af8fd08b7d1b7e2ed">ForEachNodeThen</a>(<span class="keyword">const</span> Condition&amp; cond, Callable&amp;&amp; pre, CallableAfter&amp;&amp; post)<span class="keyword"> const</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>);</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp;&amp; node : <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>) {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keywordflow">if</span> (cond(node))</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; pre(node);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; }</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; post();</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; };</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Callable, <span class="keyword">typename</span> CallableAfter&gt;</div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classCConnman.html#a217dabe388fc5e97064cc8848abbe502"> 299</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a217dabe388fc5e97064cc8848abbe502">ForEachNodeThen</a>(Callable&amp;&amp; pre, CallableAfter&amp;&amp; post)<span class="keyword"> const</span></div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <a class="code" href="classCConnman.html#a9b7efcca91a687285efcbad17523e0bf">ForEachNodeThen</a>(<a class="code" href="classCConnman.html#ada03158efc97507ad867bcf12e379952">FullyConnectedOnly</a>, pre, post);</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; }</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; std::vector&lt;CNode*&gt; <a class="code" href="classCConnman.html#a658377e872bac0f15361b02f38e00bdd">CopyNodeVector</a>();</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a8669942dafa1c3875e9899cd5dd87854">ReleaseNodeVector</a>(<span class="keyword">const</span> std::vector&lt;CNode*&gt;&amp; vecNodes);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a5fdad96946aa2bc67961ad973bf65fa5">RelayTransaction</a>(<span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>&amp; tx);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a5fdad96946aa2bc67961ad973bf65fa5">RelayTransaction</a>(<span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>&amp; tx, <span class="keyword">const</span> <a class="code" href="classCDataStream.html">CDataStream</a>&amp; ss);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a3d45932513c62fe9c489b2aa6ec86316">RelayInv</a>(<a class="code" href="classCInv.html">CInv</a> &amp;inv, <span class="keyword">const</span> <span class="keywordtype">int</span> minProtoVersion = <a class="code" href="version_8h.html#a7ef2601209957b98b7cc1a186f8e6e62">MIN_PEER_PROTO_VERSION</a>);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="comment">// Addrman functions</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classCConnman.html#a47a0fe62e6fb1008c77f3b2150214213">GetAddressCount</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a46915b82dd2183baf2944d74d88a4228">SetServices</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a> &amp;addr, <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> nServices);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a85dedb235a648a1b8370228ba62ebacb">MarkAddressGood</a>(<span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; addr);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a3b4209a685463cdceeefa0924e4a5f68">AddNewAddress</a>(<span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; addr, <span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; addrFrom, int64_t nTimePenalty = 0);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a47d9024273a8c421fa7de641c30e9081">AddNewAddresses</a>(<span class="keyword">const</span> std::vector&lt;CAddress&gt;&amp; vAddr, <span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; addrFrom, int64_t nTimePenalty = 0);</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; std::vector&lt;CAddress&gt; <a class="code" href="classCConnman.html#a4ba34cd3557ab0ba1cfcbe7c18bf1199">GetAddresses</a>();</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#af809d4d6c2186a1d304d3e26ef4b0bc8">AddressCurrentlyConnected</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160; <span class="comment">// Denial-of-service detection/prevention</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="comment">// The idea is to detect peers that are behaving</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <span class="comment">// badly and disconnect/ban them, but do it in a</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; <span class="comment">// one-coding-mistake-won&#39;t-shatter-the-entire-network</span></div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <span class="comment">// way.</span></div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; <span class="comment">// IMPORTANT: There should be nothing I can give a</span></div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="comment">// node that it will forward on that will make that</span></div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <span class="comment">// node&#39;s peers drop it. If there is, an attacker</span></div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="comment">// can isolate a node and/or try to split the network.</span></div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="comment">// Dropping a node for sending stuff that is invalid</span></div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <span class="comment">// now but might be valid in a later version is also</span></div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <span class="comment">// dangerous, because it can cause a network split</span></div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; <span class="comment">// between nodes running old code and nodes running</span></div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="comment">// new code.</span></div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ac57208a8ea613f814aaf1c5c5e5394a4">Ban</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a>&amp; netAddr, <span class="keyword">const</span> <a class="code" href="addrdb_8h.html#ae79eefa5f9d20b9761dfc7a41123e668">BanReason</a>&amp; reason, int64_t bantimeoffset = 0, <span class="keywordtype">bool</span> sinceUnixEpoch = <span class="keyword">false</span>);</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ac57208a8ea613f814aaf1c5c5e5394a4">Ban</a>(<span class="keyword">const</span> <a class="code" href="classCSubNet.html">CSubNet</a>&amp; subNet, <span class="keyword">const</span> <a class="code" href="addrdb_8h.html#ae79eefa5f9d20b9761dfc7a41123e668">BanReason</a>&amp; reason, int64_t bantimeoffset = 0, <span class="keywordtype">bool</span> sinceUnixEpoch = <span class="keyword">false</span>);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a6ccf00706c65a961f8abf3d7019406f4">ClearBanned</a>(); <span class="comment">// needed for unit testing</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#aa014a4c7bbfc843aa4fff786a2aa8c96">IsBanned</a>(<a class="code" href="classCNetAddr.html">CNetAddr</a> ip);</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#aa014a4c7bbfc843aa4fff786a2aa8c96">IsBanned</a>(<a class="code" href="classCSubNet.html">CSubNet</a> subnet);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a4f931ae01a4c822a307620f4816cdee5">Unban</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a> &amp;ip);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a4f931ae01a4c822a307620f4816cdee5">Unban</a>(<span class="keyword">const</span> <a class="code" href="classCSubNet.html">CSubNet</a> &amp;ip);</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a72472ae8962210960eea780bf0e733f6">GetBanned</a>(<a class="code" href="addrdb_8h.html#af9675d81650e48d20ae495adf73da102">banmap_t</a> &amp;banmap);</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ae6697e1fd73e7d7cff3a699fe2034345">SetBanned</a>(<span class="keyword">const</span> <a class="code" href="addrdb_8h.html#af9675d81650e48d20ae495adf73da102">banmap_t</a> &amp;banmap);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#afaf3119a1d1212256aa6f4b5763c29ca">AddOneShot</a>(<span class="keyword">const</span> std::string&amp; strDest);</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#af4cd7fce69f5bf61701c3735ba3bec79">AddNode</a>(<span class="keyword">const</span> std::string&amp; node);</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#af9af880a6906571013cf3f21c2761110">RemoveAddedNode</a>(<span class="keyword">const</span> std::string&amp; node);</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; std::vector&lt;AddedNodeInfo&gt; <a class="code" href="classCConnman.html#ad86a46ddbc6c99900d58ab89b65eaece">GetAddedNodeInfo</a>();</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classCConnman.html#a255a163d4df189aa01faf219c97a2994">GetNodeCount</a>(<a class="code" href="clientmodel_8h.html#a7f98da21db559811eecbeda885046030">NumConnections</a> num);</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ad938d53e18ad8662aa5b8495bf001937">GetNodeStats</a>(std::vector&lt;CNodeStats&gt;&amp; vstats);</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a61837aadc0749654a483532d145c277b">DisconnectNode</a>(<span class="keyword">const</span> std::string&amp; node);</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a61837aadc0749654a483532d145c277b">DisconnectNode</a>(<a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <span class="keywordtype">id</span>);</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#a82a08ed68d1c70aab8d31e6af59523cd">GetSendBufferSize</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a058d19652e32dbc88f548e8654d675af">AddWhitelistedRange</a>(<span class="keyword">const</span> <a class="code" href="classCSubNet.html">CSubNet</a> &amp;subnet);</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCConnman.html#a609c5f40a52ca8d5036f65ebdb70469f">GetLocalServices</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a9971c08442c2c5b23ec6598f9ef427db">SetMaxOutboundTarget</a>(uint64_t limit);</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; uint64_t <a class="code" href="classCConnman.html#a9ad0bc18f18af0b9ed33a6e803aa3793">GetMaxOutboundTarget</a>();</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a4628ea4ab0119c4a396cdae10bc7d06e">SetMaxOutboundTimeframe</a>(uint64_t timeframe);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; uint64_t <a class="code" href="classCConnman.html#a45a52ec9d3493ca313e9b8cc928c83c7">GetMaxOutboundTimeframe</a>();</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="comment">// if param historicalBlockServingLimit is set true, the function will</span></div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; <span class="comment">// response true if the limit for serving historical blocks has been reached</span></div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#aa12d154df14eef07418a36362d1cb8d7">OutboundTargetReached</a>(<span class="keywordtype">bool</span> historicalBlockServingLimit);</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; <span class="comment">// in case of no limit, it will always response 0</span></div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; uint64_t <a class="code" href="classCConnman.html#a4773d15bc6d7d78d15b38a5bc72c992f">GetOutboundTargetBytesLeft</a>();</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="comment">// in case of no limit, it will always response 0</span></div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; uint64_t <a class="code" href="classCConnman.html#ab1cf2be67b3e98527c87e6d5261d267e">GetMaxOutboundTimeLeftInCycle</a>();</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; uint64_t <a class="code" href="classCConnman.html#a337ff89eb6c74c70a2d4cd15ed3bc97d">GetTotalBytesRecv</a>();</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; uint64_t <a class="code" href="classCConnman.html#ab07ed95cf52f589101bda8fc881d2da1">GetTotalBytesSent</a>();</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a36cf799d267785276497583398dfd4cd">SetBestHeight</a>(<span class="keywordtype">int</span> height);</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#a0f7d06bcc905778cbfab8ac33d8efe85">GetBestHeight</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#a30095fabc2e1727514ad2f2d530a496d">GetReceiveFloodSize</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="structCConnman_1_1ListenSocket.html"> 391</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structCConnman_1_1ListenSocket.html">ListenSocket</a> {</div><div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="structCConnman_1_1ListenSocket.html#a89f7b8ffa14007712f339484ac315fc9"> 392</a></span>&#160; <a class="code" href="compat_8h.html#a26ef1173e2f2c0d3db27eca28397d723">SOCKET</a> <a class="code" href="structCConnman_1_1ListenSocket.html#a89f7b8ffa14007712f339484ac315fc9">socket</a>;</div><div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="structCConnman_1_1ListenSocket.html#acbea1e39ba522ec6dbf318d5e3a75f87"> 393</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structCConnman_1_1ListenSocket.html#acbea1e39ba522ec6dbf318d5e3a75f87">whitelisted</a>;</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;</div><div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="structCConnman_1_1ListenSocket.html#a839d24d26f7443396e4faa25fa7fdb76"> 395</a></span>&#160; <a class="code" href="structCConnman_1_1ListenSocket.html#a839d24d26f7443396e4faa25fa7fdb76">ListenSocket</a>(<a class="code" href="compat_8h.html#a26ef1173e2f2c0d3db27eca28397d723">SOCKET</a> socket_, <span class="keywordtype">bool</span> whitelisted_) : <a class="code" href="structCConnman_1_1ListenSocket.html#a89f7b8ffa14007712f339484ac315fc9">socket</a>(socket_), <a class="code" href="structCConnman_1_1ListenSocket.html#acbea1e39ba522ec6dbf318d5e3a75f87">whitelisted</a>(whitelisted_) {}</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; };</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a0b787caf95e52a346a2b31a580d60a62">ThreadOpenAddedConnections</a>();</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a161f1b41271db1a10cec61a825524b5d">ProcessOneShot</a>();</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ac4c8cf5142f88565e789f3b173d89b3e">ThreadOpenConnections</a>();</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#aacdbb7148575a31bb33bc345e2bf22a9">ThreadMessageHandler</a>();</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#afe88b51d85f5b77fd38cd0be1d177891">AcceptConnection</a>(<span class="keyword">const</span> ListenSocket&amp; hListenSocket);</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a765597cbfe99c083d8fa3d61bb464e34">ThreadSocketHandler</a>();</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#aa7c6970ed98a4a7bafbc071d24897d13">ThreadDNSAddressSeed</a>();</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a12e5839242677181ea3633636670b062">ThreadMnbRequestConnections</a>();</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a999ec42f1515f77096556c94c29c6538">WakeMessageHandler</a>();</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <a class="code" href="classCNode.html">CNode</a>* <a class="code" href="classCConnman.html#a7ffb96b5277edc1e41cb705a5cbef72e">FindNode</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a>&amp; ip);</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <a class="code" href="classCNode.html">CNode</a>* <a class="code" href="classCConnman.html#a7ffb96b5277edc1e41cb705a5cbef72e">FindNode</a>(<span class="keyword">const</span> <a class="code" href="classCSubNet.html">CSubNet</a>&amp; subNet);</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <a class="code" href="classCNode.html">CNode</a>* <a class="code" href="classCConnman.html#a7ffb96b5277edc1e41cb705a5cbef72e">FindNode</a>(<span class="keyword">const</span> std::string&amp; addrName);</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; <a class="code" href="classCNode.html">CNode</a>* <a class="code" href="classCConnman.html#a7ffb96b5277edc1e41cb705a5cbef72e">FindNode</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr);</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a1e4b04dc4c4502adbb735257cf757a66">AttemptToEvictConnection</a>();</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#afe4088d5d272b05197b0c2cfeb9bc50b">IsWhitelistedRange</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a> &amp;addr);</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a1c476458d499d52f2c87c88d93082a9d">DeleteNode</a>(<a class="code" href="classCNode.html">CNode</a>* pnode);</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; <a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <a class="code" href="classCConnman.html#a3de904541eed55727886098885fc5c3b">GetNewNodeId</a>();</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classCConnman.html#a62a79bcc191112ab8ea87e860a16d2a2">SocketSendData</a>(<a class="code" href="classCNode.html">CNode</a> *pnode);</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#ac5a5efb5d7a41f9a6f99c7328997f40d">BannedSetIsDirty</a>();</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a6006659dcdda45215102e5982d4879a1">SetBannedSetDirty</a>(<span class="keywordtype">bool</span> dirty=<span class="keyword">true</span>);</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a0695d37447e19cfde25be7e9b7f13f67">SweepBanned</a>();</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#aefdc911e6c978574ec42051faeaea041">DumpAddresses</a>();</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ad59340080a38661aadeac522c2ccf656">DumpData</a>();</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a6e729a956380ac422ab78d842e158df1">DumpBanlist</a>();</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; <a class="code" href="classCDataStream.html">CDataStream</a> <a class="code" href="classCConnman.html#af33367840224e80bcfa5c6582dc88170">BeginMessage</a>(<a class="code" href="classCNode.html">CNode</a>* node, <span class="keywordtype">int</span> nVersion, <span class="keywordtype">int</span> <a class="code" href="dash-tx_8cpp.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>, <span class="keyword">const</span> std::string&amp; sCommand);</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a7083075680ab1633003a4a5acb09b453">PushMessage</a>(<a class="code" href="classCNode.html">CNode</a>* pnode, <a class="code" href="classCDataStream.html">CDataStream</a>&amp; strm, <span class="keyword">const</span> std::string&amp; sCommand);</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a4f4e4c1e7e161ff31b73f64d97b9900e">EndMessage</a>(<a class="code" href="classCDataStream.html">CDataStream</a>&amp; strm);</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160;</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; <span class="comment">// Network stats</span></div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#ad38cc6cdc3b3767c2714452224895093">RecordBytesRecv</a>(uint64_t bytes);</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCConnman.html#a494218531e4289a5c0b9c373890454c4">RecordBytesSent</a>(uint64_t bytes);</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; <span class="comment">// Whether the node should be passed out in ForEach* callbacks</span></div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a8fd1903719cc907b1024088bd715fefb">NodeFullyConnected</a>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>* pnode);</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; <span class="comment">// Network usage totals</span></div><div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="classCConnman.html#a376121b9eccd7ebbe19d3c3c058146d4"> 444</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#a376121b9eccd7ebbe19d3c3c058146d4">cs_totalBytesRecv</a>;</div><div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="classCConnman.html#a50689d29e242bd9070f17bc62d32e90f"> 445</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#a50689d29e242bd9070f17bc62d32e90f">cs_totalBytesSent</a>;</div><div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="classCConnman.html#a78fc6a51fab2550bf73787cf1eea2a3c"> 446</a></span>&#160; uint64_t <a class="code" href="classCConnman.html#a78fc6a51fab2550bf73787cf1eea2a3c">nTotalBytesRecv</a>;</div><div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="classCConnman.html#a492f8afd8cbd66b16401727d2f521e43"> 447</a></span>&#160; uint64_t <a class="code" href="classCConnman.html#a492f8afd8cbd66b16401727d2f521e43">nTotalBytesSent</a>;</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160;</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; <span class="comment">// outbound limit &amp; stats</span></div><div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="classCConnman.html#a8c2ade2114997b11a70c881456439529"> 450</a></span>&#160; uint64_t <a class="code" href="classCConnman.html#a8c2ade2114997b11a70c881456439529">nMaxOutboundTotalBytesSentInCycle</a>;</div><div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="classCConnman.html#a8c360ad2471ad7287b27f944aa382441"> 451</a></span>&#160; uint64_t <a class="code" href="classCConnman.html#a8c360ad2471ad7287b27f944aa382441">nMaxOutboundCycleStartTime</a>;</div><div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="classCConnman.html#a06596008c9c9709d4573c536742ccc45"> 452</a></span>&#160; uint64_t <a class="code" href="classCConnman.html#a06596008c9c9709d4573c536742ccc45">nMaxOutboundLimit</a>;</div><div class="line"><a name="l00453"></a><span class="lineno"><a class="line" href="classCConnman.html#a626cf5fd895a959c73f7b77acc1a18a8"> 453</a></span>&#160; uint64_t <a class="code" href="classCConnman.html#a626cf5fd895a959c73f7b77acc1a18a8">nMaxOutboundTimeframe</a>;</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; <span class="comment">// Whitelisted ranges. Any node connecting from these is automatically</span></div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; <span class="comment">// whitelisted (as well as those connecting to whitelisted binds).</span></div><div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="classCConnman.html#aab00be311fc6aea398d4caf2f9b9e770"> 457</a></span>&#160; std::vector&lt;CSubNet&gt; <a class="code" href="classCConnman.html#aab00be311fc6aea398d4caf2f9b9e770">vWhitelistedRange</a>;</div><div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="classCConnman.html#add237cb3a836a845b0a4d7c093ef10f4"> 458</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#add237cb3a836a845b0a4d7c093ef10f4">cs_vWhitelistedRange</a>;</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160;</div><div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="classCConnman.html#ade433492622155412824555e850e3ed9"> 460</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#ade433492622155412824555e850e3ed9">nSendBufferMaxSize</a>;</div><div class="line"><a name="l00461"></a><span class="lineno"><a class="line" href="classCConnman.html#a8855eb8f432a1fe07b2cc373cc9a3a50"> 461</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#a8855eb8f432a1fe07b2cc373cc9a3a50">nReceiveFloodSize</a>;</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160;</div><div class="line"><a name="l00463"></a><span class="lineno"><a class="line" href="classCConnman.html#a6a8dd8e367c6342baf26c697d004906d"> 463</a></span>&#160; std::vector&lt;ListenSocket&gt; <a class="code" href="classCConnman.html#a6a8dd8e367c6342baf26c697d004906d">vhListenSocket</a>;</div><div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="classCConnman.html#a57501169f1faf1750efc6158f825b531"> 464</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a57501169f1faf1750efc6158f825b531">fNetworkActive</a>;</div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="classCConnman.html#ac9af730df4809a6767fb2245f3c2323f"> 465</a></span>&#160; <a class="code" href="addrdb_8h.html#af9675d81650e48d20ae495adf73da102">banmap_t</a> <a class="code" href="classCConnman.html#ac9af730df4809a6767fb2245f3c2323f">setBanned</a>;</div><div class="line"><a name="l00466"></a><span class="lineno"><a class="line" href="classCConnman.html#a734f3771091eeb4cb12aef25c7402469"> 466</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#a734f3771091eeb4cb12aef25c7402469">cs_setBanned</a>;</div><div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="classCConnman.html#a1c714c44a6c870c08deddb267eaccba1"> 467</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a1c714c44a6c870c08deddb267eaccba1">setBannedIsDirty</a>;</div><div class="line"><a name="l00468"></a><span class="lineno"><a class="line" href="classCConnman.html#ab07810a88d9b1d7a0309509cf0cadd57"> 468</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#ab07810a88d9b1d7a0309509cf0cadd57">fAddressesInitialized</a>;</div><div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="classCConnman.html#a2e995b2e487c70aa43fd84a0f78305b4"> 469</a></span>&#160; <a class="code" href="classCAddrMan.html">CAddrMan</a> <a class="code" href="classCConnman.html#a2e995b2e487c70aa43fd84a0f78305b4">addrman</a>;</div><div class="line"><a name="l00470"></a><span class="lineno"><a class="line" href="classCConnman.html#a59b3f6615a4e566b34920b6fbb747920"> 470</a></span>&#160; std::deque&lt;std::string&gt; <a class="code" href="classCConnman.html#a59b3f6615a4e566b34920b6fbb747920">vOneShots</a>;</div><div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="classCConnman.html#aedb5dff92cf5677c8465bb8ad43312e4"> 471</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#aedb5dff92cf5677c8465bb8ad43312e4">cs_vOneShots</a>;</div><div class="line"><a name="l00472"></a><span class="lineno"><a class="line" href="classCConnman.html#adb38e15b9237df805562255d3ee8fa7e"> 472</a></span>&#160; std::vector&lt;std::string&gt; <a class="code" href="classCConnman.html#adb38e15b9237df805562255d3ee8fa7e">vAddedNodes</a>;</div><div class="line"><a name="l00473"></a><span class="lineno"><a class="line" href="classCConnman.html#af185d7f8ac4389a0247a47cf16e4610c"> 473</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#af185d7f8ac4389a0247a47cf16e4610c">cs_vAddedNodes</a>;</div><div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5"> 474</a></span>&#160; std::vector&lt;CNode*&gt; <a class="code" href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">vNodes</a>;</div><div class="line"><a name="l00475"></a><span class="lineno"><a class="line" href="classCConnman.html#a320b487f2f4437c2518cf6d2b37f95fd"> 475</a></span>&#160; std::list&lt;CNode*&gt; <a class="code" href="classCConnman.html#a320b487f2f4437c2518cf6d2b37f95fd">vNodesDisconnected</a>;</div><div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35"> 476</a></span>&#160; <span class="keyword">mutable</span> <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">cs_vNodes</a>;</div><div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="classCConnman.html#a45b6e23a40a19f9cc3d092fb5e08e6fd"> 477</a></span>&#160; std::atomic&lt;NodeId&gt; <a class="code" href="classCConnman.html#a45b6e23a40a19f9cc3d092fb5e08e6fd">nLastNodeId</a>;</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160;</div><div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="classCConnman.html#a246c1e7e5f8bb3e148a03177fd410517"> 480</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCConnman.html#a246c1e7e5f8bb3e148a03177fd410517">nLocalServices</a>;</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160;</div><div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="classCConnman.html#a6305756f9622612ff70f3453a385535e"> 483</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCConnman.html#a6305756f9622612ff70f3453a385535e">nRelevantServices</a>;</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno"><a class="line" href="classCConnman.html#a5204d111b1d9f77e0e6c4a0016a332c9"> 485</a></span>&#160; <a class="code" href="classCSemaphore.html">CSemaphore</a> *<a class="code" href="classCConnman.html#a5204d111b1d9f77e0e6c4a0016a332c9">semOutbound</a>;</div><div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="classCConnman.html#af869675d30f1c016912c7ebc2ec8e409"> 486</a></span>&#160; <a class="code" href="classCSemaphore.html">CSemaphore</a> *<a class="code" href="classCConnman.html#af869675d30f1c016912c7ebc2ec8e409">semMasternodeOutbound</a>;</div><div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="classCConnman.html#a92375a64d1f39823c26c839eb805137f"> 487</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#a92375a64d1f39823c26c839eb805137f">nMaxConnections</a>;</div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="classCConnman.html#ac3d0e0de8d7ab3f3ac5674aea93389d3"> 488</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#ac3d0e0de8d7ab3f3ac5674aea93389d3">nMaxOutbound</a>;</div><div class="line"><a name="l00489"></a><span class="lineno"><a class="line" href="classCConnman.html#af6353e401ae90d8621e768c4392b4e4f"> 489</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCConnman.html#af6353e401ae90d8621e768c4392b4e4f">nMaxFeeler</a>;</div><div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="classCConnman.html#ac88ba00355f9d1870e216075a8f2c85c"> 490</a></span>&#160; std::atomic&lt;int&gt; <a class="code" href="classCConnman.html#ac88ba00355f9d1870e216075a8f2c85c">nBestHeight</a>;</div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="classCConnman.html#a70b363e41f5c296834e744d87999edf0"> 491</a></span>&#160; <a class="code" href="classCClientUIInterface.html">CClientUIInterface</a>* <a class="code" href="classCConnman.html#a70b363e41f5c296834e744d87999edf0">clientInterface</a>;</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160;</div><div class="line"><a name="l00494"></a><span class="lineno"><a class="line" href="classCConnman.html#a7a3ebcaa5b75e2e2e109af35e1c48c9d"> 494</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCConnman.html#a7a3ebcaa5b75e2e2e109af35e1c48c9d">fMsgProcWake</a>;</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;</div><div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="classCConnman.html#a03645ed0eb723430af180ad2ae36adc3"> 496</a></span>&#160; std::condition_variable <a class="code" href="classCConnman.html#a03645ed0eb723430af180ad2ae36adc3">condMsgProc</a>;</div><div class="line"><a name="l00497"></a><span class="lineno"><a class="line" href="classCConnman.html#a217b6ac63ee4b64199a2d11284d6bee4"> 497</a></span>&#160; std::mutex <a class="code" href="classCConnman.html#a217b6ac63ee4b64199a2d11284d6bee4">mutexMsgProc</a>;</div><div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="classCConnman.html#a2fdedb3739836bdc19590ad84960a3a6"> 498</a></span>&#160; std::atomic&lt;bool&gt; <a class="code" href="classCConnman.html#a2fdedb3739836bdc19590ad84960a3a6">flagInterruptMsgProc</a>;</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;</div><div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="classCConnman.html#a4353881f4ed5f9fb22f13acdf1608a0a"> 500</a></span>&#160; <a class="code" href="classCThreadInterrupt.html">CThreadInterrupt</a> <a class="code" href="classCConnman.html#a4353881f4ed5f9fb22f13acdf1608a0a">interruptNet</a>;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;</div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="classCConnman.html#a4ee3395b9ce47619ba794649ee86014b"> 502</a></span>&#160; std::thread <a class="code" href="classCConnman.html#a4ee3395b9ce47619ba794649ee86014b">threadDNSAddressSeed</a>;</div><div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="classCConnman.html#af71dbf1403017b3cdb88ee222c2ca9a4"> 503</a></span>&#160; std::thread <a class="code" href="classCConnman.html#af71dbf1403017b3cdb88ee222c2ca9a4">threadSocketHandler</a>;</div><div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="classCConnman.html#ab94bcc3fb7745cd4aee32c4b8394bed1"> 504</a></span>&#160; std::thread <a class="code" href="classCConnman.html#ab94bcc3fb7745cd4aee32c4b8394bed1">threadOpenAddedConnections</a>;</div><div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="classCConnman.html#a77e704e5251f7545d2f87d81f08181f2"> 505</a></span>&#160; std::thread <a class="code" href="classCConnman.html#a77e704e5251f7545d2f87d81f08181f2">threadOpenConnections</a>;</div><div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="classCConnman.html#aecc69dfb264443440fe352450c3f6165"> 506</a></span>&#160; std::thread <a class="code" href="classCConnman.html#aecc69dfb264443440fe352450c3f6165">threadMnbRequestConnections</a>;</div><div class="line"><a name="l00507"></a><span class="lineno"><a class="line" href="classCConnman.html#a0912548f2db81fc15f291ce42ac50f0e"> 507</a></span>&#160; std::thread <a class="code" href="classCConnman.html#a0912548f2db81fc15f291ce42ac50f0e">threadMessageHandler</a>;</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;};</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;<span class="keyword">extern</span> std::unique_ptr&lt;CConnman&gt; <a class="code" href="net_8h.html#a152c3d2ceeeaf7a300666dcbcc8bb945">g_connman</a>;</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160;<span class="keywordtype">void</span> <a class="code" href="net_8h.html#a8316da05a5f15022dce5d0c2f82001fc">Discover</a>(boost::thread_group&amp; threadGroup);</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160;<span class="keywordtype">void</span> <a class="code" href="net_8h.html#aa203b76a8cc98a5ec314c19a008b478d">MapPort</a>(<span class="keywordtype">bool</span> fUseUPnP);</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="net_8h.html#af6d341a24d761a509fca026458cf2f72">GetListenPort</a>();</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a8a814f8f9920a3ece14c33fe051acdf3">BindListenPort</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a> &amp;bindAddr, std::string&amp; strError, <span class="keywordtype">bool</span> fWhitelisted = <span class="keyword">false</span>);</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;</div><div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="structCombinerAll.html"> 515</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCombinerAll.html">CombinerAll</a></div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;{</div><div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="structCombinerAll.html#ae9075371bfb6f2b47eee3bb86eded765"> 517</a></span>&#160; <span class="keyword">typedef</span> <span class="keywordtype">bool</span> <a class="code" href="structCombinerAll.html#ae9075371bfb6f2b47eee3bb86eded765">result_type</a>;</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160;</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> I&gt;</div><div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="structCombinerAll.html#a5e00e6e750c3c080fef5c697a0bca1a0"> 520</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structCombinerAll.html#a5e00e6e750c3c080fef5c697a0bca1a0">operator()</a>(I first, I last)<span class="keyword"> const</span></div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; <span class="keywordflow">while</span> (first != last) {</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; <span class="keywordflow">if</span> (!(*first)) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160; ++first;</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; }</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; }</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;};</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160;</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160;<span class="comment">// Signals for message handling</span></div><div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="structCNodeSignals.html"> 531</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCNodeSignals.html">CNodeSignals</a></div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160;{</div><div class="line"><a name="l00533"></a><span class="lineno"><a class="line" href="structCNodeSignals.html#adbe101522cf1fd496a8fdf2667744f0f"> 533</a></span>&#160; boost::signals2::signal&lt;bool (CNode*, CConnman&amp;, std::atomic&lt;bool&gt;&amp;), <a class="code" href="structCombinerAll.html">CombinerAll</a>&gt; <a class="code" href="structCNodeSignals.html#adbe101522cf1fd496a8fdf2667744f0f">ProcessMessages</a>;</div><div class="line"><a name="l00534"></a><span class="lineno"><a class="line" href="structCNodeSignals.html#ae96100eac4458c80929678cd6f58bc53"> 534</a></span>&#160; boost::signals2::signal&lt;bool (CNode*, CConnman&amp;, std::atomic&lt;bool&gt;&amp;), <a class="code" href="structCombinerAll.html">CombinerAll</a>&gt; <a class="code" href="structCNodeSignals.html#ae96100eac4458c80929678cd6f58bc53">SendMessages</a>;</div><div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="structCNodeSignals.html#a1ce7c2d878dee3b81732b8ded51a7d6a"> 535</a></span>&#160; boost::signals2::signal&lt;void (CNode*, CConnman&amp;)&gt; <a class="code" href="structCNodeSignals.html#a1ce7c2d878dee3b81732b8ded51a7d6a">InitializeNode</a>;</div><div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="structCNodeSignals.html#afeb0f429de9477d8e7c003d44050bf00"> 536</a></span>&#160; boost::signals2::signal&lt;void (NodeId, bool&amp;)&gt; <a class="code" href="structCNodeSignals.html#afeb0f429de9477d8e7c003d44050bf00">FinalizeNode</a>;</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;};</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160;<a class="code" href="structCNodeSignals.html">CNodeSignals</a>&amp; <a class="code" href="net_8h.html#a475f2fc7d8f5cd7511db253cae8fe28a">GetNodeSignals</a>();</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160;<span class="keyword">enum</span></div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;{</div><div class="line"><a name="l00545"></a><span class="lineno"><a class="line" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1d33b76bcbc0dbb757cc02bb2259775b"> 545</a></span>&#160; <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1d33b76bcbc0dbb757cc02bb2259775b">LOCAL_NONE</a>, <span class="comment">// unknown</span></div><div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafa44f0377f6449a82e1e6176acfe44f7"> 546</a></span>&#160; <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafa44f0377f6449a82e1e6176acfe44f7">LOCAL_IF</a>, <span class="comment">// address a local interface listens on</span></div><div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035daad42caef30be428cb73f7d2753b5162e"> 547</a></span>&#160; <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035daad42caef30be428cb73f7d2753b5162e">LOCAL_BIND</a>, <span class="comment">// address explicit bound to</span></div><div class="line"><a name="l00548"></a><span class="lineno"><a class="line" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035daa28117b0df136a5a8b96c5e887e182a8"> 548</a></span>&#160; <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035daa28117b0df136a5a8b96c5e887e182a8">LOCAL_UPNP</a>, <span class="comment">// address reported by UPnP</span></div><div class="line"><a name="l00549"></a><span class="lineno"><a class="line" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da85f937846a9820dce1ac928efee52a91"> 549</a></span>&#160; <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da85f937846a9820dce1ac928efee52a91">LOCAL_MANUAL</a>, <span class="comment">// address explicitly specified (-externalip=)</span></div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160;</div><div class="line"><a name="l00551"></a><span class="lineno"><a class="line" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da8f7a4de904e634f46aa0d9b8fbf1b67e"> 551</a></span>&#160; <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da8f7a4de904e634f46aa0d9b8fbf1b67e">LOCAL_MAX</a></div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160;};</div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160;</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a058b75c6fcc94a0643184c237ad6de93">IsPeerAddrLocalGood</a>(<a class="code" href="classCNode.html">CNode</a> *pnode);</div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160;<span class="keywordtype">void</span> <a class="code" href="net_8h.html#a0cde2b3256757536c42c0bd3037847d1">AdvertiseLocal</a>(<a class="code" href="classCNode.html">CNode</a> *pnode);</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160;<span class="keywordtype">void</span> <a class="code" href="net_8h.html#ae2dce03e604687e4029cdd759eba1ee0">SetLimited</a>(<span class="keyword">enum</span> <a class="code" href="netaddress_8h.html#acc9a38c714afe79b5035cb36f560dac3">Network</a> net, <span class="keywordtype">bool</span> fLimited = <span class="keyword">true</span>);</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a96eb2fba6d80870802ac787b6ada4beb">IsLimited</a>(<span class="keyword">enum</span> <a class="code" href="netaddress_8h.html#acc9a38c714afe79b5035cb36f560dac3">Network</a> net);</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a96eb2fba6d80870802ac787b6ada4beb">IsLimited</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a>&amp; addr);</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a337d6af198a6b0d75f830e56da9b91e9">AddLocal</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr, <span class="keywordtype">int</span> nScore = <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1d33b76bcbc0dbb757cc02bb2259775b">LOCAL_NONE</a>);</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a337d6af198a6b0d75f830e56da9b91e9">AddLocal</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a>&amp; addr, <span class="keywordtype">int</span> nScore = <a class="code" href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1d33b76bcbc0dbb757cc02bb2259775b">LOCAL_NONE</a>);</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a040c40f60af5f50a128fc1aac4cb5ebd">RemoveLocal</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr);</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#af7487aacfc9d708b3db40c255ec070a8">SeenLocal</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr);</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a16fa1bd4d34c4c29c90903fc3cdf7517">IsLocal</a>(<span class="keyword">const</span> <a class="code" href="classCService.html">CService</a>&amp; addr);</div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#ac18517ca5500f0d8e1550ffd4ac56b77">GetLocal</a>(<a class="code" href="classCService.html">CService</a> &amp;addr, <span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a> *paddrPeer = NULL);</div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#af6de8e47b01a96206402ddef734114f2">IsReachable</a>(<span class="keyword">enum</span> <a class="code" href="netaddress_8h.html#acc9a38c714afe79b5035cb36f560dac3">Network</a> net);</div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="net_8h.html#af6de8e47b01a96206402ddef734114f2">IsReachable</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a> &amp;addr);</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;<a class="code" href="classCAddress.html">CAddress</a> <a class="code" href="net_8h.html#a01304c8caa7997b48da307d19d1d284a">GetLocalAddress</a>(<span class="keyword">const</span> <a class="code" href="classCNetAddr.html">CNetAddr</a> *paddrPeer, <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> nLocalServices);</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160;</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a37089835ec27ad8bf945a458708165b9">fDiscover</a>;</div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a5067f8b9215406011fa3461be92d819c">fListen</a>;</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="net_8h.html#a7935254c613d6f3cdadd3ce45f7efbff">fRelayTxes</a>;</div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160;</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160;<span class="keyword">extern</span> std::map&lt;CInv, CDataStream&gt; <a class="code" href="net_8h.html#adb45ec1b7c89fd811f480182f45ec546">mapRelay</a>;</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;<span class="keyword">extern</span> std::deque&lt;std::pair&lt;int64_t, CInv&gt; &gt; <a class="code" href="net_8h.html#a43e845269f2b18e20dfcb7ece6832a2e">vRelayExpiration</a>;</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160;<span class="keyword">extern</span> <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="net_8h.html#ae1ed86ae54e13fe5f0ae1c12e48e3a0e">cs_mapRelay</a>;</div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160;<span class="keyword">extern</span> <a class="code" href="classlimitedmap.html">limitedmap&lt;uint256, int64_t&gt;</a> <a class="code" href="net_8h.html#a6effe1e49e01d9e012c0c6b162a24007">mapAlreadyAskedFor</a>;</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;</div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160;<span class="keyword">extern</span> std::string <a class="code" href="net_8h.html#a6c58f8ccc4c93105a44caf588562d609">strSubVersion</a>;</div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160;</div><div class="line"><a name="l00582"></a><span class="lineno"><a class="line" href="structLocalServiceInfo.html"> 582</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structLocalServiceInfo.html">LocalServiceInfo</a> {</div><div class="line"><a name="l00583"></a><span class="lineno"><a class="line" href="structLocalServiceInfo.html#ad6a9d404fb109ba1506df3f6ca842ed5"> 583</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structLocalServiceInfo.html#ad6a9d404fb109ba1506df3f6ca842ed5">nScore</a>;</div><div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="structLocalServiceInfo.html#aa5c39fec8cc69a43e393bb158f69224b"> 584</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structLocalServiceInfo.html#aa5c39fec8cc69a43e393bb158f69224b">nPort</a>;</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160;};</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;<span class="keyword">extern</span> <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="net_8h.html#a62111271618110807cc534e55c13cb70">cs_mapLocalHost</a>;</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;<span class="keyword">extern</span> std::map&lt;CNetAddr, LocalServiceInfo&gt; <a class="code" href="net_8h.html#a0b78d1ae4a3edd7ec2b4bc7b17d6cc79">mapLocalHost</a>;</div><div class="line"><a name="l00589"></a><span class="lineno"><a class="line" href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9"> 589</a></span>&#160;<span class="keyword">typedef</span> std::map&lt;std::string, uint64_t&gt; <a class="code" href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9">mapMsgCmdSize</a>; <span class="comment">//command, total bytes</span></div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160;</div><div class="line"><a name="l00591"></a><span class="lineno"><a class="line" href="classCNodeStats.html"> 591</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCNodeStats.html">CNodeStats</a></div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160;{</div><div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00594"></a><span class="lineno"><a class="line" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7"> 594</a></span>&#160; <a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <a class="code" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">nodeid</a>;</div><div class="line"><a name="l00595"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a80881e53d65a34ea46b1614a7da7fab2"> 595</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCNodeStats.html#a80881e53d65a34ea46b1614a7da7fab2">nServices</a>;</div><div class="line"><a name="l00596"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a2a5592713ed3de8d19057b0c86632af2"> 596</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNodeStats.html#a2a5592713ed3de8d19057b0c86632af2">fRelayTxes</a>;</div><div class="line"><a name="l00597"></a><span class="lineno"><a class="line" href="classCNodeStats.html#adc88b64389f26227db58ed86058d2e1a"> 597</a></span>&#160; int64_t <a class="code" href="classCNodeStats.html#adc88b64389f26227db58ed86058d2e1a">nLastSend</a>;</div><div class="line"><a name="l00598"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a67b3cd5817ad20bfb2d9eb1583f1deb5"> 598</a></span>&#160; int64_t <a class="code" href="classCNodeStats.html#a67b3cd5817ad20bfb2d9eb1583f1deb5">nLastRecv</a>;</div><div class="line"><a name="l00599"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a3d5133369e51db3c45839c8a68c662d1"> 599</a></span>&#160; int64_t <a class="code" href="classCNodeStats.html#a3d5133369e51db3c45839c8a68c662d1">nTimeConnected</a>;</div><div class="line"><a name="l00600"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a905b33fdcf0443f25fa19ea4d10e8e59"> 600</a></span>&#160; int64_t <a class="code" href="classCNodeStats.html#a905b33fdcf0443f25fa19ea4d10e8e59">nTimeOffset</a>;</div><div class="line"><a name="l00601"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a3299ecdae870c367fe657f3f59b27e43"> 601</a></span>&#160; std::string <a class="code" href="classCNodeStats.html#a3299ecdae870c367fe657f3f59b27e43">addrName</a>;</div><div class="line"><a name="l00602"></a><span class="lineno"><a class="line" href="classCNodeStats.html#ac8892d29d7c246e34e78fbc15ae77276"> 602</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNodeStats.html#ac8892d29d7c246e34e78fbc15ae77276">nVersion</a>;</div><div class="line"><a name="l00603"></a><span class="lineno"><a class="line" href="classCNodeStats.html#ad733b840ac9a16a7eb6166ea4984d8a8"> 603</a></span>&#160; std::string <a class="code" href="classCNodeStats.html#ad733b840ac9a16a7eb6166ea4984d8a8">cleanSubVer</a>;</div><div class="line"><a name="l00604"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a34627c46cac7bc2bfb3406c954522b49"> 604</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNodeStats.html#a34627c46cac7bc2bfb3406c954522b49">fInbound</a>;</div><div class="line"><a name="l00605"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a86ff627e31f8ab881a8e11bb3acf4f19"> 605</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNodeStats.html#a86ff627e31f8ab881a8e11bb3acf4f19">nStartingHeight</a>;</div><div class="line"><a name="l00606"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a3c70b0862e9ddd682380114016196137"> 606</a></span>&#160; uint64_t <a class="code" href="classCNodeStats.html#a3c70b0862e9ddd682380114016196137">nSendBytes</a>;</div><div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a2979ff9e54e01402bfdb32f94276832b"> 607</a></span>&#160; <a class="code" href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9">mapMsgCmdSize</a> <a class="code" href="classCNodeStats.html#a2979ff9e54e01402bfdb32f94276832b">mapSendBytesPerMsgCmd</a>;</div><div class="line"><a name="l00608"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a1aaec0f47a95487cbd709caf15889663"> 608</a></span>&#160; uint64_t <a class="code" href="classCNodeStats.html#a1aaec0f47a95487cbd709caf15889663">nRecvBytes</a>;</div><div class="line"><a name="l00609"></a><span class="lineno"><a class="line" href="classCNodeStats.html#ac14c5f2621d1535b2a7d9295585e2950"> 609</a></span>&#160; <a class="code" href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9">mapMsgCmdSize</a> <a class="code" href="classCNodeStats.html#ac14c5f2621d1535b2a7d9295585e2950">mapRecvBytesPerMsgCmd</a>;</div><div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a39afa3b5edc1747678667aae5acab3ec"> 610</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNodeStats.html#a39afa3b5edc1747678667aae5acab3ec">fWhitelisted</a>;</div><div class="line"><a name="l00611"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a535c198cbe3af112d4538f535e6618cd"> 611</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classCNodeStats.html#a535c198cbe3af112d4538f535e6618cd">dPingTime</a>;</div><div class="line"><a name="l00612"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a03a38f87940d04b321b9fb3102d0368d"> 612</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classCNodeStats.html#a03a38f87940d04b321b9fb3102d0368d">dPingWait</a>;</div><div class="line"><a name="l00613"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a6bfc3caa74e3e8621808969b178e9864"> 613</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classCNodeStats.html#a6bfc3caa74e3e8621808969b178e9864">dMinPing</a>;</div><div class="line"><a name="l00614"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a027a5445a0c40e6489875e653be9c758"> 614</a></span>&#160; std::string <a class="code" href="classCNodeStats.html#a027a5445a0c40e6489875e653be9c758">addrLocal</a>;</div><div class="line"><a name="l00615"></a><span class="lineno"><a class="line" href="classCNodeStats.html#a572d0919667308b1817d4e0386b7e927"> 615</a></span>&#160; <a class="code" href="classCAddress.html">CAddress</a> <a class="code" href="classCNodeStats.html#a572d0919667308b1817d4e0386b7e927">addr</a>;</div><div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;};</div><div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;</div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;</div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;</div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;</div><div class="line"><a name="l00621"></a><span class="lineno"><a class="line" href="classCNetMessage.html"> 621</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCNetMessage.html">CNetMessage</a> {</div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00623"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a8f399ad7225f980bdab3ede17b1b23af"> 623</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNetMessage.html#a8f399ad7225f980bdab3ede17b1b23af">in_data</a>; <span class="comment">// parsing header (false) or data (true)</span></div><div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;</div><div class="line"><a name="l00625"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a80a6f95f0c187aa97788118248cbf452"> 625</a></span>&#160; <a class="code" href="classCDataStream.html">CDataStream</a> <a class="code" href="classCNetMessage.html#a80a6f95f0c187aa97788118248cbf452">hdrbuf</a>; <span class="comment">// partially received header</span></div><div class="line"><a name="l00626"></a><span class="lineno"><a class="line" href="classCNetMessage.html#ae7215dca62862a3688f7eeb94646c377"> 626</a></span>&#160; <a class="code" href="classCMessageHeader.html">CMessageHeader</a> <a class="code" href="classCNetMessage.html#ae7215dca62862a3688f7eeb94646c377">hdr</a>; <span class="comment">// complete header</span></div><div class="line"><a name="l00627"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a1a500121037490eec4b238906f3a23ad"> 627</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCNetMessage.html#a1a500121037490eec4b238906f3a23ad">nHdrPos</a>;</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160;</div><div class="line"><a name="l00629"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a1a25c16099d01362e1663390a2e06d1a"> 629</a></span>&#160; <a class="code" href="classCDataStream.html">CDataStream</a> <a class="code" href="classCNetMessage.html#a1a25c16099d01362e1663390a2e06d1a">vRecv</a>; <span class="comment">// received message data</span></div><div class="line"><a name="l00630"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a418f59287d1805dda6959f27a170c855"> 630</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classCNetMessage.html#a418f59287d1805dda6959f27a170c855">nDataPos</a>;</div><div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160;</div><div class="line"><a name="l00632"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a99d5bbca862ac4b7a88b71a7b679decc"> 632</a></span>&#160; int64_t <a class="code" href="classCNetMessage.html#a99d5bbca862ac4b7a88b71a7b679decc">nTime</a>; <span class="comment">// time (in microseconds) of message receipt.</span></div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160;</div><div class="line"><a name="l00634"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a19f23086d183f2f62d0371960b48c105"> 634</a></span>&#160; <a class="code" href="classCNetMessage.html#a19f23086d183f2f62d0371960b48c105">CNetMessage</a>(<span class="keyword">const</span> <a class="code" href="classCMessageHeader.html#a0d0eeb540cbf4087973f6652ad61878f">CMessageHeader::MessageStartChars</a>&amp; pchMessageStartIn, <span class="keywordtype">int</span> nTypeIn, <span class="keywordtype">int</span> nVersionIn) : <a class="code" href="classCNetMessage.html#a80a6f95f0c187aa97788118248cbf452">hdrbuf</a>(nTypeIn, nVersionIn), <a class="code" href="classCNetMessage.html#ae7215dca62862a3688f7eeb94646c377">hdr</a>(pchMessageStartIn), <a class="code" href="classCNetMessage.html#a1a25c16099d01362e1663390a2e06d1a">vRecv</a>(nTypeIn, nVersionIn) {</div><div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; <a class="code" href="classCNetMessage.html#a80a6f95f0c187aa97788118248cbf452">hdrbuf</a>.<a class="code" href="classCDataStream.html#aa91abddde56127bd3d6ac2a0fb005874">resize</a>(24);</div><div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; <a class="code" href="classCNetMessage.html#a8f399ad7225f980bdab3ede17b1b23af">in_data</a> = <span class="keyword">false</span>;</div><div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160; <a class="code" href="classCNetMessage.html#a1a500121037490eec4b238906f3a23ad">nHdrPos</a> = 0;</div><div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; <a class="code" href="classCNetMessage.html#a418f59287d1805dda6959f27a170c855">nDataPos</a> = 0;</div><div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; <a class="code" href="classCNetMessage.html#a99d5bbca862ac4b7a88b71a7b679decc">nTime</a> = 0;</div><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; }</div><div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160;</div><div class="line"><a name="l00642"></a><span class="lineno"><a class="line" href="classCNetMessage.html#ae3b5f6110ae9a3c06397894cd46ab224"> 642</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNetMessage.html#ae3b5f6110ae9a3c06397894cd46ab224">complete</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; <span class="keywordflow">if</span> (!<a class="code" href="classCNetMessage.html#a8f399ad7225f980bdab3ede17b1b23af">in_data</a>)</div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160; <span class="keywordflow">return</span> (<a class="code" href="classCNetMessage.html#ae7215dca62862a3688f7eeb94646c377">hdr</a>.<a class="code" href="classCMessageHeader.html#aebbc26feb23d551467ebd58b509204d0">nMessageSize</a> == <a class="code" href="classCNetMessage.html#a418f59287d1805dda6959f27a170c855">nDataPos</a>);</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; }</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;</div><div class="line"><a name="l00649"></a><span class="lineno"><a class="line" href="classCNetMessage.html#a63b9f2351d5e92126cacacd51d9e16b6"> 649</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNetMessage.html#a63b9f2351d5e92126cacacd51d9e16b6">SetVersion</a>(<span class="keywordtype">int</span> nVersionIn)</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; {</div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; <a class="code" href="classCNetMessage.html#a80a6f95f0c187aa97788118248cbf452">hdrbuf</a>.<a class="code" href="classCDataStream.html#a267d1315f3f9e9bcf9e7168beaa240c4">SetVersion</a>(nVersionIn);</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; <a class="code" href="classCNetMessage.html#a1a25c16099d01362e1663390a2e06d1a">vRecv</a>.<a class="code" href="classCDataStream.html#a267d1315f3f9e9bcf9e7168beaa240c4">SetVersion</a>(nVersionIn);</div><div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; }</div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;</div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNetMessage.html#a3e58f5f29b23d1377f8fd15fc75c78ac">readHeader</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pch, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nBytes);</div><div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNetMessage.html#adbc1669a56462daea5f37e5e99117f8c">readData</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pch, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nBytes);</div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160;};</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160;</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160;</div><div class="line"><a name="l00661"></a><span class="lineno"><a class="line" href="classCNode.html"> 661</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCNode.html">CNode</a></div><div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160;{</div><div class="line"><a name="l00663"></a><span class="lineno"><a class="line" href="classCNode.html#ab056adbed53a8de7255493492a78f0f0"> 663</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classCConnman.html">CConnman</a>;</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; <span class="comment">// socket</span></div><div class="line"><a name="l00666"></a><span class="lineno"><a class="line" href="classCNode.html#a1a2342bb4914d738c14c04affbcdac27"> 666</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCNode.html#a1a2342bb4914d738c14c04affbcdac27">nServices</a>;</div><div class="line"><a name="l00667"></a><span class="lineno"><a class="line" href="classCNode.html#a395e2ead02225f29423e211aa2108272"> 667</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCNode.html#a395e2ead02225f29423e211aa2108272">nServicesExpected</a>;</div><div class="line"><a name="l00668"></a><span class="lineno"><a class="line" href="classCNode.html#a7cda6efa6a9ef9db3eebe70fc3bdd45a"> 668</a></span>&#160; <a class="code" href="compat_8h.html#a26ef1173e2f2c0d3db27eca28397d723">SOCKET</a> <a class="code" href="classCNode.html#a7cda6efa6a9ef9db3eebe70fc3bdd45a">hSocket</a>;</div><div class="line"><a name="l00669"></a><span class="lineno"><a class="line" href="classCNode.html#a3c99b7e2b0e53feb58f6859453456f74"> 669</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classCNode.html#a3c99b7e2b0e53feb58f6859453456f74">nSendSize</a>; <span class="comment">// total size of all vSendMsg entries</span></div><div class="line"><a name="l00670"></a><span class="lineno"><a class="line" href="classCNode.html#a090bda86de6b84c3db83e1f029d4f453"> 670</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classCNode.html#a090bda86de6b84c3db83e1f029d4f453">nSendOffset</a>; <span class="comment">// offset inside the first vSendMsg already sent</span></div><div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="classCNode.html#a33e24a9544df3c60f9e1ec05b5e91051"> 671</a></span>&#160; uint64_t <a class="code" href="classCNode.html#a33e24a9544df3c60f9e1ec05b5e91051">nSendBytes</a>;</div><div class="line"><a name="l00672"></a><span class="lineno"><a class="line" href="classCNode.html#a68e5fb1a80fe4247aa577a3c9a74b399"> 672</a></span>&#160; std::deque&lt;CSerializeData&gt; <a class="code" href="classCNode.html#a68e5fb1a80fe4247aa577a3c9a74b399">vSendMsg</a>;</div><div class="line"><a name="l00673"></a><span class="lineno"><a class="line" href="classCNode.html#a79edcac83fc5067567c7b41c26fcc56f"> 673</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCNode.html#a79edcac83fc5067567c7b41c26fcc56f">cs_vSend</a>;</div><div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160;</div><div class="line"><a name="l00675"></a><span class="lineno"><a class="line" href="classCNode.html#a81d6deb661c7386a453e0966d2dbc36f"> 675</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCNode.html#a81d6deb661c7386a453e0966d2dbc36f">cs_vProcessMsg</a>;</div><div class="line"><a name="l00676"></a><span class="lineno"><a class="line" href="classCNode.html#aca90abe62ee91e752d59981dd7c4f9ed"> 676</a></span>&#160; std::list&lt;CNetMessage&gt; <a class="code" href="classCNode.html#aca90abe62ee91e752d59981dd7c4f9ed">vProcessMsg</a>;</div><div class="line"><a name="l00677"></a><span class="lineno"><a class="line" href="classCNode.html#a30f76a69e956d342bdbb400541c98ccb"> 677</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classCNode.html#a30f76a69e956d342bdbb400541c98ccb">nProcessQueueSize</a>;</div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160;</div><div class="line"><a name="l00679"></a><span class="lineno"><a class="line" href="classCNode.html#a9649c1f27ff0d8f0ba89eb1ea5bee139"> 679</a></span>&#160; std::deque&lt;CInv&gt; <a class="code" href="classCNode.html#a9649c1f27ff0d8f0ba89eb1ea5bee139">vRecvGetData</a>;</div><div class="line"><a name="l00680"></a><span class="lineno"><a class="line" href="classCNode.html#a8bbe2a7052476d62acf7f0a5a9c5981b"> 680</a></span>&#160; uint64_t <a class="code" href="classCNode.html#a8bbe2a7052476d62acf7f0a5a9c5981b">nRecvBytes</a>;</div><div class="line"><a name="l00681"></a><span class="lineno"><a class="line" href="classCNode.html#af4629eba953ff1d5a3c05437c1b6630a"> 681</a></span>&#160; std::atomic&lt;int&gt; <a class="code" href="classCNode.html#af4629eba953ff1d5a3c05437c1b6630a">nRecvVersion</a>;</div><div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160;</div><div class="line"><a name="l00683"></a><span class="lineno"><a class="line" href="classCNode.html#af39253ad525733ca64ab3fc785dfc4eb"> 683</a></span>&#160; int64_t <a class="code" href="classCNode.html#af39253ad525733ca64ab3fc785dfc4eb">nLastSend</a>;</div><div class="line"><a name="l00684"></a><span class="lineno"><a class="line" href="classCNode.html#afb40f43a51ba686de93256727351af07"> 684</a></span>&#160; int64_t <a class="code" href="classCNode.html#afb40f43a51ba686de93256727351af07">nLastRecv</a>;</div><div class="line"><a name="l00685"></a><span class="lineno"><a class="line" href="classCNode.html#abb39393ef08cb5668ded6cb14cdbc147"> 685</a></span>&#160; int64_t <a class="code" href="classCNode.html#abb39393ef08cb5668ded6cb14cdbc147">nTimeConnected</a>;</div><div class="line"><a name="l00686"></a><span class="lineno"><a class="line" href="classCNode.html#a3079fadef397abbf7e8d444f4426ebe7"> 686</a></span>&#160; int64_t <a class="code" href="classCNode.html#a3079fadef397abbf7e8d444f4426ebe7">nTimeOffset</a>;</div><div class="line"><a name="l00687"></a><span class="lineno"><a class="line" href="classCNode.html#a5ab6745f890f7d018b8ab278a4aaf039"> 687</a></span>&#160; int64_t <a class="code" href="classCNode.html#a5ab6745f890f7d018b8ab278a4aaf039">nLastWarningTime</a>;</div><div class="line"><a name="l00688"></a><span class="lineno"><a class="line" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88"> 688</a></span>&#160; <a class="code" href="classCAddress.html">CAddress</a> <a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>;</div><div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="classCNode.html#a3155cd313d85ec3ff691f8259a5f5345"> 689</a></span>&#160; std::string <a class="code" href="classCNode.html#a3155cd313d85ec3ff691f8259a5f5345">addrName</a>;</div><div class="line"><a name="l00690"></a><span class="lineno"><a class="line" href="classCNode.html#a1b6517682efa0709f44780a95384c4ec"> 690</a></span>&#160; <a class="code" href="classCService.html">CService</a> <a class="code" href="classCNode.html#a1b6517682efa0709f44780a95384c4ec">addrLocal</a>;</div><div class="line"><a name="l00691"></a><span class="lineno"><a class="line" href="classCNode.html#a97a9784cba9ad06fd9444d940f5c011c"> 691</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a97a9784cba9ad06fd9444d940f5c011c">nNumWarningsSkipped</a>;</div><div class="line"><a name="l00692"></a><span class="lineno"><a class="line" href="classCNode.html#a0a2cdd01cb730536adf1780c3df66430"> 692</a></span>&#160; std::atomic&lt;int&gt; <a class="code" href="classCNode.html#a0a2cdd01cb730536adf1780c3df66430">nVersion</a>;</div><div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; <span class="comment">// strSubVer is whatever byte array we read from the wire. However, this field is intended</span></div><div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; <span class="comment">// to be printed out, displayed to humans in various forms and so on. So we sanitize it and</span></div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; <span class="comment">// store the sanitized version in cleanSubVer. The original should be used when dealing with</span></div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; <span class="comment">// the network or wire types and the cleaned string used when displayed or logged.</span></div><div class="line"><a name="l00697"></a><span class="lineno"><a class="line" href="classCNode.html#afb24fb33019af5c4085412fe3898cf01"> 697</a></span>&#160; std::string <a class="code" href="classCNode.html#afb24fb33019af5c4085412fe3898cf01">strSubVer</a>, <a class="code" href="classCNode.html#a05f0401427c5ffebd1ca404848e83ff7">cleanSubVer</a>;</div><div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="classCNode.html#ad3096c14b54aa39a02edb63a4a734c3e"> 698</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#ad3096c14b54aa39a02edb63a4a734c3e">fWhitelisted</a>; <span class="comment">// This peer can bypass DoS banning.</span></div><div class="line"><a name="l00699"></a><span class="lineno"><a class="line" href="classCNode.html#a25c9b62c42159cc94c6e8ede9ad0ed9d"> 699</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a25c9b62c42159cc94c6e8ede9ad0ed9d">fFeeler</a>; <span class="comment">// If true this node is being used as a short lived feeler.</span></div><div class="line"><a name="l00700"></a><span class="lineno"><a class="line" href="classCNode.html#a2bb91c9968a9f855c05b1121100a8797"> 700</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a2bb91c9968a9f855c05b1121100a8797">fOneShot</a>;</div><div class="line"><a name="l00701"></a><span class="lineno"><a class="line" href="classCNode.html#a721e2470c2c961b7599768a14be68781"> 701</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a721e2470c2c961b7599768a14be68781">fClient</a>;</div><div class="line"><a name="l00702"></a><span class="lineno"><a class="line" href="classCNode.html#a64b2550ec558b6106ebc122d450ad35b"> 702</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a64b2550ec558b6106ebc122d450ad35b">fInbound</a>;</div><div class="line"><a name="l00703"></a><span class="lineno"><a class="line" href="classCNode.html#a933adb2b192939545a01d602b1d7b53a"> 703</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a933adb2b192939545a01d602b1d7b53a">fNetworkNode</a>;</div><div class="line"><a name="l00704"></a><span class="lineno"><a class="line" href="classCNode.html#a359647a8e7ad1fc72243b126b35729b6"> 704</a></span>&#160; std::atomic_bool <a class="code" href="classCNode.html#a359647a8e7ad1fc72243b126b35729b6">fSuccessfullyConnected</a>;</div><div class="line"><a name="l00705"></a><span class="lineno"><a class="line" href="classCNode.html#af2f7ea958313974e8a948292f060922e"> 705</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#af2f7ea958313974e8a948292f060922e">fDisconnect</a>;</div><div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160; <span class="comment">// We use fRelayTxes for two purposes -</span></div><div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; <span class="comment">// a) it allows us to not relay tx invs before receiving the peer&#39;s version message</span></div><div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; <span class="comment">// b) the peer may tell us in its version message that we should not relay tx invs</span></div><div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; <span class="comment">// unless it loads a bloom filter.</span></div><div class="line"><a name="l00710"></a><span class="lineno"><a class="line" href="classCNode.html#ab387bb0c4ffd42e3f0aea233dca0e301"> 710</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#ab387bb0c4ffd42e3f0aea233dca0e301">fRelayTxes</a>;</div><div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; <span class="comment">// If &#39;true&#39; this node will be disconnected on CMasternodeMan::ProcessMasternodeConnections()</span></div><div class="line"><a name="l00712"></a><span class="lineno"><a class="line" href="classCNode.html#a119824dcaebcd3c8e272a68f19a60c43"> 712</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a119824dcaebcd3c8e272a68f19a60c43">fMasternode</a>;</div><div class="line"><a name="l00713"></a><span class="lineno"><a class="line" href="classCNode.html#a4bb25f8bdeeaff5e8cb08abc97bbc44d"> 713</a></span>&#160; <a class="code" href="classCSemaphoreGrant.html">CSemaphoreGrant</a> <a class="code" href="classCNode.html#a4bb25f8bdeeaff5e8cb08abc97bbc44d">grantOutbound</a>;</div><div class="line"><a name="l00714"></a><span class="lineno"><a class="line" href="classCNode.html#a604bf0cdcd13ec51a2d81976ec33c531"> 714</a></span>&#160; <a class="code" href="classCSemaphoreGrant.html">CSemaphoreGrant</a> <a class="code" href="classCNode.html#a604bf0cdcd13ec51a2d81976ec33c531">grantMasternodeOutbound</a>;</div><div class="line"><a name="l00715"></a><span class="lineno"><a class="line" href="classCNode.html#a66aeed3b6534635d031dff3eee9538de"> 715</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCNode.html#a66aeed3b6534635d031dff3eee9538de">cs_filter</a>;</div><div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="classCNode.html#a2e28bf088e56fc9d30e99e9de6587743"> 716</a></span>&#160; <a class="code" href="classCBloomFilter.html">CBloomFilter</a>* <a class="code" href="classCNode.html#a2e28bf088e56fc9d30e99e9de6587743">pfilter</a>;</div><div class="line"><a name="l00717"></a><span class="lineno"><a class="line" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98"> 717</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">nRefCount</a>;</div><div class="line"><a name="l00718"></a><span class="lineno"><a class="line" href="classCNode.html#af99591c635f495fc1e6c14745a2a4203"> 718</a></span>&#160; <a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <a class="code" href="classCNode.html#af99591c635f495fc1e6c14745a2a4203">id</a>;</div><div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160;</div><div class="line"><a name="l00720"></a><span class="lineno"><a class="line" href="classCNode.html#a108e17226d76c85c89f7d057dad2b088"> 720</a></span>&#160; std::atomic_bool <a class="code" href="classCNode.html#a108e17226d76c85c89f7d057dad2b088">fPauseRecv</a>;</div><div class="line"><a name="l00721"></a><span class="lineno"><a class="line" href="classCNode.html#a73b323f9e310e3054d909934b37ae671"> 721</a></span>&#160; std::atomic_bool <a class="code" href="classCNode.html#a73b323f9e310e3054d909934b37ae671">fPauseSend</a>;</div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00723"></a><span class="lineno"> 723</span>&#160;</div><div class="line"><a name="l00724"></a><span class="lineno"><a class="line" href="classCNode.html#a51e1156224dc77de9c0812f599f1bff4"> 724</a></span>&#160; <a class="code" href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9">mapMsgCmdSize</a> <a class="code" href="classCNode.html#a51e1156224dc77de9c0812f599f1bff4">mapSendBytesPerMsgCmd</a>;</div><div class="line"><a name="l00725"></a><span class="lineno"><a class="line" href="classCNode.html#a2fb06d8be1f078b8796dc5098f114d38"> 725</a></span>&#160; <a class="code" href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9">mapMsgCmdSize</a> <a class="code" href="classCNode.html#a2fb06d8be1f078b8796dc5098f114d38">mapRecvBytesPerMsgCmd</a>;</div><div class="line"><a name="l00726"></a><span class="lineno"> 726</span>&#160;</div><div class="line"><a name="l00727"></a><span class="lineno"> 727</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00728"></a><span class="lineno"><a class="line" href="classCNode.html#a1a1c0d94de0197c5c4abf5a8d13364f3"> 728</a></span>&#160; <a class="code" href="classuint256.html">uint256</a> <a class="code" href="classCNode.html#a1a1c0d94de0197c5c4abf5a8d13364f3">hashContinue</a>;</div><div class="line"><a name="l00729"></a><span class="lineno"><a class="line" href="classCNode.html#a597b41bd64e2ac9391b7211e65aeb52a"> 729</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a597b41bd64e2ac9391b7211e65aeb52a">nStartingHeight</a>;</div><div class="line"><a name="l00730"></a><span class="lineno"> 730</span>&#160;</div><div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160; <span class="comment">// flood relay</span></div><div class="line"><a name="l00732"></a><span class="lineno"><a class="line" href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1"> 732</a></span>&#160; std::vector&lt;CAddress&gt; <a class="code" href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1">vAddrToSend</a>;</div><div class="line"><a name="l00733"></a><span class="lineno"><a class="line" href="classCNode.html#a3f3a08b1a2c85b1c6cf975b2bdb53171"> 733</a></span>&#160; <a class="code" href="classCRollingBloomFilter.html">CRollingBloomFilter</a> <a class="code" href="classCNode.html#a3f3a08b1a2c85b1c6cf975b2bdb53171">addrKnown</a>;</div><div class="line"><a name="l00734"></a><span class="lineno"><a class="line" href="classCNode.html#a3da9c559959e182aff8439cd004ff624"> 734</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a3da9c559959e182aff8439cd004ff624">fGetAddr</a>;</div><div class="line"><a name="l00735"></a><span class="lineno"><a class="line" href="classCNode.html#ab1b30fa8e48005752f6b0bcf43eca478"> 735</a></span>&#160; std::set&lt;uint256&gt; <a class="code" href="classCNode.html#ab1b30fa8e48005752f6b0bcf43eca478">setKnown</a>;</div><div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="classCNode.html#aff4b68eeeee9bf1e27e14f2436a07556"> 736</a></span>&#160; int64_t <a class="code" href="classCNode.html#aff4b68eeeee9bf1e27e14f2436a07556">nNextAddrSend</a>;</div><div class="line"><a name="l00737"></a><span class="lineno"><a class="line" href="classCNode.html#af627cc9fe0654487aed7b4224d78ad24"> 737</a></span>&#160; int64_t <a class="code" href="classCNode.html#af627cc9fe0654487aed7b4224d78ad24">nNextLocalAddrSend</a>;</div><div class="line"><a name="l00738"></a><span class="lineno"> 738</span>&#160;</div><div class="line"><a name="l00739"></a><span class="lineno"> 739</span>&#160; <span class="comment">// inventory based relay</span></div><div class="line"><a name="l00740"></a><span class="lineno"><a class="line" href="classCNode.html#a09fbd8c77f6be2b8d4b309c703ce2e13"> 740</a></span>&#160; <a class="code" href="classCRollingBloomFilter.html">CRollingBloomFilter</a> <a class="code" href="classCNode.html#a09fbd8c77f6be2b8d4b309c703ce2e13">filterInventoryKnown</a>;</div><div class="line"><a name="l00741"></a><span class="lineno"><a class="line" href="classCNode.html#abcd24c9478bc1ab5ba6de6b369080cec"> 741</a></span>&#160; std::vector&lt;CInv&gt; <a class="code" href="classCNode.html#abcd24c9478bc1ab5ba6de6b369080cec">vInventoryToSend</a>;</div><div class="line"><a name="l00742"></a><span class="lineno"><a class="line" href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0"> 742</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0">cs_inventory</a>;</div><div class="line"><a name="l00743"></a><span class="lineno"><a class="line" href="classCNode.html#a9c8fd0d0ef6e26896c53380e6d6bf331"> 743</a></span>&#160; std::set&lt;uint256&gt; <a class="code" href="classCNode.html#a9c8fd0d0ef6e26896c53380e6d6bf331">setAskFor</a>;</div><div class="line"><a name="l00744"></a><span class="lineno"><a class="line" href="classCNode.html#a7593dfbd76c34a81169e3fb2aa0e0cf7"> 744</a></span>&#160; std::multimap&lt;int64_t, CInv&gt; <a class="code" href="classCNode.html#a7593dfbd76c34a81169e3fb2aa0e0cf7">mapAskFor</a>;</div><div class="line"><a name="l00745"></a><span class="lineno"><a class="line" href="classCNode.html#a89226be680d821f4eef8fa391f4b4b6a"> 745</a></span>&#160; int64_t <a class="code" href="classCNode.html#a89226be680d821f4eef8fa391f4b4b6a">nNextInvSend</a>;</div><div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160; <span class="comment">// Used for headers announcements - unfiltered blocks to relay</span></div><div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160; <span class="comment">// Also protected by cs_inventory</span></div><div class="line"><a name="l00748"></a><span class="lineno"><a class="line" href="classCNode.html#ad47e8171d8a114592e90d7d83ee62875"> 748</a></span>&#160; std::vector&lt;uint256&gt; <a class="code" href="classCNode.html#ad47e8171d8a114592e90d7d83ee62875">vBlockHashesToAnnounce</a>;</div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160; <span class="comment">// Blocks received by INV while headers chain was too far behind. These are used to delay GETHEADERS messages</span></div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160; <span class="comment">// Also protected by cs_inventory</span></div><div class="line"><a name="l00751"></a><span class="lineno"><a class="line" href="classCNode.html#ac2dc607a2546f0806c721cbdaae05cb7"> 751</a></span>&#160; std::vector&lt;uint256&gt; <a class="code" href="classCNode.html#ac2dc607a2546f0806c721cbdaae05cb7">vBlockHashesFromINV</a>;</div><div class="line"><a name="l00752"></a><span class="lineno"> 752</span>&#160;</div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span>&#160; <span class="comment">// Block and TXN accept times</span></div><div class="line"><a name="l00754"></a><span class="lineno"><a class="line" href="classCNode.html#ad253434141efcbca34150864069aee7e"> 754</a></span>&#160; std::atomic&lt;int64_t&gt; <a class="code" href="classCNode.html#ad253434141efcbca34150864069aee7e">nLastBlockTime</a>;</div><div class="line"><a name="l00755"></a><span class="lineno"><a class="line" href="classCNode.html#a973d29d89889cba8fe7909b1b8959592"> 755</a></span>&#160; std::atomic&lt;int64_t&gt; <a class="code" href="classCNode.html#a973d29d89889cba8fe7909b1b8959592">nLastTXTime</a>;</div><div class="line"><a name="l00756"></a><span class="lineno"> 756</span>&#160;</div><div class="line"><a name="l00757"></a><span class="lineno"> 757</span>&#160; <span class="comment">// Ping time measurement:</span></div><div class="line"><a name="l00758"></a><span class="lineno"> 758</span>&#160; <span class="comment">// The pong reply we&#39;re expecting, or 0 if no pong expected.</span></div><div class="line"><a name="l00759"></a><span class="lineno"><a class="line" href="classCNode.html#a9a077fbd09ddee1d81f027bc01a4ec68"> 759</a></span>&#160; uint64_t <a class="code" href="classCNode.html#a9a077fbd09ddee1d81f027bc01a4ec68">nPingNonceSent</a>;</div><div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160; <span class="comment">// Time (in usec) the last ping was sent, or 0 if no ping was ever sent.</span></div><div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="classCNode.html#a8352aa332af726ff117fb890c4dd3869"> 761</a></span>&#160; int64_t <a class="code" href="classCNode.html#a8352aa332af726ff117fb890c4dd3869">nPingUsecStart</a>;</div><div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160; <span class="comment">// Last measured round-trip time.</span></div><div class="line"><a name="l00763"></a><span class="lineno"><a class="line" href="classCNode.html#ada34ffe1700a5dafb57de7c4d2491844"> 763</a></span>&#160; int64_t <a class="code" href="classCNode.html#ada34ffe1700a5dafb57de7c4d2491844">nPingUsecTime</a>;</div><div class="line"><a name="l00764"></a><span class="lineno"> 764</span>&#160; <span class="comment">// Best measured round-trip time.</span></div><div class="line"><a name="l00765"></a><span class="lineno"><a class="line" href="classCNode.html#a4d077afd5c600b9e3241abce4df60722"> 765</a></span>&#160; int64_t <a class="code" href="classCNode.html#a4d077afd5c600b9e3241abce4df60722">nMinPingUsecTime</a>;</div><div class="line"><a name="l00766"></a><span class="lineno"> 766</span>&#160; <span class="comment">// Whether a ping is requested.</span></div><div class="line"><a name="l00767"></a><span class="lineno"><a class="line" href="classCNode.html#aa1e9c1dc1d5cf806b9be0af155c0bf90"> 767</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#aa1e9c1dc1d5cf806b9be0af155c0bf90">fPingQueued</a>;</div><div class="line"><a name="l00768"></a><span class="lineno"> 768</span>&#160;</div><div class="line"><a name="l00769"></a><span class="lineno"><a class="line" href="classCNode.html#a656cd9e578e6e1ee07c8b7064302f789"> 769</a></span>&#160; std::vector&lt;unsigned char&gt; <a class="code" href="classCNode.html#a656cd9e578e6e1ee07c8b7064302f789">vchKeyedNetGroup</a>;</div><div class="line"><a name="l00770"></a><span class="lineno"> 770</span>&#160;</div><div class="line"><a name="l00771"></a><span class="lineno"> 771</span>&#160; <a class="code" href="classCNode.html#a360e2ae57a526e1d9f91ced1c33e2215">CNode</a>(<a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <span class="keywordtype">id</span>, <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> nLocalServicesIn, <span class="keywordtype">int</span> nMyStartingHeightIn, <a class="code" href="compat_8h.html#a26ef1173e2f2c0d3db27eca28397d723">SOCKET</a> hSocketIn, <span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a> &amp;addrIn, <span class="keyword">const</span> std::string &amp;addrNameIn = <span class="stringliteral">&quot;&quot;</span>, <span class="keywordtype">bool</span> fInboundIn = <span class="keyword">false</span>, <span class="keywordtype">bool</span> fNetworkNodeIn = <span class="keyword">false</span>);</div><div class="line"><a name="l00772"></a><span class="lineno"> 772</span>&#160; <a class="code" href="classCNode.html#ac9b30cb93e91a48dacc58821abfc44f0">~CNode</a>();</div><div class="line"><a name="l00773"></a><span class="lineno"> 773</span>&#160;</div><div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00775"></a><span class="lineno"> 775</span>&#160; <span class="comment">// Secret key for computing keyed net groups</span></div><div class="line"><a name="l00776"></a><span class="lineno"><a class="line" href="classCNode.html#a036eeb2db08357a540cd23045a47d17a"> 776</a></span>&#160; <span class="keyword">static</span> std::vector&lt;unsigned char&gt; <a class="code" href="classCNode.html#a036eeb2db08357a540cd23045a47d17a">vchSecretKey</a>;</div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span>&#160;</div><div class="line"><a name="l00778"></a><span class="lineno"><a class="line" href="classCNode.html#a03946197bacd9b1fe2b698bd85b18dd3"> 778</a></span>&#160; <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCNode.html#a03946197bacd9b1fe2b698bd85b18dd3">cs_nRefCount</a>;</div><div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160;</div><div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160; <a class="code" href="classCNode.html#a360e2ae57a526e1d9f91ced1c33e2215">CNode</a>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>&amp;);</div><div class="line"><a name="l00781"></a><span class="lineno"> 781</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a91d186dc3a8a8f45ddd1ac2cc96dc803">operator=</a>(<span class="keyword">const</span> <a class="code" href="classCNode.html">CNode</a>&amp;);</div><div class="line"><a name="l00782"></a><span class="lineno"> 782</span>&#160;</div><div class="line"><a name="l00783"></a><span class="lineno"><a class="line" href="classCNode.html#af452f44f41e2e583e01a9b730e475c81"> 783</a></span>&#160; uint64_t <a class="code" href="classCNode.html#af452f44f41e2e583e01a9b730e475c81">nLocalHostNonce</a>;</div><div class="line"><a name="l00784"></a><span class="lineno"><a class="line" href="classCNode.html#ad2f37c291ebec7546d82b23216793f95"> 784</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCNode.html#ad2f37c291ebec7546d82b23216793f95">nLocalServices</a>;</div><div class="line"><a name="l00785"></a><span class="lineno"><a class="line" href="classCNode.html#a77f6fbd0e06434948ffeb27c6d99cdaa"> 785</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a77f6fbd0e06434948ffeb27c6d99cdaa">nMyStartingHeight</a>;</div><div class="line"><a name="l00786"></a><span class="lineno"><a class="line" href="classCNode.html#ac0e40c335b80782bb5258dc4ffa94e34"> 786</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#ac0e40c335b80782bb5258dc4ffa94e34">nSendVersion</a>;</div><div class="line"><a name="l00787"></a><span class="lineno"><a class="line" href="classCNode.html#a2f7a99d038591b007d709a17cbdae3dd"> 787</a></span>&#160; std::list&lt;CNetMessage&gt; <a class="code" href="classCNode.html#a2f7a99d038591b007d709a17cbdae3dd">vRecvMsg</a>; <span class="comment">// Used only by SocketHandler thread</span></div><div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;</div><div class="line"><a name="l00790"></a><span class="lineno"><a class="line" href="classCNode.html#a157903f7830c0dfbf6a93852066f0b8f"> 790</a></span>&#160; <a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> <a class="code" href="classCNode.html#a157903f7830c0dfbf6a93852066f0b8f">GetId</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCNode.html#af99591c635f495fc1e6c14745a2a4203">id</a>;</div><div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160; }</div><div class="line"><a name="l00793"></a><span class="lineno"> 793</span>&#160;</div><div class="line"><a name="l00794"></a><span class="lineno"><a class="line" href="classCNode.html#a3c5bbe8733398b4d14ce05d30aced57e"> 794</a></span>&#160; uint64_t <a class="code" href="classCNode.html#a3c5bbe8733398b4d14ce05d30aced57e">GetLocalNonce</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00795"></a><span class="lineno"> 795</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCNode.html#af452f44f41e2e583e01a9b730e475c81">nLocalHostNonce</a>;</div><div class="line"><a name="l00796"></a><span class="lineno"> 796</span>&#160; }</div><div class="line"><a name="l00797"></a><span class="lineno"> 797</span>&#160;</div><div class="line"><a name="l00798"></a><span class="lineno"><a class="line" href="classCNode.html#a62937ed6238077e4c6e4364d75b4c0b7"> 798</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a62937ed6238077e4c6e4364d75b4c0b7">GetMyStartingHeight</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00799"></a><span class="lineno"> 799</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCNode.html#a77f6fbd0e06434948ffeb27c6d99cdaa">nMyStartingHeight</a>;</div><div class="line"><a name="l00800"></a><span class="lineno"> 800</span>&#160; }</div><div class="line"><a name="l00801"></a><span class="lineno"> 801</span>&#160;</div><div class="line"><a name="l00802"></a><span class="lineno"><a class="line" href="classCNode.html#a72211aaf51af2e981e6b8a1deb73c836"> 802</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a72211aaf51af2e981e6b8a1deb73c836">GetRefCount</a>()</div><div class="line"><a name="l00803"></a><span class="lineno"> 803</span>&#160; {</div><div class="line"><a name="l00804"></a><span class="lineno"> 804</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a03946197bacd9b1fe2b698bd85b18dd3">cs_nRefCount</a>);</div><div class="line"><a name="l00805"></a><span class="lineno"> 805</span>&#160; assert(<a class="code" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">nRefCount</a> &gt;= 0);</div><div class="line"><a name="l00806"></a><span class="lineno"> 806</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">nRefCount</a>;</div><div class="line"><a name="l00807"></a><span class="lineno"> 807</span>&#160; }</div><div class="line"><a name="l00808"></a><span class="lineno"> 808</span>&#160;</div><div class="line"><a name="l00809"></a><span class="lineno"> 809</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCNode.html#a7f39c9fe6b7975531cb9963846aed3e7">ReceiveMsgBytes</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *pch, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nBytes, <span class="keywordtype">bool</span>&amp; complete);</div><div class="line"><a name="l00810"></a><span class="lineno"> 810</span>&#160;</div><div class="line"><a name="l00811"></a><span class="lineno"><a class="line" href="classCNode.html#a94438c6285d1635c62ccff10593780e6"> 811</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a94438c6285d1635c62ccff10593780e6">SetRecvVersion</a>(<span class="keywordtype">int</span> nVersionIn)</div><div class="line"><a name="l00812"></a><span class="lineno"> 812</span>&#160; {</div><div class="line"><a name="l00813"></a><span class="lineno"> 813</span>&#160; <a class="code" href="classCNode.html#af4629eba953ff1d5a3c05437c1b6630a">nRecvVersion</a> = nVersionIn;</div><div class="line"><a name="l00814"></a><span class="lineno"> 814</span>&#160; }</div><div class="line"><a name="l00815"></a><span class="lineno"><a class="line" href="classCNode.html#a82a03d43590c06f85f8fbcf08427674e"> 815</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a82a03d43590c06f85f8fbcf08427674e">GetRecvVersion</a>()</div><div class="line"><a name="l00816"></a><span class="lineno"> 816</span>&#160; {</div><div class="line"><a name="l00817"></a><span class="lineno"> 817</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCNode.html#af4629eba953ff1d5a3c05437c1b6630a">nRecvVersion</a>;</div><div class="line"><a name="l00818"></a><span class="lineno"> 818</span>&#160; }</div><div class="line"><a name="l00819"></a><span class="lineno"> 819</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a0a55cea2748b1837610b2caed8069a90">SetSendVersion</a>(<span class="keywordtype">int</span> nVersionIn);</div><div class="line"><a name="l00820"></a><span class="lineno"> 820</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCNode.html#a253ceac237f69cc1155bfb71acd0c48f">GetSendVersion</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00821"></a><span class="lineno"> 821</span>&#160;</div><div class="line"><a name="l00822"></a><span class="lineno"><a class="line" href="classCNode.html#afb65ed679f7bda59aab89e0f5afae292"> 822</a></span>&#160; <a class="code" href="classCNode.html">CNode</a>* <a class="code" href="classCNode.html#afb65ed679f7bda59aab89e0f5afae292">AddRef</a>()</div><div class="line"><a name="l00823"></a><span class="lineno"> 823</span>&#160; {</div><div class="line"><a name="l00824"></a><span class="lineno"> 824</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a03946197bacd9b1fe2b698bd85b18dd3">cs_nRefCount</a>);</div><div class="line"><a name="l00825"></a><span class="lineno"> 825</span>&#160; <a class="code" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">nRefCount</a>++;</div><div class="line"><a name="l00826"></a><span class="lineno"> 826</span>&#160; <span class="keywordflow">return</span> <span class="keyword">this</span>;</div><div class="line"><a name="l00827"></a><span class="lineno"> 827</span>&#160; }</div><div class="line"><a name="l00828"></a><span class="lineno"> 828</span>&#160;</div><div class="line"><a name="l00829"></a><span class="lineno"><a class="line" href="classCNode.html#af804bf7c7f9794e80a3b916e1befece9"> 829</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#af804bf7c7f9794e80a3b916e1befece9">Release</a>()</div><div class="line"><a name="l00830"></a><span class="lineno"> 830</span>&#160; {</div><div class="line"><a name="l00831"></a><span class="lineno"> 831</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a03946197bacd9b1fe2b698bd85b18dd3">cs_nRefCount</a>);</div><div class="line"><a name="l00832"></a><span class="lineno"> 832</span>&#160; <a class="code" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">nRefCount</a>--;</div><div class="line"><a name="l00833"></a><span class="lineno"> 833</span>&#160; assert(<a class="code" href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">nRefCount</a> &gt;= 0);</div><div class="line"><a name="l00834"></a><span class="lineno"> 834</span>&#160; }</div><div class="line"><a name="l00835"></a><span class="lineno"> 835</span>&#160;</div><div class="line"><a name="l00836"></a><span class="lineno"> 836</span>&#160;</div><div class="line"><a name="l00837"></a><span class="lineno"> 837</span>&#160;</div><div class="line"><a name="l00838"></a><span class="lineno"><a class="line" href="classCNode.html#a1d2cecdd03c9da642d292f6a81ac6ed8"> 838</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a1d2cecdd03c9da642d292f6a81ac6ed8">AddAddressKnown</a>(<span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; <a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>)</div><div class="line"><a name="l00839"></a><span class="lineno"> 839</span>&#160; {</div><div class="line"><a name="l00840"></a><span class="lineno"> 840</span>&#160; <a class="code" href="classCNode.html#a3f3a08b1a2c85b1c6cf975b2bdb53171">addrKnown</a>.<a class="code" href="classCRollingBloomFilter.html#a0fedbf0cf38c9070a30c7c5f8299f5d7">insert</a>(<a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>.<a class="code" href="classCService.html#af21ea7db4318330b337c8bfdcc55aff0">GetKey</a>());</div><div class="line"><a name="l00841"></a><span class="lineno"> 841</span>&#160; }</div><div class="line"><a name="l00842"></a><span class="lineno"> 842</span>&#160;</div><div class="line"><a name="l00843"></a><span class="lineno"><a class="line" href="classCNode.html#a06950a5ce265a1d4df1aad7f28e6fde8"> 843</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a06950a5ce265a1d4df1aad7f28e6fde8">PushAddress</a>(<span class="keyword">const</span> <a class="code" href="classCAddress.html">CAddress</a>&amp; <a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>)</div><div class="line"><a name="l00844"></a><span class="lineno"> 844</span>&#160; {</div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span>&#160; <span class="comment">// Known checking here is only to save space from duplicates.</span></div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span>&#160; <span class="comment">// SendMessages will filter it again for knowns that were added</span></div><div class="line"><a name="l00847"></a><span class="lineno"> 847</span>&#160; <span class="comment">// after addresses were pushed.</span></div><div class="line"><a name="l00848"></a><span class="lineno"> 848</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>.<a class="code" href="classCNetAddr.html#a6fe20b8da9701ca5dc2af078e2e8ac25">IsValid</a>() &amp;&amp; !<a class="code" href="classCNode.html#a3f3a08b1a2c85b1c6cf975b2bdb53171">addrKnown</a>.<a class="code" href="classCRollingBloomFilter.html#a4f7d6161274b03c63be50aadb1fe46b7">contains</a>(<a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>.<a class="code" href="classCService.html#af21ea7db4318330b337c8bfdcc55aff0">GetKey</a>())) {</div><div class="line"><a name="l00849"></a><span class="lineno"> 849</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1">vAddrToSend</a>.size() &gt;= <a class="code" href="net_8h.html#a84d4a16942889a214b340327d2597a05">MAX_ADDR_TO_SEND</a>) {</div><div class="line"><a name="l00850"></a><span class="lineno"> 850</span>&#160; <a class="code" href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1">vAddrToSend</a>[<a class="code" href="random_8h.html#ae8f7a2f188545bbbf746160adc42038e">insecure_rand</a>() % <a class="code" href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1">vAddrToSend</a>.size()] = <a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>;</div><div class="line"><a name="l00851"></a><span class="lineno"> 851</span>&#160; } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00852"></a><span class="lineno"> 852</span>&#160; <a class="code" href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1">vAddrToSend</a>.push_back(<a class="code" href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">addr</a>);</div><div class="line"><a name="l00853"></a><span class="lineno"> 853</span>&#160; }</div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span>&#160; }</div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span>&#160; }</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span>&#160;</div><div class="line"><a name="l00857"></a><span class="lineno"> 857</span>&#160;</div><div class="line"><a name="l00858"></a><span class="lineno"><a class="line" href="classCNode.html#ac3054eb6ade84e8968f032ce3e700f6a"> 858</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#ac3054eb6ade84e8968f032ce3e700f6a">AddInventoryKnown</a>(<span class="keyword">const</span> <a class="code" href="classCInv.html">CInv</a>&amp; inv)</div><div class="line"><a name="l00859"></a><span class="lineno"> 859</span>&#160; {</div><div class="line"><a name="l00860"></a><span class="lineno"> 860</span>&#160; {</div><div class="line"><a name="l00861"></a><span class="lineno"> 861</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0">cs_inventory</a>);</div><div class="line"><a name="l00862"></a><span class="lineno"> 862</span>&#160; <a class="code" href="classCNode.html#a09fbd8c77f6be2b8d4b309c703ce2e13">filterInventoryKnown</a>.<a class="code" href="classCRollingBloomFilter.html#a0fedbf0cf38c9070a30c7c5f8299f5d7">insert</a>(inv.<a class="code" href="classCInv.html#abfa04c38e9c0def9a2b09a9c43929744">hash</a>);</div><div class="line"><a name="l00863"></a><span class="lineno"> 863</span>&#160; }</div><div class="line"><a name="l00864"></a><span class="lineno"> 864</span>&#160; }</div><div class="line"><a name="l00865"></a><span class="lineno"> 865</span>&#160;</div><div class="line"><a name="l00866"></a><span class="lineno"><a class="line" href="classCNode.html#a7cef2333aa8776127a7e7fcab659eb6a"> 866</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a7cef2333aa8776127a7e7fcab659eb6a">PushInventory</a>(<span class="keyword">const</span> <a class="code" href="classCInv.html">CInv</a>&amp; inv)</div><div class="line"><a name="l00867"></a><span class="lineno"> 867</span>&#160; {</div><div class="line"><a name="l00868"></a><span class="lineno"> 868</span>&#160; {</div><div class="line"><a name="l00869"></a><span class="lineno"> 869</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0">cs_inventory</a>);</div><div class="line"><a name="l00870"></a><span class="lineno"> 870</span>&#160; <span class="keywordflow">if</span> (inv.<a class="code" href="classCInv.html#a2da8a26c6b8824011e3144459d278c75">type</a> == <a class="code" href="protocol_8h.html#a16af7b253440dadd46a80a4b9fddba4da0494732fc92c975f58783e224585c473">MSG_TX</a> &amp;&amp; <a class="code" href="classCNode.html#a09fbd8c77f6be2b8d4b309c703ce2e13">filterInventoryKnown</a>.<a class="code" href="classCRollingBloomFilter.html#a4f7d6161274b03c63be50aadb1fe46b7">contains</a>(inv.<a class="code" href="classCInv.html#abfa04c38e9c0def9a2b09a9c43929744">hash</a>)) {</div><div class="line"><a name="l00871"></a><span class="lineno"> 871</span>&#160; <a class="code" href="util_8h.html#aab1f837a2366f424bdc996fdf6352171">LogPrint</a>(<span class="stringliteral">&quot;net&quot;</span>, <span class="stringliteral">&quot;PushInventory -- filtered inv: %s peer=%d\n&quot;</span>, inv.<a class="code" href="classCInv.html#a5bf13e9595035d2155b04cceb848c37d">ToString</a>(), <a class="code" href="classCNode.html#af99591c635f495fc1e6c14745a2a4203">id</a>);</div><div class="line"><a name="l00872"></a><span class="lineno"> 872</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00873"></a><span class="lineno"> 873</span>&#160; }</div><div class="line"><a name="l00874"></a><span class="lineno"> 874</span>&#160; <a class="code" href="util_8h.html#aab1f837a2366f424bdc996fdf6352171">LogPrint</a>(<span class="stringliteral">&quot;net&quot;</span>, <span class="stringliteral">&quot;PushInventory -- inv: %s peer=%d\n&quot;</span>, inv.<a class="code" href="classCInv.html#a5bf13e9595035d2155b04cceb848c37d">ToString</a>(), <a class="code" href="classCNode.html#af99591c635f495fc1e6c14745a2a4203">id</a>);</div><div class="line"><a name="l00875"></a><span class="lineno"> 875</span>&#160; <a class="code" href="classCNode.html#abcd24c9478bc1ab5ba6de6b369080cec">vInventoryToSend</a>.push_back(inv);</div><div class="line"><a name="l00876"></a><span class="lineno"> 876</span>&#160; }</div><div class="line"><a name="l00877"></a><span class="lineno"> 877</span>&#160; }</div><div class="line"><a name="l00878"></a><span class="lineno"> 878</span>&#160;</div><div class="line"><a name="l00879"></a><span class="lineno"><a class="line" href="classCNode.html#aa3315bf026b3c2e27f222b5540c6d472"> 879</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#aa3315bf026b3c2e27f222b5540c6d472">PushBlockHash</a>(<span class="keyword">const</span> <a class="code" href="classuint256.html">uint256</a> &amp;hash)</div><div class="line"><a name="l00880"></a><span class="lineno"> 880</span>&#160; {</div><div class="line"><a name="l00881"></a><span class="lineno"> 881</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0">cs_inventory</a>);</div><div class="line"><a name="l00882"></a><span class="lineno"> 882</span>&#160; <a class="code" href="classCNode.html#ad47e8171d8a114592e90d7d83ee62875">vBlockHashesToAnnounce</a>.push_back(hash);</div><div class="line"><a name="l00883"></a><span class="lineno"> 883</span>&#160; }</div><div class="line"><a name="l00884"></a><span class="lineno"> 884</span>&#160;</div><div class="line"><a name="l00885"></a><span class="lineno"><a class="line" href="classCNode.html#aae215e87e44ab3a4697ad2df1ec2725e"> 885</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#aae215e87e44ab3a4697ad2df1ec2725e">PushBlockHashFromINV</a>(<span class="keyword">const</span> <a class="code" href="classuint256.html">uint256</a> &amp;hash)</div><div class="line"><a name="l00886"></a><span class="lineno"> 886</span>&#160; {</div><div class="line"><a name="l00887"></a><span class="lineno"> 887</span>&#160; <a class="code" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(<a class="code" href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0">cs_inventory</a>);</div><div class="line"><a name="l00888"></a><span class="lineno"> 888</span>&#160; <a class="code" href="classCNode.html#ac2dc607a2546f0806c721cbdaae05cb7">vBlockHashesFromINV</a>.push_back(hash);</div><div class="line"><a name="l00889"></a><span class="lineno"> 889</span>&#160; }</div><div class="line"><a name="l00890"></a><span class="lineno"> 890</span>&#160;</div><div class="line"><a name="l00891"></a><span class="lineno"> 891</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#ae0def1498409407d1612833a7d38c875">AskFor</a>(<span class="keyword">const</span> <a class="code" href="classCInv.html">CInv</a>&amp; inv);</div><div class="line"><a name="l00892"></a><span class="lineno"> 892</span>&#160;</div><div class="line"><a name="l00893"></a><span class="lineno"> 893</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#a63a6091a0b0fc0987d9436e1ec708423">CloseSocketDisconnect</a>();</div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span>&#160;</div><div class="line"><a name="l00895"></a><span class="lineno"> 895</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCNode.html#aaa77188d9df85b80e3f8a30292acf6a9">copyStats</a>(<a class="code" href="classCNodeStats.html">CNodeStats</a> &amp;stats);</div><div class="line"><a name="l00896"></a><span class="lineno"> 896</span>&#160;</div><div class="line"><a name="l00897"></a><span class="lineno"><a class="line" href="classCNode.html#aaa7ed919e1ed445dd9589b984231ba46"> 897</a></span>&#160; <a class="code" href="protocol_8h.html#ad131f3177584caea787cdbf6f85a9537">ServiceFlags</a> <a class="code" href="classCNode.html#aaa7ed919e1ed445dd9589b984231ba46">GetLocalServices</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00898"></a><span class="lineno"> 898</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00899"></a><span class="lineno"> 899</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCNode.html#ad2f37c291ebec7546d82b23216793f95">nLocalServices</a>;</div><div class="line"><a name="l00900"></a><span class="lineno"> 900</span>&#160; }</div><div class="line"><a name="l00901"></a><span class="lineno"> 901</span>&#160;</div><div class="line"><a name="l00902"></a><span class="lineno"> 902</span>&#160; <span class="keyword">static</span> std::vector&lt;unsigned char&gt; <a class="code" href="classCNode.html#a18a0e04d831c69c144d021a7f7ecb14e">CalculateKeyedNetGroup</a>(<a class="code" href="classCAddress.html">CAddress</a>&amp; address);</div><div class="line"><a name="l00903"></a><span class="lineno"> 903</span>&#160;};</div><div class="line"><a name="l00904"></a><span class="lineno"> 904</span>&#160;</div><div class="line"><a name="l00905"></a><span class="lineno"><a class="line" href="classCExplicitNetCleanup.html"> 905</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCExplicitNetCleanup.html">CExplicitNetCleanup</a></div><div class="line"><a name="l00906"></a><span class="lineno"> 906</span>&#160;{</div><div class="line"><a name="l00907"></a><span class="lineno"> 907</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00908"></a><span class="lineno"> 908</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classCExplicitNetCleanup.html#a381b3aec88e5c9432d3777525682c8f5">callCleanup</a>();</div><div class="line"><a name="l00909"></a><span class="lineno"> 909</span>&#160;};</div><div class="line"><a name="l00910"></a><span class="lineno"> 910</span>&#160;</div><div class="line"><a name="l00911"></a><span class="lineno"> 911</span>&#160;</div><div class="line"><a name="l00912"></a><span class="lineno"> 912</span>&#160;</div><div class="line"><a name="l00914"></a><span class="lineno"> 914</span>&#160;int64_t <a class="code" href="net_8h.html#a66c6216d339978932308c2d68edd5338">PoissonNextSend</a>(int64_t nNow, <span class="keywordtype">int</span> average_interval_seconds);</div><div class="line"><a name="l00915"></a><span class="lineno"> 915</span>&#160;</div><div class="line"><a name="l00916"></a><span class="lineno"> 916</span>&#160;<span class="preprocessor">#endif // BITCOIN_NET_H</span></div><div class="ttc" id="classCConnman_html_af185d7f8ac4389a0247a47cf16e4610c"><div class="ttname"><a href="classCConnman.html#af185d7f8ac4389a0247a47cf16e4610c">CConnman::cs_vAddedNodes</a></div><div class="ttdeci">CCriticalSection cs_vAddedNodes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00473">net.h:473</a></div></div>
<div class="ttc" id="net_8h_html_abc5c98fcc1211af2b80116dd6e0a035daa28117b0df136a5a8b96c5e887e182a8"><div class="ttname"><a href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035daa28117b0df136a5a8b96c5e887e182a8">LOCAL_UPNP</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00548">net.h:548</a></div></div>
<div class="ttc" id="net_8h_html_a517820e441633664d6e96ce8f6a10ef2"><div class="ttname"><a href="net_8h.html#a517820e441633664d6e96ce8f6a10ef2">MAX_OUTBOUND_CONNECTIONS</a></div><div class="ttdeci">static const int MAX_OUTBOUND_CONNECTIONS</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00063">net.h:63</a></div></div>
<div class="ttc" id="classCNodeStats_html_a535c198cbe3af112d4538f535e6618cd"><div class="ttname"><a href="classCNodeStats.html#a535c198cbe3af112d4538f535e6618cd">CNodeStats::dPingTime</a></div><div class="ttdeci">double dPingTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00611">net.h:611</a></div></div>
<div class="ttc" id="classCConnman_html_a3b31c247f9fc1c0f0d4e5f3482c667b3"><div class="ttname"><a href="classCConnman.html#a3b31c247f9fc1c0f0d4e5f3482c667b3">CConnman::ConnectNode</a></div><div class="ttdeci">CNode * ConnectNode(CAddress addrConnect, const char *pszDest=NULL, bool fConnectToMasternode=false)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00347">net.cpp:347</a></div></div>
<div class="ttc" id="net_8h_html_a152c3d2ceeeaf7a300666dcbcc8bb945"><div class="ttname"><a href="net_8h.html#a152c3d2ceeeaf7a300666dcbcc8bb945">g_connman</a></div><div class="ttdeci">std::unique_ptr&lt; CConnman &gt; g_connman</div><div class="ttdef"><b>Definition:</b> <a href="init_8cpp_source.html#l00103">init.cpp:103</a></div></div>
<div class="ttc" id="classCConnman_html_a61e3eda66ac8ed92a616874a6b16e6de"><div class="ttname"><a href="classCConnman.html#a61e3eda66ac8ed92a616874a6b16e6de">CConnman::ForEachNode</a></div><div class="ttdeci">void ForEachNode(const Condition &amp;cond, Callable &amp;&amp;func) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00255">net.h:255</a></div></div>
<div class="ttc" id="classCConnman_html_a1f7504b4cb3e7e2491a5634b6816a7a9"><div class="ttname"><a href="classCConnman.html#a1f7504b4cb3e7e2491a5634b6816a7a9">CConnman::GetNetworkActive</a></div><div class="ttdeci">bool GetNetworkActive() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00137">net.h:137</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="classCConnman_html_a85dedb235a648a1b8370228ba62ebacb"><div class="ttname"><a href="classCConnman.html#a85dedb235a648a1b8370228ba62ebacb">CConnman::MarkAddressGood</a></div><div class="ttdeci">void MarkAddressGood(const CAddress &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02385">net.cpp:2385</a></div></div>
<div class="ttc" id="classCNode_html_a62937ed6238077e4c6e4364d75b4c0b7"><div class="ttname"><a href="classCNode.html#a62937ed6238077e4c6e4364d75b4c0b7">CNode::GetMyStartingHeight</a></div><div class="ttdeci">int GetMyStartingHeight() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00798">net.h:798</a></div></div>
<div class="ttc" id="classCConnman_html_af15272cb307fd9128a6099487ae9a8c7"><div class="ttname"><a href="classCConnman.html#af15272cb307fd9128a6099487ae9a8c7">CConnman::CConnman</a></div><div class="ttdeci">CConnman()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02134">net.cpp:2134</a></div></div>
<div class="ttc" id="net_8h_html_a04723cf5ca6f222bf5cd3c7b2aeb6be5"><div class="ttname"><a href="net_8h.html#a04723cf5ca6f222bf5cd3c7b2aeb6be5">SETASKFOR_MAX_SZ</a></div><div class="ttdeci">static const size_t SETASKFOR_MAX_SZ</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00077">net.h:77</a></div></div>
<div class="ttc" id="classCConnman_html_a161f1b41271db1a10cec61a825524b5d"><div class="ttname"><a href="classCConnman.html#a161f1b41271db1a10cec61a825524b5d">CConnman::ProcessOneShot</a></div><div class="ttdeci">void ProcessOneShot()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01602">net.cpp:1602</a></div></div>
<div class="ttc" id="classCConnman_html_ac9af730df4809a6767fb2245f3c2323f"><div class="ttname"><a href="classCConnman.html#ac9af730df4809a6767fb2245f3c2323f">CConnman::setBanned</a></div><div class="ttdeci">banmap_t setBanned</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00465">net.h:465</a></div></div>
<div class="ttc" id="net_8h_html_af6de8e47b01a96206402ddef734114f2"><div class="ttname"><a href="net_8h.html#af6de8e47b01a96206402ddef734114f2">IsReachable</a></div><div class="ttdeci">bool IsReachable(enum Network net)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00285">net.cpp:285</a></div></div>
<div class="ttc" id="classCDataStream_html_a267d1315f3f9e9bcf9e7168beaa240c4"><div class="ttname"><a href="classCDataStream.html#a267d1315f3f9e9bcf9e7168beaa240c4">CDataStream::SetVersion</a></div><div class="ttdeci">void SetVersion(int n)</div><div class="ttdef"><b>Definition:</b> <a href="streams_8h_source.html#l00222">streams.h:222</a></div></div>
<div class="ttc" id="classCConnman_html_add237cb3a836a845b0a4d7c093ef10f4"><div class="ttname"><a href="classCConnman.html#add237cb3a836a845b0a4d7c093ef10f4">CConnman::cs_vWhitelistedRange</a></div><div class="ttdeci">CCriticalSection cs_vWhitelistedRange</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00458">net.h:458</a></div></div>
<div class="ttc" id="structCombinerAll_html"><div class="ttname"><a href="structCombinerAll.html">CombinerAll</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00515">net.h:515</a></div></div>
<div class="ttc" id="net_8h_html_a4dd59589d5788e2d620556c43a3381d9"><div class="ttname"><a href="net_8h.html#a4dd59589d5788e2d620556c43a3381d9">MAX_PROTOCOL_MESSAGE_LENGTH</a></div><div class="ttdeci">static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00059">net.h:59</a></div></div>
<div class="ttc" id="classCNode_html_a3f3a08b1a2c85b1c6cf975b2bdb53171"><div class="ttname"><a href="classCNode.html#a3f3a08b1a2c85b1c6cf975b2bdb53171">CNode::addrKnown</a></div><div class="ttdeci">CRollingBloomFilter addrKnown</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00733">net.h:733</a></div></div>
<div class="ttc" id="classCConnman_html_ac57208a8ea613f814aaf1c5c5e5394a4"><div class="ttname"><a href="classCConnman.html#ac57208a8ea613f814aaf1c5c5e5394a4">CConnman::Ban</a></div><div class="ttdeci">void Ban(const CNetAddr &amp;netAddr, const BanReason &amp;reason, int64_t bantimeoffset=0, bool sinceUnixEpoch=false)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00517">net.cpp:517</a></div></div>
<div class="ttc" id="classCConnman_html_a78c7481e9b2575bb1fb37078e28a1c6aa2df211f1ae2b5b422310b46bab5f33c1"><div class="ttname"><a href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa2df211f1ae2b5b422310b46bab5f33c1">CConnman::CONNECTIONS_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00113">net.h:113</a></div></div>
<div class="ttc" id="classCNode_html_a9c8fd0d0ef6e26896c53380e6d6bf331"><div class="ttname"><a href="classCNode.html#a9c8fd0d0ef6e26896c53380e6d6bf331">CNode::setAskFor</a></div><div class="ttdeci">std::set&lt; uint256 &gt; setAskFor</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00743">net.h:743</a></div></div>
<div class="ttc" id="classCConnman_html_ade433492622155412824555e850e3ed9"><div class="ttname"><a href="classCConnman.html#ade433492622155412824555e850e3ed9">CConnman::nSendBufferMaxSize</a></div><div class="ttdeci">unsigned int nSendBufferMaxSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00460">net.h:460</a></div></div>
<div class="ttc" id="classCNode_html_a9b2d9b9182ff111c79f704594c4aa2e1"><div class="ttname"><a href="classCNode.html#a9b2d9b9182ff111c79f704594c4aa2e1">CNode::vAddrToSend</a></div><div class="ttdeci">std::vector&lt; CAddress &gt; vAddrToSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00732">net.h:732</a></div></div>
<div class="ttc" id="classCNodeStats_html_a03a38f87940d04b321b9fb3102d0368d"><div class="ttname"><a href="classCNodeStats.html#a03a38f87940d04b321b9fb3102d0368d">CNodeStats::dPingWait</a></div><div class="ttdeci">double dPingWait</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00612">net.h:612</a></div></div>
<div class="ttc" id="classCConnman_html_ab4bc83003310d960423d963148d5c9ec"><div class="ttname"><a href="classCConnman.html#ab4bc83003310d960423d963148d5c9ec">CConnman::~CConnman</a></div><div class="ttdeci">~CConnman()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02369">net.cpp:2369</a></div></div>
<div class="ttc" id="classCNode_html_a09fbd8c77f6be2b8d4b309c703ce2e13"><div class="ttname"><a href="classCNode.html#a09fbd8c77f6be2b8d4b309c703ce2e13">CNode::filterInventoryKnown</a></div><div class="ttdeci">CRollingBloomFilter filterInventoryKnown</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00740">net.h:740</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="classCRollingBloomFilter_html_a0fedbf0cf38c9070a30c7c5f8299f5d7"><div class="ttname"><a href="classCRollingBloomFilter.html#a0fedbf0cf38c9070a30c7c5f8299f5d7">CRollingBloomFilter::insert</a></div><div class="ttdeci">void insert(const std::vector&lt; unsigned char &gt; &amp;vKey)</div><div class="ttdef"><b>Definition:</b> <a href="bloom_8cpp_source.html#l00232">bloom.cpp:232</a></div></div>
<div class="ttc" id="classCConnman_html_a7a3ebcaa5b75e2e2e109af35e1c48c9d"><div class="ttname"><a href="classCConnman.html#a7a3ebcaa5b75e2e2e109af35e1c48c9d">CConnman::fMsgProcWake</a></div><div class="ttdeci">bool fMsgProcWake</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00494">net.h:494</a></div></div>
<div class="ttc" id="structCNodeSignals_html_afeb0f429de9477d8e7c003d44050bf00"><div class="ttname"><a href="structCNodeSignals.html#afeb0f429de9477d8e7c003d44050bf00">CNodeSignals::FinalizeNode</a></div><div class="ttdeci">boost::signals2::signal&lt; void(NodeId, bool &amp;)&gt; FinalizeNode</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00536">net.h:536</a></div></div>
<div class="ttc" id="classCExplicitNetCleanup_html"><div class="ttname"><a href="classCExplicitNetCleanup.html">CExplicitNetCleanup</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00905">net.h:905</a></div></div>
<div class="ttc" id="net_8h_html_ac18517ca5500f0d8e1550ffd4ac56b77"><div class="ttname"><a href="net_8h.html#ac18517ca5500f0d8e1550ffd4ac56b77">GetLocal</a></div><div class="ttdeci">bool GetLocal(CService &amp;addr, const CNetAddr *paddrPeer=NULL)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00106">net.cpp:106</a></div></div>
<div class="ttc" id="classCNode_html_afb24fb33019af5c4085412fe3898cf01"><div class="ttname"><a href="classCNode.html#afb24fb33019af5c4085412fe3898cf01">CNode::strSubVer</a></div><div class="ttdeci">std::string strSubVer</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00697">net.h:697</a></div></div>
<div class="ttc" id="classCConnman_html_aacdbb7148575a31bb33bc345e2bf22a9"><div class="ttname"><a href="classCConnman.html#aacdbb7148575a31bb33bc345e2bf22a9">CConnman::ThreadMessageHandler</a></div><div class="ttdeci">void ThreadMessageHandler()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01919">net.cpp:1919</a></div></div>
<div class="ttc" id="classCNode_html_a73b323f9e310e3054d909934b37ae671"><div class="ttname"><a href="classCNode.html#a73b323f9e310e3054d909934b37ae671">CNode::fPauseSend</a></div><div class="ttdeci">std::atomic_bool fPauseSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00721">net.h:721</a></div></div>
<div class="ttc" id="addrdb_8h_html_ae79eefa5f9d20b9761dfc7a41123e668"><div class="ttname"><a href="addrdb_8h.html#ae79eefa5f9d20b9761dfc7a41123e668">BanReason</a></div><div class="ttdeci">BanReason</div><div class="ttdef"><b>Definition:</b> <a href="addrdb_8h_source.html#l00019">addrdb.h:19</a></div></div>
<div class="ttc" id="classCNode_html_a25c9b62c42159cc94c6e8ede9ad0ed9d"><div class="ttname"><a href="classCNode.html#a25c9b62c42159cc94c6e8ede9ad0ed9d">CNode::fFeeler</a></div><div class="ttdeci">bool fFeeler</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00699">net.h:699</a></div></div>
<div class="ttc" id="classCConnman_html_a5fdad96946aa2bc67961ad973bf65fa5"><div class="ttname"><a href="classCConnman.html#a5fdad96946aa2bc67961ad973bf65fa5">CConnman::RelayTransaction</a></div><div class="ttdeci">void RelayTransaction(const CTransaction &amp;tx)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02477">net.cpp:2477</a></div></div>
<div class="ttc" id="threadinterrupt_8h_html"><div class="ttname"><a href="threadinterrupt_8h.html">threadinterrupt.h</a></div></div>
<div class="ttc" id="classCNode_html_a01f8cac776bef676651f9b8f3f80ae98"><div class="ttname"><a href="classCNode.html#a01f8cac776bef676651f9b8f3f80ae98">CNode::nRefCount</a></div><div class="ttdeci">int nRefCount</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00717">net.h:717</a></div></div>
<div class="ttc" id="classCNode_html_a91d186dc3a8a8f45ddd1ac2cc96dc803"><div class="ttname"><a href="classCNode.html#a91d186dc3a8a8f45ddd1ac2cc96dc803">CNode::operator=</a></div><div class="ttdeci">void operator=(const CNode &amp;)</div></div>
<div class="ttc" id="structCNodeSignals_html_a1ce7c2d878dee3b81732b8ded51a7d6a"><div class="ttname"><a href="structCNodeSignals.html#a1ce7c2d878dee3b81732b8ded51a7d6a">CNodeSignals::InitializeNode</a></div><div class="ttdeci">boost::signals2::signal&lt; void(CNode *, CConnman &amp;)&gt; InitializeNode</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00535">net.h:535</a></div></div>
<div class="ttc" id="net_8h_html_a5067f8b9215406011fa3461be92d819c"><div class="ttname"><a href="net_8h.html#a5067f8b9215406011fa3461be92d819c">fListen</a></div><div class="ttdeci">bool fListen</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00077">net.cpp:77</a></div></div>
<div class="ttc" id="classCConnman_html_aaacbcc399569e16cedee9e95d2a8bc11"><div class="ttname"><a href="classCConnman.html#aaacbcc399569e16cedee9e95d2a8bc11">CConnman::PushMessageWithVersion</a></div><div class="ttdeci">void PushMessageWithVersion(CNode *pnode, int nVersion, const std::string &amp;sCommand, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00193">net.h:193</a></div></div>
<div class="ttc" id="classCConnman_html_a70b363e41f5c296834e744d87999edf0"><div class="ttname"><a href="classCConnman.html#a70b363e41f5c296834e744d87999edf0">CConnman::clientInterface</a></div><div class="ttdeci">CClientUIInterface * clientInterface</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00491">net.h:491</a></div></div>
<div class="ttc" id="classCNode_html_ac2dc607a2546f0806c721cbdaae05cb7"><div class="ttname"><a href="classCNode.html#ac2dc607a2546f0806c721cbdaae05cb7">CNode::vBlockHashesFromINV</a></div><div class="ttdeci">std::vector&lt; uint256 &gt; vBlockHashesFromINV</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00751">net.h:751</a></div></div>
<div class="ttc" id="classCNode_html_ad2f37c291ebec7546d82b23216793f95"><div class="ttname"><a href="classCNode.html#ad2f37c291ebec7546d82b23216793f95">CNode::nLocalServices</a></div><div class="ttdeci">ServiceFlags nLocalServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00784">net.h:784</a></div></div>
<div class="ttc" id="classlimitedmap_html"><div class="ttname"><a href="classlimitedmap.html">limitedmap</a></div><div class="ttdef"><b>Definition:</b> <a href="limitedmap_8h_source.html#l00013">limitedmap.h:13</a></div></div>
<div class="ttc" id="streams_8h_html"><div class="ttname"><a href="streams_8h.html">streams.h</a></div></div>
<div class="ttc" id="classCNode_html_ad47e8171d8a114592e90d7d83ee62875"><div class="ttname"><a href="classCNode.html#ad47e8171d8a114592e90d7d83ee62875">CNode::vBlockHashesToAnnounce</a></div><div class="ttdeci">std::vector&lt; uint256 &gt; vBlockHashesToAnnounce</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00748">net.h:748</a></div></div>
<div class="ttc" id="namespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition:</b> <a href="init_8h_source.html#l00014">init.h:14</a></div></div>
<div class="ttc" id="classCNode_html_a604bf0cdcd13ec51a2d81976ec33c531"><div class="ttname"><a href="classCNode.html#a604bf0cdcd13ec51a2d81976ec33c531">CNode::grantMasternodeOutbound</a></div><div class="ttdeci">CSemaphoreGrant grantMasternodeOutbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00714">net.h:714</a></div></div>
<div class="ttc" id="classCNode_html_a77f6fbd0e06434948ffeb27c6d99cdaa"><div class="ttname"><a href="classCNode.html#a77f6fbd0e06434948ffeb27c6d99cdaa">CNode::nMyStartingHeight</a></div><div class="ttdeci">int nMyStartingHeight</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00785">net.h:785</a></div></div>
<div class="ttc" id="classCExplicitNetCleanup_html_a381b3aec88e5c9432d3777525682c8f5"><div class="ttname"><a href="classCExplicitNetCleanup.html#a381b3aec88e5c9432d3777525682c8f5">CExplicitNetCleanup::callCleanup</a></div><div class="ttdeci">static void callCleanup()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02282">net.cpp:2282</a></div></div>
<div class="ttc" id="classCNodeStats_html_a3299ecdae870c367fe657f3f59b27e43"><div class="ttname"><a href="classCNodeStats.html#a3299ecdae870c367fe657f3f59b27e43">CNodeStats::addrName</a></div><div class="ttdeci">std::string addrName</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00601">net.h:601</a></div></div>
<div class="ttc" id="net_8h_html_ae1ed86ae54e13fe5f0ae1c12e48e3a0e"><div class="ttname"><a href="net_8h.html#ae1ed86ae54e13fe5f0ae1c12e48e3a0e">cs_mapRelay</a></div><div class="ttdeci">CCriticalSection cs_mapRelay</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00087">net.cpp:87</a></div></div>
<div class="ttc" id="addrdb_8h_html"><div class="ttname"><a href="addrdb_8h.html">addrdb.h</a></div></div>
<div class="ttc" id="structAddedNodeInfo_html_a49f4f7a55883eef82e57ae447507da9c"><div class="ttname"><a href="structAddedNodeInfo.html#a49f4f7a55883eef82e57ae447507da9c">AddedNodeInfo::resolvedAddress</a></div><div class="ttdeci">CService resolvedAddress</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00099">net.h:99</a></div></div>
<div class="ttc" id="structCNodeSignals_html_ae96100eac4458c80929678cd6f58bc53"><div class="ttname"><a href="structCNodeSignals.html#ae96100eac4458c80929678cd6f58bc53">CNodeSignals::SendMessages</a></div><div class="ttdeci">boost::signals2::signal&lt; bool(CNode *, CConnman &amp;, std::atomic&lt; bool &gt; &amp;), CombinerAll &gt; SendMessages</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00534">net.h:534</a></div></div>
<div class="ttc" id="classCService_html_af21ea7db4318330b337c8bfdcc55aff0"><div class="ttname"><a href="classCService.html#af21ea7db4318330b337c8bfdcc55aff0">CService::GetKey</a></div><div class="ttdeci">std::vector&lt; unsigned char &gt; GetKey() const</div><div class="ttdef"><b>Definition:</b> <a href="netaddress_8cpp_source.html#l00544">netaddress.cpp:544</a></div></div>
<div class="ttc" id="net_8h_html_a99a450f0d7268ee95f310f2b78be3370"><div class="ttname"><a href="net_8h.html#a99a450f0d7268ee95f310f2b78be3370">REQUIRED_SERVICES</a></div><div class="ttdeci">static const ServiceFlags REQUIRED_SERVICES</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00089">net.h:89</a></div></div>
<div class="ttc" id="classCNode_html_af2f7ea958313974e8a948292f060922e"><div class="ttname"><a href="classCNode.html#af2f7ea958313974e8a948292f060922e">CNode::fDisconnect</a></div><div class="ttdeci">bool fDisconnect</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00705">net.h:705</a></div></div>
<div class="ttc" id="structAddedNodeInfo_html_ae918d8da95cfa48443481ccafa901827"><div class="ttname"><a href="structAddedNodeInfo.html#ae918d8da95cfa48443481ccafa901827">AddedNodeInfo::fConnected</a></div><div class="ttdeci">bool fConnected</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00100">net.h:100</a></div></div>
<div class="ttc" id="classCNode_html_ac9b30cb93e91a48dacc58821abfc44f0"><div class="ttname"><a href="classCNode.html#ac9b30cb93e91a48dacc58821abfc44f0">CNode::~CNode</a></div><div class="ttdeci">~CNode()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02737">net.cpp:2737</a></div></div>
<div class="ttc" id="net_8h_html_a48a4c7f4f3eac6c8c0f3c1c3fabbee69"><div class="ttname"><a href="net_8h.html#a48a4c7f4f3eac6c8c0f3c1c3fabbee69">DEFAULT_FORCEDNSSEED</a></div><div class="ttdeci">static const bool DEFAULT_FORCEDNSSEED</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00085">net.h:85</a></div></div>
<div class="ttc" id="net_8h_html_af7487aacfc9d708b3db40c255ec070a8"><div class="ttname"><a href="net_8h.html#af7487aacfc9d708b3db40c255ec070a8">SeenLocal</a></div><div class="ttdeci">bool SeenLocal(const CService &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00265">net.cpp:265</a></div></div>
<div class="ttc" id="classCConnman_html_a9ad0bc18f18af0b9ed33a6e803aa3793"><div class="ttname"><a href="classCConnman.html#a9ad0bc18f18af0b9ed33a6e803aa3793">CConnman::GetMaxOutboundTarget</a></div><div class="ttdeci">uint64_t GetMaxOutboundTarget()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02568">net.cpp:2568</a></div></div>
<div class="ttc" id="classCNode_html_a036eeb2db08357a540cd23045a47d17a"><div class="ttname"><a href="classCNode.html#a036eeb2db08357a540cd23045a47d17a">CNode::vchSecretKey</a></div><div class="ttdeci">static std::vector&lt; unsigned char &gt; vchSecretKey</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00776">net.h:776</a></div></div>
<div class="ttc" id="structCConnman_1_1ListenSocket_html_acbea1e39ba522ec6dbf318d5e3a75f87"><div class="ttname"><a href="structCConnman_1_1ListenSocket.html#acbea1e39ba522ec6dbf318d5e3a75f87">CConnman::ListenSocket::whitelisted</a></div><div class="ttdeci">bool whitelisted</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00393">net.h:393</a></div></div>
<div class="ttc" id="classCConnman_html_a6e729a956380ac422ab78d842e158df1"><div class="ttname"><a href="classCConnman.html#a6e729a956380ac422ab78d842e158df1">CConnman::DumpBanlist</a></div><div class="ttdeci">void DumpBanlist()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00442">net.cpp:442</a></div></div>
<div class="ttc" id="classCConnman_html_a5204d111b1d9f77e0e6c4a0016a332c9"><div class="ttname"><a href="classCConnman.html#a5204d111b1d9f77e0e6c4a0016a332c9">CConnman::semOutbound</a></div><div class="ttdeci">CSemaphore * semOutbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00485">net.h:485</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="classCConnman_html_ada03158efc97507ad867bcf12e379952"><div class="ttname"><a href="classCConnman.html#ada03158efc97507ad867bcf12e379952">CConnman::FullyConnectedOnly</a></div><div class="ttdeci">static constexpr const CFullyConnectedOnly FullyConnectedOnly</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00154">net.h:154</a></div></div>
<div class="ttc" id="classCConnman_html_a59b3f6615a4e566b34920b6fbb747920"><div class="ttname"><a href="classCConnman.html#a59b3f6615a4e566b34920b6fbb747920">CConnman::vOneShots</a></div><div class="ttdeci">std::deque&lt; std::string &gt; vOneShots</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00470">net.h:470</a></div></div>
<div class="ttc" id="classCScheduler_html"><div class="ttname"><a href="classCScheduler.html">CScheduler</a></div><div class="ttdef"><b>Definition:</b> <a href="scheduler_8h_source.html#l00036">scheduler.h:36</a></div></div>
<div class="ttc" id="classCNodeStats_html_a027a5445a0c40e6489875e653be9c758"><div class="ttname"><a href="classCNodeStats.html#a027a5445a0c40e6489875e653be9c758">CNodeStats::addrLocal</a></div><div class="ttdeci">std::string addrLocal</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00614">net.h:614</a></div></div>
<div class="ttc" id="net_8h_html_a7935254c613d6f3cdadd3ce45f7efbff"><div class="ttname"><a href="net_8h.html#a7935254c613d6f3cdadd3ce45f7efbff">fRelayTxes</a></div><div class="ttdeci">bool fRelayTxes</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00078">net.cpp:78</a></div></div>
<div class="ttc" id="classCConnman_html_af71dbf1403017b3cdb88ee222c2ca9a4"><div class="ttname"><a href="classCConnman.html#af71dbf1403017b3cdb88ee222c2ca9a4">CConnman::threadSocketHandler</a></div><div class="ttdeci">std::thread threadSocketHandler</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00503">net.h:503</a></div></div>
<div class="ttc" id="classCNetAddr_html"><div class="ttname"><a href="classCNetAddr.html">CNetAddr</a></div><div class="ttdef"><b>Definition:</b> <a href="netaddress_8h_source.html#l00030">netaddress.h:30</a></div></div>
<div class="ttc" id="classCConnman_html_ae6697e1fd73e7d7cff3a699fe2034345"><div class="ttname"><a href="classCConnman.html#ae6697e1fd73e7d7cff3a699fe2034345">CConnman::SetBanned</a></div><div class="ttdeci">void SetBanned(const banmap_t &amp;banmap)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00578">net.cpp:578</a></div></div>
<div class="ttc" id="classCNode_html_a63a6091a0b0fc0987d9436e1ec708423"><div class="ttname"><a href="classCNode.html#a63a6091a0b0fc0987d9436e1ec708423">CNode::CloseSocketDisconnect</a></div><div class="ttdeci">void CloseSocketDisconnect()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00462">net.cpp:462</a></div></div>
<div class="ttc" id="classCConnman_html_a217b6ac63ee4b64199a2d11284d6bee4"><div class="ttname"><a href="classCConnman.html#a217b6ac63ee4b64199a2d11284d6bee4">CConnman::mutexMsgProc</a></div><div class="ttdeci">std::mutex mutexMsgProc</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00497">net.h:497</a></div></div>
<div class="ttc" id="classCConnman_html_af6353e401ae90d8621e768c4392b4e4f"><div class="ttname"><a href="classCConnman.html#af6353e401ae90d8621e768c4392b4e4f">CConnman::nMaxFeeler</a></div><div class="ttdeci">int nMaxFeeler</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00489">net.h:489</a></div></div>
<div class="ttc" id="classCConnman_html_af33367840224e80bcfa5c6582dc88170"><div class="ttname"><a href="classCConnman.html#af33367840224e80bcfa5c6582dc88170">CConnman::BeginMessage</a></div><div class="ttdeci">CDataStream BeginMessage(CNode *node, int nVersion, int flags, const std::string &amp;sCommand)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02817">net.cpp:2817</a></div></div>
<div class="ttc" id="classCConnman_html_a6a8dd8e367c6342baf26c697d004906d"><div class="ttname"><a href="classCConnman.html#a6a8dd8e367c6342baf26c697d004906d">CConnman::vhListenSocket</a></div><div class="ttdeci">std::vector&lt; ListenSocket &gt; vhListenSocket</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00463">net.h:463</a></div></div>
<div class="ttc" id="classCNode_html_a108e17226d76c85c89f7d057dad2b088"><div class="ttname"><a href="classCNode.html#a108e17226d76c85c89f7d057dad2b088">CNode::fPauseRecv</a></div><div class="ttdeci">std::atomic_bool fPauseRecv</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00720">net.h:720</a></div></div>
<div class="ttc" id="bloom_8h_html"><div class="ttname"><a href="bloom_8h.html">bloom.h</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="classCRollingBloomFilter_html_a4f7d6161274b03c63be50aadb1fe46b7"><div class="ttname"><a href="classCRollingBloomFilter.html#a4f7d6161274b03c63be50aadb1fe46b7">CRollingBloomFilter::contains</a></div><div class="ttdeci">bool contains(const std::vector&lt; unsigned char &gt; &amp;vKey) const</div><div class="ttdef"><b>Definition:</b> <a href="bloom_8cpp_source.html#l00252">bloom.cpp:252</a></div></div>
<div class="ttc" id="net_8h_html_ab5eb159bc77432e0eba1dbb48889e7b4"><div class="ttname"><a href="net_8h.html#ab5eb159bc77432e0eba1dbb48889e7b4">DEFAULT_LISTEN</a></div><div class="ttdeci">static const bool DEFAULT_LISTEN</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00067">net.h:67</a></div></div>
<div class="ttc" id="structCombinerAll_html_ae9075371bfb6f2b47eee3bb86eded765"><div class="ttname"><a href="structCombinerAll.html#ae9075371bfb6f2b47eee3bb86eded765">CombinerAll::result_type</a></div><div class="ttdeci">bool result_type</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00517">net.h:517</a></div></div>
<div class="ttc" id="classCNode_html_a3993ecb1de2a2135a3cf0904346a6f88"><div class="ttname"><a href="classCNode.html#a3993ecb1de2a2135a3cf0904346a6f88">CNode::addr</a></div><div class="ttdeci">CAddress addr</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00688">net.h:688</a></div></div>
<div class="ttc" id="classCConnman_html_a72472ae8962210960eea780bf0e733f6"><div class="ttname"><a href="classCConnman.html#a72472ae8962210960eea780bf0e733f6">CConnman::GetBanned</a></div><div class="ttdeci">void GetBanned(banmap_t &amp;banmap)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00572">net.cpp:572</a></div></div>
<div class="ttc" id="classCNetAddr_html_a6fe20b8da9701ca5dc2af078e2e8ac25"><div class="ttname"><a href="classCNetAddr.html#a6fe20b8da9701ca5dc2af078e2e8ac25">CNetAddr::IsValid</a></div><div class="ttdeci">bool IsValid() const</div><div class="ttdef"><b>Definition:</b> <a href="netaddress_8cpp_source.html#l00186">netaddress.cpp:186</a></div></div>
<div class="ttc" id="classCNode_html_ada34ffe1700a5dafb57de7c4d2491844"><div class="ttname"><a href="classCNode.html#ada34ffe1700a5dafb57de7c4d2491844">CNode::nPingUsecTime</a></div><div class="ttdeci">int64_t nPingUsecTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00763">net.h:763</a></div></div>
<div class="ttc" id="classCNode_html_a7f39c9fe6b7975531cb9963846aed3e7"><div class="ttname"><a href="classCNode.html#a7f39c9fe6b7975531cb9963846aed3e7">CNode::ReceiveMsgBytes</a></div><div class="ttdeci">bool ReceiveMsgBytes(const char *pch, unsigned int nBytes, bool &amp;complete)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00677">net.cpp:677</a></div></div>
<div class="ttc" id="classCConnman_html"><div class="ttname"><a href="classCConnman.html">CConnman</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00108">net.h:108</a></div></div>
<div class="ttc" id="classCConnman_html_a28701e595fcd7dd71791f105457db034"><div class="ttname"><a href="classCConnman.html#a28701e595fcd7dd71791f105457db034">CConnman::ForNode</a></div><div class="ttdeci">bool ForNode(NodeId id, std::function&lt; bool(const CNode *pnode)&gt; cond, std::function&lt; bool(CNode *pnode)&gt; func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02879">net.cpp:2879</a></div></div>
<div class="ttc" id="compat_8h_html_a26ef1173e2f2c0d3db27eca28397d723"><div class="ttname"><a href="compat_8h.html#a26ef1173e2f2c0d3db27eca28397d723">SOCKET</a></div><div class="ttdeci">u_int SOCKET</div><div class="ttdef"><b>Definition:</b> <a href="compat_8h_source.html#l00052">compat.h:52</a></div></div>
<div class="ttc" id="classCNode_html_af627cc9fe0654487aed7b4224d78ad24"><div class="ttname"><a href="classCNode.html#af627cc9fe0654487aed7b4224d78ad24">CNode::nNextLocalAddrSend</a></div><div class="ttdeci">int64_t nNextLocalAddrSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00737">net.h:737</a></div></div>
<div class="ttc" id="dash-tx_8cpp_html_ac8bf36fe0577cba66bccda3a6f7e80a4"><div class="ttname"><a href="dash-tx_8cpp.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a></div><div class="ttdeci">int flags</div><div class="ttdef"><b>Definition:</b> <a href="dash-tx_8cpp_source.html#l00326">dash-tx.cpp:326</a></div></div>
<div class="ttc" id="limitedmap_8h_html"><div class="ttname"><a href="limitedmap_8h.html">limitedmap.h</a></div></div>
<div class="ttc" id="classCNode_html_af99591c635f495fc1e6c14745a2a4203"><div class="ttname"><a href="classCNode.html#af99591c635f495fc1e6c14745a2a4203">CNode::id</a></div><div class="ttdeci">NodeId id</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00718">net.h:718</a></div></div>
<div class="ttc" id="classCConnman_html_ad59340080a38661aadeac522c2ccf656"><div class="ttname"><a href="classCConnman.html#ad59340080a38661aadeac522c2ccf656">CConnman::DumpData</a></div><div class="ttdeci">void DumpData()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01596">net.cpp:1596</a></div></div>
<div class="ttc" id="classCNetMessage_html_a8f399ad7225f980bdab3ede17b1b23af"><div class="ttname"><a href="classCNetMessage.html#a8f399ad7225f980bdab3ede17b1b23af">CNetMessage::in_data</a></div><div class="ttdeci">bool in_data</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00623">net.h:623</a></div></div>
<div class="ttc" id="classCConnman_html_a6ccf00706c65a961f8abf3d7019406f4"><div class="ttname"><a href="classCConnman.html#a6ccf00706c65a961f8abf3d7019406f4">CConnman::ClearBanned</a></div><div class="ttdeci">void ClearBanned()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00472">net.cpp:472</a></div></div>
<div class="ttc" id="classCConnman_html_a1c476458d499d52f2c87c88d93082a9d"><div class="ttname"><a href="classCConnman.html#a1c476458d499d52f2c87c88d93082a9d">CConnman::DeleteNode</a></div><div class="ttdeci">void DeleteNode(CNode *pnode)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02359">net.cpp:2359</a></div></div>
<div class="ttc" id="net_8h_html_a0cde2b3256757536c42c0bd3037847d1"><div class="ttname"><a href="net_8h.html#a0cde2b3256757536c42c0bd3037847d1">AdvertiseLocal</a></div><div class="ttdeci">void AdvertiseLocal(CNode *pnode)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00183">net.cpp:183</a></div></div>
<div class="ttc" id="classCNode_html_a933adb2b192939545a01d602b1d7b53a"><div class="ttname"><a href="classCNode.html#a933adb2b192939545a01d602b1d7b53a">CNode::fNetworkNode</a></div><div class="ttdeci">bool fNetworkNode</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00703">net.h:703</a></div></div>
<div class="ttc" id="classCNode_html_af39253ad525733ca64ab3fc785dfc4eb"><div class="ttname"><a href="classCNode.html#af39253ad525733ca64ab3fc785dfc4eb">CNode::nLastSend</a></div><div class="ttdeci">int64_t nLastSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00683">net.h:683</a></div></div>
<div class="ttc" id="classCConnman_html_aefdc911e6c978574ec42051faeaea041"><div class="ttname"><a href="classCConnman.html#aefdc911e6c978574ec42051faeaea041">CConnman::DumpAddresses</a></div><div class="ttdeci">void DumpAddresses()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01585">net.cpp:1585</a></div></div>
<div class="ttc" id="net_8h_html_aa203b76a8cc98a5ec314c19a008b478d"><div class="ttname"><a href="net_8h.html#aa203b76a8cc98a5ec314c19a008b478d">MapPort</a></div><div class="ttdeci">void MapPort(bool fUseUPnP)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01511">net.cpp:1511</a></div></div>
<div class="ttc" id="classCNode_html_a82a03d43590c06f85f8fbcf08427674e"><div class="ttname"><a href="classCNode.html#a82a03d43590c06f85f8fbcf08427674e">CNode::GetRecvVersion</a></div><div class="ttdeci">int GetRecvVersion()</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00815">net.h:815</a></div></div>
<div class="ttc" id="classCConnman_html_a3d45932513c62fe9c489b2aa6ec86316"><div class="ttname"><a href="classCConnman.html#a3d45932513c62fe9c489b2aa6ec86316">CConnman::RelayInv</a></div><div class="ttdeci">void RelayInv(CInv &amp;inv, const int minProtoVersion=MIN_PEER_PROTO_VERSION)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02528">net.cpp:2528</a></div></div>
<div class="ttc" id="classCConnman_html_a4f4e4c1e7e161ff31b73f64d97b9900e"><div class="ttname"><a href="classCConnman.html#a4f4e4c1e7e161ff31b73f64d97b9900e">CConnman::EndMessage</a></div><div class="ttdeci">void EndMessage(CDataStream &amp;strm)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02822">net.cpp:2822</a></div></div>
<div class="ttc" id="classCConnman_html_ac3d0e0de8d7ab3f3ac5674aea93389d3"><div class="ttname"><a href="classCConnman.html#ac3d0e0de8d7ab3f3ac5674aea93389d3">CConnman::nMaxOutbound</a></div><div class="ttdeci">int nMaxOutbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00488">net.h:488</a></div></div>
<div class="ttc" id="classCNode_html_a18a0e04d831c69c144d021a7f7ecb14e"><div class="ttname"><a href="classCNode.html#a18a0e04d831c69c144d021a7f7ecb14e">CNode::CalculateKeyedNetGroup</a></div><div class="ttdeci">static std::vector&lt; unsigned char &gt; CalculateKeyedNetGroup(CAddress &amp;address)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02796">net.cpp:2796</a></div></div>
<div class="ttc" id="net_8h_html_a66c6216d339978932308c2d68edd5338"><div class="ttname"><a href="net_8h.html#a66c6216d339978932308c2d68edd5338">PoissonNextSend</a></div><div class="ttdeci">int64_t PoissonNextSend(int64_t nNow, int average_interval_seconds)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02892">net.cpp:2892</a></div></div>
<div class="ttc" id="net_8h_html_a0b78d1ae4a3edd7ec2b4bc7b17d6cc79"><div class="ttname"><a href="net_8h.html#a0b78d1ae4a3edd7ec2b4bc7b17d6cc79">mapLocalHost</a></div><div class="ttdeci">std::map&lt; CNetAddr, LocalServiceInfo &gt; mapLocalHost</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00080">net.cpp:80</a></div></div>
<div class="ttc" id="classCConnman_html_ad2f3516addf9e195688437021a8e3182"><div class="ttname"><a href="classCConnman.html#ad2f3516addf9e195688437021a8e3182">CConnman::BindListenPort</a></div><div class="ttdeci">bool BindListenPort(const CService &amp;bindAddr, std::string &amp;strError, bool fWhitelisted=false)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01964">net.cpp:1964</a></div></div>
<div class="ttc" id="structAddedNodeInfo_html_a2c736112ca94faf4eead41d573830c59"><div class="ttname"><a href="structAddedNodeInfo.html#a2c736112ca94faf4eead41d573830c59">AddedNodeInfo::fInbound</a></div><div class="ttdeci">bool fInbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00101">net.h:101</a></div></div>
<div class="ttc" id="classCConnman_html_a47a0fe62e6fb1008c77f3b2150214213"><div class="ttname"><a href="classCConnman.html#a47a0fe62e6fb1008c77f3b2150214213">CConnman::GetAddressCount</a></div><div class="ttdeci">size_t GetAddressCount() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02375">net.cpp:2375</a></div></div>
<div class="ttc" id="classCNode_html_a395e2ead02225f29423e211aa2108272"><div class="ttname"><a href="classCNode.html#a395e2ead02225f29423e211aa2108272">CNode::nServicesExpected</a></div><div class="ttdeci">ServiceFlags nServicesExpected</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00667">net.h:667</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a4175e08ea3b9ee7d651824b6d92f1e9b"><div class="ttname"><a href="structCConnman_1_1Options.html#a4175e08ea3b9ee7d651824b6d92f1e9b">CConnman::Options::uiInterface</a></div><div class="ttdeci">CClientUIInterface * uiInterface</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00127">net.h:127</a></div></div>
<div class="ttc" id="net_8h_html_aa994a3fa6352ccb31e5bfc425364daf1"><div class="ttname"><a href="net_8h.html#aa994a3fa6352ccb31e5bfc425364daf1">MAPASKFOR_MAX_SZ</a></div><div class="ttdeci">static const size_t MAPASKFOR_MAX_SZ</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00075">net.h:75</a></div></div>
<div class="ttc" id="classCConnman_html_a47d9024273a8c421fa7de641c30e9081"><div class="ttname"><a href="classCConnman.html#a47d9024273a8c421fa7de641c30e9081">CConnman::AddNewAddresses</a></div><div class="ttdeci">void AddNewAddresses(const std::vector&lt; CAddress &gt; &amp;vAddr, const CAddress &amp;addrFrom, int64_t nTimePenalty=0)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02395">net.cpp:2395</a></div></div>
<div class="ttc" id="net_8h_html_a52479fcaa2103ab394bc6ba098abf269"><div class="ttname"><a href="net_8h.html#a52479fcaa2103ab394bc6ba098abf269">FEELER_INTERVAL</a></div><div class="ttdeci">static const int FEELER_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00053">net.h:53</a></div></div>
<div class="ttc" id="classCNode_html_a3c5bbe8733398b4d14ce05d30aced57e"><div class="ttname"><a href="classCNode.html#a3c5bbe8733398b4d14ce05d30aced57e">CNode::GetLocalNonce</a></div><div class="ttdeci">uint64_t GetLocalNonce() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00794">net.h:794</a></div></div>
<div class="ttc" id="classCConnman_html_a8c360ad2471ad7287b27f944aa382441"><div class="ttname"><a href="classCConnman.html#a8c360ad2471ad7287b27f944aa382441">CConnman::nMaxOutboundCycleStartTime</a></div><div class="ttdeci">uint64_t nMaxOutboundCycleStartTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00451">net.h:451</a></div></div>
<div class="ttc" id="classCNode_html_a2e28bf088e56fc9d30e99e9de6587743"><div class="ttname"><a href="classCNode.html#a2e28bf088e56fc9d30e99e9de6587743">CNode::pfilter</a></div><div class="ttdeci">CBloomFilter * pfilter</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00716">net.h:716</a></div></div>
<div class="ttc" id="classCNode_html_aca90abe62ee91e752d59981dd7c4f9ed"><div class="ttname"><a href="classCNode.html#aca90abe62ee91e752d59981dd7c4f9ed">CNode::vProcessMsg</a></div><div class="ttdeci">std::list&lt; CNetMessage &gt; vProcessMsg</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00676">net.h:676</a></div></div>
<div class="ttc" id="classCConnman_html_a3b4209a685463cdceeefa0924e4a5f68"><div class="ttname"><a href="classCConnman.html#a3b4209a685463cdceeefa0924e4a5f68">CConnman::AddNewAddress</a></div><div class="ttdeci">void AddNewAddress(const CAddress &amp;addr, const CAddress &amp;addrFrom, int64_t nTimePenalty=0)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02390">net.cpp:2390</a></div></div>
<div class="ttc" id="structCConnman_1_1CAllNodes_html_a5dd062f67f1006b7b48993246f2bf709"><div class="ttname"><a href="structCConnman_1_1CAllNodes.html#a5dd062f67f1006b7b48993246f2bf709">CConnman::CAllNodes::operator()</a></div><div class="ttdeci">bool operator()(const CNode *) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00157">net.h:157</a></div></div>
<div class="ttc" id="classCConnman_html_a06596008c9c9709d4573c536742ccc45"><div class="ttname"><a href="classCConnman.html#a06596008c9c9709d4573c536742ccc45">CConnman::nMaxOutboundLimit</a></div><div class="ttdeci">uint64_t nMaxOutboundLimit</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00452">net.h:452</a></div></div>
<div class="ttc" id="net_8h_html_a7853d10884491eae33796656e1673fe3"><div class="ttname"><a href="net_8h.html#a7853d10884491eae33796656e1673fe3">TIMEOUT_INTERVAL</a></div><div class="ttdeci">static const int TIMEOUT_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00049">net.h:49</a></div></div>
<div class="ttc" id="classCConnman_html_aedb5dff92cf5677c8465bb8ad43312e4"><div class="ttname"><a href="classCConnman.html#aedb5dff92cf5677c8465bb8ad43312e4">CConnman::cs_vOneShots</a></div><div class="ttdeci">CCriticalSection cs_vOneShots</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00471">net.h:471</a></div></div>
<div class="ttc" id="classAnnotatedMixin_html"><div class="ttname"><a href="classAnnotatedMixin.html">AnnotatedMixin&lt; boost::recursive_mutex &gt;</a></div></div>
<div class="ttc" id="protocol_8h_html"><div class="ttname"><a href="protocol_8h.html">protocol.h</a></div></div>
<div class="ttc" id="classCConnman_html_a8c2ade2114997b11a70c881456439529"><div class="ttname"><a href="classCConnman.html#a8c2ade2114997b11a70c881456439529">CConnman::nMaxOutboundTotalBytesSentInCycle</a></div><div class="ttdeci">uint64_t nMaxOutboundTotalBytesSentInCycle</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00450">net.h:450</a></div></div>
<div class="ttc" id="random_8h_html_ae8f7a2f188545bbbf746160adc42038e"><div class="ttname"><a href="random_8h.html#ae8f7a2f188545bbbf746160adc42038e">insecure_rand</a></div><div class="ttdeci">static uint32_t insecure_rand(void)</div><div class="ttdef"><b>Definition:</b> <a href="random_8h_source.html#l00042">random.h:42</a></div></div>
<div class="ttc" id="classCNode_html_a79edcac83fc5067567c7b41c26fcc56f"><div class="ttname"><a href="classCNode.html#a79edcac83fc5067567c7b41c26fcc56f">CNode::cs_vSend</a></div><div class="ttdeci">CCriticalSection cs_vSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00673">net.h:673</a></div></div>
<div class="ttc" id="classCNetMessage_html_adbc1669a56462daea5f37e5e99117f8c"><div class="ttname"><a href="classCNetMessage.html#adbc1669a56462daea5f37e5e99117f8c">CNetMessage::readData</a></div><div class="ttdeci">int readData(const char *pch, unsigned int nBytes)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00786">net.cpp:786</a></div></div>
<div class="ttc" id="classCConnman_html_a734f3771091eeb4cb12aef25c7402469"><div class="ttname"><a href="classCConnman.html#a734f3771091eeb4cb12aef25c7402469">CConnman::cs_setBanned</a></div><div class="ttdeci">CCriticalSection cs_setBanned</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00466">net.h:466</a></div></div>
<div class="ttc" id="classCDataStream_html_aa91abddde56127bd3d6ac2a0fb005874"><div class="ttname"><a href="classCDataStream.html#aa91abddde56127bd3d6ac2a0fb005874">CDataStream::resize</a></div><div class="ttdeci">void resize(size_type n, value_type c=0)</div><div class="ttdef"><b>Definition:</b> <a href="streams_8h_source.html#l00124">streams.h:124</a></div></div>
<div class="ttc" id="classCConnman_html_a0b787caf95e52a346a2b31a580d60a62"><div class="ttname"><a href="classCConnman.html#a0b787caf95e52a346a2b31a580d60a62">CConnman::ThreadOpenAddedConnections</a></div><div class="ttdeci">void ThreadOpenAddedConnections()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01816">net.cpp:1816</a></div></div>
<div class="ttc" id="classCConnman_html_ac5a5efb5d7a41f9a6f99c7328997f40d"><div class="ttname"><a href="classCConnman.html#ac5a5efb5d7a41f9a6f99c7328997f40d">CConnman::BannedSetIsDirty</a></div><div class="ttdeci">bool BannedSetIsDirty()</div><div class="ttdoc">check is the banlist has unwritten changes </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00606">net.cpp:606</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="classCConnman_html_a0f7d06bcc905778cbfab8ac33d8efe85"><div class="ttname"><a href="classCConnman.html#a0f7d06bcc905778cbfab8ac33d8efe85">CConnman::GetBestHeight</a></div><div class="ttdeci">int GetBestHeight() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02657">net.cpp:2657</a></div></div>
<div class="ttc" id="classCNode_html_a721e2470c2c961b7599768a14be68781"><div class="ttname"><a href="classCNode.html#a721e2470c2c961b7599768a14be68781">CNode::fClient</a></div><div class="ttdeci">bool fClient</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00701">net.h:701</a></div></div>
<div class="ttc" id="classCConnman_html_a1f2e6c46cf3eb520a74bc05e604fcbe0"><div class="ttname"><a href="classCConnman.html#a1f2e6c46cf3eb520a74bc05e604fcbe0">CConnman::ForEachNodeContinueIf</a></div><div class="ttdeci">bool ForEachNodeContinueIf(const Condition &amp;cond, Callable &amp;&amp;func) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00222">net.h:222</a></div></div>
<div class="ttc" id="classCConnman_html_a337ff89eb6c74c70a2d4cd15ed3bc97d"><div class="ttname"><a href="classCConnman.html#a337ff89eb6c74c70a2d4cd15ed3bc97d">CConnman::GetTotalBytesRecv</a></div><div class="ttdeci">uint64_t GetTotalBytesRecv()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02635">net.cpp:2635</a></div></div>
<div class="ttc" id="classCConnman_html_a30095fabc2e1727514ad2f2d530a496d"><div class="ttname"><a href="classCConnman.html#a30095fabc2e1727514ad2f2d530a496d">CConnman::GetReceiveFloodSize</a></div><div class="ttdeci">unsigned int GetReceiveFloodSize() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02662">net.cpp:2662</a></div></div>
<div class="ttc" id="classCNode_html_a3079fadef397abbf7e8d444f4426ebe7"><div class="ttname"><a href="classCNode.html#a3079fadef397abbf7e8d444f4426ebe7">CNode::nTimeOffset</a></div><div class="ttdeci">int64_t nTimeOffset</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00686">net.h:686</a></div></div>
<div class="ttc" id="classCNode_html_aaa77188d9df85b80e3f8a30292acf6a9"><div class="ttname"><a href="classCNode.html#aaa77188d9df85b80e3f8a30292acf6a9">CNode::copyStats</a></div><div class="ttdeci">void copyStats(CNodeStats &amp;stats)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00635">net.cpp:635</a></div></div>
<div class="ttc" id="classCConnman_html_a320b487f2f4437c2518cf6d2b37f95fd"><div class="ttname"><a href="classCConnman.html#a320b487f2f4437c2518cf6d2b37f95fd">CConnman::vNodesDisconnected</a></div><div class="ttdeci">std::list&lt; CNode * &gt; vNodesDisconnected</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00475">net.h:475</a></div></div>
<div class="ttc" id="structAddedNodeInfo_html"><div class="ttname"><a href="structAddedNodeInfo.html">AddedNodeInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00096">net.h:96</a></div></div>
<div class="ttc" id="classCThreadInterrupt_html"><div class="ttname"><a href="classCThreadInterrupt.html">CThreadInterrupt</a></div><div class="ttdef"><b>Definition:</b> <a href="threadinterrupt_8h_source.html#l00018">threadinterrupt.h:18</a></div></div>
<div class="ttc" id="classCNodeStats_html_ac14c5f2621d1535b2a7d9295585e2950"><div class="ttname"><a href="classCNodeStats.html#ac14c5f2621d1535b2a7d9295585e2950">CNodeStats::mapRecvBytesPerMsgCmd</a></div><div class="ttdeci">mapMsgCmdSize mapRecvBytesPerMsgCmd</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00609">net.h:609</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a0b7a96aca7f3b38561ac6eb85702440e"><div class="ttname"><a href="structCConnman_1_1Options.html#a0b7a96aca7f3b38561ac6eb85702440e">CConnman::Options::nReceiveFloodSize</a></div><div class="ttdeci">unsigned int nReceiveFloodSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00129">net.h:129</a></div></div>
<div class="ttc" id="serialize_8h_html_ad4ccb7eebcb006dc7143382e9a6c4642"><div class="ttname"><a href="serialize_8h.html#ad4ccb7eebcb006dc7143382e9a6c4642">SerializeMany</a></div><div class="ttdeci">void SerializeMany(Stream &amp;s, int nType, int nVersion)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00988">serialize.h:988</a></div></div>
<div class="ttc" id="classCConnman_html_a57501169f1faf1750efc6158f825b531"><div class="ttname"><a href="classCConnman.html#a57501169f1faf1750efc6158f825b531">CConnman::fNetworkActive</a></div><div class="ttdeci">bool fNetworkActive</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00464">net.h:464</a></div></div>
<div class="ttc" id="classCNode_html_a359647a8e7ad1fc72243b126b35729b6"><div class="ttname"><a href="classCNode.html#a359647a8e7ad1fc72243b126b35729b6">CNode::fSuccessfullyConnected</a></div><div class="ttdeci">std::atomic_bool fSuccessfullyConnected</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00704">net.h:704</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html"><div class="ttname"><a href="structCConnman_1_1Options.html">CConnman::Options</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00119">net.h:119</a></div></div>
<div class="ttc" id="classCConnman_html_a255a163d4df189aa01faf219c97a2994"><div class="ttname"><a href="classCConnman.html#a255a163d4df189aa01faf219c97a2994">CConnman::GetNodeCount</a></div><div class="ttdeci">size_t GetNodeCount(NumConnections num)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02429">net.cpp:2429</a></div></div>
<div class="ttc" id="classCConnman_html_ad86a46ddbc6c99900d58ab89b65eaece"><div class="ttname"><a href="classCConnman.html#ad86a46ddbc6c99900d58ab89b65eaece">CConnman::GetAddedNodeInfo</a></div><div class="ttdeci">std::vector&lt; AddedNodeInfo &gt; GetAddedNodeInfo()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01764">net.cpp:1764</a></div></div>
<div class="ttc" id="classCNetMessage_html_a63b9f2351d5e92126cacacd51d9e16b6"><div class="ttname"><a href="classCNetMessage.html#a63b9f2351d5e92126cacacd51d9e16b6">CNetMessage::SetVersion</a></div><div class="ttdeci">void SetVersion(int nVersionIn)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00649">net.h:649</a></div></div>
<div class="ttc" id="classCConnman_html_a45a52ec9d3493ca313e9b8cc928c83c7"><div class="ttname"><a href="classCConnman.html#a45a52ec9d3493ca313e9b8cc928c83c7">CConnman::GetMaxOutboundTimeframe</a></div><div class="ttdeci">uint64_t GetMaxOutboundTimeframe()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02574">net.cpp:2574</a></div></div>
<div class="ttc" id="classCNode_html_a33e24a9544df3c60f9e1ec05b5e91051"><div class="ttname"><a href="classCNode.html#a33e24a9544df3c60f9e1ec05b5e91051">CNode::nSendBytes</a></div><div class="ttdeci">uint64_t nSendBytes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00671">net.h:671</a></div></div>
<div class="ttc" id="classCNode_html_a9649c1f27ff0d8f0ba89eb1ea5bee139"><div class="ttname"><a href="classCNode.html#a9649c1f27ff0d8f0ba89eb1ea5bee139">CNode::vRecvGetData</a></div><div class="ttdeci">std::deque&lt; CInv &gt; vRecvGetData</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00679">net.h:679</a></div></div>
<div class="ttc" id="classCNodeStats_html_ad733b840ac9a16a7eb6166ea4984d8a8"><div class="ttname"><a href="classCNodeStats.html#ad733b840ac9a16a7eb6166ea4984d8a8">CNodeStats::cleanSubVer</a></div><div class="ttdeci">std::string cleanSubVer</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00603">net.h:603</a></div></div>
<div class="ttc" id="classCNode_html_a360e2ae57a526e1d9f91ced1c33e2215"><div class="ttname"><a href="classCNode.html#a360e2ae57a526e1d9f91ced1c33e2215">CNode::CNode</a></div><div class="ttdeci">CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress &amp;addrIn, const std::string &amp;addrNameIn=&quot;&quot;, bool fInboundIn=false, bool fNetworkNodeIn=false)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02665">net.cpp:2665</a></div></div>
<div class="ttc" id="classCNode_html_aa1e9c1dc1d5cf806b9be0af155c0bf90"><div class="ttname"><a href="classCNode.html#aa1e9c1dc1d5cf806b9be0af155c0bf90">CNode::fPingQueued</a></div><div class="ttdeci">bool fPingQueued</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00767">net.h:767</a></div></div>
<div class="ttc" id="net_8h_html_a6b8c3480cd1aa1106e0b4211e62913de"><div class="ttname"><a href="net_8h.html#a6b8c3480cd1aa1106e0b4211e62913de">DEFAULT_MAXRECEIVEBUFFER</a></div><div class="ttdeci">static const size_t DEFAULT_MAXRECEIVEBUFFER</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00086">net.h:86</a></div></div>
<div class="ttc" id="classCNode_html_af804bf7c7f9794e80a3b916e1befece9"><div class="ttname"><a href="classCNode.html#af804bf7c7f9794e80a3b916e1befece9">CNode::Release</a></div><div class="ttdeci">void Release()</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00829">net.h:829</a></div></div>
<div class="ttc" id="classCNode_html_a157903f7830c0dfbf6a93852066f0b8f"><div class="ttname"><a href="classCNode.html#a157903f7830c0dfbf6a93852066f0b8f">CNode::GetId</a></div><div class="ttdeci">NodeId GetId() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00790">net.h:790</a></div></div>
<div class="ttc" id="classCConnman_html_a80caf4db74fcf515068f169e085ff84e"><div class="ttname"><a href="classCConnman.html#a80caf4db74fcf515068f169e085ff84e">CConnman::Start</a></div><div class="ttdeci">bool Start(CScheduler &amp;scheduler, std::string &amp;strNodeError, Options options)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02156">net.cpp:2156</a></div></div>
<div class="ttc" id="classCConnman_html_a45b6e23a40a19f9cc3d092fb5e08e6fd"><div class="ttname"><a href="classCConnman.html#a45b6e23a40a19f9cc3d092fb5e08e6fd">CConnman::nLastNodeId</a></div><div class="ttdeci">std::atomic&lt; NodeId &gt; nLastNodeId</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00477">net.h:477</a></div></div>
<div class="ttc" id="classCConnman_html_a78fc6a51fab2550bf73787cf1eea2a3c"><div class="ttname"><a href="classCConnman.html#a78fc6a51fab2550bf73787cf1eea2a3c">CConnman::nTotalBytesRecv</a></div><div class="ttdeci">uint64_t nTotalBytesRecv</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00446">net.h:446</a></div></div>
<div class="ttc" id="classCRollingBloomFilter_html"><div class="ttname"><a href="classCRollingBloomFilter.html">CRollingBloomFilter</a></div><div class="ttdef"><b>Definition:</b> <a href="bloom_8h_source.html#l00116">bloom.h:116</a></div></div>
<div class="ttc" id="classCNode_html_af4629eba953ff1d5a3c05437c1b6630a"><div class="ttname"><a href="classCNode.html#af4629eba953ff1d5a3c05437c1b6630a">CNode::nRecvVersion</a></div><div class="ttdeci">std::atomic&lt; int &gt; nRecvVersion</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00681">net.h:681</a></div></div>
<div class="ttc" id="classCConnman_html_a8669942dafa1c3875e9899cd5dd87854"><div class="ttname"><a href="classCConnman.html#a8669942dafa1c3875e9899cd5dd87854">CConnman::ReleaseNodeVector</a></div><div class="ttdeci">void ReleaseNodeVector(const std::vector&lt; CNode *&gt; &amp;vecNodes)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02908">net.cpp:2908</a></div></div>
<div class="ttc" id="net_8h_html_a43e845269f2b18e20dfcb7ece6832a2e"><div class="ttname"><a href="net_8h.html#a43e845269f2b18e20dfcb7ece6832a2e">vRelayExpiration</a></div><div class="ttdeci">std::deque&lt; std::pair&lt; int64_t, CInv &gt; &gt; vRelayExpiration</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00086">net.cpp:86</a></div></div>
<div class="ttc" id="classCNode_html_a1d2cecdd03c9da642d292f6a81ac6ed8"><div class="ttname"><a href="classCNode.html#a1d2cecdd03c9da642d292f6a81ac6ed8">CNode::AddAddressKnown</a></div><div class="ttdeci">void AddAddressKnown(const CAddress &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00838">net.h:838</a></div></div>
<div class="ttc" id="classCConnman_html_a92375a64d1f39823c26c839eb805137f"><div class="ttname"><a href="classCConnman.html#a92375a64d1f39823c26c839eb805137f">CConnman::nMaxConnections</a></div><div class="ttdeci">int nMaxConnections</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00487">net.h:487</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="addrdb_8h_html_af9675d81650e48d20ae495adf73da102"><div class="ttname"><a href="addrdb_8h.html#af9675d81650e48d20ae495adf73da102">banmap_t</a></div><div class="ttdeci">std::map&lt; CSubNet, CBanEntry &gt; banmap_t</div><div class="ttdef"><b>Definition:</b> <a href="addrdb_8h_source.html#l00078">addrdb.h:78</a></div></div>
<div class="ttc" id="dash-config_8h_html_a6cebda7b932feb7805127dbbe935b05d"><div class="ttname"><a href="dash-config_8h.html#a6cebda7b932feb7805127dbbe935b05d">USE_UPNP</a></div><div class="ttdeci">#define USE_UPNP</div><div class="ttdef"><b>Definition:</b> <a href="dash-config_8h_source.html#l00355">dash-config.h:355</a></div></div>
<div class="ttc" id="net_8h_html_adb45ec1b7c89fd811f480182f45ec546"><div class="ttname"><a href="net_8h.html#adb45ec1b7c89fd811f480182f45ec546">mapRelay</a></div><div class="ttdeci">std::map&lt; CInv, CDataStream &gt; mapRelay</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00085">net.cpp:85</a></div></div>
<div class="ttc" id="classCConnman_html_af9af880a6906571013cf3f21c2761110"><div class="ttname"><a href="classCConnman.html#af9af880a6906571013cf3f21c2761110">CConnman::RemoveAddedNode</a></div><div class="ttdeci">bool RemoveAddedNode(const std::string &amp;node)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02417">net.cpp:2417</a></div></div>
<div class="ttc" id="structCConnman_1_1CFullyConnectedOnly_html"><div class="ttname"><a href="structCConnman_1_1CFullyConnectedOnly.html">CConnman::CFullyConnectedOnly</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00148">net.h:148</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="classCNode_html_a03946197bacd9b1fe2b698bd85b18dd3"><div class="ttname"><a href="classCNode.html#a03946197bacd9b1fe2b698bd85b18dd3">CNode::cs_nRefCount</a></div><div class="ttdeci">CCriticalSection cs_nRefCount</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00778">net.h:778</a></div></div>
<div class="ttc" id="classCNode_html_ae0def1498409407d1612833a7d38c875"><div class="ttname"><a href="classCNode.html#ae0def1498409407d1612833a7d38c875">CNode::AskFor</a></div><div class="ttdeci">void AskFor(const CInv &amp;inv)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02745">net.cpp:2745</a></div></div>
<div class="ttc" id="classCNode_html_a94438c6285d1635c62ccff10593780e6"><div class="ttname"><a href="classCNode.html#a94438c6285d1635c62ccff10593780e6">CNode::SetRecvVersion</a></div><div class="ttdeci">void SetRecvVersion(int nVersionIn)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00811">net.h:811</a></div></div>
<div class="ttc" id="classCConnman_html_a8fd1903719cc907b1024088bd715fefb"><div class="ttname"><a href="classCConnman.html#a8fd1903719cc907b1024088bd715fefb">CConnman::NodeFullyConnected</a></div><div class="ttdeci">static bool NodeFullyConnected(const CNode *pnode)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02791">net.cpp:2791</a></div></div>
<div class="ttc" id="classCConnman_html_a6006659dcdda45215102e5982d4879a1"><div class="ttname"><a href="classCConnman.html#a6006659dcdda45215102e5982d4879a1">CConnman::SetBannedSetDirty</a></div><div class="ttdeci">void SetBannedSetDirty(bool dirty=true)</div><div class="ttdoc">set the &quot;dirty&quot; flag for the banlist </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00612">net.cpp:612</a></div></div>
<div class="ttc" id="classCNode_html_ab387bb0c4ffd42e3f0aea233dca0e301"><div class="ttname"><a href="classCNode.html#ab387bb0c4ffd42e3f0aea233dca0e301">CNode::fRelayTxes</a></div><div class="ttdeci">bool fRelayTxes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00710">net.h:710</a></div></div>
<div class="ttc" id="classCConnman_html_a9b7efcca91a687285efcbad17523e0bf"><div class="ttname"><a href="classCConnman.html#a9b7efcca91a687285efcbad17523e0bf">CConnman::ForEachNodeThen</a></div><div class="ttdeci">void ForEachNodeThen(const Condition &amp;cond, Callable &amp;&amp;pre, CallableAfter &amp;&amp;post)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00271">net.h:271</a></div></div>
<div class="ttc" id="classCConnman_html_ac95687bc3457cbc25a78abcc2a5cc7fc"><div class="ttname"><a href="classCConnman.html#ac95687bc3457cbc25a78abcc2a5cc7fc">CConnman::CheckIncomingNonce</a></div><div class="ttdeci">bool CheckIncomingNonce(uint64_t nonce)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00337">net.cpp:337</a></div></div>
<div class="ttc" id="classCNode_html_a1b6517682efa0709f44780a95384c4ec"><div class="ttname"><a href="classCNode.html#a1b6517682efa0709f44780a95384c4ec">CNode::addrLocal</a></div><div class="ttdeci">CService addrLocal</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00690">net.h:690</a></div></div>
<div class="ttc" id="clientmodel_8h_html_a7f98da21db559811eecbeda885046030"><div class="ttname"><a href="clientmodel_8h.html#a7f98da21db559811eecbeda885046030">NumConnections</a></div><div class="ttdeci">NumConnections</div><div class="ttdef"><b>Definition:</b> <a href="clientmodel_8h_source.html#l00034">clientmodel.h:34</a></div></div>
<div class="ttc" id="classCNode_html"><div class="ttname"><a href="classCNode.html">CNode</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00661">net.h:661</a></div></div>
<div class="ttc" id="net_8h_html_abc5c98fcc1211af2b80116dd6e0a035da8f7a4de904e634f46aa0d9b8fbf1b67e"><div class="ttname"><a href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da8f7a4de904e634f46aa0d9b8fbf1b67e">LOCAL_MAX</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00551">net.h:551</a></div></div>
<div class="ttc" id="util_8h_html_aab1f837a2366f424bdc996fdf6352171"><div class="ttname"><a href="util_8h.html#aab1f837a2366f424bdc996fdf6352171">LogPrint</a></div><div class="ttdeci">static int LogPrint(const char *category, const char *format)</div><div class="ttdef"><b>Definition:</b> <a href="util_8h_source.html#l00126">util.h:126</a></div></div>
<div class="ttc" id="classCConnman_html_a4773d15bc6d7d78d15b38a5bc72c992f"><div class="ttname"><a href="classCConnman.html#a4773d15bc6d7d78d15b38a5bc72c992f">CConnman::GetOutboundTargetBytesLeft</a></div><div class="ttdeci">uint64_t GetOutboundTargetBytesLeft()</div><div class="ttdoc">response the bytes left in the current max outbound cycle </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02626">net.cpp:2626</a></div></div>
<div class="ttc" id="classCTransaction_html"><div class="ttname"><a href="classCTransaction.html">CTransaction</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00210">transaction.h:210</a></div></div>
<div class="ttc" id="classCNodeStats_html_a905b33fdcf0443f25fa19ea4d10e8e59"><div class="ttname"><a href="classCNodeStats.html#a905b33fdcf0443f25fa19ea4d10e8e59">CNodeStats::nTimeOffset</a></div><div class="ttdeci">int64_t nTimeOffset</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00600">net.h:600</a></div></div>
<div class="ttc" id="classCConnman_html_a289dca0ee65310fcfc5b552249fc0401"><div class="ttname"><a href="classCConnman.html#a289dca0ee65310fcfc5b552249fc0401">CConnman::Stop</a></div><div class="ttdeci">void Stop()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02306">net.cpp:2306</a></div></div>
<div class="ttc" id="net_8h_html_a8a814f8f9920a3ece14c33fe051acdf3"><div class="ttname"><a href="net_8h.html#a8a814f8f9920a3ece14c33fe051acdf3">BindListenPort</a></div><div class="ttdeci">bool BindListenPort(const CService &amp;bindAddr, std::string &amp;strError, bool fWhitelisted=false)</div></div>
<div class="ttc" id="classCConnman_html_ad938d53e18ad8662aa5b8495bf001937"><div class="ttname"><a href="classCConnman.html#ad938d53e18ad8662aa5b8495bf001937">CConnman::GetNodeStats</a></div><div class="ttdeci">void GetNodeStats(std::vector&lt; CNodeStats &gt; &amp;vstats)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02443">net.cpp:2443</a></div></div>
<div class="ttc" id="sync_8h_html_a911fe23f057c2fe5aad629162d6c99d0"><div class="ttname"><a href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a></div><div class="ttdeci">#define LOCK(cs)</div><div class="ttdef"><b>Definition:</b> <a href="sync_8h_source.html#l00168">sync.h:168</a></div></div>
<div class="ttc" id="classCConnman_html_a78c7481e9b2575bb1fb37078e28a1c6a"><div class="ttname"><a href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6a">CConnman::NumConnections</a></div><div class="ttdeci">NumConnections</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00112">net.h:112</a></div></div>
<div class="ttc" id="classCNodeStats_html_a86ff627e31f8ab881a8e11bb3acf4f19"><div class="ttname"><a href="classCNodeStats.html#a86ff627e31f8ab881a8e11bb3acf4f19">CNodeStats::nStartingHeight</a></div><div class="ttdeci">int nStartingHeight</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00605">net.h:605</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a48c33ead9af87461d5d4023e1e34ade2"><div class="ttname"><a href="structCConnman_1_1Options.html#a48c33ead9af87461d5d4023e1e34ade2">CConnman::Options::nMaxOutbound</a></div><div class="ttdeci">int nMaxOutbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00124">net.h:124</a></div></div>
<div class="ttc" id="classCConnman_html_a217dabe388fc5e97064cc8848abbe502"><div class="ttname"><a href="classCConnman.html#a217dabe388fc5e97064cc8848abbe502">CConnman::ForEachNodeThen</a></div><div class="ttdeci">void ForEachNodeThen(Callable &amp;&amp;pre, CallableAfter &amp;&amp;post) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00299">net.h:299</a></div></div>
<div class="ttc" id="classCConnman_html_af869675d30f1c016912c7ebc2ec8e409"><div class="ttname"><a href="classCConnman.html#af869675d30f1c016912c7ebc2ec8e409">CConnman::semMasternodeOutbound</a></div><div class="ttdeci">CSemaphore * semMasternodeOutbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00486">net.h:486</a></div></div>
<div class="ttc" id="net_8h_html_a058b75c6fcc94a0643184c237ad6de93"><div class="ttname"><a href="net_8h.html#a058b75c6fcc94a0643184c237ad6de93">IsPeerAddrLocalGood</a></div><div class="ttdeci">bool IsPeerAddrLocalGood(CNode *pnode)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00176">net.cpp:176</a></div></div>
<div class="ttc" id="classCConnman_html_a0cc39d54353d7edc2a57f4a4e4d0912a"><div class="ttname"><a href="classCConnman.html#a0cc39d54353d7edc2a57f4a4e4d0912a">CConnman::OpenNetworkConnection</a></div><div class="ttdeci">bool OpenNetworkConnection(const CAddress &amp;addrConnect, CSemaphoreGrant *grantOutbound=NULL, const char *strDest=NULL, bool fOneShot=false, bool fFeeler=false)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01886">net.cpp:1886</a></div></div>
<div class="ttc" id="classCConnman_html_aab00be311fc6aea398d4caf2f9b9e770"><div class="ttname"><a href="classCConnman.html#aab00be311fc6aea398d4caf2f9b9e770">CConnman::vWhitelistedRange</a></div><div class="ttdeci">std::vector&lt; CSubNet &gt; vWhitelistedRange</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00457">net.h:457</a></div></div>
<div class="ttc" id="classCNode_html_a72211aaf51af2e981e6b8a1deb73c836"><div class="ttname"><a href="classCNode.html#a72211aaf51af2e981e6b8a1deb73c836">CNode::GetRefCount</a></div><div class="ttdeci">int GetRefCount()</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00802">net.h:802</a></div></div>
<div class="ttc" id="classCNodeStats_html_a39afa3b5edc1747678667aae5acab3ec"><div class="ttname"><a href="classCNodeStats.html#a39afa3b5edc1747678667aae5acab3ec">CNodeStats::fWhitelisted</a></div><div class="ttdeci">bool fWhitelisted</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00610">net.h:610</a></div></div>
<div class="ttc" id="classCConnman_html_a494218531e4289a5c0b9c373890454c4"><div class="ttname"><a href="classCConnman.html#a494218531e4289a5c0b9c373890454c4">CConnman::RecordBytesSent</a></div><div class="ttdeci">void RecordBytesSent(uint64_t bytes)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02541">net.cpp:2541</a></div></div>
<div class="ttc" id="classCConnman_html_a78c7481e9b2575bb1fb37078e28a1c6aa8ee363e1db3837d38b4ce949d29daa7c"><div class="ttname"><a href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa8ee363e1db3837d38b4ce949d29daa7c">CConnman::CONNECTIONS_OUT</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00115">net.h:115</a></div></div>
<div class="ttc" id="structCConnman_1_1ListenSocket_html_a839d24d26f7443396e4faa25fa7fdb76"><div class="ttname"><a href="structCConnman_1_1ListenSocket.html#a839d24d26f7443396e4faa25fa7fdb76">CConnman::ListenSocket::ListenSocket</a></div><div class="ttdeci">ListenSocket(SOCKET socket_, bool whitelisted_)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00395">net.h:395</a></div></div>
<div class="ttc" id="classCNode_html_a64b2550ec558b6106ebc122d450ad35b"><div class="ttname"><a href="classCNode.html#a64b2550ec558b6106ebc122d450ad35b">CNode::fInbound</a></div><div class="ttdeci">bool fInbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00702">net.h:702</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="classCNode_html_a9a077fbd09ddee1d81f027bc01a4ec68"><div class="ttname"><a href="classCNode.html#a9a077fbd09ddee1d81f027bc01a4ec68">CNode::nPingNonceSent</a></div><div class="ttdeci">uint64_t nPingNonceSent</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00759">net.h:759</a></div></div>
<div class="ttc" id="classCNode_html_a30f76a69e956d342bdbb400541c98ccb"><div class="ttname"><a href="classCNode.html#a30f76a69e956d342bdbb400541c98ccb">CNode::nProcessQueueSize</a></div><div class="ttdeci">size_t nProcessQueueSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00677">net.h:677</a></div></div>
<div class="ttc" id="structLocalServiceInfo_html"><div class="ttname"><a href="structLocalServiceInfo.html">LocalServiceInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00582">net.h:582</a></div></div>
<div class="ttc" id="classCConnman_html_a2e995b2e487c70aa43fd84a0f78305b4"><div class="ttname"><a href="classCConnman.html#a2e995b2e487c70aa43fd84a0f78305b4">CConnman::addrman</a></div><div class="ttdeci">CAddrMan addrman</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00469">net.h:469</a></div></div>
<div class="ttc" id="net_8h_html_abc5c98fcc1211af2b80116dd6e0a035dafa44f0377f6449a82e1e6176acfe44f7"><div class="ttname"><a href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafa44f0377f6449a82e1e6176acfe44f7">LOCAL_IF</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00546">net.h:546</a></div></div>
<div class="ttc" id="classCConnman_html_a78430cdfe79954901d243de24fd4da63"><div class="ttname"><a href="classCConnman.html#a78430cdfe79954901d243de24fd4da63">CConnman::ForEachNode</a></div><div class="ttdeci">void ForEachNode(Callable &amp;&amp;func) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00265">net.h:265</a></div></div>
<div class="ttc" id="net_8h_html_a58a39fe81582f307b3165d13dc7dcf2f"><div class="ttname"><a href="net_8h.html#a58a39fe81582f307b3165d13dc7dcf2f">MAX_OUTBOUND_MASTERNODE_CONNECTIONS</a></div><div class="ttdeci">static const int MAX_OUTBOUND_MASTERNODE_CONNECTIONS</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00065">net.h:65</a></div></div>
<div class="ttc" id="classCConnman_html_aecacad9a722bf0b065b2e3062d8506c4"><div class="ttname"><a href="classCConnman.html#aecacad9a722bf0b065b2e3062d8506c4">CConnman::ForEachNodeContinueIf</a></div><div class="ttdeci">bool ForEachNodeContinueIf(Callable &amp;&amp;func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00216">net.h:216</a></div></div>
<div class="ttc" id="classCNode_html_a05f0401427c5ffebd1ca404848e83ff7"><div class="ttname"><a href="classCNode.html#a05f0401427c5ffebd1ca404848e83ff7">CNode::cleanSubVer</a></div><div class="ttdeci">std::string cleanSubVer</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00697">net.h:697</a></div></div>
<div class="ttc" id="net_8h_html_a040c40f60af5f50a128fc1aac4cb5ebd"><div class="ttname"><a href="net_8h.html#a040c40f60af5f50a128fc1aac4cb5ebd">RemoveLocal</a></div><div class="ttdeci">bool RemoveLocal(const CService &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00236">net.cpp:236</a></div></div>
<div class="ttc" id="classCNodeStats_html_a34627c46cac7bc2bfb3406c954522b49"><div class="ttname"><a href="classCNodeStats.html#a34627c46cac7bc2bfb3406c954522b49">CNodeStats::fInbound</a></div><div class="ttdeci">bool fInbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00604">net.h:604</a></div></div>
<div class="ttc" id="classCConnman_html_aa12d154df14eef07418a36362d1cb8d7"><div class="ttname"><a href="classCConnman.html#aa12d154df14eef07418a36362d1cb8d7">CConnman::OutboundTargetReached</a></div><div class="ttdeci">bool OutboundTargetReached(bool historicalBlockServingLimit)</div><div class="ttdoc">check if the outbound target is reached </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02606">net.cpp:2606</a></div></div>
<div class="ttc" id="classCNodeStats_html_a572d0919667308b1817d4e0386b7e927"><div class="ttname"><a href="classCNodeStats.html#a572d0919667308b1817d4e0386b7e927">CNodeStats::addr</a></div><div class="ttdeci">CAddress addr</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00615">net.h:615</a></div></div>
<div class="ttc" id="classCNode_html_a7cef2333aa8776127a7e7fcab659eb6a"><div class="ttname"><a href="classCNode.html#a7cef2333aa8776127a7e7fcab659eb6a">CNode::PushInventory</a></div><div class="ttdeci">void PushInventory(const CInv &amp;inv)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00866">net.h:866</a></div></div>
<div class="ttc" id="classCConnman_html_a4ee3395b9ce47619ba794649ee86014b"><div class="ttname"><a href="classCConnman.html#a4ee3395b9ce47619ba794649ee86014b">CConnman::threadDNSAddressSeed</a></div><div class="ttdeci">std::thread threadDNSAddressSeed</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00502">net.h:502</a></div></div>
<div class="ttc" id="classCNodeStats_html_a3c70b0862e9ddd682380114016196137"><div class="ttname"><a href="classCNodeStats.html#a3c70b0862e9ddd682380114016196137">CNodeStats::nSendBytes</a></div><div class="ttdeci">uint64_t nSendBytes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00606">net.h:606</a></div></div>
<div class="ttc" id="classCConnman_html_a36cf799d267785276497583398dfd4cd"><div class="ttname"><a href="classCConnman.html#a36cf799d267785276497583398dfd4cd">CConnman::SetBestHeight</a></div><div class="ttdeci">void SetBestHeight(int height)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02652">net.cpp:2652</a></div></div>
<div class="ttc" id="classCSemaphore_html"><div class="ttname"><a href="classCSemaphore.html">CSemaphore</a></div><div class="ttdef"><b>Definition:</b> <a href="sync_8h_source.html#l00184">sync.h:184</a></div></div>
<div class="ttc" id="classCNode_html_a3c99b7e2b0e53feb58f6859453456f74"><div class="ttname"><a href="classCNode.html#a3c99b7e2b0e53feb58f6859453456f74">CNode::nSendSize</a></div><div class="ttdeci">size_t nSendSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00669">net.h:669</a></div></div>
<div class="ttc" id="netaddress_8h_html_acc9a38c714afe79b5035cb36f560dac3"><div class="ttname"><a href="netaddress_8h.html#acc9a38c714afe79b5035cb36f560dac3">Network</a></div><div class="ttdeci">Network</div><div class="ttdef"><b>Definition:</b> <a href="netaddress_8h_source.html#l00019">netaddress.h:19</a></div></div>
<div class="ttc" id="classCNodeStats_html_a2a5592713ed3de8d19057b0c86632af2"><div class="ttname"><a href="classCNodeStats.html#a2a5592713ed3de8d19057b0c86632af2">CNodeStats::fRelayTxes</a></div><div class="ttdeci">bool fRelayTxes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00596">net.h:596</a></div></div>
<div class="ttc" id="util_8h_html"><div class="ttname"><a href="util_8h.html">util.h</a></div></div>
<div class="ttc" id="classCNode_html_a3da9c559959e182aff8439cd004ff624"><div class="ttname"><a href="classCNode.html#a3da9c559959e182aff8439cd004ff624">CNode::fGetAddr</a></div><div class="ttdeci">bool fGetAddr</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00734">net.h:734</a></div></div>
<div class="ttc" id="net_8h_html_abc5c98fcc1211af2b80116dd6e0a035daad42caef30be428cb73f7d2753b5162e"><div class="ttname"><a href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035daad42caef30be428cb73f7d2753b5162e">LOCAL_BIND</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00547">net.h:547</a></div></div>
<div class="ttc" id="net_8h_html_a0bb441ba7fab4118434b1a24b7b50586"><div class="ttname"><a href="net_8h.html#a0bb441ba7fab4118434b1a24b7b50586">DEFAULT_MAX_PEER_CONNECTIONS</a></div><div class="ttdeci">static const unsigned int DEFAULT_MAX_PEER_CONNECTIONS</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00079">net.h:79</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a63829fe8ee352b187f14307ce9c4c8b6"><div class="ttname"><a href="structCConnman_1_1Options.html#a63829fe8ee352b187f14307ce9c4c8b6">CConnman::Options::nMaxFeeler</a></div><div class="ttdeci">int nMaxFeeler</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00125">net.h:125</a></div></div>
<div class="ttc" id="classCDataStream_html"><div class="ttname"><a href="classCDataStream.html">CDataStream</a></div><div class="ttdef"><b>Definition:</b> <a href="streams_8h_source.html#l00030">streams.h:30</a></div></div>
<div class="ttc" id="classCNode_html_a68e5fb1a80fe4247aa577a3c9a74b399"><div class="ttname"><a href="classCNode.html#a68e5fb1a80fe4247aa577a3c9a74b399">CNode::vSendMsg</a></div><div class="ttdeci">std::deque&lt; CSerializeData &gt; vSendMsg</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00672">net.h:672</a></div></div>
<div class="ttc" id="classCSemaphoreGrant_html"><div class="ttname"><a href="classCSemaphoreGrant.html">CSemaphoreGrant</a></div><div class="ttdef"><b>Definition:</b> <a href="sync_8h_source.html#l00223">sync.h:223</a></div></div>
<div class="ttc" id="classCNode_html_a119824dcaebcd3c8e272a68f19a60c43"><div class="ttname"><a href="classCNode.html#a119824dcaebcd3c8e272a68f19a60c43">CNode::fMasternode</a></div><div class="ttdeci">bool fMasternode</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00712">net.h:712</a></div></div>
<div class="ttc" id="classCConnman_html_a8855eb8f432a1fe07b2cc373cc9a3a50"><div class="ttname"><a href="classCConnman.html#a8855eb8f432a1fe07b2cc373cc9a3a50">CConnman::nReceiveFloodSize</a></div><div class="ttdeci">unsigned int nReceiveFloodSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00461">net.h:461</a></div></div>
<div class="ttc" id="net_8h_html_abc5c98fcc1211af2b80116dd6e0a035da1d33b76bcbc0dbb757cc02bb2259775b"><div class="ttname"><a href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1d33b76bcbc0dbb757cc02bb2259775b">LOCAL_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00545">net.h:545</a></div></div>
<div class="ttc" id="classCBloomFilter_html"><div class="ttname"><a href="classCBloomFilter.html">CBloomFilter</a></div><div class="ttdef"><b>Definition:</b> <a href="bloom_8h_source.html#l00044">bloom.h:44</a></div></div>
<div class="ttc" id="classCNode_html_aaa7ed919e1ed445dd9589b984231ba46"><div class="ttname"><a href="classCNode.html#aaa7ed919e1ed445dd9589b984231ba46">CNode::GetLocalServices</a></div><div class="ttdeci">ServiceFlags GetLocalServices() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00897">net.h:897</a></div></div>
<div class="ttc" id="net_8h_html_ae2dce03e604687e4029cdd759eba1ee0"><div class="ttname"><a href="net_8h.html#ae2dce03e604687e4029cdd759eba1ee0">SetLimited</a></div><div class="ttdeci">void SetLimited(enum Network net, bool fLimited=true)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00245">net.cpp:245</a></div></div>
<div class="ttc" id="classCConnman_html_a658377e872bac0f15361b02f38e00bdd"><div class="ttname"><a href="classCConnman.html#a658377e872bac0f15361b02f38e00bdd">CConnman::CopyNodeVector</a></div><div class="ttdeci">std::vector&lt; CNode * &gt; CopyNodeVector()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02896">net.cpp:2896</a></div></div>
<div class="ttc" id="classCConnman_html_a46915b82dd2183baf2944d74d88a4228"><div class="ttname"><a href="classCConnman.html#a46915b82dd2183baf2944d74d88a4228">CConnman::SetServices</a></div><div class="ttdeci">void SetServices(const CService &amp;addr, ServiceFlags nServices)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02380">net.cpp:2380</a></div></div>
<div class="ttc" id="classCConnman_html_a492f8afd8cbd66b16401727d2f521e43"><div class="ttname"><a href="classCConnman.html#a492f8afd8cbd66b16401727d2f521e43">CConnman::nTotalBytesSent</a></div><div class="ttdeci">uint64_t nTotalBytesSent</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00447">net.h:447</a></div></div>
<div class="ttc" id="structCConnman_1_1ListenSocket_html_a89f7b8ffa14007712f339484ac315fc9"><div class="ttname"><a href="structCConnman_1_1ListenSocket.html#a89f7b8ffa14007712f339484ac315fc9">CConnman::ListenSocket::socket</a></div><div class="ttdeci">SOCKET socket</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00392">net.h:392</a></div></div>
<div class="ttc" id="net_8h_html_a6effe1e49e01d9e012c0c6b162a24007"><div class="ttname"><a href="net_8h.html#a6effe1e49e01d9e012c0c6b162a24007">mapAlreadyAskedFor</a></div><div class="ttdeci">limitedmap&lt; uint256, int64_t &gt; mapAlreadyAskedFor</div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a857dbc21954a6613fe0a3939521ae8c8"><div class="ttname"><a href="structCConnman_1_1Options.html#a857dbc21954a6613fe0a3939521ae8c8">CConnman::Options::nLocalServices</a></div><div class="ttdeci">ServiceFlags nLocalServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00121">net.h:121</a></div></div>
<div class="ttc" id="classCNode_html_aff4b68eeeee9bf1e27e14f2436a07556"><div class="ttname"><a href="classCNode.html#aff4b68eeeee9bf1e27e14f2436a07556">CNode::nNextAddrSend</a></div><div class="ttdeci">int64_t nNextAddrSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00736">net.h:736</a></div></div>
<div class="ttc" id="classCNetMessage_html_a80a6f95f0c187aa97788118248cbf452"><div class="ttname"><a href="classCNetMessage.html#a80a6f95f0c187aa97788118248cbf452">CNetMessage::hdrbuf</a></div><div class="ttdeci">CDataStream hdrbuf</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00625">net.h:625</a></div></div>
<div class="ttc" id="compat_8h_html"><div class="ttname"><a href="compat_8h.html">compat.h</a></div></div>
<div class="ttc" id="classCConnman_html_a2fdedb3739836bdc19590ad84960a3a6"><div class="ttname"><a href="classCConnman.html#a2fdedb3739836bdc19590ad84960a3a6">CConnman::flagInterruptMsgProc</a></div><div class="ttdeci">std::atomic&lt; bool &gt; flagInterruptMsgProc</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00498">net.h:498</a></div></div>
<div class="ttc" id="classCConnman_html_a246c1e7e5f8bb3e148a03177fd410517"><div class="ttname"><a href="classCConnman.html#a246c1e7e5f8bb3e148a03177fd410517">CConnman::nLocalServices</a></div><div class="ttdeci">ServiceFlags nLocalServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00480">net.h:480</a></div></div>
<div class="ttc" id="classCNetMessage_html"><div class="ttname"><a href="classCNetMessage.html">CNetMessage</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00621">net.h:621</a></div></div>
<div class="ttc" id="classCNode_html_a8352aa332af726ff117fb890c4dd3869"><div class="ttname"><a href="classCNode.html#a8352aa332af726ff117fb890c4dd3869">CNode::nPingUsecStart</a></div><div class="ttdeci">int64_t nPingUsecStart</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00761">net.h:761</a></div></div>
<div class="ttc" id="classCNode_html_afb65ed679f7bda59aab89e0f5afae292"><div class="ttname"><a href="classCNode.html#afb65ed679f7bda59aab89e0f5afae292">CNode::AddRef</a></div><div class="ttdeci">CNode * AddRef()</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00822">net.h:822</a></div></div>
<div class="ttc" id="classCNode_html_a7cda6efa6a9ef9db3eebe70fc3bdd45a"><div class="ttname"><a href="classCNode.html#a7cda6efa6a9ef9db3eebe70fc3bdd45a">CNode::hSocket</a></div><div class="ttdeci">SOCKET hSocket</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00668">net.h:668</a></div></div>
<div class="ttc" id="structCNodeSignals_html"><div class="ttname"><a href="structCNodeSignals.html">CNodeSignals</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00531">net.h:531</a></div></div>
<div class="ttc" id="namespacezmq__sub_html_ab82b53c595929ff5ab2d30ec91fd539a"><div class="ttname"><a href="namespacezmq__sub.html#ab82b53c595929ff5ab2d30ec91fd539a">zmq_sub.msg</a></div><div class="ttdeci">msg</div><div class="ttdef"><b>Definition:</b> <a href="zmq__sub_8py_source.html#l00022">zmq_sub.py:22</a></div></div>
<div class="ttc" id="classCNode_html_ab1b30fa8e48005752f6b0bcf43eca478"><div class="ttname"><a href="classCNode.html#ab1b30fa8e48005752f6b0bcf43eca478">CNode::setKnown</a></div><div class="ttdeci">std::set&lt; uint256 &gt; setKnown</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00735">net.h:735</a></div></div>
<div class="ttc" id="classCNode_html_afb40f43a51ba686de93256727351af07"><div class="ttname"><a href="classCNode.html#afb40f43a51ba686de93256727351af07">CNode::nLastRecv</a></div><div class="ttdeci">int64_t nLastRecv</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00684">net.h:684</a></div></div>
<div class="ttc" id="classCNetMessage_html_a19f23086d183f2f62d0371960b48c105"><div class="ttname"><a href="classCNetMessage.html#a19f23086d183f2f62d0371960b48c105">CNetMessage::CNetMessage</a></div><div class="ttdeci">CNetMessage(const CMessageHeader::MessageStartChars &amp;pchMessageStartIn, int nTypeIn, int nVersionIn)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00634">net.h:634</a></div></div>
<div class="ttc" id="classCNode_html_a8bbe2a7052476d62acf7f0a5a9c5981b"><div class="ttname"><a href="classCNode.html#a8bbe2a7052476d62acf7f0a5a9c5981b">CNode::nRecvBytes</a></div><div class="ttdeci">uint64_t nRecvBytes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00680">net.h:680</a></div></div>
<div class="ttc" id="classCConnman_html_a78c7481e9b2575bb1fb37078e28a1c6aa45b675928145678b43b3927be215c60f"><div class="ttname"><a href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa45b675928145678b43b3927be215c60f">CConnman::CONNECTIONS_ALL</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00116">net.h:116</a></div></div>
<div class="ttc" id="classCConnman_html_a4353881f4ed5f9fb22f13acdf1608a0a"><div class="ttname"><a href="classCConnman.html#a4353881f4ed5f9fb22f13acdf1608a0a">CConnman::interruptNet</a></div><div class="ttdeci">CThreadInterrupt interruptNet</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00500">net.h:500</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="classCNode_html_ad3096c14b54aa39a02edb63a4a734c3e"><div class="ttname"><a href="classCNode.html#ad3096c14b54aa39a02edb63a4a734c3e">CNode::fWhitelisted</a></div><div class="ttdeci">bool fWhitelisted</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00698">net.h:698</a></div></div>
<div class="ttc" id="classCNetMessage_html_a1a500121037490eec4b238906f3a23ad"><div class="ttname"><a href="classCNetMessage.html#a1a500121037490eec4b238906f3a23ad">CNetMessage::nHdrPos</a></div><div class="ttdeci">unsigned int nHdrPos</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00627">net.h:627</a></div></div>
<div class="ttc" id="structCConnman_1_1CAllNodes_html"><div class="ttname"><a href="structCConnman_1_1CAllNodes.html">CConnman::CAllNodes</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00156">net.h:156</a></div></div>
<div class="ttc" id="classCConnman_html_a4f931ae01a4c822a307620f4816cdee5"><div class="ttname"><a href="classCConnman.html#a4f931ae01a4c822a307620f4816cdee5">CConnman::Unban</a></div><div class="ttdeci">bool Unban(const CNetAddr &amp;ip)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00554">net.cpp:554</a></div></div>
<div class="ttc" id="classCNetMessage_html_a418f59287d1805dda6959f27a170c855"><div class="ttname"><a href="classCNetMessage.html#a418f59287d1805dda6959f27a170c855">CNetMessage::nDataPos</a></div><div class="ttdeci">unsigned int nDataPos</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00630">net.h:630</a></div></div>
<div class="ttc" id="classCSubNet_html"><div class="ttname"><a href="classCSubNet.html">CSubNet</a></div><div class="ttdef"><b>Definition:</b> <a href="netaddress_8h_source.html#l00094">netaddress.h:94</a></div></div>
<div class="ttc" id="classCNode_html_a1e8b0784cc82f33edc2dc4e2834d1ff0"><div class="ttname"><a href="classCNode.html#a1e8b0784cc82f33edc2dc4e2834d1ff0">CNode::cs_inventory</a></div><div class="ttdeci">CCriticalSection cs_inventory</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00742">net.h:742</a></div></div>
<div class="ttc" id="classCConnman_html_a50689d29e242bd9070f17bc62d32e90f"><div class="ttname"><a href="classCConnman.html#a50689d29e242bd9070f17bc62d32e90f">CConnman::cs_totalBytesSent</a></div><div class="ttdeci">CCriticalSection cs_totalBytesSent</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00445">net.h:445</a></div></div>
<div class="ttc" id="classCConnman_html_a61837aadc0749654a483532d145c277b"><div class="ttname"><a href="classCConnman.html#a61837aadc0749654a483532d145c277b">CConnman::DisconnectNode</a></div><div class="ttdeci">bool DisconnectNode(const std::string &amp;node)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02456">net.cpp:2456</a></div></div>
<div class="ttc" id="classCNode_html_a4d077afd5c600b9e3241abce4df60722"><div class="ttname"><a href="classCNode.html#a4d077afd5c600b9e3241abce4df60722">CNode::nMinPingUsecTime</a></div><div class="ttdeci">int64_t nMinPingUsecTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00765">net.h:765</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="classCNode_html_a1a1c0d94de0197c5c4abf5a8d13364f3"><div class="ttname"><a href="classCNode.html#a1a1c0d94de0197c5c4abf5a8d13364f3">CNode::hashContinue</a></div><div class="ttdeci">uint256 hashContinue</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00728">net.h:728</a></div></div>
<div class="ttc" id="classCNode_html_ad253434141efcbca34150864069aee7e"><div class="ttname"><a href="classCNode.html#ad253434141efcbca34150864069aee7e">CNode::nLastBlockTime</a></div><div class="ttdeci">std::atomic&lt; int64_t &gt; nLastBlockTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00754">net.h:754</a></div></div>
<div class="ttc" id="classCConnman_html_a058d19652e32dbc88f548e8654d675af"><div class="ttname"><a href="classCConnman.html#a058d19652e32dbc88f548e8654d675af">CConnman::AddWhitelistedRange</a></div><div class="ttdeci">void AddWhitelistedRange(const CSubNet &amp;subnet)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00628">net.cpp:628</a></div></div>
<div class="ttc" id="structLocalServiceInfo_html_aa5c39fec8cc69a43e393bb158f69224b"><div class="ttname"><a href="structLocalServiceInfo.html#aa5c39fec8cc69a43e393bb158f69224b">LocalServiceInfo::nPort</a></div><div class="ttdeci">int nPort</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00584">net.h:584</a></div></div>
<div class="ttc" id="net_8h_html_a84d4a16942889a214b340327d2597a05"><div class="ttname"><a href="net_8h.html#a84d4a16942889a214b340327d2597a05">MAX_ADDR_TO_SEND</a></div><div class="ttdeci">static const unsigned int MAX_ADDR_TO_SEND</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00057">net.h:57</a></div></div>
<div class="ttc" id="classCNodeStats_html_a67b3cd5817ad20bfb2d9eb1583f1deb5"><div class="ttname"><a href="classCNodeStats.html#a67b3cd5817ad20bfb2d9eb1583f1deb5">CNodeStats::nLastRecv</a></div><div class="ttdeci">int64_t nLastRecv</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00598">net.h:598</a></div></div>
<div class="ttc" id="classCConnman_html_a999ec42f1515f77096556c94c29c6538"><div class="ttname"><a href="classCConnman.html#a999ec42f1515f77096556c94c29c6538">CConnman::WakeMessageHandler</a></div><div class="ttdeci">void WakeMessageHandler()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01387">net.cpp:1387</a></div></div>
<div class="ttc" id="addrman_8h_html"><div class="ttname"><a href="addrman_8h.html">addrman.h</a></div></div>
<div class="ttc" id="classCConnman_html_a77e704e5251f7545d2f87d81f08181f2"><div class="ttname"><a href="classCConnman.html#a77e704e5251f7545d2f87d81f08181f2">CConnman::threadOpenConnections</a></div><div class="ttdeci">std::thread threadOpenConnections</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00505">net.h:505</a></div></div>
<div class="ttc" id="classCNodeStats_html_a6bfc3caa74e3e8621808969b178e9864"><div class="ttname"><a href="classCNodeStats.html#a6bfc3caa74e3e8621808969b178e9864">CNodeStats::dMinPing</a></div><div class="ttdeci">double dMinPing</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00613">net.h:613</a></div></div>
<div class="ttc" id="classCNode_html_a253ceac237f69cc1155bfb71acd0c48f"><div class="ttname"><a href="classCNode.html#a253ceac237f69cc1155bfb71acd0c48f">CNode::GetSendVersion</a></div><div class="ttdeci">int GetSendVersion() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00742">net.cpp:742</a></div></div>
<div class="ttc" id="classCNodeStats_html_a3d5133369e51db3c45839c8a68c662d1"><div class="ttname"><a href="classCNodeStats.html#a3d5133369e51db3c45839c8a68c662d1">CNodeStats::nTimeConnected</a></div><div class="ttdeci">int64_t nTimeConnected</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00599">net.h:599</a></div></div>
<div class="ttc" id="net_8h_html_a38af042899fdda9d7e8246e090cb98b6"><div class="ttname"><a href="net_8h.html#a38af042899fdda9d7e8246e090cb98b6">DEFAULT_MAXSENDBUFFER</a></div><div class="ttdeci">static const size_t DEFAULT_MAXSENDBUFFER</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00087">net.h:87</a></div></div>
<div class="ttc" id="classCConnman_html_a03645ed0eb723430af180ad2ae36adc3"><div class="ttname"><a href="classCConnman.html#a03645ed0eb723430af180ad2ae36adc3">CConnman::condMsgProc</a></div><div class="ttdeci">std::condition_variable condMsgProc</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00496">net.h:496</a></div></div>
<div class="ttc" id="structLocalServiceInfo_html_ad6a9d404fb109ba1506df3f6ca842ed5"><div class="ttname"><a href="structLocalServiceInfo.html#ad6a9d404fb109ba1506df3f6ca842ed5">LocalServiceInfo::nScore</a></div><div class="ttdeci">int nScore</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00583">net.h:583</a></div></div>
<div class="ttc" id="classCConnman_html_ab07810a88d9b1d7a0309509cf0cadd57"><div class="ttname"><a href="classCConnman.html#ab07810a88d9b1d7a0309509cf0cadd57">CConnman::fAddressesInitialized</a></div><div class="ttdeci">bool fAddressesInitialized</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00468">net.h:468</a></div></div>
<div class="ttc" id="classCNodeStats_html_a2979ff9e54e01402bfdb32f94276832b"><div class="ttname"><a href="classCNodeStats.html#a2979ff9e54e01402bfdb32f94276832b">CNodeStats::mapSendBytesPerMsgCmd</a></div><div class="ttdeci">mapMsgCmdSize mapSendBytesPerMsgCmd</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00607">net.h:607</a></div></div>
<div class="ttc" id="structCombinerAll_html_a5e00e6e750c3c080fef5c697a0bca1a0"><div class="ttname"><a href="structCombinerAll.html#a5e00e6e750c3c080fef5c697a0bca1a0">CombinerAll::operator()</a></div><div class="ttdeci">bool operator()(I first, I last) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00520">net.h:520</a></div></div>
<div class="ttc" id="classCConnman_html_a4ff8a26baa7a8f6182e05e7e1c923ed9"><div class="ttname"><a href="classCConnman.html#a4ff8a26baa7a8f6182e05e7e1c923ed9">CConnman::ForEachNodeContinueIf</a></div><div class="ttdeci">bool ForEachNodeContinueIf(Callable &amp;&amp;func) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00233">net.h:233</a></div></div>
<div class="ttc" id="net_8h_html_ab1fc2e0b012407353f610f4c3e1f5bc2"><div class="ttname"><a href="net_8h.html#ab1fc2e0b012407353f610f4c3e1f5bc2">DEFAULT_MAX_UPLOAD_TARGET</a></div><div class="ttdeci">static const uint64_t DEFAULT_MAX_UPLOAD_TARGET</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00081">net.h:81</a></div></div>
<div class="ttc" id="classCNode_html_ac0e40c335b80782bb5258dc4ffa94e34"><div class="ttname"><a href="classCNode.html#ac0e40c335b80782bb5258dc4ffa94e34">CNode::nSendVersion</a></div><div class="ttdeci">int nSendVersion</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00786">net.h:786</a></div></div>
<div class="ttc" id="classCNodeStats_html_a80881e53d65a34ea46b1614a7da7fab2"><div class="ttname"><a href="classCNodeStats.html#a80881e53d65a34ea46b1614a7da7fab2">CNodeStats::nServices</a></div><div class="ttdeci">ServiceFlags nServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00595">net.h:595</a></div></div>
<div class="ttc" id="classCNode_html_aa3315bf026b3c2e27f222b5540c6d472"><div class="ttname"><a href="classCNode.html#aa3315bf026b3c2e27f222b5540c6d472">CNode::PushBlockHash</a></div><div class="ttdeci">void PushBlockHash(const uint256 &amp;hash)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00879">net.h:879</a></div></div>
<div class="ttc" id="classCNode_html_a97a9784cba9ad06fd9444d940f5c011c"><div class="ttname"><a href="classCNode.html#a97a9784cba9ad06fd9444d940f5c011c">CNode::nNumWarningsSkipped</a></div><div class="ttdeci">int nNumWarningsSkipped</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00691">net.h:691</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="structCConnman_1_1CFullyConnectedOnly_html_ab1d29fa97c380b4701c7953ac0c391d6"><div class="ttname"><a href="structCConnman_1_1CFullyConnectedOnly.html#ab1d29fa97c380b4701c7953ac0c391d6">CConnman::CFullyConnectedOnly::operator()</a></div><div class="ttdeci">bool operator()(const CNode *pnode) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00149">net.h:149</a></div></div>
<div class="ttc" id="classCConnman_html_ab07ed95cf52f589101bda8fc881d2da1"><div class="ttname"><a href="classCConnman.html#ab07ed95cf52f589101bda8fc881d2da1">CConnman::GetTotalBytesSent</a></div><div class="ttdeci">uint64_t GetTotalBytesSent()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02641">net.cpp:2641</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="classCConnman_html_adce92c07b7355e841906b59cafdbe0c5"><div class="ttname"><a href="classCConnman.html#adce92c07b7355e841906b59cafdbe0c5">CConnman::vNodes</a></div><div class="ttdeci">std::vector&lt; CNode * &gt; vNodes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00474">net.h:474</a></div></div>
<div class="ttc" id="classCConnman_html_a9971c08442c2c5b23ec6598f9ef427db"><div class="ttname"><a href="classCConnman.html#a9971c08442c2c5b23ec6598f9ef427db">CConnman::SetMaxOutboundTarget</a></div><div class="ttdeci">void SetMaxOutboundTarget(uint64_t limit)</div><div class="ttdoc">set the max outbound target in bytes </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02558">net.cpp:2558</a></div></div>
<div class="ttc" id="classCNode_html_ac3054eb6ade84e8968f032ce3e700f6a"><div class="ttname"><a href="classCNode.html#ac3054eb6ade84e8968f032ce3e700f6a">CNode::AddInventoryKnown</a></div><div class="ttdeci">void AddInventoryKnown(const CInv &amp;inv)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00858">net.h:858</a></div></div>
<div class="ttc" id="structAddedNodeInfo_html_af35afd7b3a58c8798ace9ee2dccccab3"><div class="ttname"><a href="structAddedNodeInfo.html#af35afd7b3a58c8798ace9ee2dccccab3">AddedNodeInfo::strAddedNode</a></div><div class="ttdeci">std::string strAddedNode</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00098">net.h:98</a></div></div>
<div class="ttc" id="classCConnman_html_a12e5839242677181ea3633636670b062"><div class="ttname"><a href="classCConnman.html#a12e5839242677181ea3633636670b062">CConnman::ThreadMnbRequestConnections</a></div><div class="ttdeci">void ThreadMnbRequestConnections()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01842">net.cpp:1842</a></div></div>
<div class="ttc" id="classCNode_html_a973d29d89889cba8fe7909b1b8959592"><div class="ttname"><a href="classCNode.html#a973d29d89889cba8fe7909b1b8959592">CNode::nLastTXTime</a></div><div class="ttdeci">std::atomic&lt; int64_t &gt; nLastTXTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00755">net.h:755</a></div></div>
<div class="ttc" id="net_8h_html_ab02ff63dba2c3ee45ab07e28575d06c9"><div class="ttname"><a href="net_8h.html#ab02ff63dba2c3ee45ab07e28575d06c9">mapMsgCmdSize</a></div><div class="ttdeci">std::map&lt; std::string, uint64_t &gt; mapMsgCmdSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00589">net.h:589</a></div></div>
<div class="ttc" id="classCConnman_html_a765597cbfe99c083d8fa3d61bb464e34"><div class="ttname"><a href="classCConnman.html#a765597cbfe99c083d8fa3d61bb464e34">CConnman::ThreadSocketHandler</a></div><div class="ttdeci">void ThreadSocketHandler()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01109">net.cpp:1109</a></div></div>
<div class="ttc" id="version_8h_html_a7ef2601209957b98b7cc1a186f8e6e62"><div class="ttname"><a href="version_8h.html#a7ef2601209957b98b7cc1a186f8e6e62">MIN_PEER_PROTO_VERSION</a></div><div class="ttdeci">static const int MIN_PEER_PROTO_VERSION</div><div class="ttdoc">disconnect from peers older than this proto version </div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00022">version.h:22</a></div></div>
<div class="ttc" id="classCConnman_html_a609c5f40a52ca8d5036f65ebdb70469f"><div class="ttname"><a href="classCConnman.html#a609c5f40a52ca8d5036f65ebdb70469f">CConnman::GetLocalServices</a></div><div class="ttdeci">ServiceFlags GetLocalServices() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02647">net.cpp:2647</a></div></div>
<div class="ttc" id="classCConnman_html_a38959b6bfe2e0aa536f91e7f20db6aac"><div class="ttname"><a href="classCConnman.html#a38959b6bfe2e0aa536f91e7f20db6aac">CConnman::ForEachNodeThen</a></div><div class="ttdeci">void ForEachNodeThen(Callable &amp;&amp;pre, CallableAfter &amp;&amp;post)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00282">net.h:282</a></div></div>
<div class="ttc" id="classCConnman_html_adb38e15b9237df805562255d3ee8fa7e"><div class="ttname"><a href="classCConnman.html#adb38e15b9237df805562255d3ee8fa7e">CConnman::vAddedNodes</a></div><div class="ttdeci">std::vector&lt; std::string &gt; vAddedNodes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00472">net.h:472</a></div></div>
<div class="ttc" id="classCConnman_html_af809d4d6c2186a1d304d3e26ef4b0bc8"><div class="ttname"><a href="classCConnman.html#af809d4d6c2186a1d304d3e26ef4b0bc8">CConnman::AddressCurrentlyConnected</a></div><div class="ttdeci">void AddressCurrentlyConnected(const CService &amp;addr)</div></div>
<div class="ttc" id="net_8h_html_abb358e6d9aa1383e5196cb61f9357265"><div class="ttname"><a href="net_8h.html#abb358e6d9aa1383e5196cb61f9357265">DEFAULT_MISBEHAVING_BANTIME</a></div><div class="ttdeci">static const unsigned int DEFAULT_MISBEHAVING_BANTIME</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00092">net.h:92</a></div></div>
<div class="ttc" id="classCNode_html_a66aeed3b6534635d031dff3eee9538de"><div class="ttname"><a href="classCNode.html#a66aeed3b6534635d031dff3eee9538de">CNode::cs_filter</a></div><div class="ttdeci">CCriticalSection cs_filter</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00715">net.h:715</a></div></div>
<div class="ttc" id="structCNodeSignals_html_adbe101522cf1fd496a8fdf2667744f0f"><div class="ttname"><a href="structCNodeSignals.html#adbe101522cf1fd496a8fdf2667744f0f">CNodeSignals::ProcessMessages</a></div><div class="ttdeci">boost::signals2::signal&lt; bool(CNode *, CConnman &amp;, std::atomic&lt; bool &gt; &amp;), CombinerAll &gt; ProcessMessages</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00533">net.h:533</a></div></div>
<div class="ttc" id="structCConnman_1_1ListenSocket_html"><div class="ttname"><a href="structCConnman_1_1ListenSocket.html">CConnman::ListenSocket</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00391">net.h:391</a></div></div>
<div class="ttc" id="classCNodeStats_html_ac8892d29d7c246e34e78fbc15ae77276"><div class="ttname"><a href="classCNodeStats.html#ac8892d29d7c246e34e78fbc15ae77276">CNodeStats::nVersion</a></div><div class="ttdeci">int nVersion</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00602">net.h:602</a></div></div>
<div class="ttc" id="net_8h_html_a954d746a58632565552615fd0a4ee660"><div class="ttname"><a href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a></div><div class="ttdeci">int NodeId</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00094">net.h:94</a></div></div>
<div class="ttc" id="net_8h_html_a8316da05a5f15022dce5d0c2f82001fc"><div class="ttname"><a href="net_8h.html#a8316da05a5f15022dce5d0c2f82001fc">Discover</a></div><div class="ttdeci">void Discover(boost::thread_group &amp;threadGroup)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02062">net.cpp:2062</a></div></div>
<div class="ttc" id="classCConnman_html_aa7c6970ed98a4a7bafbc071d24897d13"><div class="ttname"><a href="classCConnman.html#aa7c6970ed98a4a7bafbc071d24897d13">CConnman::ThreadDNSAddressSeed</a></div><div class="ttdeci">void ThreadDNSAddressSeed()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01522">net.cpp:1522</a></div></div>
<div class="ttc" id="classCConnman_html_ab1cf2be67b3e98527c87e6d5261d267e"><div class="ttname"><a href="classCConnman.html#ab1cf2be67b3e98527c87e6d5261d267e">CConnman::GetMaxOutboundTimeLeftInCycle</a></div><div class="ttdeci">uint64_t GetMaxOutboundTimeLeftInCycle()</div><div class="ttdoc">response the time in second left in the current max outbound cycle </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02580">net.cpp:2580</a></div></div>
<div class="ttc" id="classCNode_html_a597b41bd64e2ac9391b7211e65aeb52a"><div class="ttname"><a href="classCNode.html#a597b41bd64e2ac9391b7211e65aeb52a">CNode::nStartingHeight</a></div><div class="ttdeci">int nStartingHeight</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00729">net.h:729</a></div></div>
<div class="ttc" id="sync_8h_html"><div class="ttname"><a href="sync_8h.html">sync.h</a></div></div>
<div class="ttc" id="classCConnman_html_a82a08ed68d1c70aab8d31e6af59523cd"><div class="ttname"><a href="classCConnman.html#a82a08ed68d1c70aab8d31e6af59523cd">CConnman::GetSendBufferSize</a></div><div class="ttdeci">unsigned int GetSendBufferSize() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02663">net.cpp:2663</a></div></div>
<div class="ttc" id="classCNode_html_a2fb06d8be1f078b8796dc5098f114d38"><div class="ttname"><a href="classCNode.html#a2fb06d8be1f078b8796dc5098f114d38">CNode::mapRecvBytesPerMsgCmd</a></div><div class="ttdeci">mapMsgCmdSize mapRecvBytesPerMsgCmd</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00725">net.h:725</a></div></div>
<div class="ttc" id="classCConnman_html_aa014a4c7bbfc843aa4fff786a2aa8c96"><div class="ttname"><a href="classCConnman.html#aa014a4c7bbfc843aa4fff786a2aa8c96">CConnman::IsBanned</a></div><div class="ttdeci">bool IsBanned(CNetAddr ip)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00484">net.cpp:484</a></div></div>
<div class="ttc" id="classCConnman_html_a0912548f2db81fc15f291ce42ac50f0e"><div class="ttname"><a href="classCConnman.html#a0912548f2db81fc15f291ce42ac50f0e">CConnman::threadMessageHandler</a></div><div class="ttdeci">std::thread threadMessageHandler</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00507">net.h:507</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_ab6e4a5465dcc41b7ba131ce04fb35ac3"><div class="ttname"><a href="structCConnman_1_1Options.html#ab6e4a5465dcc41b7ba131ce04fb35ac3">CConnman::Options::nSendBufferMaxSize</a></div><div class="ttdeci">unsigned int nSendBufferMaxSize</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00128">net.h:128</a></div></div>
<div class="ttc" id="classCConnman_html_a7ffb96b5277edc1e41cb705a5cbef72e"><div class="ttname"><a href="classCConnman.html#a7ffb96b5277edc1e41cb705a5cbef72e">CConnman::FindNode</a></div><div class="ttdeci">CNode * FindNode(const CNetAddr &amp;ip)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00301">net.cpp:301</a></div></div>
<div class="ttc" id="classCNodeStats_html_adc88b64389f26227db58ed86058d2e1a"><div class="ttname"><a href="classCNodeStats.html#adc88b64389f26227db58ed86058d2e1a">CNodeStats::nLastSend</a></div><div class="ttdeci">int64_t nLastSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00597">net.h:597</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="classCConnman_html_a447794157fee913aa13f3d0a7f946f2f"><div class="ttname"><a href="classCConnman.html#a447794157fee913aa13f3d0a7f946f2f">CConnman::ForNode</a></div><div class="ttdeci">bool ForNode(const CService &amp;addr, Callable &amp;&amp;func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00166">net.h:166</a></div></div>
<div class="ttc" id="classCNode_html_aae215e87e44ab3a4697ad2df1ec2725e"><div class="ttname"><a href="classCNode.html#aae215e87e44ab3a4697ad2df1ec2725e">CNode::PushBlockHashFromINV</a></div><div class="ttdeci">void PushBlockHashFromINV(const uint256 &amp;hash)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00885">net.h:885</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="classCNetMessage_html_ae7215dca62862a3688f7eeb94646c377"><div class="ttname"><a href="classCNetMessage.html#ae7215dca62862a3688f7eeb94646c377">CNetMessage::hdr</a></div><div class="ttdeci">CMessageHeader hdr</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00626">net.h:626</a></div></div>
<div class="ttc" id="net_8h_html_a2f02122aa15cdc5ac394b010f97422e9"><div class="ttname"><a href="net_8h.html#a2f02122aa15cdc5ac394b010f97422e9">MAX_SUBVERSION_LENGTH</a></div><div class="ttdeci">static const unsigned int MAX_SUBVERSION_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00061">net.h:61</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a83e2addcfd43683ff69eef0d61c38135"><div class="ttname"><a href="structCConnman_1_1Options.html#a83e2addcfd43683ff69eef0d61c38135">CConnman::Options::nMaxConnections</a></div><div class="ttdeci">int nMaxConnections</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00123">net.h:123</a></div></div>
<div class="ttc" id="net_8h_html_a9fa860f9d989072cec441fbee8d924fc"><div class="ttname"><a href="net_8h.html#a9fa860f9d989072cec441fbee8d924fc">DEFAULT_UPNP</a></div><div class="ttdeci">static const bool DEFAULT_UPNP</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00072">net.h:72</a></div></div>
<div class="ttc" id="classCConnman_html_afe4088d5d272b05197b0c2cfeb9bc50b"><div class="ttname"><a href="classCConnman.html#afe4088d5d272b05197b0c2cfeb9bc50b">CConnman::IsWhitelistedRange</a></div><div class="ttdeci">bool IsWhitelistedRange(const CNetAddr &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00619">net.cpp:619</a></div></div>
<div class="ttc" id="classCNodeStats_html_ad2bceab1a335d59f42af37178b72fee7"><div class="ttname"><a href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">CNodeStats::nodeid</a></div><div class="ttdeci">NodeId nodeid</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00594">net.h:594</a></div></div>
<div class="ttc" id="net_8h_html_a3b1400085260cb71fabfab55ade84c32"><div class="ttname"><a href="net_8h.html#a3b1400085260cb71fabfab55ade84c32">DEFAULT_BLOCKSONLY</a></div><div class="ttdeci">static const bool DEFAULT_BLOCKSONLY</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00083">net.h:83</a></div></div>
<div class="ttc" id="classCNode_html_a4bb25f8bdeeaff5e8cb08abc97bbc44d"><div class="ttname"><a href="classCNode.html#a4bb25f8bdeeaff5e8cb08abc97bbc44d">CNode::grantOutbound</a></div><div class="ttdeci">CSemaphoreGrant grantOutbound</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00713">net.h:713</a></div></div>
<div class="ttc" id="classCConnman_html_aadf6f72eea5e6014bd83c365064d6470"><div class="ttname"><a href="classCConnman.html#aadf6f72eea5e6014bd83c365064d6470">CConnman::PushMessageWithVersionAndFlag</a></div><div class="ttdeci">void PushMessageWithVersionAndFlag(CNode *pnode, int nVersion, int flag, const std::string &amp;sCommand, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00178">net.h:178</a></div></div>
<div class="ttc" id="net_8h_html_a24ecbac59f1e63af4c4c8c112f00468d"><div class="ttname"><a href="net_8h.html#a24ecbac59f1e63af4c4c8c112f00468d">PING_INTERVAL</a></div><div class="ttdeci">static const int PING_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00047">net.h:47</a></div></div>
<div class="ttc" id="classCConnman_html_a1cbf9aa1c0e71a10993116d7d7a25bd6"><div class="ttname"><a href="classCConnman.html#a1cbf9aa1c0e71a10993116d7d7a25bd6">CConnman::ForEachNodeContinueIf</a></div><div class="ttdeci">bool ForEachNodeContinueIf(const Condition &amp;cond, Callable &amp;&amp;func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00205">net.h:205</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_aac4a45ec513fe972d3060f93c92e951f"><div class="ttname"><a href="structCConnman_1_1Options.html#aac4a45ec513fe972d3060f93c92e951f">CConnman::Options::nRelevantServices</a></div><div class="ttdeci">ServiceFlags nRelevantServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00122">net.h:122</a></div></div>
<div class="ttc" id="classCNode_html_a7593dfbd76c34a81169e3fb2aa0e0cf7"><div class="ttname"><a href="classCNode.html#a7593dfbd76c34a81169e3fb2aa0e0cf7">CNode::mapAskFor</a></div><div class="ttdeci">std::multimap&lt; int64_t, CInv &gt; mapAskFor</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00744">net.h:744</a></div></div>
<div class="ttc" id="classCNode_html_a89226be680d821f4eef8fa391f4b4b6a"><div class="ttname"><a href="classCNode.html#a89226be680d821f4eef8fa391f4b4b6a">CNode::nNextInvSend</a></div><div class="ttdeci">int64_t nNextInvSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00745">net.h:745</a></div></div>
<div class="ttc" id="classCConnman_html_a4d51a2b0b901b8538ed7cf6a8df7a3ef"><div class="ttname"><a href="classCConnman.html#a4d51a2b0b901b8538ed7cf6a8df7a3ef">CConnman::Interrupt</a></div><div class="ttdeci">void Interrupt()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02290">net.cpp:2290</a></div></div>
<div class="ttc" id="classCConnman_html_a78c7481e9b2575bb1fb37078e28a1c6aa03265dbe8e18aa30dd559b9fa18a8acb"><div class="ttname"><a href="classCConnman.html#a78c7481e9b2575bb1fb37078e28a1c6aa03265dbe8e18aa30dd559b9fa18a8acb">CConnman::CONNECTIONS_IN</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00114">net.h:114</a></div></div>
<div class="ttc" id="classCNode_html_a5ab6745f890f7d018b8ab278a4aaf039"><div class="ttname"><a href="classCNode.html#a5ab6745f890f7d018b8ab278a4aaf039">CNode::nLastWarningTime</a></div><div class="ttdeci">int64_t nLastWarningTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00687">net.h:687</a></div></div>
<div class="ttc" id="classCConnman_html_a19b622717b482d588b2e9510a1163d35"><div class="ttname"><a href="classCConnman.html#a19b622717b482d588b2e9510a1163d35">CConnman::cs_vNodes</a></div><div class="ttdeci">CCriticalSection cs_vNodes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00476">net.h:476</a></div></div>
<div class="ttc" id="random_8h_html"><div class="ttname"><a href="random_8h.html">random.h</a></div></div>
<div class="ttc" id="classCNodeStats_html"><div class="ttname"><a href="classCNodeStats.html">CNodeStats</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00591">net.h:591</a></div></div>
<div class="ttc" id="classCNode_html_a3155cd313d85ec3ff691f8259a5f5345"><div class="ttname"><a href="classCNode.html#a3155cd313d85ec3ff691f8259a5f5345">CNode::addrName</a></div><div class="ttdeci">std::string addrName</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00689">net.h:689</a></div></div>
<div class="ttc" id="net_8h_html_a6c58f8ccc4c93105a44caf588562d609"><div class="ttname"><a href="net_8h.html#a6c58f8ccc4c93105a44caf588562d609">strSubVersion</a></div><div class="ttdeci">std::string strSubVersion</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00083">net.cpp:83</a></div></div>
<div class="ttc" id="classCAddrMan_html"><div class="ttname"><a href="classCAddrMan.html">CAddrMan</a></div><div class="ttdef"><b>Definition:</b> <a href="addrman_8h_source.html#l00172">addrman.h:172</a></div></div>
<div class="ttc" id="classCConnman_html_ab94bcc3fb7745cd4aee32c4b8394bed1"><div class="ttname"><a href="classCConnman.html#ab94bcc3fb7745cd4aee32c4b8394bed1">CConnman::threadOpenAddedConnections</a></div><div class="ttdeci">std::thread threadOpenAddedConnections</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00504">net.h:504</a></div></div>
<div class="ttc" id="classCConnman_html_aecc69dfb264443440fe352450c3f6165"><div class="ttname"><a href="classCConnman.html#aecc69dfb264443440fe352450c3f6165">CConnman::threadMnbRequestConnections</a></div><div class="ttdeci">std::thread threadMnbRequestConnections</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00506">net.h:506</a></div></div>
<div class="ttc" id="classCNetMessage_html_a99d5bbca862ac4b7a88b71a7b679decc"><div class="ttname"><a href="classCNetMessage.html#a99d5bbca862ac4b7a88b71a7b679decc">CNetMessage::nTime</a></div><div class="ttdeci">int64_t nTime</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00632">net.h:632</a></div></div>
<div class="ttc" id="net_8h_html_abc5c98fcc1211af2b80116dd6e0a035da85f937846a9820dce1ac928efee52a91"><div class="ttname"><a href="net_8h.html#abc5c98fcc1211af2b80116dd6e0a035da85f937846a9820dce1ac928efee52a91">LOCAL_MANUAL</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00549">net.h:549</a></div></div>
<div class="ttc" id="classCConnman_html_ac88ba00355f9d1870e216075a8f2c85c"><div class="ttname"><a href="classCConnman.html#ac88ba00355f9d1870e216075a8f2c85c">CConnman::nBestHeight</a></div><div class="ttdeci">std::atomic&lt; int &gt; nBestHeight</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00490">net.h:490</a></div></div>
<div class="ttc" id="classCConnman_html_a3de904541eed55727886098885fc5c3b"><div class="ttname"><a href="classCConnman.html#a3de904541eed55727886098885fc5c3b">CConnman::GetNewNodeId</a></div><div class="ttdeci">NodeId GetNewNodeId()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02151">net.cpp:2151</a></div></div>
<div class="ttc" id="net_8h_html_a48948c1d61d3fb24fbbb010eee32e4c4"><div class="ttname"><a href="net_8h.html#a48948c1d61d3fb24fbbb010eee32e4c4">WARNING_INTERVAL</a></div><div class="ttdeci">static const int WARNING_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00051">net.h:51</a></div></div>
<div class="ttc" id="classCConnman_html_afaf3119a1d1212256aa6f4b5763c29ca"><div class="ttname"><a href="classCConnman.html#afaf3119a1d1212256aa6f4b5763c29ca">CConnman::AddOneShot</a></div><div class="ttdeci">void AddOneShot(const std::string &amp;strDest)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00094">net.cpp:94</a></div></div>
<div class="ttc" id="classCConnman_html_afe88b51d85f5b77fd38cd0be1d177891"><div class="ttname"><a href="classCConnman.html#afe88b51d85f5b77fd38cd0be1d177891">CConnman::AcceptConnection</a></div><div class="ttdeci">void AcceptConnection(const ListenSocket &amp;hListenSocket)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01023">net.cpp:1023</a></div></div>
<div class="ttc" id="classCConnman_html_a1e4b04dc4c4502adbb735257cf757a66"><div class="ttname"><a href="classCConnman.html#a1e4b04dc4c4502adbb735257cf757a66">CConnman::AttemptToEvictConnection</a></div><div class="ttdeci">bool AttemptToEvictConnection()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00924">net.cpp:924</a></div></div>
<div class="ttc" id="classCConnman_html_a376121b9eccd7ebbe19d3c3c058146d4"><div class="ttname"><a href="classCConnman.html#a376121b9eccd7ebbe19d3c3c058146d4">CConnman::cs_totalBytesRecv</a></div><div class="ttdeci">CCriticalSection cs_totalBytesRecv</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00444">net.h:444</a></div></div>
<div class="ttc" id="classCConnman_html_a4ba34cd3557ab0ba1cfcbe7c18bf1199"><div class="ttname"><a href="classCConnman.html#a4ba34cd3557ab0ba1cfcbe7c18bf1199">CConnman::GetAddresses</a></div><div class="ttdeci">std::vector&lt; CAddress &gt; GetAddresses()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02400">net.cpp:2400</a></div></div>
<div class="ttc" id="net_8h_html_a37089835ec27ad8bf945a458708165b9"><div class="ttname"><a href="net_8h.html#a37089835ec27ad8bf945a458708165b9">fDiscover</a></div><div class="ttdeci">bool fDiscover</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00076">net.cpp:76</a></div></div>
<div class="ttc" id="classCConnman_html_ac4c8cf5142f88565e789f3b173d89b3e"><div class="ttname"><a href="classCConnman.html#ac4c8cf5142f88565e789f3b173d89b3e">CConnman::ThreadOpenConnections</a></div><div class="ttdeci">void ThreadOpenConnections()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l01620">net.cpp:1620</a></div></div>
<div class="ttc" id="classCNetMessage_html_a3e58f5f29b23d1377f8fd15fc75c78ac"><div class="ttname"><a href="classCNetMessage.html#a3e58f5f29b23d1377f8fd15fc75c78ac">CNetMessage::readHeader</a></div><div class="ttdeci">int readHeader(const char *pch, unsigned int nBytes)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00755">net.cpp:755</a></div></div>
<div class="ttc" id="classCConnman_html_a81ee60dee3278cf33319ab0c02c239bd"><div class="ttname"><a href="classCConnman.html#a81ee60dee3278cf33319ab0c02c239bd">CConnman::AllNodes</a></div><div class="ttdeci">static constexpr const CAllNodes AllNodes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00160">net.h:160</a></div></div>
<div class="ttc" id="classCNode_html_a2bb91c9968a9f855c05b1121100a8797"><div class="ttname"><a href="classCNode.html#a2bb91c9968a9f855c05b1121100a8797">CNode::fOneShot</a></div><div class="ttdeci">bool fOneShot</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00700">net.h:700</a></div></div>
<div class="ttc" id="classCConnman_html_aec1d86d7a6bd9e10544b93ccb56adf0d"><div class="ttname"><a href="classCConnman.html#aec1d86d7a6bd9e10544b93ccb56adf0d">CConnman::ForEachNode</a></div><div class="ttdeci">void ForEachNode(Callable &amp;&amp;func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00249">net.h:249</a></div></div>
<div class="ttc" id="classCConnman_html_a9a7c3cfda53ccb9b9a33f4291043b47b"><div class="ttname"><a href="classCConnman.html#a9a7c3cfda53ccb9b9a33f4291043b47b">CConnman::SetNetworkActive</a></div><div class="ttdeci">void SetNetworkActive(bool active)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02113">net.cpp:2113</a></div></div>
<div class="ttc" id="classCNode_html_a51e1156224dc77de9c0812f599f1bff4"><div class="ttname"><a href="classCNode.html#a51e1156224dc77de9c0812f599f1bff4">CNode::mapSendBytesPerMsgCmd</a></div><div class="ttdeci">mapMsgCmdSize mapSendBytesPerMsgCmd</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00724">net.h:724</a></div></div>
<div class="ttc" id="classCNode_html_a090bda86de6b84c3db83e1f029d4f453"><div class="ttname"><a href="classCNode.html#a090bda86de6b84c3db83e1f029d4f453">CNode::nSendOffset</a></div><div class="ttdeci">size_t nSendOffset</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00670">net.h:670</a></div></div>
<div class="ttc" id="net_8h_html_a01304c8caa7997b48da307d19d1d284a"><div class="ttname"><a href="net_8h.html#a01304c8caa7997b48da307d19d1d284a">GetLocalAddress</a></div><div class="ttdeci">CAddress GetLocalAddress(const CNetAddr *paddrPeer, ServiceFlags nLocalServices)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00155">net.cpp:155</a></div></div>
<div class="ttc" id="net_8h_html_af677dfc85dddc429fe0303f338878ec0"><div class="ttname"><a href="net_8h.html#af677dfc85dddc429fe0303f338878ec0">MAX_INV_SZ</a></div><div class="ttdeci">static const unsigned int MAX_INV_SZ</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00055">net.h:55</a></div></div>
<div class="ttc" id="net_8h_html_a337d6af198a6b0d75f830e56da9b91e9"><div class="ttname"><a href="net_8h.html#a337d6af198a6b0d75f830e56da9b91e9">AddLocal</a></div><div class="ttdeci">bool AddLocal(const CService &amp;addr, int nScore=LOCAL_NONE)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00205">net.cpp:205</a></div></div>
<div class="ttc" id="classCConnman_html_a2d665bfdec68f6484b9f0d6760f9efd1"><div class="ttname"><a href="classCConnman.html#a2d665bfdec68f6484b9f0d6760f9efd1">CConnman::ForEachNode</a></div><div class="ttdeci">void ForEachNode(const Condition &amp;cond, Callable &amp;&amp;func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00239">net.h:239</a></div></div>
<div class="ttc" id="classCNetMessage_html_a1a25c16099d01362e1663390a2e06d1a"><div class="ttname"><a href="classCNetMessage.html#a1a25c16099d01362e1663390a2e06d1a">CNetMessage::vRecv</a></div><div class="ttdeci">CDataStream vRecv</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00629">net.h:629</a></div></div>
<div class="ttc" id="classCNodeStats_html_a1aaec0f47a95487cbd709caf15889663"><div class="ttname"><a href="classCNodeStats.html#a1aaec0f47a95487cbd709caf15889663">CNodeStats::nRecvBytes</a></div><div class="ttdeci">uint64_t nRecvBytes</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00608">net.h:608</a></div></div>
<div class="ttc" id="classCNode_html_a06950a5ce265a1d4df1aad7f28e6fde8"><div class="ttname"><a href="classCNode.html#a06950a5ce265a1d4df1aad7f28e6fde8">CNode::PushAddress</a></div><div class="ttdeci">void PushAddress(const CAddress &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00843">net.h:843</a></div></div>
<div class="ttc" id="classCNode_html_abb39393ef08cb5668ded6cb14cdbc147"><div class="ttname"><a href="classCNode.html#abb39393ef08cb5668ded6cb14cdbc147">CNode::nTimeConnected</a></div><div class="ttdeci">int64_t nTimeConnected</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00685">net.h:685</a></div></div>
<div class="ttc" id="net_8h_html_a475f2fc7d8f5cd7511db253cae8fe28a"><div class="ttname"><a href="net_8h.html#a475f2fc7d8f5cd7511db253cae8fe28a">GetNodeSignals</a></div><div class="ttdeci">CNodeSignals &amp; GetNodeSignals()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00092">net.cpp:92</a></div></div>
<div class="ttc" id="net_8h_html_a16fa1bd4d34c4c29c90903fc3cdf7517"><div class="ttname"><a href="net_8h.html#a16fa1bd4d34c4c29c90903fc3cdf7517">IsLocal</a></div><div class="ttdeci">bool IsLocal(const CService &amp;addr)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00278">net.cpp:278</a></div></div>
<div class="ttc" id="classCNode_html_af452f44f41e2e583e01a9b730e475c81"><div class="ttname"><a href="classCNode.html#af452f44f41e2e583e01a9b730e475c81">CNode::nLocalHostNonce</a></div><div class="ttdeci">uint64_t nLocalHostNonce</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00783">net.h:783</a></div></div>
<div class="ttc" id="classCConnman_html_a7432095afafaa80af8fd08b7d1b7e2ed"><div class="ttname"><a href="classCConnman.html#a7432095afafaa80af8fd08b7d1b7e2ed">CConnman::ForEachNodeThen</a></div><div class="ttdeci">void ForEachNodeThen(const Condition &amp;cond, Callable &amp;&amp;pre, CallableAfter &amp;&amp;post) const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00288">net.h:288</a></div></div>
<div class="ttc" id="net_8h_html_a62111271618110807cc534e55c13cb70"><div class="ttname"><a href="net_8h.html#a62111271618110807cc534e55c13cb70">cs_mapLocalHost</a></div><div class="ttdeci">CCriticalSection cs_mapLocalHost</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00079">net.cpp:79</a></div></div>
<div class="ttc" id="classCNode_html_a0a55cea2748b1837610b2caed8069a90"><div class="ttname"><a href="classCNode.html#a0a55cea2748b1837610b2caed8069a90">CNode::SetSendVersion</a></div><div class="ttdeci">void SetSendVersion(int nVersionIn)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00728">net.cpp:728</a></div></div>
<div class="ttc" id="classCNode_html_a1a2342bb4914d738c14c04affbcdac27"><div class="ttname"><a href="classCNode.html#a1a2342bb4914d738c14c04affbcdac27">CNode::nServices</a></div><div class="ttdeci">ServiceFlags nServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00666">net.h:666</a></div></div>
<div class="ttc" id="classCConnman_html_a62a79bcc191112ab8ea87e860a16d2a2"><div class="ttname"><a href="classCConnman.html#a62a79bcc191112ab8ea87e860a16d2a2">CConnman::SocketSendData</a></div><div class="ttdeci">size_t SocketSendData(CNode *pnode)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00811">net.cpp:811</a></div></div>
<div class="ttc" id="classCConnman_html_a1c714c44a6c870c08deddb267eaccba1"><div class="ttname"><a href="classCConnman.html#a1c714c44a6c870c08deddb267eaccba1">CConnman::setBannedIsDirty</a></div><div class="ttdeci">bool setBannedIsDirty</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00467">net.h:467</a></div></div>
<div class="ttc" id="classCConnman_html_a6305756f9622612ff70f3453a385535e"><div class="ttname"><a href="classCConnman.html#a6305756f9622612ff70f3453a385535e">CConnman::nRelevantServices</a></div><div class="ttdeci">ServiceFlags nRelevantServices</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00483">net.h:483</a></div></div>
<div class="ttc" id="classCConnman_html_ad38cc6cdc3b3767c2714452224895093"><div class="ttname"><a href="classCConnman.html#ad38cc6cdc3b3767c2714452224895093">CConnman::RecordBytesRecv</a></div><div class="ttdeci">void RecordBytesRecv(uint64_t bytes)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02535">net.cpp:2535</a></div></div>
<div class="ttc" id="classCConnman_html_a7083075680ab1633003a4a5acb09b453"><div class="ttname"><a href="classCConnman.html#a7083075680ab1633003a4a5acb09b453">CConnman::PushMessage</a></div><div class="ttdeci">void PushMessage(CNode *pnode, const std::string &amp;sCommand, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00199">net.h:199</a></div></div>
<div class="ttc" id="classCConnman_html_a4628ea4ab0119c4a396cdae10bc7d06e"><div class="ttname"><a href="classCConnman.html#a4628ea4ab0119c4a396cdae10bc7d06e">CConnman::SetMaxOutboundTimeframe</a></div><div class="ttdeci">void SetMaxOutboundTimeframe(uint64_t timeframe)</div><div class="ttdoc">set the timeframe for the max outbound target </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02594">net.cpp:2594</a></div></div>
<div class="ttc" id="classCNode_html_a0a2cdd01cb730536adf1780c3df66430"><div class="ttname"><a href="classCNode.html#a0a2cdd01cb730536adf1780c3df66430">CNode::nVersion</a></div><div class="ttdeci">std::atomic&lt; int &gt; nVersion</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00692">net.h:692</a></div></div>
<div class="ttc" id="classCNode_html_abcd24c9478bc1ab5ba6de6b369080cec"><div class="ttname"><a href="classCNode.html#abcd24c9478bc1ab5ba6de6b369080cec">CNode::vInventoryToSend</a></div><div class="ttdeci">std::vector&lt; CInv &gt; vInventoryToSend</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00741">net.h:741</a></div></div>
<div class="ttc" id="net_8h_html_af6d341a24d761a509fca026458cf2f72"><div class="ttname"><a href="net_8h.html#af6d341a24d761a509fca026458cf2f72">GetListenPort</a></div><div class="ttdeci">unsigned short GetListenPort()</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00100">net.cpp:100</a></div></div>
<div class="ttc" id="net_8h_html_a96eb2fba6d80870802ac787b6ada4beb"><div class="ttname"><a href="net_8h.html#a96eb2fba6d80870802ac787b6ada4beb">IsLimited</a></div><div class="ttdeci">bool IsLimited(enum Network net)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00253">net.cpp:253</a></div></div>
<div class="ttc" id="structCConnman_1_1Options_html_a4b779b0f0eba5f2cf82f431123466df5"><div class="ttname"><a href="structCConnman_1_1Options.html#a4b779b0f0eba5f2cf82f431123466df5">CConnman::Options::nBestHeight</a></div><div class="ttdeci">int nBestHeight</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00126">net.h:126</a></div></div>
<div class="ttc" id="classCConnman_html_a43269fed1e47109ee143249d1e762668"><div class="ttname"><a href="classCConnman.html#a43269fed1e47109ee143249d1e762668">CConnman::PushMessageWithFlag</a></div><div class="ttdeci">void PushMessageWithFlag(CNode *pnode, int flag, const std::string &amp;sCommand, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00187">net.h:187</a></div></div>
<div class="ttc" id="classCNetMessage_html_ae3b5f6110ae9a3c06397894cd46ab224"><div class="ttname"><a href="classCNetMessage.html#ae3b5f6110ae9a3c06397894cd46ab224">CNetMessage::complete</a></div><div class="ttdeci">bool complete() const</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00642">net.h:642</a></div></div>
<div class="ttc" id="classCConnman_html_af4cd7fce69f5bf61701c3735ba3bec79"><div class="ttname"><a href="classCConnman.html#af4cd7fce69f5bf61701c3735ba3bec79">CConnman::AddNode</a></div><div class="ttdeci">bool AddNode(const std::string &amp;node)</div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l02405">net.cpp:2405</a></div></div>
<div class="ttc" id="classCNode_html_a656cd9e578e6e1ee07c8b7064302f789"><div class="ttname"><a href="classCNode.html#a656cd9e578e6e1ee07c8b7064302f789">CNode::vchKeyedNetGroup</a></div><div class="ttdeci">std::vector&lt; unsigned char &gt; vchKeyedNetGroup</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00769">net.h:769</a></div></div>
<div class="ttc" id="classCConnman_html_a0695d37447e19cfde25be7e9b7f13f67"><div class="ttname"><a href="classCConnman.html#a0695d37447e19cfde25be7e9b7f13f67">CConnman::SweepBanned</a></div><div class="ttdeci">void SweepBanned()</div><div class="ttdoc">clean unused entries (if bantime has expired) </div><div class="ttdef"><b>Definition:</b> <a href="net_8cpp_source.html#l00585">net.cpp:585</a></div></div>
<div class="ttc" id="classCConnman_html_a626cf5fd895a959c73f7b77acc1a18a8"><div class="ttname"><a href="classCConnman.html#a626cf5fd895a959c73f7b77acc1a18a8">CConnman::nMaxOutboundTimeframe</a></div><div class="ttdeci">uint64_t nMaxOutboundTimeframe</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00453">net.h:453</a></div></div>
<div class="ttc" id="classCConnman_html_aae39909a16dd6dad7b487935eee5e152"><div class="ttname"><a href="classCConnman.html#aae39909a16dd6dad7b487935eee5e152">CConnman::ForNode</a></div><div class="ttdeci">bool ForNode(NodeId id, Callable &amp;&amp;func)</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00172">net.h:172</a></div></div>
<div class="ttc" id="classCNode_html_a2f7a99d038591b007d709a17cbdae3dd"><div class="ttname"><a href="classCNode.html#a2f7a99d038591b007d709a17cbdae3dd">CNode::vRecvMsg</a></div><div class="ttdeci">std::list&lt; CNetMessage &gt; vRecvMsg</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00787">net.h:787</a></div></div>
<div class="ttc" id="classCClientUIInterface_html"><div class="ttname"><a href="classCClientUIInterface.html">CClientUIInterface</a></div><div class="ttdef"><b>Definition:</b> <a href="ui__interface_8h_source.html#l00029">ui_interface.h:29</a></div></div>
<div class="ttc" id="classCNode_html_a81d6deb661c7386a453e0966d2dbc36f"><div class="ttname"><a href="classCNode.html#a81d6deb661c7386a453e0966d2dbc36f">CNode::cs_vProcessMsg</a></div><div class="ttdeci">CCriticalSection cs_vProcessMsg</div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00675">net.h:675</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="net_8h.html">net.h</a></li>
<li class="footer">Generated on Thu Dec 14 2017 13:15:03 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>