mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
deploy: dacecd24ba
This commit is contained in:
@@ -197,10 +197,10 @@ $(function() {
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> {</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="comment">// Create new permissioned domain.</span></div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="comment">// Check reserve availability for new object creation</span></div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a> = <a class="code hl_class" href="classripple_1_1STAmount.html">STAmount</a>((*ownerSle)[sfBalance]).<a class="code hl_function" href="classripple_1_1STAmount.html#a6c2ca92e9c91e2a34493d61e02d79ebf">xrp</a>();</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keyword">auto</span> <span class="keyword">const</span> balance = <a class="code hl_class" href="classripple_1_1STAmount.html">STAmount</a>((*ownerSle)[sfBalance]).<a class="code hl_function" href="classripple_1_1STAmount.html#a6c2ca92e9c91e2a34493d61e02d79ebf">xrp</a>();</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keyword">auto</span> <span class="keyword">const</span> reserve =</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_function" href="classripple_1_1ApplyContext.html#a44c249b16b2cedb1224a96592407558d">view</a>().<a class="code hl_function" href="classripple_1_1ReadView.html#a9944284a00f671a4a9d9e00f9b28b258">fees</a>().<a class="code hl_function" href="structripple_1_1Fees.html#acb07843d0d0e3ccacd7cf51d5296fe40">accountReserve</a>((*ownerSle)[sfOwnerCount] + 1);</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a> < reserve)</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">if</span> (balance < reserve)</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38cae930fb228ae74317976b57b4e87a7f0d">tecINSUFFICIENT_RESERVE</a>;</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_struct" href="structripple_1_1Keylet.html">Keylet</a> <span class="keyword">const</span> pdKeylet = <a class="code hl_function" href="namespaceripple_1_1keylet.html#a51879ade5bc763231874ba4298bf17d3">keylet::permissionedDomain</a>(</div>
|
||||
@@ -258,7 +258,6 @@ $(function() {
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_a803c6fba463ed92ee24e4c056467f20a"><div class="ttname"><a href="classripple_1_1Transactor.html#a803c6fba463ed92ee24e4c056467f20a">ripple::Transactor::account_</a></div><div class="ttdeci">AccountID const account_</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00143">Transactor.h:143</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_a9acc4edc9b8f2a11a27fbcf5e93e2fe2"><div class="ttname"><a href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">ripple::Transactor::view</a></div><div class="ttdeci">ApplyView & view()</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00159">Transactor.h:159</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_aef4ef0a89b5595b2a688b89e4ecef833"><div class="ttname"><a href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ripple::Transactor::ctx_</a></div><div class="ttdeci">ApplyContext & ctx_</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00140">Transactor.h:140</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1balance_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1balance.html">ripple::test::jtx::balance</a></div><div class="ttdoc">A balance matches.</div><div class="ttdef"><b>Definition:</b> <a href="balance_8h_source.html#l00038">balance.h:39</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1credentials_html_ac04569bf71f636523ff8443c921be35f"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ac04569bf71f636523ff8443c921be35f">ripple::credentials::checkArray</a></div><div class="ttdeci">NotTEC checkArray(STArray const &credentials, unsigned maxSize, beast::Journal j)</div><div class="ttdef"><b>Definition:</b> <a href="CredentialHelpers_8cpp_source.html#l00270">CredentialHelpers.cpp:270</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1credentials_html_ae65be8c497e1353bd10a43a73deb2ba8"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ae65be8c497e1353bd10a43a73deb2ba8">ripple::credentials::makeSorted</a></div><div class="ttdeci">std::set< std::pair< AccountID, Slice > > makeSorted(STArray const &credentials)</div><div class="ttdef"><b>Definition:</b> <a href="CredentialHelpers_8cpp_source.html#l00257">CredentialHelpers.cpp:257</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_a51879ade5bc763231874ba4298bf17d3"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a51879ade5bc763231874ba4298bf17d3">ripple::keylet::permissionedDomain</a></div><div class="ttdeci">Keylet permissionedDomain(AccountID const &account, std::uint32_t seq) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00563">Indexes.cpp:563</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user