mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
840 lines
47 KiB
HTML
840 lines
47 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: CBlockPolicyEstimator Class 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&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('classCBlockPolicyEstimator.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="#nested-classes">Classes</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classCBlockPolicyEstimator-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">CBlockPolicyEstimator Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="fees_8h_source.html">fees.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structCBlockPolicyEstimator_1_1TxStatsInfo.html">TxStatsInfo</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a63578e09e192cb16bdd28ccf49e85c06"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a63578e09e192cb16bdd28ccf49e85c06">CBlockPolicyEstimator</a> (const <a class="el" href="classCFeeRate.html">CFeeRate</a> &minRelayFee)</td></tr>
|
|
<tr class="separator:a63578e09e192cb16bdd28ccf49e85c06"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4dbf4773f292c71c51cd17b7eb67dad0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a4dbf4773f292c71c51cd17b7eb67dad0">processBlock</a> (unsigned int nBlockHeight, std::vector< <a class="el" href="classCTxMemPoolEntry.html">CTxMemPoolEntry</a> > &entries, bool fCurrentEstimate)</td></tr>
|
|
<tr class="separator:a4dbf4773f292c71c51cd17b7eb67dad0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a743b4afec36ec5ac64d2ff63c7f61aae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a743b4afec36ec5ac64d2ff63c7f61aae">processBlockTx</a> (unsigned int nBlockHeight, const <a class="el" href="classCTxMemPoolEntry.html">CTxMemPoolEntry</a> &entry)</td></tr>
|
|
<tr class="separator:a743b4afec36ec5ac64d2ff63c7f61aae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2a8e9135f06f38dc51031125e803a6b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#ab2a8e9135f06f38dc51031125e803a6b">processTransaction</a> (const <a class="el" href="classCTxMemPoolEntry.html">CTxMemPoolEntry</a> &entry, bool fCurrentEstimate)</td></tr>
|
|
<tr class="separator:ab2a8e9135f06f38dc51031125e803a6b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a52cc7162762f37f5a246dc7a16838aa9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a52cc7162762f37f5a246dc7a16838aa9">removeTx</a> (<a class="el" href="classuint256.html">uint256</a> hash)</td></tr>
|
|
<tr class="separator:a52cc7162762f37f5a246dc7a16838aa9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5210aa92ae419c28dd18d853732c166"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#ae5210aa92ae419c28dd18d853732c166">isFeeDataPoint</a> (const <a class="el" href="classCFeeRate.html">CFeeRate</a> &fee, double pri)</td></tr>
|
|
<tr class="separator:ae5210aa92ae419c28dd18d853732c166"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ac58339877c62a144679caa349c414a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a9ac58339877c62a144679caa349c414a">isPriDataPoint</a> (const <a class="el" href="classCFeeRate.html">CFeeRate</a> &fee, double pri)</td></tr>
|
|
<tr class="separator:a9ac58339877c62a144679caa349c414a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a55418a0d0c84ff184d67b1bd366ca525"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCFeeRate.html">CFeeRate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a55418a0d0c84ff184d67b1bd366ca525">estimateFee</a> (int confTarget)</td></tr>
|
|
<tr class="separator:a55418a0d0c84ff184d67b1bd366ca525"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc6d4370b7b3942507647904043b181a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCFeeRate.html">CFeeRate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#acc6d4370b7b3942507647904043b181a">estimateSmartFee</a> (int confTarget, int *answerFoundAtTarget, const <a class="el" href="classCTxMemPool.html">CTxMemPool</a> &pool)</td></tr>
|
|
<tr class="separator:acc6d4370b7b3942507647904043b181a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adcaa52e6fdabbf8b0907bb5521aaa4f9"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#adcaa52e6fdabbf8b0907bb5521aaa4f9">estimatePriority</a> (int confTarget)</td></tr>
|
|
<tr class="separator:adcaa52e6fdabbf8b0907bb5521aaa4f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a81d98a40d7560a1edec92d565bb7ba4b"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a81d98a40d7560a1edec92d565bb7ba4b">estimateSmartPriority</a> (int confTarget, int *answerFoundAtTarget, const <a class="el" href="classCTxMemPool.html">CTxMemPool</a> &pool)</td></tr>
|
|
<tr class="separator:a81d98a40d7560a1edec92d565bb7ba4b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a476fd39364402e84d3740fb2b52ba23d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a476fd39364402e84d3740fb2b52ba23d">Write</a> (<a class="el" href="classCAutoFile.html">CAutoFile</a> &<a class="el" href="util_8cpp.html#a5256be9be45ec4d0909f14a61d455e23">fileout</a>)</td></tr>
|
|
<tr class="separator:a476fd39364402e84d3740fb2b52ba23d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3d6a47569d0677f8c40a6a170e8abf4d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a3d6a47569d0677f8c40a6a170e8abf4d">Read</a> (<a class="el" href="classCAutoFile.html">CAutoFile</a> &filein)</td></tr>
|
|
<tr class="separator:a3d6a47569d0677f8c40a6a170e8abf4d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a9855a86bd39817acc9de71a574e582c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCFeeRate.html">CFeeRate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a9855a86bd39817acc9de71a574e582c2">minTrackedFee</a></td></tr>
|
|
<tr class="separator:a9855a86bd39817acc9de71a574e582c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4f27bd09eadcb493cb5e31e36fa4bd02"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a4f27bd09eadcb493cb5e31e36fa4bd02">minTrackedPriority</a></td></tr>
|
|
<tr class="memdesc:a4f27bd09eadcb493cb5e31e36fa4bd02"><td class="mdescLeft"> </td><td class="mdescRight">Passed to constructor to avoid dependency on main. <a href="#a4f27bd09eadcb493cb5e31e36fa4bd02">More...</a><br /></td></tr>
|
|
<tr class="separator:a4f27bd09eadcb493cb5e31e36fa4bd02"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a208f2b05a4ca303a1814f88f0cfb3b5b"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a208f2b05a4ca303a1814f88f0cfb3b5b">nBestSeenHeight</a></td></tr>
|
|
<tr class="memdesc:a208f2b05a4ca303a1814f88f0cfb3b5b"><td class="mdescLeft"> </td><td class="mdescRight">Set to AllowFreeThreshold. <a href="#a208f2b05a4ca303a1814f88f0cfb3b5b">More...</a><br /></td></tr>
|
|
<tr class="separator:a208f2b05a4ca303a1814f88f0cfb3b5b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae3af28a53439328591107672c9ad84b1"><td class="memItemLeft" align="right" valign="top">std::map< <a class="el" href="classuint256.html">uint256</a>, <a class="el" href="structCBlockPolicyEstimator_1_1TxStatsInfo.html">TxStatsInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#ae3af28a53439328591107672c9ad84b1">mapMemPoolTxs</a></td></tr>
|
|
<tr class="separator:ae3af28a53439328591107672c9ad84b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2b2e4283eb4ee6a03df4ab084c74ce1c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTxConfirmStats.html">TxConfirmStats</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a2b2e4283eb4ee6a03df4ab084c74ce1c">feeStats</a></td></tr>
|
|
<tr class="separator:a2b2e4283eb4ee6a03df4ab084c74ce1c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afa12ce705042b5a93bc07e5ad467a4df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTxConfirmStats.html">TxConfirmStats</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#afa12ce705042b5a93bc07e5ad467a4df">priStats</a></td></tr>
|
|
<tr class="separator:afa12ce705042b5a93bc07e5ad467a4df"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a883dff595684fb967def434ea626a3b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCFeeRate.html">CFeeRate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a883dff595684fb967def434ea626a3b0">feeLikely</a></td></tr>
|
|
<tr class="separator:a883dff595684fb967def434ea626a3b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaefa1c1be20e8051d1fc6ec3543c2ffd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCFeeRate.html">CFeeRate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#aaefa1c1be20e8051d1fc6ec3543c2ffd">feeUnlikely</a></td></tr>
|
|
<tr class="separator:aaefa1c1be20e8051d1fc6ec3543c2ffd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a95d99a8ef792305efa3580a1beffad3d"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#a95d99a8ef792305efa3580a1beffad3d">priLikely</a></td></tr>
|
|
<tr class="separator:a95d99a8ef792305efa3580a1beffad3d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4d05ddd6a9ba94fd1713f8556267a24"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classCBlockPolicyEstimator.html#af4d05ddd6a9ba94fd1713f8556267a24">priUnlikely</a></td></tr>
|
|
<tr class="separator:af4d05ddd6a9ba94fd1713f8556267a24"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>We want to be able to estimate fees or priorities that are needed on tx's to be included in a certain number of blocks. Every time a block is added to the best chain, this class records stats on the transactions included in that block</p>
|
|
<p>The BlockPolicyEstimator is used for estimating the fee or priority needed for a transaction to be included in a block within a certain number of blocks.</p>
|
|
<p>At a high level the algorithm works by grouping transactions into buckets based on having similar priorities or fees and then tracking how long it takes transactions in the various buckets to be mined. It operates under the assumption that in general transactions of higher fee/priority will be included in blocks before transactions of lower fee/priority. So for example if you wanted to know what fee you should put on a transaction to be included in a block within the next 5 blocks, you would start by looking at the bucket with the highest fee transactions and verifying that a sufficiently high percentage of them were confirmed within 5 blocks and then you would look at the next highest fee bucket, and so on, stopping at the last bucket to pass the test. The average fee of transactions in this bucket will give you an indication of the lowest fee you can put on a transaction and still have a sufficiently high chance of being confirmed within your desired 5 blocks.</p>
|
|
<p>When a transaction enters the mempool or is included within a block we decide whether it can be used as a data point for fee estimation, priority estimation or neither. If the value of exactly one of those properties was below the required minimum it can be used to estimate the other. In addition, if a priori our estimation code would indicate that the transaction would be much more quickly included in a block because of one of the properties compared to the other, we can also decide to use it as an estimate for that property.</p>
|
|
<p>Here is a brief description of the implementation for fee estimation. When a transaction that counts for fee estimation enters the mempool, we track the height of the block chain at entry. Whenever a block comes in, we count the number of transactions in each bucket and the total amount of fee paid in each bucket. Then we calculate how many blocks Y it took each transaction to be mined and we track an array of counters in each bucket for how long it to took transactions to get confirmed from 1 to a max of 25 and we increment all the counters from Y up to 25. This is because for any number Z>=Y the transaction was successfully mined within Z blocks. We want to save a history of this information, so at any time we have a counter of the total number of transactions that happened in a given fee bucket and the total number that were confirmed in each number 1-25 blocks or less for any bucket. We save this history by keeping an exponentially decaying moving average of each one of these stats. Furthermore we also keep track of the number unmined (in mempool) transactions in each bucket and for how many blocks they have been outstanding and use that to increase the number of transactions we've seen in that fee bucket when calculating an estimate for any number of confirmations below the number of blocks they've been outstanding. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00218">218</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a63578e09e192cb16bdd28ccf49e85c06"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a63578e09e192cb16bdd28ccf49e85c06">◆ </a></span>CBlockPolicyEstimator()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">CBlockPolicyEstimator::CBlockPolicyEstimator </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCFeeRate.html">CFeeRate</a> & </td>
|
|
<td class="paramname"><em>minRelayFee</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Create new BlockPolicyEstimator and initialize stats tracking classes with default values </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00301">301</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a55418a0d0c84ff184d67b1bd366ca525"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a55418a0d0c84ff184d67b1bd366ca525">◆ </a></span>estimateFee()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCFeeRate.html">CFeeRate</a> CBlockPolicyEstimator::estimateFee </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>confTarget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Return a fee estimate </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00492">492</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00878">CTxMemPool::estimateFee()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adcaa52e6fdabbf8b0907bb5521aaa4f9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adcaa52e6fdabbf8b0907bb5521aaa4f9">◆ </a></span>estimatePriority()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double CBlockPolicyEstimator::estimatePriority </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>confTarget</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Return a priority estimate </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00533">533</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00888">CTxMemPool::estimatePriority()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acc6d4370b7b3942507647904043b181a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acc6d4370b7b3942507647904043b181a">◆ </a></span>estimateSmartFee()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCFeeRate.html">CFeeRate</a> CBlockPolicyEstimator::estimateSmartFee </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>confTarget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int * </td>
|
|
<td class="paramname"><em>answerFoundAtTarget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classCTxMemPool.html">CTxMemPool</a> & </td>
|
|
<td class="paramname"><em>pool</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Estimate fee rate needed to get be included in a block within confTarget blocks. If no answer can be given at confTarget, return an estimate at the lowest target where one can be given. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00506">506</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00883">CTxMemPool::estimateSmartFee()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a81d98a40d7560a1edec92d565bb7ba4b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a81d98a40d7560a1edec92d565bb7ba4b">◆ </a></span>estimateSmartPriority()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double CBlockPolicyEstimator::estimateSmartPriority </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>confTarget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int * </td>
|
|
<td class="paramname"><em>answerFoundAtTarget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classCTxMemPool.html">CTxMemPool</a> & </td>
|
|
<td class="paramname"><em>pool</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Estimate priority needed to get be included in a block within confTarget blocks. If no answer can be given at confTarget, return an estimate at the lowest target where one can be given. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00542">542</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00893">CTxMemPool::estimateSmartPriority()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae5210aa92ae419c28dd18d853732c166"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae5210aa92ae419c28dd18d853732c166">◆ </a></span>isFeeDataPoint()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CBlockPolicyEstimator::isFeeDataPoint </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCFeeRate.html">CFeeRate</a> & </td>
|
|
<td class="paramname"><em>fee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>pri</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Is this transaction likely included in a block because of its fee? </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00326">326</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00397">processBlockTx()</a>, and <a class="el" href="fees_8cpp_source.html#l00344">processTransaction()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9ac58339877c62a144679caa349c414a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9ac58339877c62a144679caa349c414a">◆ </a></span>isPriDataPoint()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CBlockPolicyEstimator::isPriDataPoint </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCFeeRate.html">CFeeRate</a> & </td>
|
|
<td class="paramname"><em>fee</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"><em>pri</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Is this transaction likely included in a block because of its priority? </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00335">335</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00397">processBlockTx()</a>, and <a class="el" href="fees_8cpp_source.html#l00344">processTransaction()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4dbf4773f292c71c51cd17b7eb67dad0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4dbf4773f292c71c51cd17b7eb67dad0">◆ </a></span>processBlock()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CBlockPolicyEstimator::processBlock </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>nBlockHeight</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classCTxMemPoolEntry.html">CTxMemPoolEntry</a> > & </td>
|
|
<td class="paramname"><em>entries</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>fCurrentEstimate</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Process all the transactions that have been included in a block </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00434">434</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00706">CTxMemPool::removeForBlock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a743b4afec36ec5ac64d2ff63c7f61aae"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a743b4afec36ec5ac64d2ff63c7f61aae">◆ </a></span>processBlockTx()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CBlockPolicyEstimator::processBlockTx </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>nBlockHeight</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classCTxMemPoolEntry.html">CTxMemPoolEntry</a> & </td>
|
|
<td class="paramname"><em>entry</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Process a transaction confirmed in a block </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00397">397</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab2a8e9135f06f38dc51031125e803a6b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab2a8e9135f06f38dc51031125e803a6b">◆ </a></span>processTransaction()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CBlockPolicyEstimator::processTransaction </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCTxMemPoolEntry.html">CTxMemPoolEntry</a> & </td>
|
|
<td class="paramname"><em>entry</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>fCurrentEstimate</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Process a transaction accepted to the mempool </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00344">344</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00372">CTxMemPool::addUnchecked()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3d6a47569d0677f8c40a6a170e8abf4d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3d6a47569d0677f8c40a6a170e8abf4d">◆ </a></span>Read()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CBlockPolicyEstimator::Read </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classCAutoFile.html">CAutoFile</a> & </td>
|
|
<td class="paramname"><em>filein</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Read estimation data from a file </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00573">573</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00916">CTxMemPool::ReadFeeEstimates()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a52cc7162762f37f5a246dc7a16838aa9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a52cc7162762f37f5a246dc7a16838aa9">◆ </a></span>removeTx()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CBlockPolicyEstimator::removeTx </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classuint256.html">uint256</a> </td>
|
|
<td class="paramname"><em>hash</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Remove a transaction from the mempool tracking stats </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00285">285</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00565">CTxMemPool::removeUnchecked()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a476fd39364402e84d3740fb2b52ba23d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a476fd39364402e84d3740fb2b52ba23d">◆ </a></span>Write()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CBlockPolicyEstimator::Write </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classCAutoFile.html">CAutoFile</a> & </td>
|
|
<td class="paramname"><em>fileout</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Write estimation data to a file </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8cpp_source.html#l00566">566</a> of file <a class="el" href="fees_8cpp_source.html">fees.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="txmempool_8cpp_source.html#l00900">CTxMemPool::WriteFeeEstimates()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a883dff595684fb967def434ea626a3b0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a883dff595684fb967def434ea626a3b0">◆ </a></span>feeLikely</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCFeeRate.html">CFeeRate</a> CBlockPolicyEstimator::feeLikely</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Breakpoints to help determine whether a transaction was confirmed by priority or Fee </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00286">286</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, <a class="el" href="fees_8cpp_source.html#l00326">isFeeDataPoint()</a>, and <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2b2e4283eb4ee6a03df4ab084c74ce1c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2b2e4283eb4ee6a03df4ab084c74ce1c">◆ </a></span>feeStats</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classTxConfirmStats.html">TxConfirmStats</a> CBlockPolicyEstimator::feeStats</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Classes to track historical data on transaction confirmations </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00283">283</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, <a class="el" href="fees_8cpp_source.html#l00492">estimateFee()</a>, <a class="el" href="fees_8cpp_source.html#l00506">estimateSmartFee()</a>, <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>, <a class="el" href="fees_8cpp_source.html#l00397">processBlockTx()</a>, <a class="el" href="fees_8cpp_source.html#l00344">processTransaction()</a>, <a class="el" href="fees_8cpp_source.html#l00573">Read()</a>, and <a class="el" href="fees_8cpp_source.html#l00566">Write()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaefa1c1be20e8051d1fc6ec3543c2ffd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaefa1c1be20e8051d1fc6ec3543c2ffd">◆ </a></span>feeUnlikely</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCFeeRate.html">CFeeRate</a> CBlockPolicyEstimator::feeUnlikely</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00286">286</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, and <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae3af28a53439328591107672c9ad84b1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae3af28a53439328591107672c9ad84b1">◆ </a></span>mapMemPoolTxs</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::map<<a class="el" href="classuint256.html">uint256</a>, <a class="el" href="structCBlockPolicyEstimator_1_1TxStatsInfo.html">TxStatsInfo</a>> CBlockPolicyEstimator::mapMemPoolTxs</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00280">280</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>, <a class="el" href="fees_8cpp_source.html#l00344">processTransaction()</a>, and <a class="el" href="fees_8cpp_source.html#l00285">removeTx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9855a86bd39817acc9de71a574e582c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9855a86bd39817acc9de71a574e582c2">◆ </a></span>minTrackedFee</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCFeeRate.html">CFeeRate</a> CBlockPolicyEstimator::minTrackedFee</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00268">268</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, and <a class="el" href="fees_8cpp_source.html#l00326">isFeeDataPoint()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4f27bd09eadcb493cb5e31e36fa4bd02"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4f27bd09eadcb493cb5e31e36fa4bd02">◆ </a></span>minTrackedPriority</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double CBlockPolicyEstimator::minTrackedPriority</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Passed to constructor to avoid dependency on main. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00269">269</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, and <a class="el" href="fees_8cpp_source.html#l00335">isPriDataPoint()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a208f2b05a4ca303a1814f88f0cfb3b5b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a208f2b05a4ca303a1814f88f0cfb3b5b">◆ </a></span>nBestSeenHeight</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int CBlockPolicyEstimator::nBestSeenHeight</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set to AllowFreeThreshold. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00270">270</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00492">estimateFee()</a>, <a class="el" href="fees_8cpp_source.html#l00533">estimatePriority()</a>, <a class="el" href="fees_8cpp_source.html#l00506">estimateSmartFee()</a>, <a class="el" href="fees_8cpp_source.html#l00542">estimateSmartPriority()</a>, <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>, <a class="el" href="fees_8cpp_source.html#l00344">processTransaction()</a>, <a class="el" href="fees_8cpp_source.html#l00573">Read()</a>, <a class="el" href="fees_8cpp_source.html#l00285">removeTx()</a>, and <a class="el" href="fees_8cpp_source.html#l00566">Write()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a95d99a8ef792305efa3580a1beffad3d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a95d99a8ef792305efa3580a1beffad3d">◆ </a></span>priLikely</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double CBlockPolicyEstimator::priLikely</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00287">287</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, <a class="el" href="fees_8cpp_source.html#l00335">isPriDataPoint()</a>, and <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afa12ce705042b5a93bc07e5ad467a4df"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afa12ce705042b5a93bc07e5ad467a4df">◆ </a></span>priStats</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classTxConfirmStats.html">TxConfirmStats</a> CBlockPolicyEstimator::priStats</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00283">283</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, <a class="el" href="fees_8cpp_source.html#l00533">estimatePriority()</a>, <a class="el" href="fees_8cpp_source.html#l00542">estimateSmartPriority()</a>, <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>, <a class="el" href="fees_8cpp_source.html#l00397">processBlockTx()</a>, <a class="el" href="fees_8cpp_source.html#l00344">processTransaction()</a>, <a class="el" href="fees_8cpp_source.html#l00573">Read()</a>, and <a class="el" href="fees_8cpp_source.html#l00566">Write()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af4d05ddd6a9ba94fd1713f8556267a24"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af4d05ddd6a9ba94fd1713f8556267a24">◆ </a></span>priUnlikely</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double CBlockPolicyEstimator::priUnlikely</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="fees_8h_source.html#l00287">287</a> of file <a class="el" href="fees_8h_source.html">fees.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="fees_8cpp_source.html#l00301">CBlockPolicyEstimator()</a>, and <a class="el" href="fees_8cpp_source.html#l00434">processBlock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/policy/<a class="el" href="fees_8h_source.html">fees.h</a></li>
|
|
<li>src/policy/<a class="el" href="fees_8cpp_source.html">fees.cpp</a></li>
|
|
</ul>
|
|
</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="classCBlockPolicyEstimator.html">CBlockPolicyEstimator</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:12 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>
|