Files
rippled/classripple_1_1TransactionMaster.html
2023-04-11 16:57:37 +00:00

493 lines
32 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">
<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.17"/>
<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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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>
<!-- 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 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">
<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="#ripple_1_1TransactionMaster_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1TransactionMaster_coll__map" id="ripple_1_1TransactionMaster_coll__map">
<area shape="rect" title=" " alt="" coords="1932,335,2117,362"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="1687,305,1827,331"/>
<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,253,1557,295"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="1673,208,1841,249"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="1100,125,1259,151"/>
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="1393,342,1553,398"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="1136,285,1223,311"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="1087,59,1272,100"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="781,51,963,107"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="508,59,676,100"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="828,161,916,187"/>
<area shape="rect" href="classripple_1_1partitioned__unordered__map.html" title=" " alt="" coords="1092,175,1267,261"/>
<area shape="rect" href="structripple_1_1TaggedCache_1_1Stats.html" title=" " alt="" coords="1092,336,1267,407"/>
<area shape="rect" title=" " alt="" coords="1400,163,1547,190"/>
<area shape="rect" href="classbeast_1_1abstract__clock.html" title=" " alt="" coords="1099,482,1260,538"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="1128,562,1231,589"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="779,266,965,293"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="792,318,952,345"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="507,308,677,349"/>
<area shape="rect" href="classbeast_1_1insight_1_1GaugeImpl.html" title=" " alt="" coords="247,315,436,342"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="5,308,197,349"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="796,379,948,406"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="507,373,677,415"/>
<area shape="rect" href="classbeast_1_1insight_1_1HookImpl.html" title=" " alt="" coords="251,381,432,407"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="9,373,193,415"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1124,431,1235,458"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="799,431,945,458"/>
</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 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:a04af1b6c74bd0a521ccb40026a83d201"><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#a04af1b6c74bd0a521ccb40026a83d201">operator=</a> (<a class="el" href="classripple_1_1TransactionMaster.html">TransactionMaster</a> const &amp;)=delete</td></tr>
<tr class="separator:a04af1b6c74bd0a521ccb40026a83d201"><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#a718d6c3cd459b4d24d7bc790905c57f2">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:a53234ed4e2df36e8af20fd3ab1a73ccf"><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#a53234ed4e2df36e8af20fd3ab1a73ccf">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:a53234ed4e2df36e8af20fd3ab1a73ccf"><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 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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c5e45d1c5e268c7a9bfa22b00adb324">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5587b8238b939e76ddcfc2ddad158812">&#9670;&nbsp;</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="a04af1b6c74bd0a521ccb40026a83d201"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04af1b6c74bd0a521ccb40026a83d201">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d0e60c26fcefb409c8c61c48545c3ac">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a895c798b0ba232520d1285ca06eee923">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a977772a4a08b7f7f16e872392493d403">&#9670;&nbsp;</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="a53234ed4e2df36e8af20fd3ab1a73ccf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53234ed4e2df36e8af20fd3ab1a73ccf">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f89069c62a078affbaad8fabb41d563">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfb688396e9aed123c909f739e44a0cf">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e29535a5d6512408ea86b5c5611540a">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc49cdcfe8a4b06993b76d0e803aeb19">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a733f6ca8abe71da1b9bb423fe030b9a3">&#9670;&nbsp;</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"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcb8bd073a18a4fd83491f3cc2743592">&#9670;&nbsp;</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="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>