dash-docs/en/doxygen/html/governance-votedb_8h_source.html

136 lines
29 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/governance-votedb.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('governance-votedb_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">governance-votedb.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="governance-votedb_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) 2014-2017 The Dash Core developers</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Distributed under the MIT/X11 software license, see the accompanying</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<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>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#ifndef GOVERNANCE_VOTEDB_H</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#define GOVERNANCE_VOTEDB_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="governance-vote_8h.html">governance-vote.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="serialize_8h.html">serialize.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="uint256_8h.html">uint256.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html"> 23</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCGovernanceObjectVoteFile.html">CGovernanceObjectVoteFile</a></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;{</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">public</span>: <span class="comment">// Types</span></div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#ab854ae6742a91fb301dd09b882827a7a"> 26</a></span>&#160; <span class="keyword">typedef</span> std::list&lt;CGovernanceVote&gt; <a class="code" href="classCGovernanceObjectVoteFile.html#ab854ae6742a91fb301dd09b882827a7a">vote_l_t</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#ad1afe8426dee0a608d8c3fe8025ba80e"> 28</a></span>&#160; <span class="keyword">typedef</span> vote_l_t::iterator <a class="code" href="classCGovernanceObjectVoteFile.html#ad1afe8426dee0a608d8c3fe8025ba80e">vote_l_it</a>;</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"><a class="line" href="classCGovernanceObjectVoteFile.html#a286f1c0c773cf4cb96cc54bb3277785b"> 30</a></span>&#160; <span class="keyword">typedef</span> vote_l_t::const_iterator <a class="code" href="classCGovernanceObjectVoteFile.html#a286f1c0c773cf4cb96cc54bb3277785b">vote_l_cit</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a61e548ab09a9793aa6003d63d97156c1"> 32</a></span>&#160; <span class="keyword">typedef</span> std::map&lt;uint256,vote_l_it&gt; <a class="code" href="classCGovernanceObjectVoteFile.html#a61e548ab09a9793aa6003d63d97156c1">vote_m_t</a>;</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"><a class="line" href="classCGovernanceObjectVoteFile.html#a09ec19a3d77f0a7a7ece26ae2ee908f1"> 34</a></span>&#160; <span class="keyword">typedef</span> vote_m_t::iterator <a class="code" href="classCGovernanceObjectVoteFile.html#a09ec19a3d77f0a7a7ece26ae2ee908f1">vote_m_it</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a2a53d08ef2270e1d76bca62f51da3ccf"> 36</a></span>&#160; <span class="keyword">typedef</span> vote_m_t::const_iterator <a class="code" href="classCGovernanceObjectVoteFile.html#a2a53d08ef2270e1d76bca62f51da3ccf">vote_m_cit</a>;</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">private</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a4e7bc8730c69b5cd4821392465817154"> 39</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classCGovernanceObjectVoteFile.html#a4e7bc8730c69b5cd4821392465817154">MAX_MEMORY_VOTES</a> = -1;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#ae676ac9722a1076d7bbfba2e1d2d9e7c"> 41</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCGovernanceObjectVoteFile.html#ae676ac9722a1076d7bbfba2e1d2d9e7c">nMemoryVotes</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a28a321fd985ea2fa656832b68bd30740"> 43</a></span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html#ab854ae6742a91fb301dd09b882827a7a">vote_l_t</a> <a class="code" href="classCGovernanceObjectVoteFile.html#a28a321fd985ea2fa656832b68bd30740">listVotes</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a603d6368a025adffdb1feef798ce40a7"> 45</a></span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html#a61e548ab09a9793aa6003d63d97156c1">vote_m_t</a> <a class="code" href="classCGovernanceObjectVoteFile.html#a603d6368a025adffdb1feef798ce40a7">mapVoteIndex</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html#aa0cb1e387fa2611422b5cf04a1fe6a56">CGovernanceObjectVoteFile</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html#aa0cb1e387fa2611422b5cf04a1fe6a56">CGovernanceObjectVoteFile</a>(<span class="keyword">const</span> <a class="code" href="classCGovernanceObjectVoteFile.html">CGovernanceObjectVoteFile</a>&amp; other);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCGovernanceObjectVoteFile.html#a0bfd2b7928e2e36d34a863726b84f01f">AddVote</a>(<span class="keyword">const</span> <a class="code" href="classCGovernanceVote.html">CGovernanceVote</a>&amp; vote);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCGovernanceObjectVoteFile.html#a0875c5f3b0fc99fb8a43445302fccf44">HasVote</a>(<span class="keyword">const</span> <a class="code" href="classuint256.html">uint256</a>&amp; nHash) <span class="keyword">const</span>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classCGovernanceObjectVoteFile.html#ac0e72f26f88c5fa6de07da19929f93ec">GetVote</a>(<span class="keyword">const</span> <a class="code" href="classuint256.html">uint256</a>&amp; nHash, <a class="code" href="classCGovernanceVote.html">CGovernanceVote</a>&amp; vote) <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a7f6fa564e61933f632a3db38077180ab"> 67</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classCGovernanceObjectVoteFile.html#a7f6fa564e61933f632a3db38077180ab">GetVoteCount</a>() {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classCGovernanceObjectVoteFile.html#ae676ac9722a1076d7bbfba2e1d2d9e7c">nMemoryVotes</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; std::vector&lt;CGovernanceVote&gt; <a class="code" href="classCGovernanceObjectVoteFile.html#a23cc5f6602ed9269c17f178854b32f49">GetVotes</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html">CGovernanceObjectVoteFile</a>&amp; <a class="code" href="classCGovernanceObjectVoteFile.html#a0ff8f1bec394bf54be0f155db41f96ec">operator=</a>(<span class="keyword">const</span> <a class="code" href="classCGovernanceObjectVoteFile.html">CGovernanceObjectVoteFile</a>&amp; other);</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"> 75</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCGovernanceObjectVoteFile.html#ac565d2c0d0419344bef3b3015d12aff4">RemoveVotesFromMasternode</a>(<span class="keyword">const</span> <a class="code" href="classCOutPoint.html">COutPoint</a>&amp; outpointMasternode);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a6399037588acff04bb3216a6022847cc"> 77</a></span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html#a6399037588acff04bb3216a6022847cc">ADD_SERIALIZE_METHODS</a>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Stream, <span class="keyword">typename</span> Operation&gt;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classCGovernanceObjectVoteFile.html#a0bc91c3b17c819c04415879836cf7c1b"> 80</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classCGovernanceObjectVoteFile.html#a0bc91c3b17c819c04415879836cf7c1b">SerializationOp</a>(Stream&amp; s, Operation ser_action, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nVersion)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCGovernanceObjectVoteFile.html#ae676ac9722a1076d7bbfba2e1d2d9e7c">nMemoryVotes</a>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCGovernanceObjectVoteFile.html#a28a321fd985ea2fa656832b68bd30740">listVotes</a>);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordflow">if</span>(ser_action.ForRead()) {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="classCGovernanceObjectVoteFile.html#abae842fdec71b72f44960d22c9ac7368">RebuildIndex</a>();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; }</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classCGovernanceObjectVoteFile.html#abae842fdec71b72f44960d22c9ac7368">RebuildIndex</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;};</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classCGovernanceObjectVoteFile_html_ad1afe8426dee0a608d8c3fe8025ba80e"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#ad1afe8426dee0a608d8c3fe8025ba80e">CGovernanceObjectVoteFile::vote_l_it</a></div><div class="ttdeci">vote_l_t::iterator vote_l_it</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00028">governance-votedb.h:28</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a23cc5f6602ed9269c17f178854b32f49"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a23cc5f6602ed9269c17f178854b32f49">CGovernanceObjectVoteFile::GetVotes</a></div><div class="ttdeci">std::vector&lt; CGovernanceVote &gt; GetVotes() const</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00047">governance-votedb.cpp:47</a></div></div>
<div class="ttc" id="serialize_8h_html_a4d7fc7040e01003a01f367b8d90324f1"><div class="ttname"><a href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a></div><div class="ttdeci">#define READWRITE(obj)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00175">serialize.h:175</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a6399037588acff04bb3216a6022847cc"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a6399037588acff04bb3216a6022847cc">CGovernanceObjectVoteFile::ADD_SERIALIZE_METHODS</a></div><div class="ttdeci">ADD_SERIALIZE_METHODS</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00077">governance-votedb.h:77</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html">CGovernanceObjectVoteFile</a></div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00023">governance-votedb.h:23</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a0bfd2b7928e2e36d34a863726b84f01f"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a0bfd2b7928e2e36d34a863726b84f01f">CGovernanceObjectVoteFile::AddVote</a></div><div class="ttdeci">void AddVote(const CGovernanceVote &amp;vote)</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00021">governance-votedb.cpp:21</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a28a321fd985ea2fa656832b68bd30740"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a28a321fd985ea2fa656832b68bd30740">CGovernanceObjectVoteFile::listVotes</a></div><div class="ttdeci">vote_l_t listVotes</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00043">governance-votedb.h:43</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_ac0e72f26f88c5fa6de07da19929f93ec"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#ac0e72f26f88c5fa6de07da19929f93ec">CGovernanceObjectVoteFile::GetVote</a></div><div class="ttdeci">bool GetVote(const uint256 &amp;nHash, CGovernanceVote &amp;vote) const</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00037">governance-votedb.cpp:37</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a61e548ab09a9793aa6003d63d97156c1"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a61e548ab09a9793aa6003d63d97156c1">CGovernanceObjectVoteFile::vote_m_t</a></div><div class="ttdeci">std::map&lt; uint256, vote_l_it &gt; vote_m_t</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00032">governance-votedb.h:32</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_ab854ae6742a91fb301dd09b882827a7a"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#ab854ae6742a91fb301dd09b882827a7a">CGovernanceObjectVoteFile::vote_l_t</a></div><div class="ttdeci">std::list&lt; CGovernanceVote &gt; vote_l_t</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00026">governance-votedb.h:26</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a0bc91c3b17c819c04415879836cf7c1b"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a0bc91c3b17c819c04415879836cf7c1b">CGovernanceObjectVoteFile::SerializationOp</a></div><div class="ttdeci">void SerializationOp(Stream &amp;s, Operation ser_action, int nType, int nVersion)</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00080">governance-votedb.h:80</a></div></div>
<div class="ttc" id="serialize_8h_html"><div class="ttname"><a href="serialize_8h.html">serialize.h</a></div></div>
<div class="ttc" id="classCOutPoint_html"><div class="ttname"><a href="classCOutPoint.html">COutPoint</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00015">transaction.h:15</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a603d6368a025adffdb1feef798ce40a7"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a603d6368a025adffdb1feef798ce40a7">CGovernanceObjectVoteFile::mapVoteIndex</a></div><div class="ttdeci">vote_m_t mapVoteIndex</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00045">governance-votedb.h:45</a></div></div>
<div class="ttc" id="classCGovernanceVote_html"><div class="ttname"><a href="classCGovernanceVote.html">CGovernanceVote</a></div><div class="ttdef"><b>Definition:</b> <a href="governance-vote_8h_source.html#l00088">governance-vote.h:88</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_ac565d2c0d0419344bef3b3015d12aff4"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#ac565d2c0d0419344bef3b3015d12aff4">CGovernanceObjectVoteFile::RemoveVotesFromMasternode</a></div><div class="ttdeci">void RemoveVotesFromMasternode(const COutPoint &amp;outpointMasternode)</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00056">governance-votedb.cpp:56</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a4e7bc8730c69b5cd4821392465817154"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a4e7bc8730c69b5cd4821392465817154">CGovernanceObjectVoteFile::MAX_MEMORY_VOTES</a></div><div class="ttdeci">static const int MAX_MEMORY_VOTES</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00039">governance-votedb.h:39</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="classCGovernanceObjectVoteFile_html_a0875c5f3b0fc99fb8a43445302fccf44"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a0875c5f3b0fc99fb8a43445302fccf44">CGovernanceObjectVoteFile::HasVote</a></div><div class="ttdeci">bool HasVote(const uint256 &amp;nHash) const</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00028">governance-votedb.cpp:28</a></div></div>
<div class="ttc" id="governance-vote_8h_html"><div class="ttname"><a href="governance-vote_8h.html">governance-vote.h</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_aa0cb1e387fa2611422b5cf04a1fe6a56"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#aa0cb1e387fa2611422b5cf04a1fe6a56">CGovernanceObjectVoteFile::CGovernanceObjectVoteFile</a></div><div class="ttdeci">CGovernanceObjectVoteFile()</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00007">governance-votedb.cpp:7</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a0ff8f1bec394bf54be0f155db41f96ec"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a0ff8f1bec394bf54be0f155db41f96ec">CGovernanceObjectVoteFile::operator=</a></div><div class="ttdeci">CGovernanceObjectVoteFile &amp; operator=(const CGovernanceObjectVoteFile &amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00071">governance-votedb.cpp:71</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a7f6fa564e61933f632a3db38077180ab"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a7f6fa564e61933f632a3db38077180ab">CGovernanceObjectVoteFile::GetVoteCount</a></div><div class="ttdeci">int GetVoteCount()</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00067">governance-votedb.h:67</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="classCGovernanceObjectVoteFile_html_a2a53d08ef2270e1d76bca62f51da3ccf"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a2a53d08ef2270e1d76bca62f51da3ccf">CGovernanceObjectVoteFile::vote_m_cit</a></div><div class="ttdeci">vote_m_t::const_iterator vote_m_cit</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00036">governance-votedb.h:36</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a09ec19a3d77f0a7a7ece26ae2ee908f1"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a09ec19a3d77f0a7a7ece26ae2ee908f1">CGovernanceObjectVoteFile::vote_m_it</a></div><div class="ttdeci">vote_m_t::iterator vote_m_it</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00034">governance-votedb.h:34</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_ae676ac9722a1076d7bbfba2e1d2d9e7c"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#ae676ac9722a1076d7bbfba2e1d2d9e7c">CGovernanceObjectVoteFile::nMemoryVotes</a></div><div class="ttdeci">int nMemoryVotes</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00041">governance-votedb.h:41</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_abae842fdec71b72f44960d22c9ac7368"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#abae842fdec71b72f44960d22c9ac7368">CGovernanceObjectVoteFile::RebuildIndex</a></div><div class="ttdeci">void RebuildIndex()</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8cpp_source.html#l00079">governance-votedb.cpp:79</a></div></div>
<div class="ttc" id="classCGovernanceObjectVoteFile_html_a286f1c0c773cf4cb96cc54bb3277785b"><div class="ttname"><a href="classCGovernanceObjectVoteFile.html#a286f1c0c773cf4cb96cc54bb3277785b">CGovernanceObjectVoteFile::vote_l_cit</a></div><div class="ttdeci">vote_l_t::const_iterator vote_l_cit</div><div class="ttdef"><b>Definition:</b> <a href="governance-votedb_8h_source.html#l00030">governance-votedb.h:30</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="governance-votedb_8h.html">governance-votedb.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>