mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
deploy: 3e152fec74
This commit is contained in:
@@ -126,7 +126,7 @@ $(function() {
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">if</span> (ctx.<a class="code hl_variable" href="structripple_1_1PreflightContext.html#af202c00e509cfbb1df4fe69f4d6d6560">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#af5aa57043ec772da30341e3c3b823d7f">getFlags</a>() & <a class="code hl_variable" href="namespaceripple.html#ac8844b7ad1603892172e8e6d1044de00">tfUniversalMask</a>)</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46aa4754e0f122658747650b3b1c0a846a8">temINVALID_FLAG</a>;</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">auto</span> <span class="keyword">const</span>& dataSeries = ctx.<a class="code hl_variable" href="structripple_1_1PreflightContext.html#af202c00e509cfbb1df4fe69f4d6d6560">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a26fe74d797620b2d08d06d50527380e1">getFieldArray</a>(sfPriceDataSeries);</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">auto</span> <span class="keyword">const</span>& dataSeries = ctx.<a class="code hl_variable" href="structripple_1_1PreflightContext.html#af202c00e509cfbb1df4fe69f4d6d6560">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a0fced814291f20736a0b1b50716ffb48">getFieldArray</a>(sfPriceDataSeries);</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordflow">if</span> (dataSeries.empty())</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46aab351e2f0fb6e9e2018732e67058f886">temARRAY_EMPTY</a>;</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keywordflow">if</span> (dataSeries.size() > <a class="code hl_variable" href="namespaceripple.html#acfb6320cd891dd784aa2138f266b2554">maxOracleDataSeries</a>)</div>
|
||||
@@ -178,7 +178,7 @@ $(function() {
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="comment">// token pairs to delete. if a token pair doesn't include</span></div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="comment">// the price then this pair should be deleted from the object.</span></div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<std::pair<Currency, Currency></a>> pairsDel;</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& entry : ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a8e1240b39791cf309b9caaffe8e5d306">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a26fe74d797620b2d08d06d50527380e1">getFieldArray</a>(sfPriceDataSeries))</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& entry : ctx.<a class="code hl_variable" href="structripple_1_1PreclaimContext.html#a8e1240b39791cf309b9caaffe8e5d306">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a0fced814291f20736a0b1b50716ffb48">getFieldArray</a>(sfPriceDataSeries))</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> <span class="keywordflow">if</span> (entry[sfBaseAsset] == entry[sfQuoteAsset])</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46a6c750a245b6efb84fdc4ab34dc010328">temMALFORMED</a>;</div>
|
||||
@@ -279,7 +279,7 @@ $(function() {
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1SOTemplate.html">SOTemplate</a> <span class="keyword">const</span>* elements =</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <a class="code hl_function" href="classripple_1_1InnerObjectFormats.html#ac8a2a46e333d5db2ecaff032e3eacc2f">InnerObjectFormats::getInstance</a>().findSOTemplateBySField(</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> sfPriceData))</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> obj.<a class="code hl_function" href="classripple_1_1STObject.html#a965eac719cefd6f8e66ac3b6c2e1122a">set</a>(*elements);</div>
|
||||
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> obj.<a class="code hl_function" href="classripple_1_1STObject.html#a79d44cbca07f07419075eab63f02cf46">set</a>(*elements);</div>
|
||||
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span>}</div>
|
||||
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> </div>
|
||||
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span><a class="code hl_typedef" href="namespaceripple.html#adfb760bc3e4ccb79d5d4f6ecff2f1817">TER</a></div>
|
||||
@@ -307,7 +307,7 @@ $(function() {
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> }</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keyword">auto</span> <span class="keyword">const</span> oldCount = pairs.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/map/size.html">size</a>() > 5 ? 2 : 1;</div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="comment">// update/add/delete pairs</span></div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& entry : <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a26fe74d797620b2d08d06d50527380e1">getFieldArray</a>(sfPriceDataSeries))</div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& entry : <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a0fced814291f20736a0b1b50716ffb48">getFieldArray</a>(sfPriceDataSeries))</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> {</div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="keyword">auto</span> <span class="keyword">const</span> key = <a class="code hl_function" href="namespaceripple.html#a5dd1aee6bf19281adb5e399002e74271">tokenPairKey</a>(entry);</div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="keywordflow">if</span> (!entry.isFieldPresent(sfAssetPrice))</div>
|
||||
@@ -363,7 +363,7 @@ $(function() {
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> sle->setFieldVL(sfProvider, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>[sfProvider]);</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#aaf5d617701ac3afc4ad6a13862459692">isFieldPresent</a>(sfURI))</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> sle->setFieldVL(sfURI, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>[sfURI]);</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <span class="keyword">auto</span> <span class="keyword">const</span>& series = <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a26fe74d797620b2d08d06d50527380e1">getFieldArray</a>(sfPriceDataSeries);</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <span class="keyword">auto</span> <span class="keyword">const</span>& series = <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>.<a class="code hl_function" href="classripple_1_1STObject.html#a0fced814291f20736a0b1b50716ffb48">getFieldArray</a>(sfPriceDataSeries);</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> sle->setFieldArray(sfPriceDataSeries, series);</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> sle->setFieldVL(sfAssetClass, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>[sfAssetClass]);</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> sle->setFieldU32(sfLastUpdateTime, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">tx</a>[sfLastUpdateTime]);</div>
|
||||
@@ -405,10 +405,10 @@ $(function() {
|
||||
<div class="ttc" id="aclassripple_1_1STCurrency_html_ab71aacd7f6769eae523f4a9a32e1ece1"><div class="ttname"><a href="classripple_1_1STCurrency.html#ab71aacd7f6769eae523f4a9a32e1ece1">ripple::STCurrency::currency</a></div><div class="ttdeci">Currency const & currency() const</div><div class="ttdef"><b>Definition:</b> <a href="STCurrency_8h_source.html#l00089">STCurrency.h:89</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html"><div class="ttname"><a href="classripple_1_1STObject.html">ripple::STObject</a></div><div class="ttdef"><b>Definition:</b> <a href="STObject_8h_source.html#l00056">STObject.h:57</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_a0d2d874d34a1c3ed432cdb9fb1386b35"><div class="ttname"><a href="classripple_1_1STObject.html#a0d2d874d34a1c3ed432cdb9fb1386b35">ripple::STObject::getAccountID</a></div><div class="ttdeci">AccountID getAccountID(SField const &field) const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00651">STObject.cpp:651</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_a26fe74d797620b2d08d06d50527380e1"><div class="ttname"><a href="classripple_1_1STObject.html#a26fe74d797620b2d08d06d50527380e1">ripple::STObject::getFieldArray</a></div><div class="ttdeci">const STArray & getFieldArray(SField const &field) const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00686">STObject.cpp:686</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_a965eac719cefd6f8e66ac3b6c2e1122a"><div class="ttname"><a href="classripple_1_1STObject.html#a965eac719cefd6f8e66ac3b6c2e1122a">ripple::STObject::set</a></div><div class="ttdeci">void set(const SOTemplate &)</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00156">STObject.cpp:156</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_a0fced814291f20736a0b1b50716ffb48"><div class="ttname"><a href="classripple_1_1STObject.html#a0fced814291f20736a0b1b50716ffb48">ripple::STObject::getFieldArray</a></div><div class="ttdeci">STArray const & getFieldArray(SField const &field) const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00686">STObject.cpp:686</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_a79d44cbca07f07419075eab63f02cf46"><div class="ttname"><a href="classripple_1_1STObject.html#a79d44cbca07f07419075eab63f02cf46">ripple::STObject::set</a></div><div class="ttdeci">void set(SOTemplate const &)</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00156">STObject.cpp:156</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_aaf5d617701ac3afc4ad6a13862459692"><div class="ttname"><a href="classripple_1_1STObject.html#aaf5d617701ac3afc4ad6a13862459692">ripple::STObject::isFieldPresent</a></div><div class="ttdeci">bool isFieldPresent(SField const &field) const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00484">STObject.cpp:484</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_ab0b017e27f7f03ba9e2827a26075524d"><div class="ttname"><a href="classripple_1_1STObject.html#ab0b017e27f7f03ba9e2827a26075524d">ripple::STObject::getFieldCurrency</a></div><div class="ttdeci">const STCurrency & getFieldCurrency(SField const &field) const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00693">STObject.cpp:693</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_ab0b017e27f7f03ba9e2827a26075524d"><div class="ttname"><a href="classripple_1_1STObject.html#ab0b017e27f7f03ba9e2827a26075524d">ripple::STObject::getFieldCurrency</a></div><div class="ttdeci">STCurrency const & getFieldCurrency(SField const &field) const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00693">STObject.cpp:693</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STObject_html_af5aa57043ec772da30341e3c3b823d7f"><div class="ttname"><a href="classripple_1_1STObject.html#af5aa57043ec772da30341e3c3b823d7f">ripple::STObject::getFlags</a></div><div class="ttdeci">std::uint32_t getFlags() const</div><div class="ttdef"><b>Definition:</b> <a href="STObject_8cpp_source.html#l00537">STObject.cpp:537</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SetOracle_html_a11616651842f5d7f50205f4046549ff5"><div class="ttname"><a href="classripple_1_1SetOracle.html#a11616651842f5d7f50205f4046549ff5">ripple::SetOracle::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition:</b> <a href="SetOracle_8cpp_source.html#l00040">SetOracle.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SetOracle_html_a46ec333b3c8e46b9c07b0010bb038542"><div class="ttname"><a href="classripple_1_1SetOracle.html#a46ec333b3c8e46b9c07b0010bb038542">ripple::SetOracle::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition:</b> <a href="SetOracle_8cpp_source.html#l00208">SetOracle.cpp:208</a></div></div>
|
||||
@@ -436,7 +436,7 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a4980cfdef6d71cbcc45a80c17f6091dc"><div class="ttname"><a href="namespaceripple.html#a4980cfdef6d71cbcc45a80c17f6091dc">ripple::maxOracleURI</a></div><div class="ttdeci">std::size_t constexpr maxOracleURI</div><div class="ttdoc">The maximum length of a URI inside an Oracle.</div><div class="ttdef"><b>Definition:</b> <a href="Protocol_8h_source.html#l00134">Protocol.h:134</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5785a9e30238dbeb3c22f5fc64904f1e"><div class="ttname"><a href="namespaceripple.html#a5785a9e30238dbeb3c22f5fc64904f1e">ripple::maxOracleProvider</a></div><div class="ttdeci">std::size_t constexpr maxOracleProvider</div><div class="ttdoc">The maximum length of a Provider inside an Oracle.</div><div class="ttdef"><b>Definition:</b> <a href="Protocol_8h_source.html#l00137">Protocol.h:137</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5b31f337f444082f547ef1838e7064fc"><div class="ttname"><a href="namespaceripple.html#a5b31f337f444082f547ef1838e7064fc">ripple::isTesSuccess</a></div><div class="ttdeci">bool isTesSuccess(TER x)</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00656">TER.h:656</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5b498122d9b8c1acbeb9fe459faac22b"><div class="ttname"><a href="namespaceripple.html#a5b498122d9b8c1acbeb9fe459faac22b">ripple::describeOwnerDir</a></div><div class="ttdeci">std::function< void(SLE::ref)> describeOwnerDir(AccountID const &account)</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l00925">View.cpp:925</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5b498122d9b8c1acbeb9fe459faac22b"><div class="ttname"><a href="namespaceripple.html#a5b498122d9b8c1acbeb9fe459faac22b">ripple::describeOwnerDir</a></div><div class="ttdeci">std::function< void(SLE::ref)> describeOwnerDir(AccountID const &account)</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l00927">View.cpp:927</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5dd1aee6bf19281adb5e399002e74271"><div class="ttname"><a href="namespaceripple.html#a5dd1aee6bf19281adb5e399002e74271">ripple::tokenPairKey</a></div><div class="ttdeci">static std::pair< Currency, Currency > tokenPairKey(STObject const &pair)</div><div class="ttdef"><b>Definition:</b> <a href="SetOracle_8cpp_source.html#l00032">SetOracle.cpp:32</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5dfb437ade69624474bbe4125ceb791a"><div class="ttname"><a href="namespaceripple.html#a5dfb437ade69624474bbe4125ceb791a">ripple::preflight1</a></div><div class="ttdeci">NotTEC preflight1(PreflightContext const &ctx)</div><div class="ttdoc">Performs early sanity checks on the account and fee fields.</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8cpp_source.html#l00083">Transactor.cpp:83</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c"><div class="ttname"><a href="namespaceripple.html#a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c">ripple::tefINTERNAL</a></div><div class="ttdeci">@ tefINTERNAL</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00173">TER.h:173</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user