update api docs

This commit is contained in:
woodser
2024-01-27 14:33:18 -05:00
parent d1f74b0e49
commit 0fd9c30a3d
248 changed files with 7684 additions and 7988 deletions
+124 -157
View File
@@ -1,14 +1,16 @@
<!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">
<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.4"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Monero C++ Library: monero 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>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.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>
@@ -29,10 +31,10 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
@@ -41,7 +43,7 @@ var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
$(function() { init_search(); });
});
/* @license-end */
</script>
@@ -55,9 +57,16 @@ $(function() {
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
<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><!-- top -->
@@ -153,191 +162,191 @@ Classes</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac9023a1d513e2526775d1e061bb5beed"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#ac9023a1d513e2526775d1e061bb5beed">monero_network_type</a> : uint8_t { <b>MAINNET</b> = 0
<tr class="memitem:ac9023a1d513e2526775d1e061bb5beed" id="r_ac9023a1d513e2526775d1e061bb5beed"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac9023a1d513e2526775d1e061bb5beed">monero_network_type</a> : uint8_t { <b>MAINNET</b> = 0
, <b>TESTNET</b>
, <b>STAGENET</b>
}</td></tr>
<tr class="separator:ac9023a1d513e2526775d1e061bb5beed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3433e5c51f3ac269204e7cd1bd5c4c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#aaa3433e5c51f3ac269204e7cd1bd5c4c">monero_tx_priority</a> : uint8_t { <b>DEFAULT</b> = 0
<tr class="memitem:aaa3433e5c51f3ac269204e7cd1bd5c4c" id="r_aaa3433e5c51f3ac269204e7cd1bd5c4c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaa3433e5c51f3ac269204e7cd1bd5c4c">monero_tx_priority</a> : uint8_t { <b>DEFAULT</b> = 0
, <b>UNIMPORTANT</b>
, <b>NORMAL</b>
, <b>ELEVATED</b>
}</td></tr>
<tr class="separator:aaa3433e5c51f3ac269204e7cd1bd5c4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ada8f66cddd59159701650a6a8c078b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#a5ada8f66cddd59159701650a6a8c078b">monero_message_signature_type</a> : uint8_t { <b>SIGN_WITH_SPEND_KEY</b> = 0
<tr class="memitem:a5ada8f66cddd59159701650a6a8c078b" id="r_a5ada8f66cddd59159701650a6a8c078b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5ada8f66cddd59159701650a6a8c078b">monero_message_signature_type</a> : uint8_t { <b>SIGN_WITH_SPEND_KEY</b> = 0
, <b>SIGN_WITH_VIEW_KEY</b>
}</td></tr>
<tr class="separator:a5ada8f66cddd59159701650a6a8c078b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab66c92ddbedf0942bc06eeb83291e87e"><td class="memItemLeft" align="right" valign="top"><a id="ab66c92ddbedf0942bc06eeb83291e87e" name="ab66c92ddbedf0942bc06eeb83291e87e"></a>
<tr class="memitem:ab66c92ddbedf0942bc06eeb83291e87e" id="r_ab66c92ddbedf0942bc06eeb83291e87e"><td class="memItemLeft" align="right" valign="top"><a id="ab66c92ddbedf0942bc06eeb83291e87e" name="ab66c92ddbedf0942bc06eeb83291e87e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>merge_tx</b> (std::vector&lt; std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &gt; &amp;txs, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;tx)</td></tr>
<tr class="separator:ab66c92ddbedf0942bc06eeb83291e87e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ccee4c93d9b8833878986376b04cae0"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#a4ccee4c93d9b8833878986376b04cae0">decontextualize</a> (std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt; query)</td></tr>
<tr class="memitem:a4ccee4c93d9b8833878986376b04cae0" id="r_a4ccee4c93d9b8833878986376b04cae0"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4ccee4c93d9b8833878986376b04cae0">decontextualize</a> (std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt; query)</td></tr>
<tr class="separator:a4ccee4c93d9b8833878986376b04cae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad248b19aa3bb6fe03313ad20dc37e465"><td class="memItemLeft" align="right" valign="top"><a id="ad248b19aa3bb6fe03313ad20dc37e465" name="ad248b19aa3bb6fe03313ad20dc37e465"></a>
<tr class="memitem:ad248b19aa3bb6fe03313ad20dc37e465" id="r_ad248b19aa3bb6fe03313ad20dc37e465"><td class="memItemLeft" align="right" valign="top"><a id="ad248b19aa3bb6fe03313ad20dc37e465" name="ad248b19aa3bb6fe03313ad20dc37e465"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_contextual</b> (const <a class="el" href="structmonero_1_1monero__transfer__query.html">monero_transfer_query</a> &amp;query)</td></tr>
<tr class="separator:ad248b19aa3bb6fe03313ad20dc37e465"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a060763963ea0e16727e6cdf10633764b"><td class="memItemLeft" align="right" valign="top"><a id="a060763963ea0e16727e6cdf10633764b" name="a060763963ea0e16727e6cdf10633764b"></a>
<tr class="memitem:a060763963ea0e16727e6cdf10633764b" id="r_a060763963ea0e16727e6cdf10633764b"><td class="memItemLeft" align="right" valign="top"><a id="a060763963ea0e16727e6cdf10633764b" name="a060763963ea0e16727e6cdf10633764b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_contextual</b> (const <a class="el" href="structmonero_1_1monero__output__query.html">monero_output_query</a> &amp;query)</td></tr>
<tr class="separator:a060763963ea0e16727e6cdf10633764b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfd808348981ceb56d9e431192c8ea46"><td class="memItemLeft" align="right" valign="top"><a id="adfd808348981ceb56d9e431192c8ea46" name="adfd808348981ceb56d9e431192c8ea46"></a>
<tr class="memitem:adfd808348981ceb56d9e431192c8ea46" id="r_adfd808348981ceb56d9e431192c8ea46"><td class="memItemLeft" align="right" valign="top"><a id="adfd808348981ceb56d9e431192c8ea46" name="adfd808348981ceb56d9e431192c8ea46"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>bool_equals</b> (bool val, const boost::optional&lt; bool &gt; &amp;opt_val)</td></tr>
<tr class="separator:adfd808348981ceb56d9e431192c8ea46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48ce18300302111f8d96512b56d9a543"><td class="memItemLeft" align="right" valign="top"><a id="a48ce18300302111f8d96512b56d9a543" name="a48ce18300302111f8d96512b56d9a543"></a>
<tr class="memitem:a48ce18300302111f8d96512b56d9a543" id="r_a48ce18300302111f8d96512b56d9a543"><td class="memItemLeft" align="right" valign="top"><a id="a48ce18300302111f8d96512b56d9a543" name="a48ce18300302111f8d96512b56d9a543"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_num_confirmations</b> (std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &amp;tx, uint64_t blockchain_height)</td></tr>
<tr class="separator:a48ce18300302111f8d96512b56d9a543"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004e8491d0c51978d843651af6c2e57a"><td class="memItemLeft" align="right" valign="top"><a id="a004e8491d0c51978d843651af6c2e57a" name="a004e8491d0c51978d843651af6c2e57a"></a>
<tr class="memitem:a004e8491d0c51978d843651af6c2e57a" id="r_a004e8491d0c51978d843651af6c2e57a"><td class="memItemLeft" align="right" valign="top"><a id="a004e8491d0c51978d843651af6c2e57a" name="a004e8491d0c51978d843651af6c2e57a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_num_suggested_confirmations</b> (std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;incoming_transfer, uint64_t blockchain_height, uint64_t block_reward, uint64_t unlock_time)</td></tr>
<tr class="separator:a004e8491d0c51978d843651af6c2e57a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c2d604934ba310c1ba31c6ee3c8c3b4"><td class="memItemLeft" align="right" valign="top"><a id="a4c2d604934ba310c1ba31c6ee3c8c3b4" name="a4c2d604934ba310c1ba31c6ee3c8c3b4"></a>
<tr class="memitem:a4c2d604934ba310c1ba31c6ee3c8c3b4" id="r_a4c2d604934ba310c1ba31c6ee3c8c3b4"><td class="memItemLeft" align="right" valign="top"><a id="a4c2d604934ba310c1ba31c6ee3c8c3b4" name="a4c2d604934ba310c1ba31c6ee3c8c3b4"></a>
std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>build_tx_with_incoming_transfer</b> (tools::wallet2 &amp;m_w2, uint64_t height, const crypto::hash &amp;payment_id, const tools::wallet2::payment_details &amp;pd)</td></tr>
<tr class="separator:a4c2d604934ba310c1ba31c6ee3c8c3b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adad7e76ac094322ebc8e66686f2fac4c"><td class="memItemLeft" align="right" valign="top"><a id="adad7e76ac094322ebc8e66686f2fac4c" name="adad7e76ac094322ebc8e66686f2fac4c"></a>
<tr class="memitem:adad7e76ac094322ebc8e66686f2fac4c" id="r_adad7e76ac094322ebc8e66686f2fac4c"><td class="memItemLeft" align="right" valign="top"><a id="adad7e76ac094322ebc8e66686f2fac4c" name="adad7e76ac094322ebc8e66686f2fac4c"></a>
std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>build_tx_with_outgoing_transfer</b> (tools::wallet2 &amp;m_w2, uint64_t height, const crypto::hash &amp;txid, const tools::wallet2::confirmed_transfer_details &amp;pd)</td></tr>
<tr class="separator:adad7e76ac094322ebc8e66686f2fac4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c9189f6a1e81dbb06935783a2296954"><td class="memItemLeft" align="right" valign="top"><a id="a0c9189f6a1e81dbb06935783a2296954" name="a0c9189f6a1e81dbb06935783a2296954"></a>
<tr class="memitem:a0c9189f6a1e81dbb06935783a2296954" id="r_a0c9189f6a1e81dbb06935783a2296954"><td class="memItemLeft" align="right" valign="top"><a id="a0c9189f6a1e81dbb06935783a2296954" name="a0c9189f6a1e81dbb06935783a2296954"></a>
std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>build_tx_with_incoming_transfer_unconfirmed</b> (const tools::wallet2 &amp;m_w2, uint64_t height, const crypto::hash &amp;payment_id, const tools::wallet2::pool_payment_details &amp;ppd)</td></tr>
<tr class="separator:a0c9189f6a1e81dbb06935783a2296954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ae64631c872ea3d9fefd4aac11149e8"><td class="memItemLeft" align="right" valign="top"><a id="a6ae64631c872ea3d9fefd4aac11149e8" name="a6ae64631c872ea3d9fefd4aac11149e8"></a>
<tr class="memitem:a6ae64631c872ea3d9fefd4aac11149e8" id="r_a6ae64631c872ea3d9fefd4aac11149e8"><td class="memItemLeft" align="right" valign="top"><a id="a6ae64631c872ea3d9fefd4aac11149e8" name="a6ae64631c872ea3d9fefd4aac11149e8"></a>
std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>build_tx_with_outgoing_transfer_unconfirmed</b> (const tools::wallet2 &amp;m_w2, const crypto::hash &amp;txid, const tools::wallet2::unconfirmed_transfer_details &amp;pd)</td></tr>
<tr class="separator:a6ae64631c872ea3d9fefd4aac11149e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b6f7da3222dde83eb19321c5e631a31"><td class="memItemLeft" align="right" valign="top"><a id="a5b6f7da3222dde83eb19321c5e631a31" name="a5b6f7da3222dde83eb19321c5e631a31"></a>
<tr class="memitem:a5b6f7da3222dde83eb19321c5e631a31" id="r_a5b6f7da3222dde83eb19321c5e631a31"><td class="memItemLeft" align="right" valign="top"><a id="a5b6f7da3222dde83eb19321c5e631a31" name="a5b6f7da3222dde83eb19321c5e631a31"></a>
std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>build_tx_with_vout</b> (tools::wallet2 &amp;m_w2, const tools::wallet2::transfer_details &amp;td)</td></tr>
<tr class="separator:a5b6f7da3222dde83eb19321c5e631a31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7b02b602d32e83c095c58c153c1e8b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#aa7b02b602d32e83c095c58c153c1e8b1">merge_tx</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &amp;tx, std::map&lt; std::string, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &gt; &amp;tx_map, std::map&lt; uint64_t, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">monero_block</a> &gt; &gt; &amp;block_map)</td></tr>
<tr class="memitem:aa7b02b602d32e83c095c58c153c1e8b1" id="r_aa7b02b602d32e83c095c58c153c1e8b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa7b02b602d32e83c095c58c153c1e8b1">merge_tx</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &amp;tx, std::map&lt; std::string, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &gt; &amp;tx_map, std::map&lt; uint64_t, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">monero_block</a> &gt; &gt; &amp;block_map)</td></tr>
<tr class="separator:aa7b02b602d32e83c095c58c153c1e8b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9ff4ca60dce77e4685c22d25541e2bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#ab9ff4ca60dce77e4685c22d25541e2bc">tx_height_less_than</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;tx1, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;tx2)</td></tr>
<tr class="memitem:ab9ff4ca60dce77e4685c22d25541e2bc" id="r_ab9ff4ca60dce77e4685c22d25541e2bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab9ff4ca60dce77e4685c22d25541e2bc">tx_height_less_than</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;tx1, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;tx2)</td></tr>
<tr class="separator:ab9ff4ca60dce77e4685c22d25541e2bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d80896e08b3cf2698745f2e6bd510f2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#a3d80896e08b3cf2698745f2e6bd510f2">incoming_transfer_before</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;transfer1, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;transfer2)</td></tr>
<tr class="memitem:a3d80896e08b3cf2698745f2e6bd510f2" id="r_a3d80896e08b3cf2698745f2e6bd510f2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3d80896e08b3cf2698745f2e6bd510f2">incoming_transfer_before</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;transfer1, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;transfer2)</td></tr>
<tr class="separator:a3d80896e08b3cf2698745f2e6bd510f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab48ce6a9c04ee42c0e4c33b7471a536b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#ab48ce6a9c04ee42c0e4c33b7471a536b">vout_before</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;o1, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;o2)</td></tr>
<tr class="memitem:ab48ce6a9c04ee42c0e4c33b7471a536b" id="r_ab48ce6a9c04ee42c0e4c33b7471a536b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab48ce6a9c04ee42c0e4c33b7471a536b">vout_before</a> (const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;o1, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;o2)</td></tr>
<tr class="separator:ab48ce6a9c04ee42c0e4c33b7471a536b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab39fad177c2dd5acb39537280278043"><td class="memItemLeft" align="right" valign="top"><a id="aab39fad177c2dd5acb39537280278043" name="aab39fad177c2dd5acb39537280278043"></a>
<tr class="memitem:aab39fad177c2dd5acb39537280278043" id="r_aab39fad177c2dd5acb39537280278043"><td class="memItemLeft" align="right" valign="top"><a id="aab39fad177c2dd5acb39537280278043" name="aab39fad177c2dd5acb39537280278043"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>get_default_ringdb_path</b> (cryptonote::network_type nettype)</td></tr>
<tr class="separator:aab39fad177c2dd5acb39537280278043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ef2da5190ff16e820b26ada8cfd943"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemonero.html#a11ef2da5190ff16e820b26ada8cfd943">validate_transfer</a> (wallet2 *m_w2, const std::list&lt; wallet_rpc::transfer_destination &gt; &amp;destinations, const std::string &amp;payment_id, std::vector&lt; cryptonote::tx_destination_entry &gt; &amp;dsts, std::vector&lt; uint8_t &gt; &amp;extra, bool at_least_one_destination, epee::json_rpc::error &amp;er)</td></tr>
<tr class="memitem:a11ef2da5190ff16e820b26ada8cfd943" id="r_a11ef2da5190ff16e820b26ada8cfd943"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a11ef2da5190ff16e820b26ada8cfd943">validate_transfer</a> (wallet2 *m_w2, const std::list&lt; wallet_rpc::transfer_destination &gt; &amp;destinations, const std::string &amp;payment_id, std::vector&lt; cryptonote::tx_destination_entry &gt; &amp;dsts, std::vector&lt; uint8_t &gt; &amp;extra, bool at_least_one_destination, epee::json_rpc::error &amp;er)</td></tr>
<tr class="separator:a11ef2da5190ff16e820b26ada8cfd943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1bfbf3488a19e758248edaa1a7830ed"><td class="memTemplParams" colspan="2"><a id="aa1bfbf3488a19e758248edaa1a7830ed" name="aa1bfbf3488a19e758248edaa1a7830ed"></a>
<tr class="memitem:aa1bfbf3488a19e758248edaa1a7830ed" id="r_aa1bfbf3488a19e758248edaa1a7830ed"><td class="memTemplParams" colspan="2"><a id="aa1bfbf3488a19e758248edaa1a7830ed" name="aa1bfbf3488a19e758248edaa1a7830ed"></a>
template&lt;typename Ts , typename Tu , typename Tk , typename Ta &gt; </td></tr>
<tr class="memitem:aa1bfbf3488a19e758248edaa1a7830ed"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>fill_response</b> (wallet2 *m_w2, std::vector&lt; tools::wallet2::pending_tx &gt; &amp;ptx_vector, bool get_tx_key, Ts &amp;tx_key, Tu &amp;amount, Ta &amp;amounts_by_dest, Tu &amp;fee, Tu &amp;weight, std::string &amp;multisig_txset, std::string &amp;unsigned_txset, bool do_not_relay, Ts &amp;tx_hash, bool get_tx_hex, Ts &amp;tx_blob, bool get_tx_metadata, Ts &amp;tx_metadata, Tk &amp;spent_key_images, epee::json_rpc::error &amp;er)</td></tr>
<tr class="separator:aa1bfbf3488a19e758248edaa1a7830ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3769fb1bbecf9005224afd230d85451"><td class="memItemLeft" align="right" valign="top"><a id="ab3769fb1bbecf9005224afd230d85451" name="ab3769fb1bbecf9005224afd230d85451"></a>
<tr class="memitem:ab3769fb1bbecf9005224afd230d85451" id="r_ab3769fb1bbecf9005224afd230d85451"><td class="memItemLeft" align="right" valign="top"><a id="ab3769fb1bbecf9005224afd230d85451" name="ab3769fb1bbecf9005224afd230d85451"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>merge_incoming_transfer</b> (std::vector&lt; std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &gt; &amp;transfers, const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;transfer)</td></tr>
<tr class="separator:ab3769fb1bbecf9005224afd230d85451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4b29ab642e12c4b101391c7da39447b"><td class="memItemLeft" align="right" valign="top"><a id="ab4b29ab642e12c4b101391c7da39447b" name="ab4b29ab642e12c4b101391c7da39447b"></a>
<tr class="memitem:ab4b29ab642e12c4b101391c7da39447b" id="r_ab4b29ab642e12c4b101391c7da39447b"><td class="memItemLeft" align="right" valign="top"><a id="ab4b29ab642e12c4b101391c7da39447b" name="ab4b29ab642e12c4b101391c7da39447b"></a>
std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">monero_block</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>node_to_block_query</b> (const boost::property_tree::ptree &amp;node)</td></tr>
<tr class="separator:ab4b29ab642e12c4b101391c7da39447b"><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 >Copyright (c) woodser</p>
<p >Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p >The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p >THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p >Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p >Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p >All rights reserved.</p>
<div class="textblock"><p>Copyright (c) woodser</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p>Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p>All rights reserved.</p>
<ol type="1">
<li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
<li>Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li>
</ol>
<p >THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p >Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library intereface.</p>
<p >Copyright (c) woodser</p>
<p >Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p >The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p >THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p >Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p >Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p >All rights reserved.</p>
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p>Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library intereface.</p>
<p>Copyright (c) woodser</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p>Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p>All rights reserved.</p>
<ol type="1">
<li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
<li>Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li>
</ol>
<p >THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p >Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library interface.</p>
<p >Copyright (c) woodser</p>
<p >Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p >The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p >THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p >Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p >Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p >All rights reserved.</p>
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p>Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public library interface.</p>
<p>Copyright (c) woodser</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p>Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p>All rights reserved.</p>
<ol type="1">
<li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
<li>Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li>
</ol>
<p >THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p >Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public interface for libmonero-cpp library.</p>
<p >Public library interface.</p>
<p >Implements a <a class="el" href="monero__wallet_8h_source.html">monero_wallet.h</a> by wrapping wallet2.h.</p>
<p >Copyright (c) woodser</p>
<p >Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p >The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p >THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p >Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p >Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p >All rights reserved.</p>
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p>Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Public interface for libmonero-cpp library.</p>
<p>Public library interface.</p>
<p>Implements a <a class="el" href="monero__wallet_8h_source.html">monero_wallet.h</a> by wrapping wallet2.h.</p>
<p>Copyright (c) woodser</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
<p>Parts of this file are originally copyright (c) 2014-2019, The Monero Project</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<p>All rights reserved.</p>
<ol type="1">
<li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
<li>Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li>
</ol>
<p >THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p >Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Implements a <a class="el" href="monero__wallet_8h_source.html">monero_wallet.h</a> by wrapping monero-project's wallet2. </p>
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
<p>Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers Implements a <a class="el" href="monero__wallet_8h_source.html">monero_wallet.h</a> by wrapping monero-project's wallet2. </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a5ada8f66cddd59159701650a6a8c078b" name="a5ada8f66cddd59159701650a6a8c078b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ada8f66cddd59159701650a6a8c078b">&#9670;&nbsp;</a></span>monero_message_signature_type</h2>
<h2 class="memtitle"><span class="permalink"><a href="#a5ada8f66cddd59159701650a6a8c078b">&#9670;&#160;</a></span>monero_message_signature_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="namespacemonero.html#a5ada8f66cddd59159701650a6a8c078b">monero::monero_message_signature_type</a> : uint8_t</td>
<td class="memname">enum <a class="el" href="#a5ada8f66cddd59159701650a6a8c078b">monero::monero_message_signature_type</a> : uint8_t</td>
</tr>
</table>
</div><div class="memdoc">
<p >Enumerates message verification results. </p>
<p>Enumerates message verification results. </p>
</div>
</div>
<a id="ac9023a1d513e2526775d1e061bb5beed" name="ac9023a1d513e2526775d1e061bb5beed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9023a1d513e2526775d1e061bb5beed">&#9670;&nbsp;</a></span>monero_network_type</h2>
<h2 class="memtitle"><span class="permalink"><a href="#ac9023a1d513e2526775d1e061bb5beed">&#9670;&#160;</a></span>monero_network_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="namespacemonero.html#ac9023a1d513e2526775d1e061bb5beed">monero::monero_network_type</a> : uint8_t</td>
<td class="memname">enum <a class="el" href="#ac9023a1d513e2526775d1e061bb5beed">monero::monero_network_type</a> : uint8_t</td>
</tr>
</table>
</div><div class="memdoc">
<p >Enumerates Monero network types. </p>
<p>Enumerates Monero network types. </p>
</div>
</div>
<a id="aaa3433e5c51f3ac269204e7cd1bd5c4c" name="aaa3433e5c51f3ac269204e7cd1bd5c4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa3433e5c51f3ac269204e7cd1bd5c4c">&#9670;&nbsp;</a></span>monero_tx_priority</h2>
<h2 class="memtitle"><span class="permalink"><a href="#aaa3433e5c51f3ac269204e7cd1bd5c4c">&#9670;&#160;</a></span>monero_tx_priority</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="namespacemonero.html#aaa3433e5c51f3ac269204e7cd1bd5c4c">monero::monero_tx_priority</a> : uint8_t</td>
<td class="memname">enum <a class="el" href="#aaa3433e5c51f3ac269204e7cd1bd5c4c">monero::monero_tx_priority</a> : uint8_t</td>
</tr>
</table>
</div><div class="memdoc">
<p >Enumerates Monero network types. </p>
<p>Enumerates Monero network types. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a4ccee4c93d9b8833878986376b04cae0" name="a4ccee4c93d9b8833878986376b04cae0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ccee4c93d9b8833878986376b04cae0">&#9670;&nbsp;</a></span>decontextualize()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#a4ccee4c93d9b8833878986376b04cae0">&#9670;&#160;</a></span>decontextualize()</h2>
<div class="memitem">
<div class="memproto">
@@ -345,13 +354,12 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
<tr>
<td class="memname">std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt; monero::decontextualize </td>
<td>(</td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt;&#160;</td>
<td class="paramname"><em>query</em></td><td>)</td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__query.html">monero_tx_query</a> &gt;</td> <td class="paramname"><span class="paramname"><em>query</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p >Remove query criteria which require looking up other transfers/outputs to fulfill query.</p>
<p>Remove query criteria which require looking up other transfers/outputs to fulfill query.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">query</td><td>the query to decontextualize </td></tr>
@@ -363,7 +371,7 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
</div>
</div>
<a id="a3d80896e08b3cf2698745f2e6bd510f2" name="a3d80896e08b3cf2698745f2e6bd510f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d80896e08b3cf2698745f2e6bd510f2">&#9670;&nbsp;</a></span>incoming_transfer_before()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#a3d80896e08b3cf2698745f2e6bd510f2">&#9670;&#160;</a></span>incoming_transfer_before()</h2>
<div class="memitem">
<div class="memproto">
@@ -371,28 +379,21 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
<tr>
<td class="memname">bool monero::incoming_transfer_before </td>
<td>(</td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>transfer1</em>, </td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>transfer1</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>transfer2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__incoming__transfer.html">monero_incoming_transfer</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>transfer2</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p >Returns true iff transfer1 is ordered before transfer2 by ascending account and subaddress indices. </p>
<p>Returns true iff transfer1 is ordered before transfer2 by ascending account and subaddress indices. </p>
</div>
</div>
<a id="aa7b02b602d32e83c095c58c153c1e8b1" name="aa7b02b602d32e83c095c58c153c1e8b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7b02b602d32e83c095c58c153c1e8b1">&#9670;&nbsp;</a></span>merge_tx()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#aa7b02b602d32e83c095c58c153c1e8b1">&#9670;&#160;</a></span>merge_tx()</h2>
<div class="memitem">
<div class="memproto">
@@ -400,29 +401,21 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
<tr>
<td class="memname">void monero::merge_tx </td>
<td>(</td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>tx</em>, </td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>tx</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::map&lt; std::string, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &gt; &amp;&#160;</td>
<td class="paramname"><em>tx_map</em>, </td>
<td class="paramtype">std::map&lt; std::string, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx__wallet.html">monero_tx_wallet</a> &gt; &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>tx_map</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::map&lt; uint64_t, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">monero_block</a> &gt; &gt; &amp;&#160;</td>
<td class="paramname"><em>block_map</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td class="paramtype">std::map&lt; uint64_t, std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">monero_block</a> &gt; &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>block_map</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p >Merges a transaction into a unique set of transactions.</p>
<p>Merges a transaction into a unique set of transactions.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">tx</td><td>is the transaction to merge into the existing txs </td></tr>
@@ -435,7 +428,7 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
</div>
</div>
<a id="ab9ff4ca60dce77e4685c22d25541e2bc" name="ab9ff4ca60dce77e4685c22d25541e2bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9ff4ca60dce77e4685c22d25541e2bc">&#9670;&nbsp;</a></span>tx_height_less_than()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#ab9ff4ca60dce77e4685c22d25541e2bc">&#9670;&#160;</a></span>tx_height_less_than()</h2>
<div class="memitem">
<div class="memproto">
@@ -443,28 +436,21 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
<tr>
<td class="memname">bool monero::tx_height_less_than </td>
<td>(</td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>tx1</em>, </td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>tx1</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>tx2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__tx.html">monero_tx</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>tx2</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p >Returns true iff tx1's height is known to be less than tx2's height for sorting. </p>
<p>Returns true iff tx1's height is known to be less than tx2's height for sorting. </p>
</div>
</div>
<a id="a11ef2da5190ff16e820b26ada8cfd943" name="a11ef2da5190ff16e820b26ada8cfd943"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11ef2da5190ff16e820b26ada8cfd943">&#9670;&nbsp;</a></span>validate_transfer()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#a11ef2da5190ff16e820b26ada8cfd943">&#9670;&#160;</a></span>validate_transfer()</h2>
<div class="memitem">
<div class="memproto">
@@ -472,64 +458,52 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
<tr>
<td class="memname">bool monero::validate_transfer </td>
<td>(</td>
<td class="paramtype">wallet2 *&#160;</td>
<td class="paramname"><em>m_w2</em>, </td>
<td class="paramtype">wallet2 *</td> <td class="paramname"><span class="paramname"><em>m_w2</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::list&lt; wallet_rpc::transfer_destination &gt; &amp;&#160;</td>
<td class="paramname"><em>destinations</em>, </td>
<td class="paramtype">const std::list&lt; wallet_rpc::transfer_destination &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>destinations</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>payment_id</em>, </td>
<td class="paramtype">const std::string &amp;</td> <td class="paramname"><span class="paramname"><em>payment_id</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; cryptonote::tx_destination_entry &gt; &amp;&#160;</td>
<td class="paramname"><em>dsts</em>, </td>
<td class="paramtype">std::vector&lt; cryptonote::tx_destination_entry &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>dsts</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::vector&lt; uint8_t &gt; &amp;&#160;</td>
<td class="paramname"><em>extra</em>, </td>
<td class="paramtype">std::vector&lt; uint8_t &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>extra</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>at_least_one_destination</em>, </td>
<td class="paramtype">bool</td> <td class="paramname"><span class="paramname"><em>at_least_one_destination</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">epee::json_rpc::error &amp;&#160;</td>
<td class="paramname"><em>er</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td class="paramtype">epee::json_rpc::error &amp;</td> <td class="paramname"><span class="paramname"><em>er</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p >-------------&mdash; DUPLICATED WALLET RPC TRANSFER CODE ------------------&mdash;</p>
<p >These functions are duplicated from private functions in wallet rpc on_transfer/on_transfer_split, with minor modifications to not be class members.</p>
<p >This code is used to generate and send transactions with equivalent functionality as wallet rpc.</p>
<p >Duplicated code is not ideal. Solutions considered:</p>
<p >(1) Duplicate wallet rpc code as done here. (2) Modify monero-wallet-rpc on_transfer() / on_transfer_split() to be public. (3) Modify monero-wallet-rpc to make this class a friend. (4) Move all logic in monero-wallet-rpc to wallet2 so all users can access.</p>
<p >Options 2-4 require modification of monero-project C++. Of those, (4) is probably ideal. TODO: open patch on monero-project which moves common wallet rpc logic (e.g. on_transfer, on_transfer_split) to m_w2.</p>
<p >Until then, option (1) is used because it allows monero-project binaries to be used without modification, it's easy, and anything other than (4) is temporary. </p>
<p>-------------&mdash; DUPLICATED WALLET RPC TRANSFER CODE ------------------&mdash;</p>
<p>These functions are duplicated from private functions in wallet rpc on_transfer/on_transfer_split, with minor modifications to not be class members.</p>
<p>This code is used to generate and send transactions with equivalent functionality as wallet rpc.</p>
<p>Duplicated code is not ideal. Solutions considered:</p>
<p>(1) Duplicate wallet rpc code as done here. (2) Modify monero-wallet-rpc on_transfer() / on_transfer_split() to be public. (3) Modify monero-wallet-rpc to make this class a friend. (4) Move all logic in monero-wallet-rpc to wallet2 so all users can access.</p>
<p>Options 2-4 require modification of monero-project C++. Of those, (4) is probably ideal. TODO: open patch on monero-project which moves common wallet rpc logic (e.g. on_transfer, on_transfer_split) to m_w2.</p>
<p>Until then, option (1) is used because it allows monero-project binaries to be used without modification, it's easy, and anything other than (4) is temporary. </p>
</div>
</div>
<a id="ab48ce6a9c04ee42c0e4c33b7471a536b" name="ab48ce6a9c04ee42c0e4c33b7471a536b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab48ce6a9c04ee42c0e4c33b7471a536b">&#9670;&nbsp;</a></span>vout_before()</h2>
<h2 class="memtitle"><span class="permalink"><a href="#ab48ce6a9c04ee42c0e4c33b7471a536b">&#9670;&#160;</a></span>vout_before()</h2>
<div class="memitem">
<div class="memproto">
@@ -537,30 +511,23 @@ std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__block.html">mone
<tr>
<td class="memname">bool monero::vout_before </td>
<td>(</td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>o1</em>, </td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>o1</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>o2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="structmonero_1_1monero__output.html">monero_output</a> &gt; &amp;</td> <td class="paramname"><span class="paramname"><em>o2</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p >Returns true iff wallet vout1 is ordered before vout2 by ascending account and subaddress indices then index. </p>
<p>Returns true iff wallet vout1 is ordered before vout2 by ascending account and subaddress indices then index. </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.4
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.10.0
</small></address>
</body>
</html>