mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
deploy: 9874d47d7f
This commit is contained in:
@@ -181,24 +181,24 @@ $(function() {
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> };</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& hw = params[jss::hotwallet];</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a> = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a> = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="comment">// null is treated as a valid 0-sized array of hotwallet</span></div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordflow">if</span> (hw.<a class="code hl_function" href="classJson_1_1Value.html#ac31a26a1cd6b6516ec66297e10c54e39">isArrayOrNull</a>())</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> {</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i < hw.<a class="code hl_function" href="classJson_1_1Value.html#a23c7027ca674f989f90564d63ef36c74">size</a>(); ++i)</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a> &= addHotWallet(hw[i]);</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a> &= addHotWallet(hw[i]);</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> }</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (hw.<a class="code hl_function" href="classJson_1_1Value.html#a71e1f82cf1c3eaf969d400dcffb163a6">isString</a>())</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> {</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a> &= addHotWallet(hw);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a> &= addHotWallet(hw);</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> }</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> {</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a> = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> }</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a>)</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>)</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> {</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="comment">// The documentation states that invalidParams is used when</span></div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="comment">// One or more fields are specified incorrectly.</span></div>
|
||||
@@ -388,7 +388,7 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aaebfaaee35308269fab499f4e203a8c9"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aaebfaaee35308269fab499f4e203a8c9">ripple::RPC::lookupLedger</a></div><div class="ttdeci">Status lookupLedger(std::shared_ptr< ReadView const > &ledger, JsonContext &context, Json::Value &result)</div><div class="ttdoc">Look up a ledger from a request and fill a Json::Result with the data representing a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RPCHelpers_8cpp_source.html#l00622">RPCHelpers.cpp:622</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_aec2e1163b39a450d3917af9dd15b0f06"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aec2e1163b39a450d3917af9dd15b0f06">ripple::RPC::missing_field_error</a></div><div class="ttdeci">Json::Value missing_field_error(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00276">ErrorCodes.h:276</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1Resource_html_ad74523edd5d732d9b4320240f4d42b2a"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ad74523edd5d732d9b4320240f4d42b2a">ripple::Resource::feeHeavyBurdenRPC</a></div><div class="ttdeci">Charge const feeHeavyBurdenRPC</div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1credentials_html_abd2ed437891b9bd542d2afc3f5f4bc58"><div class="ttname"><a href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">ripple::credentials::valid</a></div><div class="ttdeci">TER valid(PreclaimContext const &ctx, AccountID const &src)</div><div class="ttdef"><b>Definition:</b> <a href="CredentialHelpers_8cpp_source.html#l00153">CredentialHelpers.cpp:153</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1credentials_html_ab0cd6a3f76fa9f09c5f1c2d6fffc11e0"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">ripple::credentials::valid</a></div><div class="ttdeci">TER valid(STTx const &tx, ReadView const &view, AccountID const &src, beast::Journal j)</div><div class="ttdef"><b>Definition:</b> <a href="CredentialHelpers_8cpp_source.html#l00153">CredentialHelpers.cpp:153</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_aa756e0f59b26042ed00a4d0ba6e96951"><div class="ttname"><a href="namespaceripple_1_1keylet.html#aa756e0f59b26042ed00a4d0ba6e96951">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#l00184">Indexes.cpp:184</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1delegate_html_a709f300dec58074240338d43fbade25f"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1delegate.html#a709f300dec58074240338d43fbade25f">ripple::test::jtx::delegate::entry</a></div><div class="ttdeci">Json::Value entry(jtx::Env &env, jtx::Account const &account, jtx::Account const &authorize)</div><div class="ttdef"><b>Definition:</b> <a href="delegate_8cpp_source.html#l00055">delegate.cpp:55</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="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user