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

248 lines
19 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/instantx.cpp File Reference</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('instantx_8cpp.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="summary">
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">instantx.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="activemasternode_8h_source.html">activemasternode.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="instantx_8h_source.html">instantx.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="key_8h_source.html">key.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="validation_8h_source.html">validation.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="masternode-sync_8h_source.html">masternode-sync.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="masternodeman_8h_source.html">masternodeman.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="messagesigner_8h_source.html">messagesigner.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="net_8h_source.html">net.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="protocol_8h_source.html">protocol.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="spork_8h_source.html">spork.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="sync_8h_source.html">sync.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="txmempool_8h_source.html">txmempool.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="util_8h_source.html">util.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="consensus_2validation_8h_source.html">consensus/validation.h</a>&quot;</code><br />
<code>#include &lt;boost/algorithm/string/replace.hpp&gt;</code><br />
<code>#include &lt;boost/thread.hpp&gt;</code><br />
</div>
<p><a href="instantx_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a8c747077ad84071cba8b87f34fe38920"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCWallet.html">CWallet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instantx_8cpp.html#a8c747077ad84071cba8b87f34fe38920">pwalletMain</a></td></tr>
<tr class="separator:a8c747077ad84071cba8b87f34fe38920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc71256f703e47c9254093e32ed2994c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCTxMemPool.html">CTxMemPool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instantx_8cpp.html#abc71256f703e47c9254093e32ed2994c">mempool</a></td></tr>
<tr class="separator:abc71256f703e47c9254093e32ed2994c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a5a8ade95cb2fb16eb0efc75375c8f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instantx_8cpp.html#a23a5a8ade95cb2fb16eb0efc75375c8f">fEnableInstantSend</a> = true</td></tr>
<tr class="separator:a23a5a8ade95cb2fb16eb0efc75375c8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c2d7f12c40dc0049df471597e124dbe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instantx_8cpp.html#a4c2d7f12c40dc0049df471597e124dbe">nInstantSendDepth</a> = <a class="el" href="instantx_8h.html#afdb8239ab1b27d7d92fea61c4e36e0f3">DEFAULT_INSTANTSEND_DEPTH</a></td></tr>
<tr class="separator:a4c2d7f12c40dc0049df471597e124dbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03408fcf1ecf5379a429491d3cd0e36b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instantx_8cpp.html#a03408fcf1ecf5379a429491d3cd0e36b">nCompleteTXLocks</a></td></tr>
<tr class="separator:a03408fcf1ecf5379a429491d3cd0e36b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ed4b104bfd9f775e0c0a3524a6b4955"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCInstantSend.html">CInstantSend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instantx_8cpp.html#a6ed4b104bfd9f775e0c0a3524a6b4955">instantsend</a></td></tr>
<tr class="separator:a6ed4b104bfd9f775e0c0a3524a6b4955"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a23a5a8ade95cb2fb16eb0efc75375c8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a5a8ade95cb2fb16eb0efc75375c8f">&#9670;&nbsp;</a></span>fEnableInstantSend</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool fEnableInstantSend = true</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="instantx_8cpp_source.html#l00026">26</a> of file <a class="el" href="instantx_8cpp_source.html">instantx.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="init_8cpp_source.html#l00942">AppInit2()</a>, <a class="el" href="instantx_8cpp_source.html#l00795">CInstantSend::GetTransactionLockSignatures()</a>, <a class="el" href="init_8cpp_source.html#l00818">InitParameterInteraction()</a>, <a class="el" href="instantx_8cpp_source.html#l00758">CInstantSend::IsInstantSendReadyToLock()</a>, <a class="el" href="instantx_8cpp_source.html#l00770">CInstantSend::IsLockedInstantSendTransaction()</a>, and <a class="el" href="instantx_8cpp_source.html#l00816">CInstantSend::IsTxLockCandidateTimedOut()</a>.</p>
</div>
</div>
<a id="a6ed4b104bfd9f775e0c0a3524a6b4955"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ed4b104bfd9f775e0c0a3524a6b4955">&#9670;&nbsp;</a></span>instantsend</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCInstantSend.html">CInstantSend</a> instantsend</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="instantx_8cpp_source.html#l00030">30</a> of file <a class="el" href="instantx_8cpp_source.html">instantx.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="validation_8cpp_source.html#l00549">AcceptToMemoryPoolWorker()</a>, <a class="el" href="net__processing_8cpp_source.html#l00677">AlreadyHave()</a>, <a class="el" href="validation_8cpp_source.html#l03119">CheckBlock()</a>, <a class="el" href="transactiondesc_8cpp_source.html#l00027">TransactionDesc::FormatTxStatus()</a>, <a class="el" href="wallet_8cpp_source.html#l04416">CMerkleTx::GetDepthInMainChain()</a>, <a class="el" href="governance-object_8cpp_source.html#l00502">CGovernanceObject::IsCollateralValid()</a>, <a class="el" href="instantx_8cpp_source.html#l01102">CTxLockVote::IsFailed()</a>, <a class="el" href="net__processing_8cpp_source.html#l00785">ProcessGetData()</a>, <a class="el" href="net__processing_8cpp_source.html#l01074">ProcessMessage()</a>, <a class="el" href="net_8cpp_source.html#l02477">CConnman::RelayTransaction()</a>, <a class="el" href="wallet_8cpp_source.html#l01760">CWalletTx::RelayWalletTransaction()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00830">sendrawtransaction()</a>, <a class="el" href="dsnotificationinterface_8cpp_source.html#l00068">CDSNotificationInterface::SyncTransaction()</a>, <a class="el" href="privatesend_8cpp_source.html#l00421">ThreadCheckPrivateSend()</a>, <a class="el" href="dsnotificationinterface_8cpp_source.html#l00030">CDSNotificationInterface::UpdatedBlockTip()</a>, and <a class="el" href="rpcwallet_8cpp_source.html#l00060">WalletTxToJSON()</a>.</p>
</div>
</div>
<a id="abc71256f703e47c9254093e32ed2994c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc71256f703e47c9254093e32ed2994c">&#9670;&nbsp;</a></span>mempool</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCTxMemPool.html">CTxMemPool</a> mempool</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="wallet_8cpp_source.html#l04457">CMerkleTx::AcceptToMemoryPool()</a>, <a class="el" href="net__processing_8cpp_source.html#l00677">AlreadyHave()</a>, <a class="el" href="init_8cpp_source.html#l00942">AppInit2()</a>, <a class="el" href="miner_8cpp_source.html#l00403">BitcoinMiner()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00392">CPrivateSendServer::ChargeFees()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00469">CPrivateSendServer::ChargeRandomFees()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00331">CPrivateSendServer::CommitFinalTransaction()</a>, <a class="el" href="miner_8cpp_source.html#l00077">CreateNewBlock()</a>, <a class="el" href="wallet_8cpp_source.html#l03173">CWallet::CreateTransaction()</a>, <a class="el" href="mining_8cpp_source.html#l00811">estimatefee()</a>, <a class="el" href="mining_8cpp_source.html#l00842">estimatepriority()</a>, <a class="el" href="mining_8cpp_source.html#l00869">estimatesmartfee()</a>, <a class="el" href="mining_8cpp_source.html#l00905">estimatesmartpriority()</a>, <a class="el" href="misc_8cpp_source.html#l00583">getaddressmempool()</a>, <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="wallet_8cpp_source.html#l04416">CMerkleTx::GetDepthInMainChain()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00155">ClientModel::getMempoolDynamicUsage()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00150">ClientModel::getMempoolSize()</a>, <a class="el" href="mining_8cpp_source.html#l00235">getmininginfo()</a>, <a class="el" href="blockchain_8cpp_source.html#l00591">gettxout()</a>, <a class="el" href="wallet_8cpp_source.html#l02032">CWalletTx::InMempool()</a>, <a class="el" href="privatesend_8cpp_source.html#l00174">CPrivateSend::IsCollateralValid()</a>, <a class="el" href="blockchain_8cpp_source.html#l00948">mempoolInfoToJSON()</a>, <a class="el" href="blockchain_8cpp_source.html#l00182">mempoolToJSON()</a>, <a class="el" href="init_8cpp_source.html#l00210">PrepareShutdown()</a>, <a class="el" href="mining_8cpp_source.html#l00279">prioritisetransaction()</a>, <a class="el" href="net__processing_8cpp_source.html#l00785">ProcessGetData()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00018">CPrivateSendServer::ProcessMessage()</a>, <a class="el" href="net__processing_8cpp_source.html#l01074">ProcessMessage()</a>, <a class="el" href="wallet_8cpp_source.html#l01728">CWallet::ReacceptWalletTransactions()</a>, <a class="el" href="instantx_8cpp_source.html#l00539">CInstantSend::ResolveConflicts()</a>, <a class="el" href="rest_8cpp_source.html#l00403">rest_getutxos()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00362">CPrivateSendClient::SendDenominate()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00830">sendrawtransaction()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00588">signrawtransaction()</a>, <a class="el" href="dsnotificationinterface_8cpp_source.html#l00030">CDSNotificationInterface::UpdatedBlockTip()</a>, <a class="el" href="coincontroldialog_8cpp_source.html#l00479">CoinControlDialog::updateLabels()</a>, <a class="el" href="sendcoinsdialog_8cpp_source.html#l00746">SendCoinsDialog::updateSmartFeeLabel()</a>, and <a class="el" href="rpcwallet_8cpp_source.html#l00060">WalletTxToJSON()</a>.</p>
</div>
</div>
<a id="a03408fcf1ecf5379a429491d3cd0e36b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03408fcf1ecf5379a429491d3cd0e36b">&#9670;&nbsp;</a></span>nCompleteTXLocks</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int nCompleteTXLocks</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="instantx_8cpp_source.html#l00028">28</a> of file <a class="el" href="instantx_8cpp_source.html">instantx.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="walletmodel_8cpp_source.html#l00160">WalletModel::checkBalanceChanged()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00134">WalletModel::pollBalanceChanged()</a>, <a class="el" href="overviewpage_8cpp_source.html#l00202">OverviewPage::setBalance()</a>, <a class="el" href="transactionrecord_8cpp_source.html#l00319">TransactionRecord::statusUpdateNeeded()</a>, <a class="el" href="instantx_8cpp_source.html#l00480">CInstantSend::UpdateLockedTransaction()</a>, and <a class="el" href="transactionrecord_8cpp_source.html#l00231">TransactionRecord::updateStatus()</a>.</p>
</div>
</div>
<a id="a4c2d7f12c40dc0049df471597e124dbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c2d7f12c40dc0049df471597e124dbe">&#9670;&nbsp;</a></span>nInstantSendDepth</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int nInstantSendDepth = <a class="el" href="instantx_8h.html#afdb8239ab1b27d7d92fea61c4e36e0f3">DEFAULT_INSTANTSEND_DEPTH</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="instantx_8cpp_source.html#l00027">27</a> of file <a class="el" href="instantx_8cpp_source.html">instantx.cpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="init_8cpp_source.html#l00942">AppInit2()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00792">getbalance()</a>, <a class="el" href="instantx_8cpp_source.html#l00811">CInstantSend::GetConfirmations()</a>, <a class="el" href="wallet_8cpp_source.html#l04416">CMerkleTx::GetDepthInMainChain()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00701">getreceivedbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00641">getreceivedbyaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01645">listaccounts()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01380">listreceivedbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01339">listreceivedbyaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00958">sendfrom()</a>, and <a class="el" href="rpcwallet_8cpp_source.html#l01024">sendmany()</a>.</p>
</div>
</div>
<a id="a8c747077ad84071cba8b87f34fe38920"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c747077ad84071cba8b87f34fe38920">&#9670;&nbsp;</a></span>pwalletMain</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCWallet.html">CWallet</a>* pwalletMain</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="instantx_8cpp_source.html#l00043">CInstantSend::ProcessMessage()</a>, <a class="el" href="instantx_8cpp_source.html#l00408">CInstantSend::ProcessOrphanTxLockVotes()</a>, <a class="el" href="instantx_8cpp_source.html#l00278">CInstantSend::ProcessTxLockVote()</a>, <a class="el" href="instantx_8cpp_source.html#l00458">CInstantSend::TryToFinalizeLockCandidate()</a>, and <a class="el" href="instantx_8cpp_source.html#l00480">CInstantSend::UpdateLockedTransaction()</a>.</p>
</div>
</div>
</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="instantx_8cpp.html">instantx.cpp</a></li>
<li class="footer">Generated on Thu Dec 14 2017 13:15:10 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>