mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
639 lines
136 KiB
HTML
639 lines
136 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: Indexes.cpp Source File</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&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_1e765e6a8d5970800a535eb2615ec474.html">protocol</a></li><li class="navelem"><a class="el" href="dir_41c387a0f328eeb295307369675c1162.html">impl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Indexes.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <ripple/protocol/Indexes.h></span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <ripple/protocol/LedgerFormats.h></span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <ripple/protocol/SField.h></span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/protocol/STXChainBridge.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/protocol/SeqProxy.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/protocol/digest.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/protocol/nftPageMask.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/algorithm.html">algorithm</a>></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cassert.html">cassert</a>></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307b"> 50</a></span> <span class="keyword">enum class</span> <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307b">LedgerNameSpace</a> : <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> {</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bac40eb667c7e828cfdcfb437c5d221bf6">ACCOUNT</a> = <span class="charliteral">'a'</span>,</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba5d46a758217bde4e7cb6ee02fafefd61">DIR_NODE</a> = <span class="charliteral">'d'</span>,</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babc03954685e7f58f30d4eaf69842fbfd">TRUST_LINE</a> = <span class="charliteral">'r'</span>,</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba10a5fc93fb200eb05fc816628f0b1d32">OFFER</a> = <span class="charliteral">'o'</span>,</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baade6e4ef934ffe83be3eeb5207ac5f1c">OWNER_DIR</a> = <span class="charliteral">'O'</span>,</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab6a8833f2e59902cc71ae3f8c0643edb">BOOK_DIR</a> = <span class="charliteral">'B'</span>,</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba4d58cec11e2b2ac23fb03ff41dc06204">SKIP_LIST</a> = <span class="charliteral">'s'</span>,</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba634cbdb9daa70d74c365f1ceec91903e">ESCROW</a> = <span class="charliteral">'u'</span>,</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bae30c13acc8c17bb7bec2f13412a03d7e">AMENDMENTS</a> = <span class="charliteral">'f'</span>,</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba40f601f6182ca7d7ace34ad6e54e414b">FEE_SETTINGS</a> = <span class="charliteral">'e'</span>,</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bacd819f2eff20b61bcf41bc22df219217">TICKET</a> = <span class="charliteral">'T'</span>,</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab8bc5bef96b32bc707669b52169b0c9c">SIGNER_LIST</a> = <span class="charliteral">'S'</span>,</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babfbd5f0886f506b4a646d5019f3db0f6">XRP_PAYMENT_CHANNEL</a> = <span class="charliteral">'x'</span>,</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba8c46d8d9d3402788403e2f6911153089">CHECK</a> = <span class="charliteral">'C'</span>,</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba3327bcb6bb4b74aec018c7cf6efa8b3a">DEPOSIT_PREAUTH</a> = <span class="charliteral">'p'</span>,</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba0cde8308499fa5d7e403ce4de19e202b">NEGATIVE_UNL</a> = <span class="charliteral">'N'</span>,</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba7a5d92b0cfd3e24822dcbae60836c3a4">NFTOKEN_OFFER</a> = <span class="charliteral">'q'</span>,</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bafc57e0ae5cb02758e2342859bc537e40">NFTOKEN_BUY_OFFERS</a> = <span class="charliteral">'h'</span>,</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba471713f490287b1c4f049b299826c46a">NFTOKEN_SELL_OFFERS</a> = <span class="charliteral">'i'</span>,</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babd09c58ee620c0fdf33d2cdeb88eaaee">AMM</a> = <span class="charliteral">'A'</span>,</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baa75a1789547188e39e2e344c286d2b62">BRIDGE</a> = <span class="charliteral">'H'</span>,</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baa20258daf3591445a0b80fa9284852d1">XCHAIN_CLAIM_ID</a> = <span class="charliteral">'Q'</span>,</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba0c7ef893d91d8aa253e093f57a0d35ce">XCHAIN_CREATE_ACCOUNT_CLAIM_ID</a> = <span class="charliteral">'K'</span>,</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307badbeab5095e8b54be8527724b23c371a3">DID</a> = <span class="charliteral">'I'</span>,</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bac3e3f219b6b8cad735598568fe19ca71">ORACLE</a> = <span class="charliteral">'R'</span>,</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// No longer used or supported. Left here to reserve the space</span></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// to avoid accidental reuse.</span></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba1cfc240cb02f638cc9fe1bb3023caa2f">CONTRACT</a> [[deprecated]] = <span class="charliteral">'c'</span>,</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab2f0af91f1ccdbaae425525f5103c2b5">GENERATOR</a> [[deprecated]] = <span class="charliteral">'g'</span>,</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba4ed324309f996b76707fbeed9e29cd5e">NICKNAME</a> [[deprecated]] = <span class="charliteral">'n'</span>,</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">template</span> <<span class="keyword">class</span>... Args></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">static</span> <a class="code" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4"> 86</a></span> <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307b">LedgerNameSpace</a> space, Args <span class="keyword">const</span>&... args)</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> {</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#ae3f5bc352766a1a8dbf5270eb7dbc2e7">sha512Half</a>(safe_cast<std::uint16_t>(space), args...);</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <a class="code" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="namespaceripple.html#aeb5ef72b34cf7a324641e7a7f696d4cc"> 92</a></span> <a class="code" href="namespaceripple.html#aeb5ef72b34cf7a324641e7a7f696d4cc">getBookBase</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>& book)</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> {</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  assert(<a class="code" href="namespaceripple.html#a1842fee89cdf9025217d48514df19b1a">isConsistent</a>(book));</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">auto</span> <span class="keyword">const</span> index = <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab6a8833f2e59902cc71ae3f8c0643edb">LedgerNameSpace::BOOK_DIR</a>,</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  book.<a class="code" href="classripple_1_1Book.html#a44f1acfd1d549e7f025f5372fb345f27">in</a>.<a class="code" href="classripple_1_1Issue.html#a4b723aa4198e4c630e41de06586e2fe7">currency</a>,</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  book.<a class="code" href="classripple_1_1Book.html#a6992e8a5da385182ec3ab51a0216281a">out</a>.<a class="code" href="classripple_1_1Issue.html#a4b723aa4198e4c630e41de06586e2fe7">currency</a>,</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  book.<a class="code" href="classripple_1_1Book.html#a44f1acfd1d549e7f025f5372fb345f27">in</a>.<a class="code" href="classripple_1_1Issue.html#a46e4805870b1bad6a8691bed0b8acec8">account</a>,</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  book.<a class="code" href="classripple_1_1Book.html#a6992e8a5da385182ec3ab51a0216281a">out</a>.<a class="code" href="classripple_1_1Issue.html#a46e4805870b1bad6a8691bed0b8acec8">account</a>);</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// Return with quality 0.</span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">auto</span> k = <a class="code" href="namespaceripple_1_1keylet.html#a521be311ed98c7c94eeff3441e6bf85f">keylet::quality</a>({<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, index}, 0);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> k.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>;</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <a class="code" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="namespaceripple.html#aae2b8e3c2ed21dcbae53a626c885af3d"> 110</a></span> <a class="code" href="namespaceripple.html#aae2b8e3c2ed21dcbae53a626c885af3d">getQualityNext</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& uBase)</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> {</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">static</span> constexpr <a class="code" href="classripple_1_1base__uint.html">uint256</a> nextq(</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="stringliteral">"0000000000000000000000000000000000000000000000010000000000000000"</span>);</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> uBase + nextq;</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> }</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="namespaceripple.html#a25fb2b2098567a8286557fbd445ce146"> 118</a></span> <a class="code" href="namespaceripple.html#a25fb2b2098567a8286557fbd445ce146">getQuality</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& uBase)</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> {</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// VFALCO [base_uint] This assumes a certain storage format</span></div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> boost::endian::big_to_native(((<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a>*)uBase.<a class="code" href="classripple_1_1base__uint.html#ae0d53a1c759c17ce15bac6c42861ffce">end</a>())[-1]);</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <a class="code" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613"> 125</a></span> <a class="code" href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613">getTicketIndex</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& account, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ticketSeq)</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> {</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bacd819f2eff20b61bcf41bc22df219217">LedgerNameSpace::TICKET</a>, account, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>(ticketSeq));</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> }</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <a class="code" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="namespaceripple.html#a0225d55690262c50973b8c8760412532"> 132</a></span> <a class="code" href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613">getTicketIndex</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& account, <a class="code" href="classripple_1_1SeqProxy.html">SeqProxy</a> ticketSeq)</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> {</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  assert(ticketSeq.<a class="code" href="classripple_1_1SeqProxy.html#ad1b5ed07ca885fd243066a846080ccc0">isTicket</a>());</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613">getTicketIndex</a>(account, ticketSeq.<a class="code" href="classripple_1_1SeqProxy.html#a41c206bf5f44fe0b3f99f2dd42b0259c">value</a>());</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> }</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html"> 140</a></span> <span class="keyword">namespace </span>keylet {</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9"> 143</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) noexcept</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> {</div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a>{<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ac03405d2da6d19e17f321a6b7f7a412e">ltACCOUNT_ROOT</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bac40eb667c7e828cfdcfb437c5d221bf6">LedgerNameSpace::ACCOUNT</a>, <span class="keywordtype">id</span>)};</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a1fc176ed1b328b0ef5392b5b5468e269"> 149</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a1fc176ed1b328b0ef5392b5b5468e269">child</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key) noexcept</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> {</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd">ltCHILD</a>, key};</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> }</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#acda2d89a44551845c5be38291e5c9e8b"> 155</a></span> <a class="code" href="namespaceripple_1_1keylet.html#acda2d89a44551845c5be38291e5c9e8b">skip</a>() noexcept</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> {</div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">static</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span> ret{</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a28ea965d2d2217a099fc54c86f1097c6">ltLEDGER_HASHES</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba4d58cec11e2b2ac23fb03ff41dc06204">LedgerNameSpace::SKIP_LIST</a>)};</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">return</span> ret;</div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> }</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a37f1da49d6a3eb71f78dab94fbed1ff3"> 163</a></span> <a class="code" href="namespaceripple_1_1keylet.html#acda2d89a44551845c5be38291e5c9e8b">skip</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> ledger) noexcept</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> {</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a28ea965d2d2217a099fc54c86f1097c6">ltLEDGER_HASHES</a>,</div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba4d58cec11e2b2ac23fb03ff41dc06204">LedgerNameSpace::SKIP_LIST</a>,</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>(<span class="keyword">static_cast<</span><a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a><span class="keyword">></span>(ledger) >> 16))};</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> }</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a5660f18c64be5f8270fe66fcc25d0de8"> 173</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a5660f18c64be5f8270fe66fcc25d0de8">amendments</a>() noexcept</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> {</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keyword">static</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span> ret{</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ad6de7354457bdcd9f882a430fe90157b">ltAMENDMENTS</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bae30c13acc8c17bb7bec2f13412a03d7e">LedgerNameSpace::AMENDMENTS</a>)};</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> ret;</div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> }</div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#ac58ecac7b057504ea6c1706c0ee04623"> 181</a></span> <a class="code" href="namespaceripple_1_1keylet.html#ac58ecac7b057504ea6c1706c0ee04623">fees</a>() noexcept</div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> {</div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">static</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span> ret{</div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a7dc6fea6d4468e63ed4789f0ae421fda">ltFEE_SETTINGS</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba40f601f6182ca7d7ace34ad6e54e414b">LedgerNameSpace::FEE_SETTINGS</a>)};</div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">return</span> ret;</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> }</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a53590de263224dde45f4856da2852319"> 189</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a53590de263224dde45f4856da2852319">negativeUNL</a>() noexcept</div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> {</div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keyword">static</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span> ret{</div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a228bf5e19d8a076bf0b39a8555c66a04">ltNEGATIVE_UNL</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba0cde8308499fa5d7e403ce4de19e202b">LedgerNameSpace::NEGATIVE_UNL</a>)};</div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">return</span> ret;</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> }</div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structripple_1_1keylet_1_1book__t.html#afef20fe31c3f9aba907158ca8d7e9895"> 197</a></span> <a class="code" href="structripple_1_1keylet_1_1book__t.html#afef20fe31c3f9aba907158ca8d7e9895">book_t::operator()</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>& b)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, <a class="code" href="namespaceripple.html#aeb5ef72b34cf7a324641e7a7f696d4cc">getBookBase</a>(b)};</div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> }</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#ad7913ec52c58534ee1601ab21956123f"> 203</a></span> <a class="code" href="namespaceripple_1_1keylet.html#ad7913ec52c58534ee1601ab21956123f">line</a>(</div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& id0,</div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& id1,</div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>& currency) noexcept</div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> {</div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="comment">// There is code in SetTrust that calls us with id0 == id1, to allow users</span></div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="comment">// to locate and delete such "weird" trustlines. If we remove that code, we</span></div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="comment">// could enable this assert:</span></div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">// assert(id0 != id1);</span></div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="comment">// A trust line is shared between two accounts; while we typically think</span></div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// of this as an "issuer" and a "holder" the relationship is actually fully</span></div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="comment">// bidirectional.</span></div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="comment">// So that we can generate a unique ID for a trust line, regardess of which</span></div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="comment">// side of the line we're looking at, we define a "canonical" order for the</span></div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="comment">// two accounts (smallest then largest) and hash them in that order:</span></div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keyword">auto</span> <span class="keyword">const</span> accounts = <a class="codeRef" href="http://en.cppreference.com/w/cpp/algorithm/minmax.html">std::minmax</a>(id0, id1);</div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a0dca36851b869200981387f3b9f5cdee">ltRIPPLE_STATE</a>,</div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babc03954685e7f58f30d4eaf69842fbfd">LedgerNameSpace::TRUST_LINE</a>,</div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  accounts.first,</div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  accounts.second,</div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  currency)};</div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a5d33427228ab1869c37fcf11132865f6"> 232</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a5d33427228ab1869c37fcf11132865f6">offer</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) noexcept</div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> {</div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a8a24a7b08fcdd8a76109f80f056a176d">ltOFFER</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba10a5fc93fb200eb05fc816628f0b1d32">LedgerNameSpace::OFFER</a>, <span class="keywordtype">id</span>, seq)};</div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> }</div>
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a521be311ed98c7c94eeff3441e6bf85f"> 238</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a521be311ed98c7c94eeff3441e6bf85f">quality</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>& k, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> q) noexcept</div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> {</div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  assert(k.type == <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>);</div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="comment">// Indexes are stored in big endian format: they print as hex as stored.</span></div>
|
|
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="comment">// Most significant bytes are first and the least significant bytes</span></div>
|
|
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="comment">// represent adjacent entries. We place the quality, in big endian format,</span></div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="comment">// in the 8 right most bytes; this way, incrementing goes to the next entry</span></div>
|
|
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="comment">// for indexes.</span></div>
|
|
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> x = k.key;</div>
|
|
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  </div>
|
|
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="comment">// FIXME This is ugly and we can and should do better...</span></div>
|
|
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  ((<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a>*)x.<a class="code" href="classripple_1_1base__uint.html#ae0d53a1c759c17ce15bac6c42861ffce">end</a>())[-1] = boost::endian::native_to_big(q);</div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, x};</div>
|
|
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> }</div>
|
|
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
|
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="structripple_1_1keylet_1_1next__t.html#a88b274e93ea8dd1ac2954f18936413ea"> 256</a></span> <a class="code" href="structripple_1_1keylet_1_1next__t.html#a88b274e93ea8dd1ac2954f18936413ea">next_t::operator()</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>& k)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  assert(k.<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>);</div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, <a class="code" href="namespaceripple.html#aae2b8e3c2ed21dcbae53a626c885af3d">getQualityNext</a>(k.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>)};</div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> }</div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
|
|
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="structripple_1_1keylet_1_1ticket__t.html#a51b6f7149e775c304d0e1be2bcfc70b2"> 263</a></span> <a class="code" href="structripple_1_1keylet_1_1ticket__t.html#a51b6f7149e775c304d0e1be2bcfc70b2">ticket_t::operator()</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ticketSeq)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aa28c736ec52242ffe39aaa030db1accd">ltTICKET</a>, <a class="code" href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613">getTicketIndex</a>(<span class="keywordtype">id</span>, ticketSeq)};</div>
|
|
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> }</div>
|
|
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  </div>
|
|
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="structripple_1_1keylet_1_1ticket__t.html#a96da729905ccad058f2421f59bdb30e8"> 269</a></span> <a class="code" href="structripple_1_1keylet_1_1ticket__t.html#a51b6f7149e775c304d0e1be2bcfc70b2">ticket_t::operator()</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>, <a class="code" href="classripple_1_1SeqProxy.html">SeqProxy</a> ticketSeq)<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aa28c736ec52242ffe39aaa030db1accd">ltTICKET</a>, <a class="code" href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613">getTicketIndex</a>(<span class="keywordtype">id</span>, ticketSeq)};</div>
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> }</div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  </div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="comment">// This function is presently static, since it's never accessed from anywhere</span></div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment">// else. If we ever support multiple pages of signer lists, this would be the</span></div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment">// keylet used to locate them.</span></div>
|
|
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">static</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a732acf180c5009a2310b48a5fc4fbe43"> 278</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a732acf180c5009a2310b48a5fc4fbe43">signers</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">page</a>) noexcept</div>
|
|
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> {</div>
|
|
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a2bde6c0c7901419859841372fa9557ec">ltSIGNER_LIST</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab8bc5bef96b32bc707669b52169b0c9c">LedgerNameSpace::SIGNER_LIST</a>, <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>, <a class="code" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">page</a>)};</div>
|
|
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> }</div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  </div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a1cca9362a1182bc08392bbedafa065ff"> 285</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a732acf180c5009a2310b48a5fc4fbe43">signers</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>) noexcept</div>
|
|
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> {</div>
|
|
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1keylet.html#a732acf180c5009a2310b48a5fc4fbe43">signers</a>(<a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>, 0);</div>
|
|
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> }</div>
|
|
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div>
|
|
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a66624dcb8f66cb8548d032ff97030aa4"> 291</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a66624dcb8f66cb8548d032ff97030aa4">check</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) noexcept</div>
|
|
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> {</div>
|
|
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ad7915d2d8a69386a38eebd7b859dcb6d">ltCHECK</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba8c46d8d9d3402788403e2f6911153089">LedgerNameSpace::CHECK</a>, <span class="keywordtype">id</span>, seq)};</div>
|
|
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> }</div>
|
|
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  </div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a67984ec9aed38198ec52136ad2cd86c0"> 297</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a67984ec9aed38198ec52136ad2cd86c0">depositPreauth</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& owner, <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& preauthorized) noexcept</div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> {</div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ad4c4cc29cde0b459bc454c5e70f2b3ac">ltDEPOSIT_PREAUTH</a>,</div>
|
|
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba3327bcb6bb4b74aec018c7cf6efa8b3a">LedgerNameSpace::DEPOSIT_PREAUTH</a>, owner, preauthorized)};</div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> }</div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  </div>
|
|
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  </div>
|
|
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a78921721302f172696ebc5c64e279763"> 307</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a78921721302f172696ebc5c64e279763">unchecked</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key) noexcept</div>
|
|
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> {</div>
|
|
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4">ltANY</a>, key};</div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> }</div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  </div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#aa9b2ba2df3c3da4cecd1c07cccf7c7f9"> 313</a></span> <a class="code" href="namespaceripple_1_1keylet.html#aa9b2ba2df3c3da4cecd1c07cccf7c7f9">ownerDir</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) noexcept</div>
|
|
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> {</div>
|
|
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baade6e4ef934ffe83be3eeb5207ac5f1c">LedgerNameSpace::OWNER_DIR</a>, <span class="keywordtype">id</span>)};</div>
|
|
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> }</div>
|
|
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  </div>
|
|
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1"> 319</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">page</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> index) noexcept</div>
|
|
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> {</div>
|
|
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keywordflow">if</span> (index == 0)</div>
|
|
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, key};</div>
|
|
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  </div>
|
|
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba5d46a758217bde4e7cb6ee02fafefd61">LedgerNameSpace::DIR_NODE</a>, key, index)};</div>
|
|
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> }</div>
|
|
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  </div>
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#ab8e22fa493e990a1fdcb5bb3d2cfbfa2"> 328</a></span> <a class="code" href="namespaceripple_1_1keylet.html#ab8e22fa493e990a1fdcb5bb3d2cfbfa2">escrow</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& src, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) noexcept</div>
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> {</div>
|
|
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a5df3cc4f053931df9fc48283f5a02e27">ltESCROW</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba634cbdb9daa70d74c365f1ceec91903e">LedgerNameSpace::ESCROW</a>, src, seq)};</div>
|
|
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> }</div>
|
|
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  </div>
|
|
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a1f7996e37533aaaacae959144c95c9e9"> 334</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a1f7996e37533aaaacae959144c95c9e9">payChan</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& src, <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& dst, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) noexcept</div>
|
|
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> {</div>
|
|
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a9e06c2e5bc18cc01158409a566acd2fd">ltPAYCHAN</a>,</div>
|
|
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babfbd5f0886f506b4a646d5019f3db0f6">LedgerNameSpace::XRP_PAYMENT_CHANNEL</a>, src, dst, seq)};</div>
|
|
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> }</div>
|
|
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  </div>
|
|
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a26b95f2e06d1e8741d3ddadee066a668"> 342</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a26b95f2e06d1e8741d3ddadee066a668">nftpage_min</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& owner)</div>
|
|
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> {</div>
|
|
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<std::uint8_t, 32></a> buf{};</div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a>(buf.data(), owner.<a class="code" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), owner.<a class="code" href="classripple_1_1base__uint.html#adbe18ef92b677603e8539b3a77c064b0">size</a>());</div>
|
|
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a015332bb6ea4b653c8017459df83d455">ltNFTOKEN_PAGE</a>, <a class="code" href="classripple_1_1base__uint.html">uint256</a>{buf}};</div>
|
|
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> }</div>
|
|
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  </div>
|
|
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a995746504fe0ff36c4617f0d3fefb097"> 350</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a995746504fe0ff36c4617f0d3fefb097">nftpage_max</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& owner)</div>
|
|
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> {</div>
|
|
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keywordtype">id</span> = <a class="code" href="namespaceripple_1_1nft.html#a68418765db2963b258cda36d36b04afb">nft::pageMask</a>;</div>
|
|
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a>(<span class="keywordtype">id</span>.data(), owner.<a class="code" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), owner.<a class="code" href="classripple_1_1base__uint.html#adbe18ef92b677603e8539b3a77c064b0">size</a>());</div>
|
|
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a015332bb6ea4b653c8017459df83d455">ltNFTOKEN_PAGE</a>, <span class="keywordtype">id</span>};</div>
|
|
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> }</div>
|
|
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  </div>
|
|
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a7c16b0abc727e34b4d83377b7f3da2dd"> 358</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a7c16b0abc727e34b4d83377b7f3da2dd">nftpage</a>(<a class="code" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span>& k, <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& token)</div>
|
|
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> {</div>
|
|
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  assert(k.<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a015332bb6ea4b653c8017459df83d455">ltNFTOKEN_PAGE</a>);</div>
|
|
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a015332bb6ea4b653c8017459df83d455">ltNFTOKEN_PAGE</a>, (k.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a> & ~nft::pageMask) + (token & <a class="code" href="namespaceripple_1_1nft.html#a68418765db2963b258cda36d36b04afb">nft::pageMask</a>)};</div>
|
|
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> }</div>
|
|
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  </div>
|
|
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#af22d78dcae7bfcc9d36e53f2223875f4"> 365</a></span> <a class="code" href="namespaceripple_1_1keylet.html#af22d78dcae7bfcc9d36e53f2223875f4">nftoffer</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& owner, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq)</div>
|
|
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> {</div>
|
|
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aac7da9a5712625a2feed8f6cdc9295a8">ltNFTOKEN_OFFER</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba7a5d92b0cfd3e24822dcbae60836c3a4">LedgerNameSpace::NFTOKEN_OFFER</a>, owner, seq)};</div>
|
|
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> }</div>
|
|
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  </div>
|
|
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a46b3edff074ddb69e14bda5b00cf8e26"> 372</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a46b3edff074ddb69e14bda5b00cf8e26">nft_buys</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) noexcept</div>
|
|
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> {</div>
|
|
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bafc57e0ae5cb02758e2342859bc537e40">LedgerNameSpace::NFTOKEN_BUY_OFFERS</a>, <span class="keywordtype">id</span>)};</div>
|
|
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> }</div>
|
|
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  </div>
|
|
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a7bdef766607c687f8d05c699c5fb478f"> 378</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a7bdef766607c687f8d05c699c5fb478f">nft_sells</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) noexcept</div>
|
|
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> {</div>
|
|
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba471713f490287b1c4f049b299826c46a">LedgerNameSpace::NFTOKEN_SELL_OFFERS</a>, <span class="keywordtype">id</span>)};</div>
|
|
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> }</div>
|
|
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  </div>
|
|
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#abdda705f5bcd7002243740a748496454"> 384</a></span> <a class="code" href="namespaceripple_1_1keylet.html#abdda705f5bcd7002243740a748496454">amm</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>& issue1, <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>& issue2) noexcept</div>
|
|
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> {</div>
|
|
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keyword">auto</span> <span class="keyword">const</span>& [minI, maxI] = <a class="codeRef" href="http://en.cppreference.com/w/cpp/algorithm/minmax.html">std::minmax</a>(issue1, issue2);</div>
|
|
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1keylet.html#abdda705f5bcd7002243740a748496454">amm</a>(<a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babd09c58ee620c0fdf33d2cdeb88eaaee">LedgerNameSpace::AMM</a>,</div>
|
|
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  minI.account,</div>
|
|
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  minI.currency,</div>
|
|
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  maxI.account,</div>
|
|
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  maxI.currency));</div>
|
|
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> }</div>
|
|
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  </div>
|
|
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a5c288a42504ab9c0a4b477a5314a5232"> 396</a></span> <a class="code" href="namespaceripple_1_1keylet.html#abdda705f5bcd7002243740a748496454">amm</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) noexcept</div>
|
|
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span> {</div>
|
|
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a659b874174037570d1cba218239a2f91">ltAMM</a>, <span class="keywordtype">id</span>};</div>
|
|
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span> }</div>
|
|
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  </div>
|
|
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48"> 402</a></span> <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>(<a class="code" href="classripple_1_1STXChainBridge.html">STXChainBridge</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>, <a class="code" href="classripple_1_1STXChainBridge.html#a3b751ce2ed6b3f2cbde126e6e2d2f051">STXChainBridge::ChainType</a> chainType)</div>
|
|
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> {</div>
|
|
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="comment">// A door account can support multiple bridges. On the locking chain</span></div>
|
|
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="comment">// there can only be one bridge per lockingChainCurrency. On the issuing</span></div>
|
|
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="comment">// chain there can only be one bridge per issuingChainCurrency.</span></div>
|
|
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keyword">auto</span> <span class="keyword">const</span>& issue = <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.issue(chainType);</div>
|
|
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a61eebfa6c9b8d477235e02872e3d5980">ltBRIDGE</a>,</div>
|
|
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baa75a1789547188e39e2e344c286d2b62">LedgerNameSpace::BRIDGE</a>, <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.door(chainType), issue.currency)};</div>
|
|
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> }</div>
|
|
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  </div>
|
|
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a82fb5560a5bb14662d71eb4de01b56b2"> 415</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a82fb5560a5bb14662d71eb4de01b56b2">xChainClaimID</a>(<a class="code" href="classripple_1_1STXChainBridge.html">STXChainBridge</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> seq)</div>
|
|
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> {</div>
|
|
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ab3516484cac94d752ed1a7e66adde43b">ltXCHAIN_OWNED_CLAIM_ID</a>,</div>
|
|
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baa20258daf3591445a0b80fa9284852d1">LedgerNameSpace::XCHAIN_CLAIM_ID</a>,</div>
|
|
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.lockingChainDoor(),</div>
|
|
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.lockingChainIssue(),</div>
|
|
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.issuingChainDoor(),</div>
|
|
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.issuingChainIssue(),</div>
|
|
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  seq)};</div>
|
|
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> }</div>
|
|
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  </div>
|
|
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#adcd78c46a42dfa46394fb6693272ac5e"> 429</a></span> <a class="code" href="namespaceripple_1_1keylet.html#adcd78c46a42dfa46394fb6693272ac5e">xChainCreateAccountClaimID</a>(<a class="code" href="classripple_1_1STXChainBridge.html">STXChainBridge</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> seq)</div>
|
|
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> {</div>
|
|
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordflow">return</span> {</div>
|
|
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a638437c17e3640d41d147b34e83016a2">ltXCHAIN_OWNED_CREATE_ACCOUNT_CLAIM_ID</a>,</div>
|
|
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(</div>
|
|
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba0c7ef893d91d8aa253e093f57a0d35ce">LedgerNameSpace::XCHAIN_CREATE_ACCOUNT_CLAIM_ID</a>,</div>
|
|
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.lockingChainDoor(),</div>
|
|
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.lockingChainIssue(),</div>
|
|
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.issuingChainDoor(),</div>
|
|
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <a class="code" href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">bridge</a>.issuingChainIssue(),</div>
|
|
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  seq)};</div>
|
|
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> }</div>
|
|
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  </div>
|
|
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a89f207b0bdf0ef73cf0d9c35e49ef227"> 443</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a89f207b0bdf0ef73cf0d9c35e49ef227">did</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>) noexcept</div>
|
|
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> {</div>
|
|
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a88202b9a4846306f2bc0c5c09239e06a">ltDID</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307badbeab5095e8b54be8527724b23c371a3">LedgerNameSpace::DID</a>, <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>)};</div>
|
|
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span> }</div>
|
|
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  </div>
|
|
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> <a class="code" href="structripple_1_1Keylet.html">Keylet</a></div>
|
|
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="namespaceripple_1_1keylet.html#a0c8501b7162b24e030168fb13b6d774a"> 449</a></span> <a class="code" href="namespaceripple_1_1keylet.html#a0c8501b7162b24e030168fb13b6d774a">oracle</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span>& documentID) noexcept</div>
|
|
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> {</div>
|
|
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordflow">return</span> {<a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aeb2a33f9f6c9dc8395f8f1048576610b">ltORACLE</a>, <a class="code" href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">indexHash</a>(<a class="code" href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bac3e3f219b6b8cad735598568fe19ca71">LedgerNameSpace::ORACLE</a>, <a class="code" href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">account</a>, documentID)};</div>
|
|
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> }</div>
|
|
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
|
|
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> } <span class="comment">// namespace keylet</span></div>
|
|
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  </div>
|
|
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> } <span class="comment">// namespace ripple</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_aa9b2ba2df3c3da4cecd1c07cccf7c7f9"><div class="ttname"><a href="namespaceripple_1_1keylet.html#aa9b2ba2df3c3da4cecd1c07cccf7c7f9">ripple::keylet::ownerDir</a></div><div class="ttdeci">Keylet ownerDir(AccountID const &id) noexcept</div><div class="ttdoc">The root page of an account's directory.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00313">Indexes.cpp:313</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba5d46a758217bde4e7cb6ee02fafefd61"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba5d46a758217bde4e7cb6ee02fafefd61">ripple::LedgerNameSpace::DIR_NODE</a></div><div class="ttdeci">@ DIR_NODE</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba7a5d92b0cfd3e24822dcbae60836c3a4"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba7a5d92b0cfd3e24822dcbae60836c3a4">ripple::LedgerNameSpace::NFTOKEN_OFFER</a></div><div class="ttdeci">@ NFTOKEN_OFFER</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139aa28c736ec52242ffe39aaa030db1accd"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aa28c736ec52242ffe39aaa030db1accd">ripple::ltTICKET</a></div><div class="ttdeci">@ ltTICKET</div><div class="ttdoc">A ledger object which describes a ticket.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00080">LedgerFormats.h:80</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba4ed324309f996b76707fbeed9e29cd5e"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba4ed324309f996b76707fbeed9e29cd5e">ripple::LedgerNameSpace::NICKNAME</a></div><div class="ttdeci">@ NICKNAME</div></div>
|
|
<div class="ttc" id="astructripple_1_1Keylet_html"><div class="ttname"><a href="structripple_1_1Keylet.html">ripple::Keylet</a></div><div class="ttdoc">A pair of SHAMap key and LedgerEntryType.</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00038">Keylet.h:38</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Issue_html"><div class="ttname"><a href="classripple_1_1Issue.html">ripple::Issue</a></div><div class="ttdoc">A currency issued by an account.</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00035">Issue.h:35</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba10a5fc93fb200eb05fc816628f0b1d32"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba10a5fc93fb200eb05fc816628f0b1d32">ripple::LedgerNameSpace::OFFER</a></div><div class="ttdeci">@ OFFER</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba471713f490287b1c4f049b299826c46a"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba471713f490287b1c4f049b299826c46a">ripple::LedgerNameSpace::NFTOKEN_SELL_OFFERS</a></div><div class="ttdeci">@ NFTOKEN_SELL_OFFERS</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a5660f18c64be5f8270fe66fcc25d0de8"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a5660f18c64be5f8270fe66fcc25d0de8">ripple::keylet::amendments</a></div><div class="ttdeci">Keylet const & amendments() noexcept</div><div class="ttdoc">The index of the amendment table.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00173">Indexes.cpp:173</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4">ripple::ltANY</a></div><div class="ttdeci">@ ltANY</div><div class="ttdoc">A special type, matching any ledger entry type.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00212">LedgerFormats.h:212</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139aeb2a33f9f6c9dc8395f8f1048576610b"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aeb2a33f9f6c9dc8395f8f1048576610b">ripple::ltORACLE</a></div><div class="ttdeci">@ ltORACLE</div><div class="ttdoc">A ledger object which tracks Oracle.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00198">LedgerFormats.h:198</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bab2f0af91f1ccdbaae425525f5103c2b5"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab2f0af91f1ccdbaae425525f5103c2b5">ripple::LedgerNameSpace::GENERATOR</a></div><div class="ttdeci">@ GENERATOR</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a1842fee89cdf9025217d48514df19b1a"><div class="ttname"><a href="namespaceripple.html#a1842fee89cdf9025217d48514df19b1a">ripple::isConsistent</a></div><div class="ttdeci">bool isConsistent(Book const &book)</div><div class="ttdef"><b>Definition:</b> <a href="Book_8cpp_source.html#l00025">Book.cpp:25</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1STXChainBridge_html_a3b751ce2ed6b3f2cbde126e6e2d2f051"><div class="ttname"><a href="classripple_1_1STXChainBridge.html#a3b751ce2ed6b3f2cbde126e6e2d2f051">ripple::STXChainBridge::ChainType</a></div><div class="ttdeci">ChainType</div><div class="ttdef"><b>Definition:</b> <a href="STXChainBridge_8h_source.html#l00043">STXChainBridge.h:43</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bae30c13acc8c17bb7bec2f13412a03d7e"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bae30c13acc8c17bb7bec2f13412a03d7e">ripple::LedgerNameSpace::AMENDMENTS</a></div><div class="ttdeci">@ AMENDMENTS</div></div>
|
|
<div class="ttc" id="aclassripple_1_1Book_html_a6992e8a5da385182ec3ab51a0216281a"><div class="ttname"><a href="classripple_1_1Book.html#a6992e8a5da385182ec3ab51a0216281a">ripple::Book::out</a></div><div class="ttdeci">Issue out</div><div class="ttdef"><b>Definition:</b> <a href="Book_8h_source.html#l00037">Book.h:37</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a28ea965d2d2217a099fc54c86f1097c6"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a28ea965d2d2217a099fc54c86f1097c6">ripple::ltLEDGER_HASHES</a></div><div class="ttdeci">@ ltLEDGER_HASHES</div><div class="ttdoc">A ledger object that contains a list of ledger hashes.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00109">LedgerFormats.h:109</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a0c8501b7162b24e030168fb13b6d774a"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a0c8501b7162b24e030168fb13b6d774a">ripple::keylet::oracle</a></div><div class="ttdeci">Keylet oracle(AccountID const &account, std::uint32_t const &documentID) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00449">Indexes.cpp:449</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bafc57e0ae5cb02758e2342859bc537e40"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bafc57e0ae5cb02758e2342859bc537e40">ripple::LedgerNameSpace::NFTOKEN_BUY_OFFERS</a></div><div class="ttdeci">@ NFTOKEN_BUY_OFFERS</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_aeb5ef72b34cf7a324641e7a7f696d4cc"><div class="ttname"><a href="namespaceripple.html#aeb5ef72b34cf7a324641e7a7f696d4cc">ripple::getBookBase</a></div><div class="ttdeci">uint256 getBookBase(Book const &book)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00092">Indexes.cpp:92</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba8c46d8d9d3402788403e2f6911153089"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba8c46d8d9d3402788403e2f6911153089">ripple::LedgerNameSpace::CHECK</a></div><div class="ttdeci">@ CHECK</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_abdda705f5bcd7002243740a748496454"><div class="ttname"><a href="namespaceripple_1_1keylet.html#abdda705f5bcd7002243740a748496454">ripple::keylet::amm</a></div><div class="ttdeci">Keylet amm(Issue const &issue1, Issue const &issue2) noexcept</div><div class="ttdoc">AMM entry.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00384">Indexes.cpp:384</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html_ae0d53a1c759c17ce15bac6c42861ffce"><div class="ttname"><a href="classripple_1_1base__uint.html#ae0d53a1c759c17ce15bac6c42861ffce">ripple::base_uint::end</a></div><div class="ttdeci">iterator end()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00138">base_uint.h:138</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a2bde6c0c7901419859841372fa9557ec"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a2bde6c0c7901419859841372fa9557ec">ripple::ltSIGNER_LIST</a></div><div class="ttdeci">@ ltSIGNER_LIST</div><div class="ttdoc">A ledger object which contains a signer list for an account.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00086">LedgerFormats.h:86</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_af22d78dcae7bfcc9d36e53f2223875f4"><div class="ttname"><a href="namespaceripple_1_1keylet.html#af22d78dcae7bfcc9d36e53f2223875f4">ripple::keylet::nftoffer</a></div><div class="ttdeci">Keylet nftoffer(AccountID const &owner, std::uint32_t seq)</div><div class="ttdoc">An offer from an account to buy or sell an NFT.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00365">Indexes.cpp:365</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a5d33427228ab1869c37fcf11132865f6"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a5d33427228ab1869c37fcf11132865f6">ripple::keylet::offer</a></div><div class="ttdeci">Keylet offer(AccountID const &id, std::uint32_t seq) noexcept</div><div class="ttdoc">An offer from an account.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00232">Indexes.cpp:232</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307baa20258daf3591445a0b80fa9284852d1"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baa20258daf3591445a0b80fa9284852d1">ripple::LedgerNameSpace::XCHAIN_CLAIM_ID</a></div><div class="ttdeci">@ XCHAIN_CLAIM_ID</div></div>
|
|
<div class="ttc" id="aclassripple_1_1Issue_html_a4b723aa4198e4c630e41de06586e2fe7"><div class="ttname"><a href="classripple_1_1Issue.html#a4b723aa4198e4c630e41de06586e2fe7">ripple::Issue::currency</a></div><div class="ttdeci">Currency currency</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00038">Issue.h:38</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_acda2d89a44551845c5be38291e5c9e8b"><div class="ttname"><a href="namespaceripple_1_1keylet.html#acda2d89a44551845c5be38291e5c9e8b">ripple::keylet::skip</a></div><div class="ttdeci">Keylet const & skip() noexcept</div><div class="ttdoc">The index of the "short" skip list.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00155">Indexes.cpp:155</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a89f207b0bdf0ef73cf0d9c35e49ef227"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a89f207b0bdf0ef73cf0d9c35e49ef227">ripple::keylet::did</a></div><div class="ttdeci">Keylet did(AccountID const &account) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00443">Indexes.cpp:443</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a1fc176ed1b328b0ef5392b5b5468e269"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a1fc176ed1b328b0ef5392b5b5468e269">ripple::keylet::child</a></div><div class="ttdeci">Keylet child(uint256 const &key) noexcept</div><div class="ttdoc">Any item that can be in an owner dir.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00149">Indexes.cpp:149</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bab8bc5bef96b32bc707669b52169b0c9c"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab8bc5bef96b32bc707669b52169b0c9c">ripple::LedgerNameSpace::SIGNER_LIST</a></div><div class="ttdeci">@ SIGNER_LIST</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba0c7ef893d91d8aa253e093f57a0d35ce"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba0c7ef893d91d8aa253e093f57a0d35ce">ripple::LedgerNameSpace::XCHAIN_CREATE_ACCOUNT_CLAIM_ID</a></div><div class="ttdeci">@ XCHAIN_CREATE_ACCOUNT_CLAIM_ID</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a82fb5560a5bb14662d71eb4de01b56b2"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a82fb5560a5bb14662d71eb4de01b56b2">ripple::keylet::xChainClaimID</a></div><div class="ttdeci">Keylet xChainClaimID(STXChainBridge const &bridge, std::uint64_t seq)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00415">Indexes.cpp:415</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139ad7915d2d8a69386a38eebd7b859dcb6d"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ad7915d2d8a69386a38eebd7b859dcb6d">ripple::ltCHECK</a></div><div class="ttdeci">@ ltCHECK</div><div class="ttdoc">A ledger object which describes a check.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00155">LedgerFormats.h:155</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_aae2b8e3c2ed21dcbae53a626c885af3d"><div class="ttname"><a href="namespaceripple.html#aae2b8e3c2ed21dcbae53a626c885af3d">ripple::getQualityNext</a></div><div class="ttdeci">uint256 getQualityNext(uint256 const &uBase)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00110">Indexes.cpp:110</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a7dc6fea6d4468e63ed4789f0ae421fda"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a7dc6fea6d4468e63ed4789f0ae421fda">ripple::ltFEE_SETTINGS</a></div><div class="ttdeci">@ ltFEE_SETTINGS</div><div class="ttdoc">The ledger object which lists the network's fee settings.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00137">LedgerFormats.h:137</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307b"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307b">ripple::LedgerNameSpace</a></div><div class="ttdeci">LedgerNameSpace</div><div class="ttdoc">Type-specific prefix for calculating ledger indices.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00050">Indexes.cpp:50</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba4d58cec11e2b2ac23fb03ff41dc06204"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba4d58cec11e2b2ac23fb03ff41dc06204">ripple::LedgerNameSpace::SKIP_LIST</a></div><div class="ttdeci">@ SKIP_LIST</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd">ripple::ltCHILD</a></div><div class="ttdeci">@ ltCHILD</div><div class="ttdoc">A special type, matching any ledger type except directory nodes.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00225">LedgerFormats.h:225</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html_a5342507fe2fb5ac55d578e7e98863f70"><div class="ttname"><a href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">ripple::base_uint::data</a></div><div class="ttdeci">pointer data()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00122">base_uint.h:122</a></div></div>
|
|
<div class="ttc" id="aalgorithm_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/algorithm.html">algorithm</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8c00e62edb06efd9df0fc8bf0cbec613"><div class="ttname"><a href="namespaceripple.html#a8c00e62edb06efd9df0fc8bf0cbec613">ripple::getTicketIndex</a></div><div class="ttdeci">uint256 getTicketIndex(AccountID const &account, std::uint32_t ticketSeq)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00125">Indexes.cpp:125</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1keylet_1_1next__t_html_a88b274e93ea8dd1ac2954f18936413ea"><div class="ttname"><a href="structripple_1_1keylet_1_1next__t.html#a88b274e93ea8dd1ac2954f18936413ea">ripple::keylet::next_t::operator()</a></div><div class="ttdeci">Keylet operator()(Keylet const &k) const</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00256">Indexes.cpp:256</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html_adbe18ef92b677603e8539b3a77c064b0"><div class="ttname"><a href="classripple_1_1base__uint.html#adbe18ef92b677603e8539b3a77c064b0">ripple::base_uint::size</a></div><div class="ttdeci">constexpr static std::size_t size()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00519">base_uint.h:519</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ripple::ltDIR_NODE</a></div><div class="ttdeci">@ ltDIR_NODE</div><div class="ttdoc">A ledger object which contains a list of object identifiers.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00066">LedgerFormats.h:66</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1nft_html_a68418765db2963b258cda36d36b04afb"><div class="ttname"><a href="namespaceripple_1_1nft.html#a68418765db2963b258cda36d36b04afb">ripple::nft::pageMask</a></div><div class="ttdeci">constexpr uint256 pageMask(std::string_view("0000000000000000000000000000000000000000ffffffffffffffffffffffff"))</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint< 256 > uint256</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00550">base_uint.h:550</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SeqProxy_html_ad1b5ed07ca885fd243066a846080ccc0"><div class="ttname"><a href="classripple_1_1SeqProxy.html#ad1b5ed07ca885fd243066a846080ccc0">ripple::SeqProxy::isTicket</a></div><div class="ttdeci">constexpr bool isTicket() const</div><div class="ttdef"><b>Definition:</b> <a href="SeqProxy_8h_source.html#l00094">SeqProxy.h:94</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Keylet_html_a482983062843a8682fcea76a309c73db"><div class="ttname"><a href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">ripple::Keylet::key</a></div><div class="ttdeci">uint256 key</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00040">Keylet.h:40</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139ad6de7354457bdcd9f882a430fe90157b"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ad6de7354457bdcd9f882a430fe90157b">ripple::ltAMENDMENTS</a></div><div class="ttdeci">@ ltAMENDMENTS</div><div class="ttdoc">The ledger object which lists details about amendments on the network.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00117">LedgerFormats.h:117</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a4d94a73034cd9472952dc5448bc420a4"><div class="ttname"><a href="namespaceripple.html#a4d94a73034cd9472952dc5448bc420a4">ripple::indexHash</a></div><div class="ttdeci">static uint256 indexHash(LedgerNameSpace space, Args const &... args)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00086">Indexes.cpp:86</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_ab8e22fa493e990a1fdcb5bb3d2cfbfa2"><div class="ttname"><a href="namespaceripple_1_1keylet.html#ab8e22fa493e990a1fdcb5bb3d2cfbfa2">ripple::keylet::escrow</a></div><div class="ttdeci">Keylet escrow(AccountID const &src, std::uint32_t seq) noexcept</div><div class="ttdoc">An escrow entry.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00328">Indexes.cpp:328</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a26b95f2e06d1e8741d3ddadee066a668"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a26b95f2e06d1e8741d3ddadee066a668">ripple::keylet::nftpage_min</a></div><div class="ttdeci">Keylet nftpage_min(AccountID const &owner)</div><div class="ttdoc">NFT page keylets.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00342">Indexes.cpp:342</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a8a24a7b08fcdd8a76109f80f056a176d"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a8a24a7b08fcdd8a76109f80f056a176d">ripple::ltOFFER</a></div><div class="ttdeci">@ ltOFFER</div><div class="ttdoc">A ledger object which describes an offer on the DEX.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00092">LedgerFormats.h:92</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a7c16b0abc727e34b4d83377b7f3da2dd"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a7c16b0abc727e34b4d83377b7f3da2dd">ripple::keylet::nftpage</a></div><div class="ttdeci">Keylet nftpage(Keylet const &k, uint256 const &token)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00358">Indexes.cpp:358</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba0cde8308499fa5d7e403ce4de19e202b"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba0cde8308499fa5d7e403ce4de19e202b">ripple::LedgerNameSpace::NEGATIVE_UNL</a></div><div class="ttdeci">@ NEGATIVE_UNL</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a50c370db96b4fdcdd202d9c2c38afce9"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a50c370db96b4fdcdd202d9c2c38afce9">ripple::keylet::account</a></div><div class="ttdeci">Keylet account(AccountID const &id) noexcept</div><div class="ttdoc">AccountID root.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00143">Indexes.cpp:143</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a5df3cc4f053931df9fc48283f5a02e27"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a5df3cc4f053931df9fc48283f5a02e27">ripple::ltESCROW</a></div><div class="ttdeci">@ ltESCROW</div><div class="ttdoc">A ledger object describing a single escrow.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00143">LedgerFormats.h:143</a></div></div>
|
|
<div class="ttc" id="aminmax_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/minmax.html">std::minmax</a></div><div class="ttdeci">T minmax(T... args)</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a88202b9a4846306f2bc0c5c09239e06a"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a88202b9a4846306f2bc0c5c09239e06a">ripple::ltDID</a></div><div class="ttdeci">@ ltDID</div><div class="ttdoc">The ledger object which tracks the DID.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00193">LedgerFormats.h:193</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba3327bcb6bb4b74aec018c7cf6efa8b3a"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba3327bcb6bb4b74aec018c7cf6efa8b3a">ripple::LedgerNameSpace::DEPOSIT_PREAUTH</a></div><div class="ttdeci">@ DEPOSIT_PREAUTH</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_ac571941ebdceac5988d1275460041a48"><div class="ttname"><a href="namespaceripple_1_1keylet.html#ac571941ebdceac5988d1275460041a48">ripple::keylet::bridge</a></div><div class="ttdeci">Keylet bridge(STXChainBridge const &bridge, STXChainBridge::ChainType chainType)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00402">Indexes.cpp:402</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139aac7da9a5712625a2feed8f6cdc9295a8"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139aac7da9a5712625a2feed8f6cdc9295a8">ripple::ltNFTOKEN_OFFER</a></div><div class="ttdeci">@ ltNFTOKEN_OFFER</div><div class="ttdoc">A ledger object which identifies an offer to buy or sell an NFT.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00181">LedgerFormats.h:181</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a7e018eaf4a4da32d3f6f75f864cb85d1"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">ripple::keylet::page</a></div><div class="ttdeci">Keylet page(uint256 const &key, std::uint64_t index) noexcept</div><div class="ttdoc">A page in a directory.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00319">Indexes.cpp:319</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba1cfc240cb02f638cc9fe1bb3023caa2f"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba1cfc240cb02f638cc9fe1bb3023caa2f">ripple::LedgerNameSpace::CONTRACT</a></div><div class="ttdeci">@ CONTRACT</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307baade6e4ef934ffe83be3eeb5207ac5f1c"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baade6e4ef934ffe83be3eeb5207ac5f1c">ripple::LedgerNameSpace::OWNER_DIR</a></div><div class="ttdeci">@ OWNER_DIR</div></div>
|
|
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array< std::uint8_t, 32 ></a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Keylet_html_a194d83c488eaa909ae4bcf816d8f4cb0"><div class="ttname"><a href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">ripple::Keylet::type</a></div><div class="ttdeci">LedgerEntryType type</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00041">Keylet.h:41</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139ad4c4cc29cde0b459bc454c5e70f2b3ac"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ad4c4cc29cde0b459bc454c5e70f2b3ac">ripple::ltDEPOSIT_PREAUTH</a></div><div class="ttdeci">@ ltDEPOSIT_PREAUTH</div><div class="ttdoc">A ledger object which describes a deposit preauthorization.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00161">LedgerFormats.h:161</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a7bdef766607c687f8d05c699c5fb478f"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a7bdef766607c687f8d05c699c5fb478f">ripple::keylet::nft_sells</a></div><div class="ttdeci">Keylet nft_sells(uint256 const &id) noexcept</div><div class="ttdoc">The directory of sell offers for the specified NFT.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00378">Indexes.cpp:378</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a995746504fe0ff36c4617f0d3fefb097"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a995746504fe0ff36c4617f0d3fefb097">ripple::keylet::nftpage_max</a></div><div class="ttdeci">Keylet nftpage_max(AccountID const &owner)</div><div class="ttdoc">A keylet for the owner's last possible NFT page.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00350">Indexes.cpp:350</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1keylet_1_1ticket__t_html_a51b6f7149e775c304d0e1be2bcfc70b2"><div class="ttname"><a href="structripple_1_1keylet_1_1ticket__t.html#a51b6f7149e775c304d0e1be2bcfc70b2">ripple::keylet::ticket_t::operator()</a></div><div class="ttdeci">Keylet operator()(AccountID const &id, std::uint32_t ticketSeq) const</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00263">Indexes.cpp:263</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307babc03954685e7f58f30d4eaf69842fbfd"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babc03954685e7f58f30d4eaf69842fbfd">ripple::LedgerNameSpace::TRUST_LINE</a></div><div class="ttdeci">@ TRUST_LINE</div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a46b3edff074ddb69e14bda5b00cf8e26"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a46b3edff074ddb69e14bda5b00cf8e26">ripple::keylet::nft_buys</a></div><div class="ttdeci">Keylet nft_buys(uint256 const &id) noexcept</div><div class="ttdoc">The directory of buy offers for the specified NFT.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00372">Indexes.cpp:372</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_ad7913ec52c58534ee1601ab21956123f"><div class="ttname"><a href="namespaceripple_1_1keylet.html#ad7913ec52c58534ee1601ab21956123f">ripple::keylet::line</a></div><div class="ttdeci">Keylet line(AccountID const &id0, AccountID const &id1, Currency const &currency) noexcept</div><div class="ttdoc">The index of a trust line for a given currency.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00203">Indexes.cpp:203</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba40f601f6182ca7d7ace34ad6e54e414b"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba40f601f6182ca7d7ace34ad6e54e414b">ripple::LedgerNameSpace::FEE_SETTINGS</a></div><div class="ttdeci">@ FEE_SETTINGS</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a78921721302f172696ebc5c64e279763"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a78921721302f172696ebc5c64e279763">ripple::keylet::unchecked</a></div><div class="ttdeci">Keylet unchecked(uint256 const &key) noexcept</div><div class="ttdoc">Any ledger entry.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00307">Indexes.cpp:307</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307babd09c58ee620c0fdf33d2cdeb88eaaee"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babd09c58ee620c0fdf33d2cdeb88eaaee">ripple::LedgerNameSpace::AMM</a></div><div class="ttdeci">@ AMM</div></div>
|
|
<div class="ttc" id="aclassripple_1_1STXChainBridge_html"><div class="ttname"><a href="classripple_1_1STXChainBridge.html">ripple::STXChainBridge</a></div><div class="ttdef"><b>Definition:</b> <a href="STXChainBridge_8h_source.html#l00033">STXChainBridge.h:33</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SeqProxy_html_a41c206bf5f44fe0b3f99f2dd42b0259c"><div class="ttname"><a href="classripple_1_1SeqProxy.html#a41c206bf5f44fe0b3f99f2dd42b0259c">ripple::SeqProxy::value</a></div><div class="ttdeci">constexpr std::uint32_t value() const</div><div class="ttdef"><b>Definition:</b> <a href="SeqProxy_8h_source.html#l00082">SeqProxy.h:82</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a015332bb6ea4b653c8017459df83d455"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a015332bb6ea4b653c8017459df83d455">ripple::ltNFTOKEN_PAGE</a></div><div class="ttdeci">@ ltNFTOKEN_PAGE</div><div class="ttdoc">A ledger object which contains a list of NFTs.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00175">LedgerFormats.h:175</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1keylet_1_1book__t_html_afef20fe31c3f9aba907158ca8d7e9895"><div class="ttname"><a href="structripple_1_1keylet_1_1book__t.html#afef20fe31c3f9aba907158ca8d7e9895">ripple::keylet::book_t::operator()</a></div><div class="ttdeci">Keylet operator()(Book const &b) const</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00197">Indexes.cpp:197</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a638437c17e3640d41d147b34e83016a2"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a638437c17e3640d41d147b34e83016a2">ripple::ltXCHAIN_OWNED_CREATE_ACCOUNT_CLAIM_ID</a></div><div class="ttdeci">@ ltXCHAIN_OWNED_CREATE_ACCOUNT_CLAIM_ID</div><div class="ttdoc">A claim id for a cross chain create account transaction.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00129">LedgerFormats.h:129</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a61eebfa6c9b8d477235e02872e3d5980"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a61eebfa6c9b8d477235e02872e3d5980">ripple::ltBRIDGE</a></div><div class="ttdeci">@ ltBRIDGE</div><div class="ttdoc">The ledger object which lists details about sidechains.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00099">LedgerFormats.h:99</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a228bf5e19d8a076bf0b39a8555c66a04"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a228bf5e19d8a076bf0b39a8555c66a04">ripple::ltNEGATIVE_UNL</a></div><div class="ttdeci">@ ltNEGATIVE_UNL</div><div class="ttdoc">The ledger object which tracks the current negative UNL state.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00169">LedgerFormats.h:169</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a1f7996e37533aaaacae959144c95c9e9"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a1f7996e37533aaaacae959144c95c9e9">ripple::keylet::payChan</a></div><div class="ttdeci">Keylet payChan(AccountID const &src, AccountID const &dst, std::uint32_t seq) noexcept</div><div class="ttdoc">A PaymentChannel.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00334">Indexes.cpp:334</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307badbeab5095e8b54be8527724b23c371a3"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307badbeab5095e8b54be8527724b23c371a3">ripple::LedgerNameSpace::DID</a></div><div class="ttdeci">@ DID</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139ac03405d2da6d19e17f321a6b7f7a412e"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ac03405d2da6d19e17f321a6b7f7a412e">ripple::ltACCOUNT_ROOT</a></div><div class="ttdeci">@ ltACCOUNT_ROOT</div><div class="ttdoc">A ledger object which describes an account.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00059">LedgerFormats.h:59</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae3f5bc352766a1a8dbf5270eb7dbc2e7"><div class="ttname"><a href="namespaceripple.html#ae3f5bc352766a1a8dbf5270eb7dbc2e7">ripple::sha512Half</a></div><div class="ttdeci">sha512_half_hasher::result_type sha512Half(Args const &... args)</div><div class="ttdoc">Returns the SHA512-Half of a series of objects.</div><div class="ttdef"><b>Definition:</b> <a href="digest_8h_source.html#l00216">digest.h:216</a></div></div>
|
|
<div class="ttc" id="acassert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cassert.html">cassert</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SeqProxy_html"><div class="ttname"><a href="classripple_1_1SeqProxy.html">ripple::SeqProxy</a></div><div class="ttdoc">A type that represents either a sequence value or a ticket value.</div><div class="ttdef"><b>Definition:</b> <a href="SeqProxy_8h_source.html#l00055">SeqProxy.h:55</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307babfbd5f0886f506b4a646d5019f3db0f6"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307babfbd5f0886f506b4a646d5019f3db0f6">ripple::LedgerNameSpace::XRP_PAYMENT_CHANNEL</a></div><div class="ttdeci">@ XRP_PAYMENT_CHANNEL</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bacd819f2eff20b61bcf41bc22df219217"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bacd819f2eff20b61bcf41bc22df219217">ripple::LedgerNameSpace::TICKET</a></div><div class="ttdeci">@ TICKET</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_adcd78c46a42dfa46394fb6693272ac5e"><div class="ttname"><a href="namespaceripple_1_1keylet.html#adcd78c46a42dfa46394fb6693272ac5e">ripple::keylet::xChainCreateAccountClaimID</a></div><div class="ttdeci">Keylet xChainCreateAccountClaimID(STXChainBridge const &bridge, std::uint64_t seq)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00429">Indexes.cpp:429</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139ab3516484cac94d752ed1a7e66adde43b"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139ab3516484cac94d752ed1a7e66adde43b">ripple::ltXCHAIN_OWNED_CLAIM_ID</a></div><div class="ttdeci">@ ltXCHAIN_OWNED_CLAIM_ID</div><div class="ttdoc">A claim id for a cross chain transaction.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00123">LedgerFormats.h:123</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_ac58ecac7b057504ea6c1706c0ee04623"><div class="ttname"><a href="namespaceripple_1_1keylet.html#ac58ecac7b057504ea6c1706c0ee04623">ripple::keylet::fees</a></div><div class="ttdeci">Keylet const & fees() noexcept</div><div class="ttdoc">The (fixed) index of the object containing the ledger fees.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00181">Indexes.cpp:181</a></div></div>
|
|
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307ba634cbdb9daa70d74c365f1ceec91903e"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307ba634cbdb9daa70d74c365f1ceec91903e">ripple::LedgerNameSpace::ESCROW</a></div><div class="ttdeci">@ ESCROW</div></div>
|
|
<div class="ttc" id="aclassripple_1_1Book_html"><div class="ttname"><a href="classripple_1_1Book.html">ripple::Book</a></div><div class="ttdoc">Specifies an order book.</div><div class="ttdef"><b>Definition:</b> <a href="Book_8h_source.html#l00033">Book.h:33</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a0dca36851b869200981387f3b9f5cdee"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a0dca36851b869200981387f3b9f5cdee">ripple::ltRIPPLE_STATE</a></div><div class="ttdeci">@ ltRIPPLE_STATE</div><div class="ttdoc">A ledger object which describes a bidirectional trust line.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00074">LedgerFormats.h:74</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a521be311ed98c7c94eeff3441e6bf85f"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a521be311ed98c7c94eeff3441e6bf85f">ripple::keylet::quality</a></div><div class="ttdeci">Keylet quality(Keylet const &k, std::uint64_t q) noexcept</div><div class="ttdoc">The initial directory page for a specific quality.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00238">Indexes.cpp:238</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bac40eb667c7e828cfdcfb437c5d221bf6"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bac40eb667c7e828cfdcfb437c5d221bf6">ripple::LedgerNameSpace::ACCOUNT</a></div><div class="ttdeci">@ ACCOUNT</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bac3e3f219b6b8cad735598568fe19ca71"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bac3e3f219b6b8cad735598568fe19ca71">ripple::LedgerNameSpace::ORACLE</a></div><div class="ttdeci">@ ORACLE</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307bab6a8833f2e59902cc71ae3f8c0643edb"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307bab6a8833f2e59902cc71ae3f8c0643edb">ripple::LedgerNameSpace::BOOK_DIR</a></div><div class="ttdeci">@ BOOK_DIR</div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a732acf180c5009a2310b48a5fc4fbe43"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a732acf180c5009a2310b48a5fc4fbe43">ripple::keylet::signers</a></div><div class="ttdeci">static Keylet signers(AccountID const &account, std::uint32_t page) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00278">Indexes.cpp:278</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a53590de263224dde45f4856da2852319"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a53590de263224dde45f4856da2852319">ripple::keylet::negativeUNL</a></div><div class="ttdeci">Keylet const & negativeUNL() noexcept</div><div class="ttdoc">The (fixed) index of the object containing the ledger negativeUNL.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00189">Indexes.cpp:189</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a66624dcb8f66cb8548d032ff97030aa4"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a66624dcb8f66cb8548d032ff97030aa4">ripple::keylet::check</a></div><div class="ttdeci">Keylet check(AccountID const &id, std::uint32_t seq) noexcept</div><div class="ttdoc">A Check.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00291">Indexes.cpp:291</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1keylet_html_a67984ec9aed38198ec52136ad2cd86c0"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a67984ec9aed38198ec52136ad2cd86c0">ripple::keylet::depositPreauth</a></div><div class="ttdeci">Keylet depositPreauth(AccountID const &owner, AccountID const &preauthorized) noexcept</div><div class="ttdoc">A DepositPreauth.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00297">Indexes.cpp:297</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a25fb2b2098567a8286557fbd445ce146"><div class="ttname"><a href="namespaceripple.html#a25fb2b2098567a8286557fbd445ce146">ripple::getQuality</a></div><div class="ttdeci">std::uint64_t getQuality(uint256 const &uBase)</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00118">Indexes.cpp:118</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a659b874174037570d1cba218239a2f91"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a659b874174037570d1cba218239a2f91">ripple::ltAMM</a></div><div class="ttdeci">@ ltAMM</div><div class="ttdoc">The ledger object which tracks the AMM.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00187">LedgerFormats.h:187</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Book_html_a44f1acfd1d549e7f025f5372fb345f27"><div class="ttname"><a href="classripple_1_1Book.html#a44f1acfd1d549e7f025f5372fb345f27">ripple::Book::in</a></div><div class="ttdeci">Issue in</div><div class="ttdef"><b>Definition:</b> <a href="Book_8h_source.html#l00036">Book.h:36</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Issue_html_a46e4805870b1bad6a8691bed0b8acec8"><div class="ttname"><a href="classripple_1_1Issue.html#a46e4805870b1bad6a8691bed0b8acec8">ripple::Issue::account</a></div><div class="ttdeci">AccountID account</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00039">Issue.h:39</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a9e06c2e5bc18cc01158409a566acd2fd"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a9e06c2e5bc18cc01158409a566acd2fd">ripple::ltPAYCHAN</a></div><div class="ttdeci">@ ltPAYCHAN</div><div class="ttdoc">A ledger object describing a single unidirectional XRP payment channel.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00149">LedgerFormats.h:149</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a22768e0a41b646442c98d38f2f2a307baa75a1789547188e39e2e344c286d2b62"><div class="ttname"><a href="namespaceripple.html#a22768e0a41b646442c98d38f2f2a307baa75a1789547188e39e2e344c286d2b62">ripple::LedgerNameSpace::BRIDGE</a></div><div class="ttdeci">@ BRIDGE</div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|