This commit is contained in:
manojsdoshi
2021-06-04 17:39:30 +00:00
parent 375f650549
commit 2709cd752f
3925 changed files with 132532 additions and 172858 deletions

View File

@@ -88,7 +88,7 @@ $(function() {
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;ripple/app/ledger/LedgerMaster.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;ripple/app/ledger/LedgerCleaner.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;ripple/app/main/Application.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;ripple/json/json_value.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;ripple/rpc/Context.h&gt;</span></div>
@@ -99,16 +99,16 @@ $(function() {
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespaceripple.html#a43d0c3ebbdbaa2241db22f80662ad337"> 29</a></span>&#160;<a class="code" href="namespaceripple.html#a43d0c3ebbdbaa2241db22f80662ad337">doLedgerCleaner</a>(<a class="code" href="structripple_1_1RPC_1_1JsonContext.html">RPC::JsonContext</a>&amp; context)</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; context.<a class="code" href="structripple_1_1RPC_1_1Context.html#a7878751d68ed7fd43c385913c5e6ff04">app</a>.<a class="code" href="classripple_1_1Application.html#a57929fa83c551514e364fe6981b0c104">getLedgerMaster</a>().<a class="code" href="classripple_1_1LedgerMaster.html#a85ba69d69b04e9a808a496aeb52268cb">doLedgerCleaner</a>(context.<a class="code" href="structripple_1_1RPC_1_1JsonContext.html#a036b2c14552fbca49011c3d0e78017fa">params</a>);</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; context.<a class="code" href="structripple_1_1RPC_1_1Context.html#a7878751d68ed7fd43c385913c5e6ff04">app</a>.<a class="code" href="classripple_1_1Application.html#adb6de2a2edae65cac6ae1cff2585fabb">getLedgerCleaner</a>().<a class="code" href="classripple_1_1LedgerCleaner.html#a066c0286840188ce6e10ce2a257eda9b">clean</a>(context.<a class="code" href="structripple_1_1RPC_1_1JsonContext.html#a036b2c14552fbca49011c3d0e78017fa">params</a>);</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165">RPC::makeObjectValue</a>(<span class="stringliteral">&quot;Cleaner configured&quot;</span>);</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; </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;} <span class="comment">// namespace ripple</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructripple_1_1RPC_1_1JsonContext_html"><div class="ttname"><a href="structripple_1_1RPC_1_1JsonContext.html">ripple::RPC::JsonContext</a></div><div class="ttdef"><b>Definition:</b> <a href="Context_8h_source.html#l00053">Context.h:53</a></div></div>
<div class="ttc" id="aclassripple_1_1Application_html_a57929fa83c551514e364fe6981b0c104"><div class="ttname"><a href="classripple_1_1Application.html#a57929fa83c551514e364fe6981b0c104">ripple::Application::getLedgerMaster</a></div><div class="ttdeci">virtual LedgerMaster &amp; getLedgerMaster()=0</div></div>
<div class="ttc" id="astructripple_1_1RPC_1_1Context_html_a7878751d68ed7fd43c385913c5e6ff04"><div class="ttname"><a href="structripple_1_1RPC_1_1Context.html#a7878751d68ed7fd43c385913c5e6ff04">ripple::RPC::Context::app</a></div><div class="ttdeci">Application &amp; app</div><div class="ttdef"><b>Definition:</b> <a href="Context_8h_source.html#l00042">Context.h:42</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerMaster_html_a85ba69d69b04e9a808a496aeb52268cb"><div class="ttname"><a href="classripple_1_1LedgerMaster.html#a85ba69d69b04e9a808a496aeb52268cb">ripple::LedgerMaster::doLedgerCleaner</a></div><div class="ttdeci">void doLedgerCleaner(Json::Value const &amp;parameters)</div><div class="ttdef"><b>Definition:</b> <a href="LedgerMaster_8cpp_source.html#l01823">LedgerMaster.cpp:1823</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerCleaner_html_a066c0286840188ce6e10ce2a257eda9b"><div class="ttname"><a href="classripple_1_1LedgerCleaner.html#a066c0286840188ce6e10ce2a257eda9b">ripple::LedgerCleaner::clean</a></div><div class="ttdeci">virtual void clean(Json::Value const &amp;parameters)=0</div><div class="ttdoc">Start a long running task to clean the ledger.</div></div>
<div class="ttc" id="aclassripple_1_1Application_html_adb6de2a2edae65cac6ae1cff2585fabb"><div class="ttname"><a href="classripple_1_1Application.html#adb6de2a2edae65cac6ae1cff2585fabb">ripple::Application::getLedgerCleaner</a></div><div class="ttdeci">virtual LedgerCleaner &amp; getLedgerCleaner()=0</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="anamespaceripple_1_1RPC_html_a4e628867fe5111cabdf253dc2ed8f165"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165">ripple::RPC::makeObjectValue</a></div><div class="ttdeci">Json::Value makeObjectValue(Value const &amp;value, Json::StaticString const &amp;field=jss::message)</div><div class="ttdoc">Return a Json::objectValue with a single entry.</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00063">Handler.h:63</a></div></div>
<div class="ttc" id="anamespaceripple_html_a43d0c3ebbdbaa2241db22f80662ad337"><div class="ttname"><a href="namespaceripple.html#a43d0c3ebbdbaa2241db22f80662ad337">ripple::doLedgerCleaner</a></div><div class="ttdeci">Json::Value doLedgerCleaner(RPC::JsonContext &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="LedgerCleanerHandler_8cpp_source.html#l00029">LedgerCleanerHandler.cpp:29</a></div></div>