Files
rippled/classripple_1_1TransactionMaster.html
2025-01-21 19:58:08 +00:00

501 lines
33 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::TransactionMaster 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="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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1TransactionMaster-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::TransactionMaster Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="TransactionMaster_8h_source.html">TransactionMaster.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for ripple::TransactionMaster:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1TransactionMaster__coll__graph.png" border="0" usemap="#aripple_1_1TransactionMaster_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1TransactionMaster_coll__map" id="aripple_1_1TransactionMaster_coll__map">
<area shape="rect" title=" " alt="" coords="1932,299,2119,325"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="1687,249,1827,274"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children." alt="" coords="1389,172,1557,212"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="1673,127,1841,167"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="1136,155,1223,181"/>
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="1393,346,1553,401"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="803,148,941,188"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="1100,313,1259,338"/>
<area shape="rect" title=" " alt="" coords="1400,83,1547,109"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="1087,91,1272,131"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="828,262,916,287"/>
<area shape="rect" href="structripple_1_1TaggedCache_1_1Stats.html" title=" " alt="" coords="1091,363,1267,432"/>
<area shape="rect" href="classripple_1_1partitioned__unordered__map.html" title=" " alt="" coords="1092,205,1267,289"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="781,51,963,106"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="508,59,676,99"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1124,457,1235,482"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="799,473,945,498"/>
<area shape="rect" href="classbeast_1_1abstract__clock.html" title="Abstract interface to a clock." alt="" coords="1099,556,1259,596"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="796,362,948,387"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="507,353,677,393"/>
<area shape="rect" href="classbeast_1_1insight_1_1HookImpl.html" title=" " alt="" coords="251,361,432,386"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="9,353,193,393"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="792,423,952,449"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="507,417,677,457"/>
<area shape="rect" href="classbeast_1_1insight_1_1GaugeImpl.html" title=" " alt="" coords="247,425,436,450"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="5,417,197,457"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="779,213,965,238"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="1128,506,1231,531"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7c5e45d1c5e268c7a9bfa22b00adb324"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a7c5e45d1c5e268c7a9bfa22b00adb324">TransactionMaster</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &amp;app)</td></tr>
<tr class="separator:a7c5e45d1c5e268c7a9bfa22b00adb324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5587b8238b939e76ddcfc2ddad158812"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a5587b8238b939e76ddcfc2ddad158812">TransactionMaster</a> (<a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a> const &amp;)=delete</td></tr>
<tr class="separator:a5587b8238b939e76ddcfc2ddad158812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adacc905fbce5f84990dc0227e8524daa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#adacc905fbce5f84990dc0227e8524daa">operator=</a> (<a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a> const &amp;)=delete</td></tr>
<tr class="separator:adacc905fbce5f84990dc0227e8524daa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d0e60c26fcefb409c8c61c48545c3ac"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a0d0e60c26fcefb409c8c61c48545c3ac">fetch_from_cache</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;)</td></tr>
<tr class="separator:a0d0e60c26fcefb409c8c61c48545c3ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a895c798b0ba232520d1285ca06eee923"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1TxMeta.html">TxMeta</a> &gt; &gt;, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a895c798b0ba232520d1285ca06eee923">fetch</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;, <a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;ec)</td></tr>
<tr class="separator:a895c798b0ba232520d1285ca06eee923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a977772a4a08b7f7f16e872392493d403"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1TxMeta.html">TxMeta</a> &gt; &gt;, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a977772a4a08b7f7f16e872392493d403">fetch</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;, <a class="el" href="namespaceripple.html#a79dcedfb918a7b371ab7797ae9d9bf23">ClosedInterval</a>&lt; uint32_t &gt; const &amp;<a class="el" href="namespaceripple.html#ac1258b27600294cf1c6dc05ce3cf58d3">range</a>, <a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;ec)</td></tr>
<tr class="memdesc:a977772a4a08b7f7f16e872392493d403"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch transaction from the cache or database. <a href="classripple_1_1TransactionMaster.html#a977772a4a08b7f7f16e872392493d403">More...</a><br /></td></tr>
<tr class="separator:a977772a4a08b7f7f16e872392493d403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a055a7753df1a25f0545e2e9a92a5a99f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1STTx.html">STTx</a> const &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a055a7753df1a25f0545e2e9a92a5a99f">fetch</a> (boost::intrusive_ptr&lt; <a class="el" href="classripple_1_1SHAMapItem.html">SHAMapItem</a> &gt; const &amp;item, <a class="el" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a> type, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> uCommitLedger)</td></tr>
<tr class="separator:a055a7753df1a25f0545e2e9a92a5a99f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f89069c62a078affbaad8fabb41d563"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a2f89069c62a078affbaad8fabb41d563">inLedger</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ledger)</td></tr>
<tr class="separator:a2f89069c62a078affbaad8fabb41d563"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfb688396e9aed123c909f739e44a0cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#adfb688396e9aed123c909f739e44a0cf">canonicalize</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; *pTransaction)</td></tr>
<tr class="separator:adfb688396e9aed123c909f739e44a0cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e29535a5d6512408ea86b5c5611540a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a7e29535a5d6512408ea86b5c5611540a">sweep</a> (void)</td></tr>
<tr class="separator:a7e29535a5d6512408ea86b5c5611540a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc49cdcfe8a4b06993b76d0e803aeb19"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#afc49cdcfe8a4b06993b76d0e803aeb19">getCache</a> ()</td></tr>
<tr class="separator:afc49cdcfe8a4b06993b76d0e803aeb19"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a733f6ca8abe71da1b9bb423fe030b9a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#a733f6ca8abe71da1b9bb423fe030b9a3">mApp</a></td></tr>
<tr class="separator:a733f6ca8abe71da1b9bb423fe030b9a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcb8bd073a18a4fd83491f3cc2743592"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1TransactionMaster.html#adcb8bd073a18a4fd83491f3cc2743592">mCache</a></td></tr>
<tr class="separator:adcb8bd073a18a4fd83491f3cc2743592"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8h_source.html#l00036">36</a> of file <a class="el" href="TransactionMaster_8h_source.html">TransactionMaster.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7c5e45d1c5e268c7a9bfa22b00adb324" name="a7c5e45d1c5e268c7a9bfa22b00adb324"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c5e45d1c5e268c7a9bfa22b00adb324">&#9670;&#160;</a></span>TransactionMaster() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::TransactionMaster::TransactionMaster </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td>
<td class="paramname"><em>app</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00028">28</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="a5587b8238b939e76ddcfc2ddad158812" name="a5587b8238b939e76ddcfc2ddad158812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5587b8238b939e76ddcfc2ddad158812">&#9670;&#160;</a></span>TransactionMaster() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::TransactionMaster::TransactionMaster </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a> const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="adacc905fbce5f84990dc0227e8524daa" name="adacc905fbce5f84990dc0227e8524daa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adacc905fbce5f84990dc0227e8524daa">&#9670;&#160;</a></span>operator=()</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="classripple_1_1TransactionMaster.html">TransactionMaster</a> &amp; ripple::TransactionMaster::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a> const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0d0e60c26fcefb409c8c61c48545c3ac" name="a0d0e60c26fcefb409c8c61c48545c3ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d0e60c26fcefb409c8c61c48545c3ac">&#9670;&#160;</a></span>fetch_from_cache()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; ripple::TransactionMaster::fetch_from_cache </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>txnID</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00052">52</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="a895c798b0ba232520d1285ca06eee923" name="a895c798b0ba232520d1285ca06eee923"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a895c798b0ba232520d1285ca06eee923">&#9670;&#160;</a></span>fetch() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1TxMeta.html">TxMeta</a> &gt; &gt;, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt; ripple::TransactionMaster::fetch </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>txnID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;&#160;</td>
<td class="paramname"><em>ec</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00060">60</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="a977772a4a08b7f7f16e872392493d403" name="a977772a4a08b7f7f16e872392493d403"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a977772a4a08b7f7f16e872392493d403">&#9670;&#160;</a></span>fetch() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1TxMeta.html">TxMeta</a> &gt; &gt;, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt; ripple::TransactionMaster::fetch </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>txnID</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a79dcedfb918a7b371ab7797ae9d9bf23">ClosedInterval</a>&lt; uint32_t &gt; const &amp;&#160;</td>
<td class="paramname"><em>range</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;&#160;</td>
<td class="paramname"><em>ec</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetch transaction from the cache or database. </p>
<dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a> that contains either a pair of shared_pointer to the retrieved transaction and its metadata or an enum indicating whether or not the all ledgers in the provided range were present in the database while the search was conducted. </dd></dl>
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00084">84</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="a055a7753df1a25f0545e2e9a92a5a99f" name="a055a7753df1a25f0545e2e9a92a5a99f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a055a7753df1a25f0545e2e9a92a5a99f">&#9670;&#160;</a></span>fetch() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1STTx.html">STTx</a> const &gt; ripple::TransactionMaster::fetch </td>
<td>(</td>
<td class="paramtype">boost::intrusive_ptr&lt; <a class="el" href="classripple_1_1SHAMapItem.html">SHAMapItem</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a>&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>uCommitLedger</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00109">109</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="a2f89069c62a078affbaad8fabb41d563" name="a2f89069c62a078affbaad8fabb41d563"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f89069c62a078affbaad8fabb41d563">&#9670;&#160;</a></span>inLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ripple::TransactionMaster::inLedger </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>hash</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>ledger</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00040">40</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="adfb688396e9aed123c909f739e44a0cf" name="adfb688396e9aed123c909f739e44a0cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfb688396e9aed123c909f739e44a0cf">&#9670;&#160;</a></span>canonicalize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::TransactionMaster::canonicalize </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; *&#160;</td>
<td class="paramname"><em>pTransaction</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00143">143</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="a7e29535a5d6512408ea86b5c5611540a" name="a7e29535a5d6512408ea86b5c5611540a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e29535a5d6512408ea86b5c5611540a">&#9670;&#160;</a></span>sweep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::TransactionMaster::sweep </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00156">156</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<a id="afc49cdcfe8a4b06993b76d0e803aeb19" name="afc49cdcfe8a4b06993b76d0e803aeb19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc49cdcfe8a4b06993b76d0e803aeb19">&#9670;&#160;</a></span>getCache()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; &amp; ripple::TransactionMaster::getCache </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="TransactionMaster_8cpp_source.html#l00162">162</a> of file <a class="el" href="TransactionMaster_8cpp_source.html">TransactionMaster.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a733f6ca8abe71da1b9bb423fe030b9a3" name="a733f6ca8abe71da1b9bb423fe030b9a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a733f6ca8abe71da1b9bb423fe030b9a3">&#9670;&#160;</a></span>mApp</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="classripple_1_1Application.html">Application</a>&amp; ripple::TransactionMaster::mApp</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="TransactionMaster_8h_source.html#l00089">89</a> of file <a class="el" href="TransactionMaster_8h_source.html">TransactionMaster.h</a>.</p>
</div>
</div>
<a id="adcb8bd073a18a4fd83491f3cc2743592" name="adcb8bd073a18a4fd83491f3cc2743592"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcb8bd073a18a4fd83491f3cc2743592">&#9670;&#160;</a></span>mCache</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="classripple_1_1TaggedCache.html">TaggedCache</a>&lt;<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1Transaction.html">Transaction</a>&gt; ripple::TransactionMaster::mCache</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="TransactionMaster_8h_source.html#l00090">90</a> of file <a class="el" href="TransactionMaster_8h_source.html">TransactionMaster.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>