This commit is contained in:
manojsdoshi
2021-03-12 22:34:28 +00:00
parent 1664f589f1
commit dffdcfc0e7
4802 changed files with 108249 additions and 108053 deletions

View File

@@ -103,12 +103,12 @@ $(function() {
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;}</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;boost::optional&lt;AccountID&gt;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespaceripple.html#afac6ca7a5a3ec1537768de5cebb1c77c"> 36</a></span>&#160;<a class="code" href="namespaceripple.html#afac6ca7a5a3ec1537768de5cebb1c77c">parseBase58</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; s)</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespaceripple.html#a6ed6129376e1d37ef607c2697f5b9d6a"> 36</a></span>&#160;<a class="code" href="namespaceripple.html#a6ed6129376e1d37ef607c2697f5b9d6a">parseBase58</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; s)</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> result = <a class="code" href="namespaceripple.html#a9952e5a413358e9a647b31c86c5835ff">decodeBase58Token</a>(s, <a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03aba430b63631349ab773285535e878405">TokenType::AccountID</a>);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordflow">if</span> (result.size() != <a class="code" href="classripple_1_1base__uint.html#a4b9e8d36a37963d48be8f081d99257bf">AccountID::bytes</a>)</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordflow">return</span> boost::none;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordflow">return</span> std::nullopt;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1base__uint.html">AccountID</a>{result};</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;}</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
@@ -174,7 +174,7 @@ $(function() {
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="keywordtype">bool</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="namespaceripple.html#a300af819bde0c7c49207d10cd787e62e"> 104</a></span>&#160;<a class="code" href="namespaceripple.html#a300af819bde0c7c49207d10cd787e62e">to_issuer</a>(<a class="code" href="classripple_1_1base__uint.html">AccountID</a>&amp; issuer, <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; s)</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;{</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">if</span> (issuer.<a class="code" href="classripple_1_1base__uint.html#a88941f6d88609ddcd997293791772aed">parseHex</a>(s))</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">if</span> (issuer.<a class="code" href="classripple_1_1base__uint.html#a698d3fd0c0f0155995c87d2f48ac90d5">parseHex</a>(s))</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> account = parseBase58&lt;AccountID&gt;(s);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">if</span> (!account)</div>
@@ -241,13 +241,13 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_a08a13b62b18272366f788632359e8793"><div class="ttname"><a href="namespaceripple.html#a08a13b62b18272366f788632359e8793">ripple::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &amp;v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00029">AccountID.cpp:29</a></div></div>
<div class="ttc" id="anamespaceripple_html_a9952e5a413358e9a647b31c86c5835ff"><div class="ttname"><a href="namespaceripple.html#a9952e5a413358e9a647b31c86c5835ff">ripple::decodeBase58Token</a></div><div class="ttdeci">std::string decodeBase58Token(std::string const &amp;s, TokenType type)</div><div class="ttdoc">Decode a token of given type encoded using Base58Check and the XRPL alphabet.</div><div class="ttdef"><b>Definition:</b> <a href="tokens_8cpp_source.html#l00223">tokens.cpp:223</a></div></div>
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div><div class="ttdoc">STL class.</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#l00113">base_uint.h:113</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#l00114">base_uint.h:114</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03aba430b63631349ab773285535e878405"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03aba430b63631349ab773285535e878405">ripple::TokenType::AccountID</a></div><div class="ttdeci">@ AccountID</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#l00426">base_uint.h:426</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#l00495">base_uint.h:495</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&lt; 160, detail::AccountIDTag &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1AccountIDCache_html_a9963e4fa249bf87fd0fd5c1baefd7741"><div class="ttname"><a href="classripple_1_1AccountIDCache.html#a9963e4fa249bf87fd0fd5c1baefd7741">ripple::AccountIDCache::m1_</a></div><div class="ttdeci">hash_map&lt; AccountID, std::string &gt; m1_</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8h_source.html#l00124">AccountID.h:124</a></div></div>
<div class="ttc" id="aclassripple_1_1AccountIDCache_html_a31116ba6b6e77fc075c80e746be57446"><div class="ttname"><a href="classripple_1_1AccountIDCache.html#a31116ba6b6e77fc075c80e746be57446">ripple::AccountIDCache::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8h_source.html#l00121">AccountID.h:121</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_a4b9e8d36a37963d48be8f081d99257bf"><div class="ttname"><a href="classripple_1_1base__uint.html#a4b9e8d36a37963d48be8f081d99257bf">ripple::base_uint&lt; 160, detail::AccountIDTag &gt;::bytes</a></div><div class="ttdeci">static constexpr std::size_t bytes</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00096">base_uint.h:96</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_a4b9e8d36a37963d48be8f081d99257bf"><div class="ttname"><a href="classripple_1_1base__uint.html#a4b9e8d36a37963d48be8f081d99257bf">ripple::base_uint&lt; 160, detail::AccountIDTag &gt;::bytes</a></div><div class="ttdeci">static constexpr std::size_t bytes</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00097">base_uint.h:97</a></div></div>
<div class="ttc" id="astructripple_1_1ripesha__hasher_html"><div class="ttname"><a href="structripple_1_1ripesha__hasher.html">ripple::ripesha_hasher</a></div><div class="ttdoc">Returns the RIPEMD-160 digest of the SHA256 hash of the message.</div><div class="ttdef"><b>Definition:</b> <a href="digest_8h_source.html#l00131">digest.h:131</a></div></div>
<div class="ttc" id="aclassripple_1_1PublicKey_html"><div class="ttname"><a href="classripple_1_1PublicKey.html">ripple::PublicKey</a></div><div class="ttdoc">A public key.</div><div class="ttdef"><b>Definition:</b> <a href="PublicKey_8h_source.html#l00059">PublicKey.h:59</a></div></div>
<div class="ttc" id="aclassripple_1_1PublicKey_html_a663437215503b159ed33b1664e4213a3"><div class="ttname"><a href="classripple_1_1PublicKey.html#a663437215503b159ed33b1664e4213a3">ripple::PublicKey::size</a></div><div class="ttdeci">std::size_t size() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="PublicKey_8h_source.html#l00087">PublicKey.h:87</a></div></div>
@@ -256,10 +256,11 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_a21696ba0d0fac348f88f1b9da51091b0"><div class="ttname"><a href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">ripple::xrpAccount</a></div><div class="ttdeci">AccountID const &amp; xrpAccount()</div><div class="ttdoc">Compute AccountID from public key.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00090">AccountID.cpp:90</a></div></div>
<div class="ttc" id="aclassripple_1_1AccountIDCache_html_a945faf739aff5dd35d9f3c7c0bfe4a41"><div class="ttname"><a href="classripple_1_1AccountIDCache.html#a945faf739aff5dd35d9f3c7c0bfe4a41">ripple::AccountIDCache::m0_</a></div><div class="ttdeci">hash_map&lt; AccountID, std::string &gt; m0_</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8h_source.html#l00123">AccountID.h:123</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="aclassripple_1_1base__uint_html_a88941f6d88609ddcd997293791772aed"><div class="ttname"><a href="classripple_1_1base__uint.html#a88941f6d88609ddcd997293791772aed">ripple::base_uint::parseHex</a></div><div class="ttdeci">bool parseHex(std::string_view sv)</div><div class="ttdoc">Parse a hex string into a base_uint.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00384">base_uint.h:384</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4c70c1f85ccff1b830f4bda1becb21b4"><div class="ttname"><a href="namespaceripple.html#a4c70c1f85ccff1b830f4bda1becb21b4">ripple::encodeBase58Token</a></div><div class="ttdeci">std::string encodeBase58Token(TokenType type, void const *token, std::size_t size)</div><div class="ttdoc">Encode data in Base58Check format using XRPL alphabet.</div><div class="ttdef"><b>Definition:</b> <a href="tokens_8cpp_source.html#l00199">tokens.cpp:199</a></div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="anamespaceripple_html_afac6ca7a5a3ec1537768de5cebb1c77c"><div class="ttname"><a href="namespaceripple.html#afac6ca7a5a3ec1537768de5cebb1c77c">ripple::parseBase58</a></div><div class="ttdeci">boost::optional&lt; AccountID &gt; parseBase58(std::string const &amp;s)</div><div class="ttdoc">Parse AccountID from checked, base58 string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00036">AccountID.cpp:36</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_a698d3fd0c0f0155995c87d2f48ac90d5"><div class="ttname"><a href="classripple_1_1base__uint.html#a698d3fd0c0f0155995c87d2f48ac90d5">ripple::base_uint::parseHex</a></div><div class="ttdeci">constexpr bool parseHex(std::string_view sv)</div><div class="ttdoc">Parse a hex string into a base_uint.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00472">base_uint.h:472</a></div></div>
<div class="ttc" id="anamespaceripple_html_a6ed6129376e1d37ef607c2697f5b9d6a"><div class="ttname"><a href="namespaceripple.html#a6ed6129376e1d37ef607c2697f5b9d6a">ripple::parseBase58</a></div><div class="ttdeci">std::optional&lt; AccountID &gt; parseBase58(std::string const &amp;s)</div><div class="ttdoc">Parse AccountID from checked, base58 string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00036">AccountID.cpp:36</a></div></div>
<div class="ttc" id="anamespaceripple_html_a065cda95aed9cb1d66fb81cad0867ef6"><div class="ttname"><a href="namespaceripple.html#a065cda95aed9cb1d66fb81cad0867ef6">ripple::noAccount</a></div><div class="ttdeci">AccountID const &amp; noAccount()</div><div class="ttdoc">A placeholder for empty accounts.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00097">AccountID.cpp:97</a></div></div>
<div class="ttc" id="anamespaceripple_html_a00ae0d729cb3e35b6bcac9a27ebb5284"><div class="ttname"><a href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">ripple::AccountID</a></div><div class="ttdeci">base_uint&lt; 160, detail::AccountIDTag &gt; AccountID</div><div class="ttdoc">A 160-bit unsigned that uniquely identifies an account.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8h_source.html#l00047">AccountID.h:47</a></div></div>
<div class="ttc" id="aclassripple_1_1AccountIDCache_html_a7c3b7a60b432ff4dcb87dcde20c61c02"><div class="ttname"><a href="classripple_1_1AccountIDCache.html#a7c3b7a60b432ff4dcb87dcde20c61c02">ripple::AccountIDCache::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &amp;) const</div><div class="ttdoc">Return ripple::toBase58 for the AccountID.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00134">AccountID.cpp:134</a></div></div>