mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
166 lines
68 KiB
HTML
166 lines
68 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/qt/peertablemodel.cpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Dash Core
|
|
 <span id="projectnumber">0.12.2.1</span>
|
|
</div>
|
|
<div id="projectbrief">P2P Digital Currency</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('peertablemodel_8cpp_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">peertablemodel.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="peertablemodel_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (c) 2011-2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="peertablemodel_8h.html">peertablemodel.h</a>"</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="clientmodel_8h.html">clientmodel.h</a>"</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="guiconstants_8h.html">guiconstants.h</a>"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="guiutil_8h.html">guiutil.h</a>"</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "validation.h"</span> <span class="comment">// for cs_main</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="sync_8h.html">sync.h</a>"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <QDebug></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <QList></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <QTimer></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classNodeLessThan.html#a001e114bc5defaaec4feb1be3c71a327"> 18</a></span> <span class="keywordtype">bool</span> <a class="code" href="classNodeLessThan.html#a001e114bc5defaaec4feb1be3c71a327">NodeLessThan::operator()</a>(<span class="keyword">const</span> <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> &left, <span class="keyword">const</span> <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> &right)<span class="keyword"> const</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword"></span>{</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">const</span> <a class="code" href="classCNodeStats.html">CNodeStats</a> *pLeft = &(left.<a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>);</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">const</span> <a class="code" href="classCNodeStats.html">CNodeStats</a> *pRight = &(right.<a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">if</span> (<a class="code" href="classNodeLessThan.html#afb215ca60b4a3825effc6240b0574935">order</a> == Qt::DescendingOrder)</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  std::swap(pLeft, pRight);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">switch</span>(<a class="code" href="classNodeLessThan.html#acc9f42703050380bea358b30ce079f08">column</a>)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a8ee229da5c6b0e98788b9baae0362aa2">PeerTableModel::NetNodeId</a>:</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> pLeft-><a class="code" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">nodeid</a> < pRight-><a class="code" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">nodeid</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a101063cc6b840d0857aa79929703d16a">PeerTableModel::Address</a>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> pLeft-><a class="code" href="classCNodeStats.html#a3299ecdae870c367fe657f3f59b27e43">addrName</a>.compare(pRight-><a class="code" href="classCNodeStats.html#a3299ecdae870c367fe657f3f59b27e43">addrName</a>) < 0;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590aa4408c536a178490700310f01cf0d455">PeerTableModel::Subversion</a>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> pLeft-><a class="code" href="classCNodeStats.html#ad733b840ac9a16a7eb6166ea4984d8a8">cleanSubVer</a>.compare(pRight-><a class="code" href="classCNodeStats.html#ad733b840ac9a16a7eb6166ea4984d8a8">cleanSubVer</a>) < 0;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a7e5e92f542ecbb90307e99c213274957">PeerTableModel::Ping</a>:</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">return</span> pLeft-><a class="code" href="classCNodeStats.html#a6bfc3caa74e3e8621808969b178e9864">dMinPing</a> < pRight-><a class="code" href="classCNodeStats.html#a6bfc3caa74e3e8621808969b178e9864">dMinPing</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  }</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> }</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// private implementation</span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="classPeerTablePriv.html">PeerTablePriv</a></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761"> 46</a></span>  QList<CNodeCombinedStats> <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#a4917597853d2d5f0055be017b8ab33c5"> 48</a></span>  <span class="keywordtype">int</span> <a class="code" href="classPeerTablePriv.html#a4917597853d2d5f0055be017b8ab33c5">sortColumn</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#adb95d4bbc4fb13a21a360108aeca5c32"> 50</a></span>  Qt::SortOrder <a class="code" href="classPeerTablePriv.html#adb95d4bbc4fb13a21a360108aeca5c32">sortOrder</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#ae27db14bcbe769f494c4db56ef27fb08"> 52</a></span>  std::map<NodeId, int> <a class="code" href="classPeerTablePriv.html#ae27db14bcbe769f494c4db56ef27fb08">mapNodeRows</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#a304d99874f6cd0c67ed207546a5ca904"> 55</a></span>  <span class="keywordtype">void</span> <a class="code" href="classPeerTablePriv.html#a304d99874f6cd0c67ed207546a5ca904">refreshPeers</a>()</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.clear();</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  std::vector<CNodeStats> vstats;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">if</span>(<a class="code" href="init_8cpp.html#a152c3d2ceeeaf7a300666dcbcc8bb945">g_connman</a>)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="init_8cpp.html#a152c3d2ceeeaf7a300666dcbcc8bb945">g_connman</a>->GetNodeStats(vstats);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#if QT_VERSION >= 0x040700</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.reserve(vstats.size());</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  Q_FOREACH (<span class="keyword">const</span> <a class="code" href="classCNodeStats.html">CNodeStats</a>& nodestats, vstats)</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> stats;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  stats.<a class="code" href="structCNodeCombinedStats.html#a6ce7320fa9ca5a3706ec4caf76ac34a1">nodeStateStats</a>.<a class="code" href="structCNodeStateStats.html#a62c2243d09166c1daaad84519700da3c">nMisbehavior</a> = 0;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  stats.<a class="code" href="structCNodeCombinedStats.html#a6ce7320fa9ca5a3706ec4caf76ac34a1">nodeStateStats</a>.<a class="code" href="structCNodeStateStats.html#a7646deac801098e973a5bc50202f92cd">nSyncHeight</a> = -1;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  stats.<a class="code" href="structCNodeCombinedStats.html#a6ce7320fa9ca5a3706ec4caf76ac34a1">nodeStateStats</a>.<a class="code" href="structCNodeStateStats.html#a67c910a57285a63bbf0bb88ea7a9ca05">nCommonHeight</a> = -1;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  stats.<a class="code" href="structCNodeCombinedStats.html#adc8bd9241fd1f220059b87398fa10fca">fNodeStateStatsAvailable</a> = <span class="keyword">false</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  stats.<a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a> = nodestats;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.append(stats);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// Try to retrieve the CNodeStateStats for each node.</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="sync_8h.html#aca08e7299069c2d60b8aa726fc550612">TRY_LOCK</a>(<a class="code" href="validation_8cpp.html#a1ed8285f0fe3c6799c53265ce72552c8">cs_main</a>, lockMain);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (lockMain)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  BOOST_FOREACH(<a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> &stats, <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>)</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  stats.<a class="code" href="structCNodeCombinedStats.html#adc8bd9241fd1f220059b87398fa10fca">fNodeStateStatsAvailable</a> = <a class="code" href="net__processing_8cpp.html#af0793c7c14e94d2d642f4ac89067a429">GetNodeStateStats</a>(stats.<a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>.<a class="code" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">nodeid</a>, stats.<a class="code" href="structCNodeCombinedStats.html#a6ce7320fa9ca5a3706ec4caf76ac34a1">nodeStateStats</a>);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">if</span> (<a class="code" href="classPeerTablePriv.html#a4917597853d2d5f0055be017b8ab33c5">sortColumn</a> >= 0)</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// sort cacheNodeStats (use stable sort to prevent rows jumping around unnecessarily)</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  qStableSort(<a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.begin(), <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.end(), <a class="code" href="classNodeLessThan.html">NodeLessThan</a>(<a class="code" href="classPeerTablePriv.html#a4917597853d2d5f0055be017b8ab33c5">sortColumn</a>, <a class="code" href="classPeerTablePriv.html#adb95d4bbc4fb13a21a360108aeca5c32">sortOrder</a>));</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// build index map</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classPeerTablePriv.html#ae27db14bcbe769f494c4db56ef27fb08">mapNodeRows</a>.clear();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">int</span> row = 0;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  Q_FOREACH (<span class="keyword">const</span> <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a>& stats, <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>)</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="classPeerTablePriv.html#ae27db14bcbe769f494c4db56ef27fb08">mapNodeRows</a>.insert(std::pair<NodeId, int>(stats.<a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>.<a class="code" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">nodeid</a>, row++));</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  }</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#acd117692414755f07028564f1afce861"> 98</a></span>  <span class="keywordtype">int</span> <a class="code" href="classPeerTablePriv.html#acd117692414755f07028564f1afce861">size</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.size();</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classPeerTablePriv.html#a58c817cce967ddd5ae4bad622bfaecb4"> 103</a></span>  <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> *<a class="code" href="classPeerTablePriv.html#a58c817cce967ddd5ae4bad622bfaecb4">index</a>(<span class="keywordtype">int</span> idx)</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  {</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">if</span> (idx >= 0 && idx < <a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>.size())</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> &<a class="code" href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">cachedNodeStats</a>[idx];</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> };</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a94e40794eeb946475a4a747c1fe1a2c2"> 112</a></span> <a class="code" href="classPeerTableModel.html#a94e40794eeb946475a4a747c1fe1a2c2">PeerTableModel::PeerTableModel</a>(<a class="code" href="classClientModel.html">ClientModel</a> *parent) :</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  QAbstractTableModel(parent),</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  clientModel(parent),</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  timer(0)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classPeerTableModel.html#a916dec1a33691042fb64c55626794f81">columns</a> << tr(<span class="stringliteral">"NodeId"</span>) << tr(<span class="stringliteral">"Node/Service"</span>) << tr(<span class="stringliteral">"User Agent"</span>) << tr(<span class="stringliteral">"Ping"</span>);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>.reset(<span class="keyword">new</span> <a class="code" href="classPeerTablePriv.html">PeerTablePriv</a>());</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">// default to unsorted</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->sortColumn = -1;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// set up timer for auto refresh</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="classPeerTableModel.html#a5ec31ffbbafdfda2b093bfece75c9781">timer</a> = <span class="keyword">new</span> QTimer(<span class="keyword">this</span>);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  connect(<a class="code" href="classPeerTableModel.html#a5ec31ffbbafdfda2b093bfece75c9781">timer</a>, SIGNAL(timeout()), SLOT(<a class="code" href="classPeerTableModel.html#abae14b3fd8a38a60f752f67a57b5b0b3">refresh</a>()));</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="classPeerTableModel.html#a5ec31ffbbafdfda2b093bfece75c9781">timer</a>->setInterval(<a class="code" href="guiconstants_8h.html#ac6c55972cda9ec6272b48db6ba831441">MODEL_UPDATE_DELAY</a>);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// load initial data</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classPeerTableModel.html#abae14b3fd8a38a60f752f67a57b5b0b3">refresh</a>();</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> }</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a8ff8426848434b1349bdb947fe38c6ab"> 131</a></span> <a class="code" href="classPeerTableModel.html#a8ff8426848434b1349bdb947fe38c6ab">PeerTableModel::~PeerTableModel</a>()</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">// Intentionally left empty</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> }</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#aba0f9c1535e2d718950edea1c166cc9d"> 136</a></span> <span class="keywordtype">void</span> <a class="code" href="classPeerTableModel.html#aba0f9c1535e2d718950edea1c166cc9d">PeerTableModel::startAutoRefresh</a>()</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classPeerTableModel.html#a5ec31ffbbafdfda2b093bfece75c9781">timer</a>->start();</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a2a738ac95fc16e0e1db9693eadc4f8b4"> 141</a></span> <span class="keywordtype">void</span> <a class="code" href="classPeerTableModel.html#a2a738ac95fc16e0e1db9693eadc4f8b4">PeerTableModel::stopAutoRefresh</a>()</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classPeerTableModel.html#a5ec31ffbbafdfda2b093bfece75c9781">timer</a>->stop();</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> }</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a893cd78a1bfc89c71a1746d3c3e70e95"> 146</a></span> <span class="keywordtype">int</span> <a class="code" href="classPeerTableModel.html#a893cd78a1bfc89c71a1746d3c3e70e95">PeerTableModel::rowCount</a>(<span class="keyword">const</span> QModelIndex &parent)<span class="keyword"> const</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keyword"></span>{</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  Q_UNUSED(parent);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->size();</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#aec5793e7f02694bd35b05ea1200c4b46"> 152</a></span> <span class="keywordtype">int</span> <a class="code" href="classPeerTableModel.html#aec5793e7f02694bd35b05ea1200c4b46">PeerTableModel::columnCount</a>(<span class="keyword">const</span> QModelIndex &parent)<span class="keyword"> const</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="keyword"></span>{</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  Q_UNUSED(parent);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">return</span> <a class="code" href="classPeerTableModel.html#a916dec1a33691042fb64c55626794f81">columns</a>.length();</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> }</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a7229a1e75b1ecab25add4098b6bb9d27"> 158</a></span> QVariant <a class="code" href="classPeerTableModel.html#a7229a1e75b1ecab25add4098b6bb9d27">PeerTableModel::data</a>(<span class="keyword">const</span> QModelIndex &index, <span class="keywordtype">int</span> role)<span class="keyword"> const</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keyword"></span>{</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">if</span>(!<a class="code" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">index</a>.isValid())</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> QVariant();</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> *rec = <span class="keyword">static_cast<</span><a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a>*<span class="keyword">></span>(<a class="code" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">index</a>.internalPointer());</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">if</span> (role == Qt::DisplayRole) {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">switch</span>(<a class="code" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">index</a>.column())</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  {</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a8ee229da5c6b0e98788b9baae0362aa2">NetNodeId</a>:</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span> rec-><a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>.<a class="code" href="classCNodeStats.html#ad2bceab1a335d59f42af37178b72fee7">nodeid</a>;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a101063cc6b840d0857aa79929703d16a">Address</a>:</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> QString::fromStdString(rec-><a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>.<a class="code" href="classCNodeStats.html#a3299ecdae870c367fe657f3f59b27e43">addrName</a>);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590aa4408c536a178490700310f01cf0d455">Subversion</a>:</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> QString::fromStdString(rec-><a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>.<a class="code" href="classCNodeStats.html#ad733b840ac9a16a7eb6166ea4984d8a8">cleanSubVer</a>);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">case</span> <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a7e5e92f542ecbb90307e99c213274957">Ping</a>:</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceGUIUtil.html#a432bcee36e242a968c9149fadfba44fa">GUIUtil::formatPingTime</a>(rec-><a class="code" href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">nodeStats</a>.<a class="code" href="classCNodeStats.html#a6bfc3caa74e3e8621808969b178e9864">dMinPing</a>);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  }</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (role == Qt::TextAlignmentRole) {</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">if</span> (<a class="code" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">index</a>.column() == <a class="code" href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a7e5e92f542ecbb90307e99c213274957">Ping</a>)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> (QVariant)(Qt::AlignRight | Qt::AlignVCenter);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">return</span> QVariant();</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#ab2db3038337ab51cf8655a4d9f0546d2"> 185</a></span> QVariant <a class="code" href="classPeerTableModel.html#ab2db3038337ab51cf8655a4d9f0546d2">PeerTableModel::headerData</a>(<span class="keywordtype">int</span> section, Qt::Orientation orientation, <span class="keywordtype">int</span> role)<span class="keyword"> const</span></div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="keyword"></span>{</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">if</span>(orientation == Qt::Horizontal)</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">if</span>(role == Qt::DisplayRole && section < <a class="code" href="classPeerTableModel.html#a916dec1a33691042fb64c55626794f81">columns</a>.size())</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  {</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">return</span> <a class="code" href="classPeerTableModel.html#a916dec1a33691042fb64c55626794f81">columns</a>[section];</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  }</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">return</span> QVariant();</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> }</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#ad0e101ec541cde4a163d490b58c5442a"> 197</a></span> Qt::ItemFlags <a class="code" href="classPeerTableModel.html#ad0e101ec541cde4a163d490b58c5442a">PeerTableModel::flags</a>(<span class="keyword">const</span> QModelIndex &index)<span class="keyword"> const</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="keyword"></span>{</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">if</span>(!<a class="code" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">index</a>.isValid())</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  Qt::ItemFlags <a class="code" href="namespacesecurity-check.html#af0c95486c2889d88fc49183ccc29c459">retval</a> = Qt::ItemIsSelectable | Qt::ItemIsEnabled;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span> <a class="code" href="namespacesecurity-check.html#af0c95486c2889d88fc49183ccc29c459">retval</a>;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> }</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb"> 206</a></span> QModelIndex <a class="code" href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">PeerTableModel::index</a>(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> column, <span class="keyword">const</span> QModelIndex &parent)<span class="keyword"> const</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="keyword"></span>{</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  Q_UNUSED(parent);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> *<a class="code" href="classPeerTableModel.html#a7229a1e75b1ecab25add4098b6bb9d27">data</a> = <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->index(row);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">if</span> (<a class="code" href="classPeerTableModel.html#a7229a1e75b1ecab25add4098b6bb9d27">data</a>)</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordflow">return</span> createIndex(row, column, <a class="code" href="classPeerTableModel.html#a7229a1e75b1ecab25add4098b6bb9d27">data</a>);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">return</span> QModelIndex();</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> }</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#a98084d3299642316c71c5de3d36b9859"> 216</a></span> <span class="keyword">const</span> <a class="code" href="structCNodeCombinedStats.html">CNodeCombinedStats</a> *<a class="code" href="classPeerTableModel.html#a98084d3299642316c71c5de3d36b9859">PeerTableModel::getNodeStats</a>(<span class="keywordtype">int</span> idx)</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> {</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">return</span> <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->index(idx);</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#abae14b3fd8a38a60f752f67a57b5b0b3"> 221</a></span> <span class="keywordtype">void</span> <a class="code" href="classPeerTableModel.html#abae14b3fd8a38a60f752f67a57b5b0b3">PeerTableModel::refresh</a>()</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  Q_EMIT layoutAboutToBeChanged();</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->refreshPeers();</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  Q_EMIT layoutChanged();</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> }</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#aa735d366015dafba4c5d79dfb76abe49"> 228</a></span> <span class="keywordtype">int</span> <a class="code" href="classPeerTableModel.html#aa735d366015dafba4c5d79dfb76abe49">PeerTableModel::getRowByNodeId</a>(<a class="code" href="net_8h.html#a954d746a58632565552615fd0a4ee660">NodeId</a> nodeid)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  std::map<NodeId, int>::iterator it = <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->mapNodeRows.find(nodeid);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">if</span> (it == <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->mapNodeRows.end())</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> it->second;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classPeerTableModel.html#ac2211cda0ce659ac4c324c6ff24e1e5f"> 237</a></span> <span class="keywordtype">void</span> <a class="code" href="classPeerTableModel.html#ac2211cda0ce659ac4c324c6ff24e1e5f">PeerTableModel::sort</a>(<span class="keywordtype">int</span> column, Qt::SortOrder order)</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->sortColumn = column;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">priv</a>->sortOrder = order;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="classPeerTableModel.html#abae14b3fd8a38a60f752f67a57b5b0b3">refresh</a>();</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> }</div><div class="ttc" id="classPeerTableModel_html_ae06b4392aa8162508fe514d19204ffae"><div class="ttname"><a href="classPeerTableModel.html#ae06b4392aa8162508fe514d19204ffae">PeerTableModel::priv</a></div><div class="ttdeci">std::unique_ptr< PeerTablePriv > priv</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00079">peertablemodel.h:79</a></div></div>
|
|
<div class="ttc" id="classNodeLessThan_html_afb215ca60b4a3825effc6240b0574935"><div class="ttname"><a href="classNodeLessThan.html#afb215ca60b4a3825effc6240b0574935">NodeLessThan::order</a></div><div class="ttdeci">Qt::SortOrder order</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00036">peertablemodel.h:36</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a94e40794eeb946475a4a747c1fe1a2c2"><div class="ttname"><a href="classPeerTableModel.html#a94e40794eeb946475a4a747c1fe1a2c2">PeerTableModel::PeerTableModel</a></div><div class="ttdeci">PeerTableModel(ClientModel *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00112">peertablemodel.cpp:112</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a10a32ec5f31c9765c80b611760f7e590a7e5e92f542ecbb90307e99c213274957"><div class="ttname"><a href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a7e5e92f542ecbb90307e99c213274957">PeerTableModel::Ping</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00059">peertablemodel.h:59</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a7229a1e75b1ecab25add4098b6bb9d27"><div class="ttname"><a href="classPeerTableModel.html#a7229a1e75b1ecab25add4098b6bb9d27">PeerTableModel::data</a></div><div class="ttdeci">QVariant data(const QModelIndex &index, int role) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00158">peertablemodel.cpp:158</a></div></div>
|
|
<div class="ttc" id="sync_8h_html_aca08e7299069c2d60b8aa726fc550612"><div class="ttname"><a href="sync_8h.html#aca08e7299069c2d60b8aa726fc550612">TRY_LOCK</a></div><div class="ttdeci">#define TRY_LOCK(cs, name)</div><div class="ttdef"><b>Definition:</b> <a href="sync_8h_source.html#l00170">sync.h:170</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="clientmodel_8h_html"><div class="ttname"><a href="clientmodel_8h.html">clientmodel.h</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html_acd117692414755f07028564f1afce861"><div class="ttname"><a href="classPeerTablePriv.html#acd117692414755f07028564f1afce861">PeerTablePriv::size</a></div><div class="ttdeci">int size() const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00098">peertablemodel.cpp:98</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html_a304d99874f6cd0c67ed207546a5ca904"><div class="ttname"><a href="classPeerTablePriv.html#a304d99874f6cd0c67ed207546a5ca904">PeerTablePriv::refreshPeers</a></div><div class="ttdeci">void refreshPeers()</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00055">peertablemodel.cpp:55</a></div></div>
|
|
<div class="ttc" id="net__processing_8cpp_html_af0793c7c14e94d2d642f4ac89067a429"><div class="ttname"><a href="net__processing_8cpp.html#af0793c7c14e94d2d642f4ac89067a429">GetNodeStateStats</a></div><div class="ttdeci">bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats)</div><div class="ttdef"><b>Definition:</b> <a href="net__processing_8cpp_source.html#l00468">net_processing.cpp:468</a></div></div>
|
|
<div class="ttc" id="validation_8cpp_html_a1ed8285f0fe3c6799c53265ce72552c8"><div class="ttname"><a href="validation_8cpp.html#a1ed8285f0fe3c6799c53265ce72552c8">cs_main</a></div><div class="ttdeci">CCriticalSection cs_main</div><div class="ttdef"><b>Definition:</b> <a href="validation_8cpp_source.html#l00062">validation.cpp:62</a></div></div>
|
|
<div class="ttc" id="structCNodeStateStats_html_a7646deac801098e973a5bc50202f92cd"><div class="ttname"><a href="structCNodeStateStats.html#a7646deac801098e973a5bc50202f92cd">CNodeStateStats::nSyncHeight</a></div><div class="ttdeci">int nSyncHeight</div><div class="ttdef"><b>Definition:</b> <a href="net__processing_8h_source.html#l00035">net_processing.h:35</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html_a4917597853d2d5f0055be017b8ab33c5"><div class="ttname"><a href="classPeerTablePriv.html#a4917597853d2d5f0055be017b8ab33c5">PeerTablePriv::sortColumn</a></div><div class="ttdeci">int sortColumn</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00048">peertablemodel.cpp:48</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_ad0e101ec541cde4a163d490b58c5442a"><div class="ttname"><a href="classPeerTableModel.html#ad0e101ec541cde4a163d490b58c5442a">PeerTableModel::flags</a></div><div class="ttdeci">Qt::ItemFlags flags(const QModelIndex &index) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00197">peertablemodel.cpp:197</a></div></div>
|
|
<div class="ttc" id="structCNodeCombinedStats_html_adc8bd9241fd1f220059b87398fa10fca"><div class="ttname"><a href="structCNodeCombinedStats.html#adc8bd9241fd1f220059b87398fa10fca">CNodeCombinedStats::fNodeStateStatsAvailable</a></div><div class="ttdeci">bool fNodeStateStatsAvailable</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00024">peertablemodel.h:24</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html_a58c817cce967ddd5ae4bad622bfaecb4"><div class="ttname"><a href="classPeerTablePriv.html#a58c817cce967ddd5ae4bad622bfaecb4">PeerTablePriv::index</a></div><div class="ttdeci">CNodeCombinedStats * index(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00103">peertablemodel.cpp:103</a></div></div>
|
|
<div class="ttc" id="structCNodeStateStats_html_a67c910a57285a63bbf0bb88ea7a9ca05"><div class="ttname"><a href="structCNodeStateStats.html#a67c910a57285a63bbf0bb88ea7a9ca05">CNodeStateStats::nCommonHeight</a></div><div class="ttdeci">int nCommonHeight</div><div class="ttdef"><b>Definition:</b> <a href="net__processing_8h_source.html#l00036">net_processing.h:36</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a11faadd62beac5b9dec146045e8ecbbb"><div class="ttname"><a href="classPeerTableModel.html#a11faadd62beac5b9dec146045e8ecbbb">PeerTableModel::index</a></div><div class="ttdeci">QModelIndex index(int row, int column, const QModelIndex &parent) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00206">peertablemodel.cpp:206</a></div></div>
|
|
<div class="ttc" id="classNodeLessThan_html_a001e114bc5defaaec4feb1be3c71a327"><div class="ttname"><a href="classNodeLessThan.html#a001e114bc5defaaec4feb1be3c71a327">NodeLessThan::operator()</a></div><div class="ttdeci">bool operator()(const CNodeCombinedStats &left, const CNodeCombinedStats &right) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00018">peertablemodel.cpp:18</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="classPeerTableModel_html_a893cd78a1bfc89c71a1746d3c3e70e95"><div class="ttname"><a href="classPeerTableModel.html#a893cd78a1bfc89c71a1746d3c3e70e95">PeerTableModel::rowCount</a></div><div class="ttdeci">int rowCount(const QModelIndex &parent) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00146">peertablemodel.cpp:146</a></div></div>
|
|
<div class="ttc" id="classNodeLessThan_html"><div class="ttname"><a href="classNodeLessThan.html">NodeLessThan</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00027">peertablemodel.h:27</a></div></div>
|
|
<div class="ttc" id="structCNodeStateStats_html_a62c2243d09166c1daaad84519700da3c"><div class="ttname"><a href="structCNodeStateStats.html#a62c2243d09166c1daaad84519700da3c">CNodeStateStats::nMisbehavior</a></div><div class="ttdeci">int nMisbehavior</div><div class="ttdef"><b>Definition:</b> <a href="net__processing_8h_source.html#l00034">net_processing.h:34</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_ab2db3038337ab51cf8655a4d9f0546d2"><div class="ttname"><a href="classPeerTableModel.html#ab2db3038337ab51cf8655a4d9f0546d2">PeerTableModel::headerData</a></div><div class="ttdeci">QVariant headerData(int section, Qt::Orientation orientation, int role) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00185">peertablemodel.cpp:185</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_aba0f9c1535e2d718950edea1c166cc9d"><div class="ttname"><a href="classPeerTableModel.html#aba0f9c1535e2d718950edea1c166cc9d">PeerTableModel::startAutoRefresh</a></div><div class="ttdeci">void startAutoRefresh()</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00136">peertablemodel.cpp:136</a></div></div>
|
|
<div class="ttc" id="guiutil_8h_html"><div class="ttname"><a href="guiutil_8h.html">guiutil.h</a></div></div>
|
|
<div class="ttc" id="classNodeLessThan_html_acc9f42703050380bea358b30ce079f08"><div class="ttname"><a href="classNodeLessThan.html#acc9f42703050380bea358b30ce079f08">NodeLessThan::column</a></div><div class="ttdeci">int column</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00035">peertablemodel.h:35</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_aa735d366015dafba4c5d79dfb76abe49"><div class="ttname"><a href="classPeerTableModel.html#aa735d366015dafba4c5d79dfb76abe49">PeerTableModel::getRowByNodeId</a></div><div class="ttdeci">int getRowByNodeId(NodeId nodeid)</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00228">peertablemodel.cpp:228</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html_adb95d4bbc4fb13a21a360108aeca5c32"><div class="ttname"><a href="classPeerTablePriv.html#adb95d4bbc4fb13a21a360108aeca5c32">PeerTablePriv::sortOrder</a></div><div class="ttdeci">Qt::SortOrder sortOrder</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00050">peertablemodel.cpp:50</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a10a32ec5f31c9765c80b611760f7e590a8ee229da5c6b0e98788b9baae0362aa2"><div class="ttname"><a href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a8ee229da5c6b0e98788b9baae0362aa2">PeerTableModel::NetNodeId</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00056">peertablemodel.h:56</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html"><div class="ttname"><a href="classPeerTablePriv.html">PeerTablePriv</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00042">peertablemodel.cpp:42</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_abae14b3fd8a38a60f752f67a57b5b0b3"><div class="ttname"><a href="classPeerTableModel.html#abae14b3fd8a38a60f752f67a57b5b0b3">PeerTableModel::refresh</a></div><div class="ttdeci">void refresh()</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00221">peertablemodel.cpp:221</a></div></div>
|
|
<div class="ttc" id="peertablemodel_8h_html"><div class="ttname"><a href="peertablemodel_8h.html">peertablemodel.h</a></div></div>
|
|
<div class="ttc" id="structCNodeCombinedStats_html_ad26d590ef79b08623b2b6658b59e9a69"><div class="ttname"><a href="structCNodeCombinedStats.html#ad26d590ef79b08623b2b6658b59e9a69">CNodeCombinedStats::nodeStats</a></div><div class="ttdeci">CNodeStats nodeStats</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00022">peertablemodel.h:22</a></div></div>
|
|
<div class="ttc" id="structCNodeCombinedStats_html_a6ce7320fa9ca5a3706ec4caf76ac34a1"><div class="ttname"><a href="structCNodeCombinedStats.html#a6ce7320fa9ca5a3706ec4caf76ac34a1">CNodeCombinedStats::nodeStateStats</a></div><div class="ttdeci">CNodeStateStats nodeStateStats</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00023">peertablemodel.h:23</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a916dec1a33691042fb64c55626794f81"><div class="ttname"><a href="classPeerTableModel.html#a916dec1a33691042fb64c55626794f81">PeerTableModel::columns</a></div><div class="ttdeci">QStringList columns</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00078">peertablemodel.h:78</a></div></div>
|
|
<div class="ttc" id="guiconstants_8h_html_ac6c55972cda9ec6272b48db6ba831441"><div class="ttname"><a href="guiconstants_8h.html#ac6c55972cda9ec6272b48db6ba831441">MODEL_UPDATE_DELAY</a></div><div class="ttdeci">static const int MODEL_UPDATE_DELAY</div><div class="ttdef"><b>Definition:</b> <a href="guiconstants_8h_source.html#l00010">guiconstants.h:10</a></div></div>
|
|
<div class="ttc" id="guiconstants_8h_html"><div class="ttname"><a href="guiconstants_8h.html">guiconstants.h</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a10a32ec5f31c9765c80b611760f7e590a101063cc6b840d0857aa79929703d16a"><div class="ttname"><a href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590a101063cc6b840d0857aa79929703d16a">PeerTableModel::Address</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00057">peertablemodel.h:57</a></div></div>
|
|
<div class="ttc" id="classClientModel_html"><div class="ttname"><a href="classClientModel.html">ClientModel</a></div><div class="ttdef"><b>Definition:</b> <a href="clientmodel_8h_source.html#l00042">clientmodel.h:42</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="classPeerTableModel_html_a2a738ac95fc16e0e1db9693eadc4f8b4"><div class="ttname"><a href="classPeerTableModel.html#a2a738ac95fc16e0e1db9693eadc4f8b4">PeerTableModel::stopAutoRefresh</a></div><div class="ttdeci">void stopAutoRefresh()</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00141">peertablemodel.cpp:141</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a98084d3299642316c71c5de3d36b9859"><div class="ttname"><a href="classPeerTableModel.html#a98084d3299642316c71c5de3d36b9859">PeerTableModel::getNodeStats</a></div><div class="ttdeci">const CNodeCombinedStats * getNodeStats(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00216">peertablemodel.cpp:216</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="classPeerTableModel_html_a10a32ec5f31c9765c80b611760f7e590aa4408c536a178490700310f01cf0d455"><div class="ttname"><a href="classPeerTableModel.html#a10a32ec5f31c9765c80b611760f7e590aa4408c536a178490700310f01cf0d455">PeerTableModel::Subversion</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00058">peertablemodel.h:58</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="classPeerTableModel_html_aec5793e7f02694bd35b05ea1200c4b46"><div class="ttname"><a href="classPeerTableModel.html#aec5793e7f02694bd35b05ea1200c4b46">PeerTableModel::columnCount</a></div><div class="ttdeci">int columnCount(const QModelIndex &parent) const</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00152">peertablemodel.cpp:152</a></div></div>
|
|
<div class="ttc" id="init_8cpp_html_a152c3d2ceeeaf7a300666dcbcc8bb945"><div class="ttname"><a href="init_8cpp.html#a152c3d2ceeeaf7a300666dcbcc8bb945">g_connman</a></div><div class="ttdeci">std::unique_ptr< CConnman > 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="classPeerTableModel_html_ac2211cda0ce659ac4c324c6ff24e1e5f"><div class="ttname"><a href="classPeerTableModel.html#ac2211cda0ce659ac4c324c6ff24e1e5f">PeerTableModel::sort</a></div><div class="ttdeci">void sort(int column, Qt::SortOrder order)</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00237">peertablemodel.cpp:237</a></div></div>
|
|
<div class="ttc" id="classPeerTablePriv_html_ae27db14bcbe769f494c4db56ef27fb08"><div class="ttname"><a href="classPeerTablePriv.html#ae27db14bcbe769f494c4db56ef27fb08">PeerTablePriv::mapNodeRows</a></div><div class="ttdeci">std::map< NodeId, int > mapNodeRows</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00052">peertablemodel.cpp:52</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="classPeerTablePriv_html_a8da9d0256d11f205dfa1cdce86843761"><div class="ttname"><a href="classPeerTablePriv.html#a8da9d0256d11f205dfa1cdce86843761">PeerTablePriv::cachedNodeStats</a></div><div class="ttdeci">QList< CNodeCombinedStats > cachedNodeStats</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00046">peertablemodel.cpp:46</a></div></div>
|
|
<div class="ttc" id="namespaceGUIUtil_html_a432bcee36e242a968c9149fadfba44fa"><div class="ttname"><a href="namespaceGUIUtil.html#a432bcee36e242a968c9149fadfba44fa">GUIUtil::formatPingTime</a></div><div class="ttdeci">QString formatPingTime(double dPingTime)</div><div class="ttdef"><b>Definition:</b> <a href="guiutil_8cpp_source.html#l01018">guiutil.cpp:1018</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="structCNodeCombinedStats_html"><div class="ttname"><a href="structCNodeCombinedStats.html">CNodeCombinedStats</a></div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00021">peertablemodel.h:21</a></div></div>
|
|
<div class="ttc" id="namespacesecurity-check_html_af0c95486c2889d88fc49183ccc29c459"><div class="ttname"><a href="namespacesecurity-check.html#af0c95486c2889d88fc49183ccc29c459">security-check.retval</a></div><div class="ttdeci">int retval</div><div class="ttdef"><b>Definition:</b> <a href="security-check_8py_source.html#l00161">security-check.py:161</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a8ff8426848434b1349bdb947fe38c6ab"><div class="ttname"><a href="classPeerTableModel.html#a8ff8426848434b1349bdb947fe38c6ab">PeerTableModel::~PeerTableModel</a></div><div class="ttdeci">~PeerTableModel()</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8cpp_source.html#l00131">peertablemodel.cpp:131</a></div></div>
|
|
<div class="ttc" id="classPeerTableModel_html_a5ec31ffbbafdfda2b093bfece75c9781"><div class="ttname"><a href="classPeerTableModel.html#a5ec31ffbbafdfda2b093bfece75c9781">PeerTableModel::timer</a></div><div class="ttdeci">QTimer * timer</div><div class="ttdef"><b>Definition:</b> <a href="peertablemodel_8h_source.html#l00080">peertablemodel.h:80</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="dir_f0c29a9f5764d78706f34c972e8114d8.html">qt</a></li><li class="navelem"><a class="el" href="peertablemodel_8cpp.html">peertablemodel.cpp</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:05 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>
|