mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
152 lines
37 KiB
HTML
152 lines
37 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/privatesend-server.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Dash Core
|
|
 <span id="projectnumber">0.12.2.1</span>
|
|
</div>
|
|
<div id="projectbrief">P2P Digital Currency</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('privatesend-server_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">privatesend-server.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="privatesend-server_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (c) 2014-2017 The Dash Core developers</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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">#ifndef PRIVATESENDSERVER_H</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#define PRIVATESENDSERVER_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="net_8h.html">net.h</a>"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="privatesend_8h.html">privatesend.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="keyword">class </span><a class="code" href="classCPrivateSendServer.html">CPrivateSendServer</a>;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// The main object for accessing mixing</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">extern</span> <a class="code" href="classCPrivateSendServer.html">CPrivateSendServer</a> <a class="code" href="privatesend-server_8h.html#a1b2b9915fc9328ffcd70517e5c6d649a">privateSendServer</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classCPrivateSendServer.html"> 18</a></span> <span class="keyword">class </span><a class="code" href="classCPrivateSendServer.html">CPrivateSendServer</a> : <span class="keyword">public</span> <a class="code" href="classCPrivateSendBase.html">CPrivateSendBase</a></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classCPrivateSendServer.html#abed703257e18f2973951045d2f958d01"> 21</a></span>  <span class="keyword">mutable</span> <a class="code" href="classAnnotatedMixin.html">CCriticalSection</a> <a class="code" href="classCPrivateSendServer.html#abed703257e18f2973951045d2f958d01">cs_darksend</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="comment">// Mixing uses collateral transactions to trust parties entering the pool</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="comment">// to behave honestly. If they don't it takes their money.</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classCPrivateSendServer.html#ab676f3dbdcb87b866312495b7de85bee"> 25</a></span>  std::vector<CTransaction> <a class="code" href="classCPrivateSendServer.html#ab676f3dbdcb87b866312495b7de85bee">vecSessionCollaterals</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classCPrivateSendServer.html#abc98e4c549e0a0cc76dac9b963297e52"> 27</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#abc98e4c549e0a0cc76dac9b963297e52">fUnitTest</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#aa1d021f6e9df0817b8bee67bd8c90bdc">AddEntry</a>(<span class="keyword">const</span> <a class="code" href="classCDarkSendEntry.html">CDarkSendEntry</a>& entryNew, <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a>& nMessageIDRet);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#a2cba8f4b1c7685a2c5315190100a72d0">AddScriptSig</a>(<span class="keyword">const</span> <a class="code" href="classCTxIn.html">CTxIn</a>& txin);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a332772df161f5d7c60f98634e3c18370">ChargeFees</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a331ca0c6a5687ecb079b55da6d735bf4">ChargeRandomFees</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#ab6d446eb9d4d76982e7a92c8c9529af0">CheckPool</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a7aca3c3eaa72de1ce6a5c5f415ed3635">CreateFinalTransaction</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a86b29accd11a5ff73ad409e6d29b28c9">CommitFinalTransaction</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#af7e38b25732fe0532d4a7061badababe">IsAcceptableDenomAndCollateral</a>(<span class="keywordtype">int</span> nDenom, <a class="code" href="classCTransaction.html">CTransaction</a> txCollateral, <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a> &nMessageIDRet);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#ad22c8603123573ef0831c127477af1bd">CreateNewSession</a>(<span class="keywordtype">int</span> nDenom, <a class="code" href="classCTransaction.html">CTransaction</a> txCollateral, <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a> &nMessageIDRet, <a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#a14ae547ff0bb1ecf95c4f14419ff7978">AddUserToExistingSession</a>(<span class="keywordtype">int</span> nDenom, <a class="code" href="classCTransaction.html">CTransaction</a> txCollateral, <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a> &nMessageIDRet);</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classCPrivateSendServer.html#a657a2dec152aad8485ae9eb34195ef9e"> 50</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#a657a2dec152aad8485ae9eb34195ef9e">IsSessionReady</a>() { <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)<a class="code" href="classCPrivateSendServer.html#ab676f3dbdcb87b866312495b7de85bee">vecSessionCollaterals</a>.size() >= <a class="code" href="classCPrivateSend.html#ad8aaf20f4a8ed49cc42d1e7f53a84442">CPrivateSend::GetMaxPoolTransactions</a>(); }</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#a24be951a12edb94519674585dd211eee">IsSignaturesComplete</a>();</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#aa8e1e1e438219f4ddaf9a941e0c400b7">IsInputScriptSigValid</a>(<span class="keyword">const</span> <a class="code" href="classCTxIn.html">CTxIn</a>& txin);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">bool</span> <a class="code" href="classCPrivateSendServer.html#a9db6664e7c755680654305aa31d918de">IsOutputsCompatibleWithSessionDenom</a>(<span class="keyword">const</span> std::vector<CTxDSOut>& vecTxDSOut);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// Set the 'state' value, with some logging and capturing when the state changed</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a1625ff569c9c6f1053b998f62f3f3bdf">SetState</a>(<a class="code" href="privatesend_8h.html#abbe2eccf5424566d6e095f9af8136a9c">PoolState</a> nStateNew);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a1f5fce9b996626cff6c5fe477b903681">RelayFinalTransaction</a>(<span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>& txFinal, <a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a9007b9f51597c00ee97c0c39aa4f3e15">PushStatus</a>(<a class="code" href="classCNode.html">CNode</a>* pnode, <a class="code" href="privatesend_8h.html#a31c8a30d2786888a6414397247a9672b">PoolStatusUpdate</a> nStatusUpdate, <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a> nMessageID, <a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a8d654b95a3cd65b5e1c560722f84d731">RelayStatus</a>(<a class="code" href="privatesend_8h.html#a31c8a30d2786888a6414397247a9672b">PoolStatusUpdate</a> nStatusUpdate, <a class="code" href="classCConnman.html">CConnman</a>& connman, <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a> nMessageID = <a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73aab72512e904950254aac9e7bb3c09e031">MSG_NOERR</a>);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#afe1eb8574c97698395c7dac179a63c16">RelayCompletedTransaction</a>(<a class="code" href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a> nMessageID, <a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a095273c51a14551457b183214ca4e9d8">SetNull</a>();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classCPrivateSendServer.html#a329bc97aa934cbe2bb03494c944915c3"> 71</a></span>  <a class="code" href="classCPrivateSendServer.html#a329bc97aa934cbe2bb03494c944915c3">CPrivateSendServer</a>() :</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classCPrivateSendServer.html#abc98e4c549e0a0cc76dac9b963297e52">fUnitTest</a>(false) { <a class="code" href="classCPrivateSendServer.html#a095273c51a14551457b183214ca4e9d8">SetNull</a>(); }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#ad51576edb65312fa566ba6f0351a7b6d">ProcessMessage</a>(<a class="code" href="classCNode.html">CNode</a>* pfrom, std::string& strCommand, <a class="code" href="classCDataStream.html">CDataStream</a>& vRecv, <a class="code" href="classCConnman.html">CConnman</a>& connman);</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>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a5bbfc770d9593387302f40281f8fca96">CheckTimeout</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> <a class="code" href="classCPrivateSendServer.html#a04967d6d34f32158d6e10ec17936835f">CheckForCompleteQueue</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</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> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> <a class="code" href="privatesend-server_8h.html#a6154ebb1088235a8e702e869eda136ab">ThreadCheckPrivateSendServer</a>(<a class="code" href="classCConnman.html">CConnman</a>& connman);</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> <span class="preprocessor">#endif</span></div><div class="ttc" id="classCPrivateSendServer_html_ab676f3dbdcb87b866312495b7de85bee"><div class="ttname"><a href="classCPrivateSendServer.html#ab676f3dbdcb87b866312495b7de85bee">CPrivateSendServer::vecSessionCollaterals</a></div><div class="ttdeci">std::vector< CTransaction > vecSessionCollaterals</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8h_source.html#l00025">privatesend-server.h:25</a></div></div>
|
|
<div class="ttc" id="classCTxIn_html"><div class="ttname"><a href="classCTxIn.html">CTxIn</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00058">transaction.h:58</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a86b29accd11a5ff73ad409e6d29b28c9"><div class="ttname"><a href="classCPrivateSendServer.html#a86b29accd11a5ff73ad409e6d29b28c9">CPrivateSendServer::CommitFinalTransaction</a></div><div class="ttdeci">void CommitFinalTransaction(CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00331">privatesend-server.cpp:331</a></div></div>
|
|
<div class="ttc" id="net_8h_html"><div class="ttname"><a href="net_8h.html">net.h</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendBase_html"><div class="ttname"><a href="classCPrivateSendBase.html">CPrivateSendBase</a></div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00279">privatesend.h:279</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_aa1d021f6e9df0817b8bee67bd8c90bdc"><div class="ttname"><a href="classCPrivateSendServer.html#aa1d021f6e9df0817b8bee67bd8c90bdc">CPrivateSendServer::AddEntry</a></div><div class="ttdeci">bool AddEntry(const CDarkSendEntry &entryNew, PoolMessage &nMessageIDRet)</div><div class="ttdoc">Add a clients entry to the pool. </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00591">privatesend-server.cpp:591</a></div></div>
|
|
<div class="ttc" id="privatesend_8h_html_a4546369e58c84af3d62649ca72cae73aab72512e904950254aac9e7bb3c09e031"><div class="ttname"><a href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73aab72512e904950254aac9e7bb3c09e031">MSG_NOERR</a></div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00050">privatesend.h:50</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a095273c51a14551457b183214ca4e9d8"><div class="ttname"><a href="classCPrivateSendServer.html#a095273c51a14551457b183214ca4e9d8">CPrivateSendServer::SetNull</a></div><div class="ttdeci">void SetNull()</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00267">privatesend-server.cpp:267</a></div></div>
|
|
<div class="ttc" id="classCConnman_html"><div class="ttname"><a href="classCConnman.html">CConnman</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00108">net.h:108</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a657a2dec152aad8485ae9eb34195ef9e"><div class="ttname"><a href="classCPrivateSendServer.html#a657a2dec152aad8485ae9eb34195ef9e">CPrivateSendServer::IsSessionReady</a></div><div class="ttdeci">bool IsSessionReady()</div><div class="ttdoc">Do we have enough users to take entries? </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8h_source.html#l00050">privatesend-server.h:50</a></div></div>
|
|
<div class="ttc" id="classAnnotatedMixin_html"><div class="ttname"><a href="classAnnotatedMixin.html">AnnotatedMixin< boost::recursive_mutex ></a></div></div>
|
|
<div class="ttc" id="privatesend_8h_html_a4546369e58c84af3d62649ca72cae73a"><div class="ttname"><a href="privatesend_8h.html#a4546369e58c84af3d62649ca72cae73a">PoolMessage</a></div><div class="ttdeci">PoolMessage</div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00030">privatesend.h:30</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a7aca3c3eaa72de1ce6a5c5f415ed3635"><div class="ttname"><a href="classCPrivateSendServer.html#a7aca3c3eaa72de1ce6a5c5f415ed3635">CPrivateSendServer::CreateFinalTransaction</a></div><div class="ttdeci">void CreateFinalTransaction(CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00305">privatesend-server.cpp:305</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html"><div class="ttname"><a href="classCPrivateSendServer.html">CPrivateSendServer</a></div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8h_source.html#l00018">privatesend-server.h:18</a></div></div>
|
|
<div class="ttc" id="classCDarkSendEntry_html"><div class="ttname"><a href="classCDarkSendEntry.html">CDarkSendEntry</a></div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00115">privatesend.h:115</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a9db6664e7c755680654305aa31d918de"><div class="ttname"><a href="classCPrivateSendServer.html#a9db6664e7c755680654305aa31d918de">CPrivateSendServer::IsOutputsCompatibleWithSessionDenom</a></div><div class="ttdeci">bool IsOutputsCompatibleWithSessionDenom(const std::vector< CTxDSOut > &vecTxDSOut)</div><div class="ttdoc">Are these outputs compatible with other client in the pool? </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00685">privatesend-server.cpp:685</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_abed703257e18f2973951045d2f958d01"><div class="ttname"><a href="classCPrivateSendServer.html#abed703257e18f2973951045d2f958d01">CPrivateSendServer::cs_darksend</a></div><div class="ttdeci">CCriticalSection cs_darksend</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8h_source.html#l00021">privatesend-server.h:21</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a04967d6d34f32158d6e10ec17936835f"><div class="ttname"><a href="classCPrivateSendServer.html#a04967d6d34f32158d6e10ec17936835f">CPrivateSendServer::CheckForCompleteQueue</a></div><div class="ttdeci">void CheckForCompleteQueue(CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00531">privatesend-server.cpp:531</a></div></div>
|
|
<div class="ttc" id="privatesend-server_8h_html_a6154ebb1088235a8e702e869eda136ab"><div class="ttname"><a href="privatesend-server_8h.html#a6154ebb1088235a8e702e869eda136ab">ThreadCheckPrivateSendServer</a></div><div class="ttdeci">void ThreadCheckPrivateSendServer(CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00885">privatesend-server.cpp:885</a></div></div>
|
|
<div class="ttc" id="classCNode_html"><div class="ttname"><a href="classCNode.html">CNode</a></div><div class="ttdef"><b>Definition:</b> <a href="net_8h_source.html#l00661">net.h:661</a></div></div>
|
|
<div class="ttc" id="classCTransaction_html"><div class="ttname"><a href="classCTransaction.html">CTransaction</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00210">transaction.h:210</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a2cba8f4b1c7685a2c5315190100a72d0"><div class="ttname"><a href="classCPrivateSendServer.html#a2cba8f4b1c7685a2c5315190100a72d0">CPrivateSendServer::AddScriptSig</a></div><div class="ttdeci">bool AddScriptSig(const CTxIn &txin)</div><div class="ttdoc">Add signature to a txin. </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00637">privatesend-server.cpp:637</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a1625ff569c9c6f1053b998f62f3f3bdf"><div class="ttname"><a href="classCPrivateSendServer.html#a1625ff569c9c6f1053b998f62f3f3bdf">CPrivateSendServer::SetState</a></div><div class="ttdeci">void SetState(PoolState nStateNew)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00873">privatesend-server.cpp:873</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a14ae547ff0bb1ecf95c4f14419ff7978"><div class="ttname"><a href="classCPrivateSendServer.html#a14ae547ff0bb1ecf95c4f14419ff7978">CPrivateSendServer::AddUserToExistingSession</a></div><div class="ttdeci">bool AddUserToExistingSession(int nDenom, CTransaction txCollateral, PoolMessage &nMessageIDRet)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00759">privatesend-server.cpp:759</a></div></div>
|
|
<div class="ttc" id="classCDataStream_html"><div class="ttname"><a href="classCDataStream.html">CDataStream</a></div><div class="ttdef"><b>Definition:</b> <a href="streams_8h_source.html#l00030">streams.h:30</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_ab6d446eb9d4d76982e7a92c8c9529af0"><div class="ttname"><a href="classCPrivateSendServer.html#ab6d446eb9d4d76982e7a92c8c9529af0">CPrivateSendServer::CheckPool</a></div><div class="ttdeci">void CheckPool(CConnman &connman)</div><div class="ttdoc">Check for process. </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00278">privatesend-server.cpp:278</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a5bbfc770d9593387302f40281f8fca96"><div class="ttname"><a href="classCPrivateSendServer.html#a5bbfc770d9593387302f40281f8fca96">CPrivateSendServer::CheckTimeout</a></div><div class="ttdeci">void CheckTimeout(CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00495">privatesend-server.cpp:495</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_aa8e1e1e438219f4ddaf9a941e0c400b7"><div class="ttname"><a href="classCPrivateSendServer.html#aa8e1e1e438219f4ddaf9a941e0c400b7">CPrivateSendServer::IsInputScriptSigValid</a></div><div class="ttdeci">bool IsInputScriptSigValid(const CTxIn &txin)</div><div class="ttdoc">Check to make sure a given input matches an input in the pool and its scriptSig is valid...</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00546">privatesend-server.cpp:546</a></div></div>
|
|
<div class="ttc" id="privatesend_8h_html_a31c8a30d2786888a6414397247a9672b"><div class="ttname"><a href="privatesend_8h.html#a31c8a30d2786888a6414397247a9672b">PoolStatusUpdate</a></div><div class="ttdeci">PoolStatusUpdate</div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00070">privatesend.h:70</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_ad22c8603123573ef0831c127477af1bd"><div class="ttname"><a href="classCPrivateSendServer.html#ad22c8603123573ef0831c127477af1bd">CPrivateSendServer::CreateNewSession</a></div><div class="ttdeci">bool CreateNewSession(int nDenom, CTransaction txCollateral, PoolMessage &nMessageIDRet, CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00720">privatesend-server.cpp:720</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_af7e38b25732fe0532d4a7061badababe"><div class="ttname"><a href="classCPrivateSendServer.html#af7e38b25732fe0532d4a7061badababe">CPrivateSendServer::IsAcceptableDenomAndCollateral</a></div><div class="ttdeci">bool IsAcceptableDenomAndCollateral(int nDenom, CTransaction txCollateral, PoolMessage &nMessageIDRet)</div><div class="ttdoc">Is this nDenom and txCollateral acceptable? </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00698">privatesend-server.cpp:698</a></div></div>
|
|
<div class="ttc" id="classCPrivateSend_html_ad8aaf20f4a8ed49cc42d1e7f53a84442"><div class="ttname"><a href="classCPrivateSend.html#ad8aaf20f4a8ed49cc42d1e7f53a84442">CPrivateSend::GetMaxPoolTransactions</a></div><div class="ttdeci">static int GetMaxPoolTransactions()</div><div class="ttdoc">Get the maximum number of transactions for the pool. </div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00343">privatesend.h:343</a></div></div>
|
|
<div class="ttc" id="privatesend_8h_html_abbe2eccf5424566d6e095f9af8136a9c"><div class="ttname"><a href="privatesend_8h.html#abbe2eccf5424566d6e095f9af8136a9c">PoolState</a></div><div class="ttdeci">PoolState</div><div class="ttdef"><b>Definition:</b> <a href="privatesend_8h_source.html#l00058">privatesend.h:58</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a9007b9f51597c00ee97c0c39aa4f3e15"><div class="ttname"><a href="classCPrivateSendServer.html#a9007b9f51597c00ee97c0c39aa4f3e15">CPrivateSendServer::PushStatus</a></div><div class="ttdeci">void PushStatus(CNode *pnode, PoolStatusUpdate nStatusUpdate, PoolMessage nMessageID, CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00812">privatesend-server.cpp:812</a></div></div>
|
|
<div class="ttc" id="privatesend_8h_html"><div class="ttname"><a href="privatesend_8h.html">privatesend.h</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a24be951a12edb94519674585dd211eee"><div class="ttname"><a href="classCPrivateSendServer.html#a24be951a12edb94519674585dd211eee">CPrivateSendServer::IsSignaturesComplete</a></div><div class="ttdeci">bool IsSignaturesComplete()</div><div class="ttdoc">Check that all inputs are signed. (Are all inputs signed?) </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00676">privatesend-server.cpp:676</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_ad51576edb65312fa566ba6f0351a7b6d"><div class="ttname"><a href="classCPrivateSendServer.html#ad51576edb65312fa566ba6f0351a7b6d">CPrivateSendServer::ProcessMessage</a></div><div class="ttdeci">void ProcessMessage(CNode *pfrom, std::string &strCommand, CDataStream &vRecv, CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00018">privatesend-server.cpp:18</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_afe1eb8574c97698395c7dac179a63c16"><div class="ttname"><a href="classCPrivateSendServer.html#afe1eb8574c97698395c7dac179a63c16">CPrivateSendServer::RelayCompletedTransaction</a></div><div class="ttdeci">void RelayCompletedTransaction(PoolMessage nMessageID, CConnman &connman)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00854">privatesend-server.cpp:854</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a331ca0c6a5687ecb079b55da6d735bf4"><div class="ttname"><a href="classCPrivateSendServer.html#a331ca0c6a5687ecb079b55da6d735bf4">CPrivateSendServer::ChargeRandomFees</a></div><div class="ttdeci">void ChargeRandomFees(CConnman &connman)</div><div class="ttdoc">Rarely charge fees to pay miners. </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00469">privatesend-server.cpp:469</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a8d654b95a3cd65b5e1c560722f84d731"><div class="ttname"><a href="classCPrivateSendServer.html#a8d654b95a3cd65b5e1c560722f84d731">CPrivateSendServer::RelayStatus</a></div><div class="ttdeci">void RelayStatus(PoolStatusUpdate nStatusUpdate, CConnman &connman, PoolMessage nMessageID=MSG_NOERR)</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00818">privatesend-server.cpp:818</a></div></div>
|
|
<div class="ttc" id="privatesend-server_8h_html_a1b2b9915fc9328ffcd70517e5c6d649a"><div class="ttname"><a href="privatesend-server_8h.html#a1b2b9915fc9328ffcd70517e5c6d649a">privateSendServer</a></div><div class="ttdeci">CPrivateSendServer privateSendServer</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00016">privatesend-server.cpp:16</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a332772df161f5d7c60f98634e3c18370"><div class="ttname"><a href="classCPrivateSendServer.html#a332772df161f5d7c60f98634e3c18370">CPrivateSendServer::ChargeFees</a></div><div class="ttdeci">void ChargeFees(CConnman &connman)</div><div class="ttdoc">Charge fees to bad actors (Charge clients a fee if they&#39;re abusive) </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00392">privatesend-server.cpp:392</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_abc98e4c549e0a0cc76dac9b963297e52"><div class="ttname"><a href="classCPrivateSendServer.html#abc98e4c549e0a0cc76dac9b963297e52">CPrivateSendServer::fUnitTest</a></div><div class="ttdeci">bool fUnitTest</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8h_source.html#l00027">privatesend-server.h:27</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a1f5fce9b996626cff6c5fe477b903681"><div class="ttname"><a href="classCPrivateSendServer.html#a1f5fce9b996626cff6c5fe477b903681">CPrivateSendServer::RelayFinalTransaction</a></div><div class="ttdeci">void RelayFinalTransaction(const CTransaction &txFinal, CConnman &connman)</div><div class="ttdoc">Relay mixing Messages. </div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8cpp_source.html#l00793">privatesend-server.cpp:793</a></div></div>
|
|
<div class="ttc" id="classCPrivateSendServer_html_a329bc97aa934cbe2bb03494c944915c3"><div class="ttname"><a href="classCPrivateSendServer.html#a329bc97aa934cbe2bb03494c944915c3">CPrivateSendServer::CPrivateSendServer</a></div><div class="ttdeci">CPrivateSendServer()</div><div class="ttdef"><b>Definition:</b> <a href="privatesend-server_8h_source.html#l00071">privatesend-server.h:71</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="privatesend-server_8h.html">privatesend-server.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:04 for Dash Core by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|