dash-docs/en/doxygen/html/namespacereplace-by-fee.html

219 lines
12 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: replace-by-fee Namespace 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('namespacereplace-by-fee.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> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">replace-by-fee Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<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">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreplace-by-fee_1_1ReplaceByFeeTest.html">ReplaceByFeeTest</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a514ef009f45d69eadaeed433308bbdb4"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereplace-by-fee.html#a514ef009f45d69eadaeed433308bbdb4">txToHex</a> (tx)</td></tr>
<tr class="separator:a514ef009f45d69eadaeed433308bbdb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae79593355dc46a2446ddda7686abaf4f"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereplace-by-fee.html#ae79593355dc46a2446ddda7686abaf4f">make_utxo</a> (node, amount, confirmed=True, scriptPubKey=<a class="el" href="classtest__framework_1_1script_1_1CScript.html">CScript</a>([1]))</td></tr>
<tr class="separator:ae79593355dc46a2446ddda7686abaf4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a8ffcc79cbf3fd2f5044ae5a2f3288f70"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacereplace-by-fee.html#a8ffcc79cbf3fd2f5044ae5a2f3288f70">MAX_REPLACEMENT_LIMIT</a> = 100</td></tr>
<tr class="separator:a8ffcc79cbf3fd2f5044ae5a2f3288f70"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae79593355dc46a2446ddda7686abaf4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae79593355dc46a2446ddda7686abaf4f">&#9670;&nbsp;</a></span>make_utxo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def replace-by-fee.make_utxo </td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>node</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>amount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>confirmed</em> = <code>True</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>scriptPubKey</em> = <code><a class="el" href="classtest__framework_1_1script_1_1CScript.html">CScript</a>([1])</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<pre class="fragment">Create a txout with a given amount and scriptPubKey
Mines coins as needed.
confirmed - txouts created will be confirmed in the blockchain;
unconfirmed otherwise.
</pre>
<p class="definition">Definition at line <a class="el" href="replace-by-fee_8py_source.html#l00020">20</a> of file <a class="el" href="replace-by-fee_8py_source.html">replace-by-fee.py</a>.</p>
<p class="reference">Referenced by <a class="el" href="replace-by-fee_8py_source.html#l00082">replace-by-fee.ReplaceByFeeTest.run_test()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00151">replace-by-fee.ReplaceByFeeTest.test_doublespend_chain()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00195">replace-by-fee.ReplaceByFeeTest.test_doublespend_tree()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00358">replace-by-fee.ReplaceByFeeTest.test_new_unconfirmed_inputs()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00440">replace-by-fee.ReplaceByFeeTest.test_opt_in()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00517">replace-by-fee.ReplaceByFeeTest.test_prioritised_transactions()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00286">replace-by-fee.ReplaceByFeeTest.test_replacement_feeperkb()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00114">replace-by-fee.ReplaceByFeeTest.test_simple_doublespend()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00310">replace-by-fee.ReplaceByFeeTest.test_spends_of_conflicting_outputs()</a>, and <a class="el" href="replace-by-fee_8py_source.html#l00381">replace-by-fee.ReplaceByFeeTest.test_too_many_replacements()</a>.</p>
</div>
</div>
<a id="a514ef009f45d69eadaeed433308bbdb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a514ef009f45d69eadaeed433308bbdb4">&#9670;&nbsp;</a></span>txToHex()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">def replace-by-fee.txToHex </td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>tx</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="replace-by-fee_8py_source.html#l00017">17</a> of file <a class="el" href="replace-by-fee_8py_source.html">replace-by-fee.py</a>.</p>
<p class="reference">Referenced by <a class="el" href="replace-by-fee_8py_source.html#l00020">make_utxo()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00151">replace-by-fee.ReplaceByFeeTest.test_doublespend_chain()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00195">replace-by-fee.ReplaceByFeeTest.test_doublespend_tree()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00358">replace-by-fee.ReplaceByFeeTest.test_new_unconfirmed_inputs()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00440">replace-by-fee.ReplaceByFeeTest.test_opt_in()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00517">replace-by-fee.ReplaceByFeeTest.test_prioritised_transactions()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00286">replace-by-fee.ReplaceByFeeTest.test_replacement_feeperkb()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00114">replace-by-fee.ReplaceByFeeTest.test_simple_doublespend()</a>, <a class="el" href="replace-by-fee_8py_source.html#l00310">replace-by-fee.ReplaceByFeeTest.test_spends_of_conflicting_outputs()</a>, and <a class="el" href="replace-by-fee_8py_source.html#l00381">replace-by-fee.ReplaceByFeeTest.test_too_many_replacements()</a>.</p>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a8ffcc79cbf3fd2f5044ae5a2f3288f70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ffcc79cbf3fd2f5044ae5a2f3288f70">&#9670;&nbsp;</a></span>MAX_REPLACEMENT_LIMIT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int replace-by-fee.MAX_REPLACEMENT_LIMIT = 100</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="replace-by-fee_8py_source.html#l00015">15</a> of file <a class="el" href="replace-by-fee_8py_source.html">replace-by-fee.py</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="namespacereplace-by-fee.html">replace-by-fee</a></li>
<li class="footer">Generated on Thu Dec 14 2017 13:15:14 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>