mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +00:00
deploy: 023f5704d0
This commit is contained in:
@@ -97,22 +97,23 @@ $(function() {
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespaceripple.html#aac2c4941d67ae8e5074e0b3a669898a7"> 29</a></span> <a class="code" href="classJson_1_1Value.html">Json::Value</a> <a class="code" href="namespaceripple.html#aac2c4941d67ae8e5074e0b3a669898a7">doLedgerCurrent</a> (<a class="code" href="structripple_1_1RPC_1_1JsonContext.html">RPC::JsonContext</a>& context)</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a> jvResult;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  jvResult[jss::ledger_current_index] =</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  context.<a class="code" href="structripple_1_1RPC_1_1Context.html#a92c98828663b6b80d3eb15850ec6897a">ledgerMaster</a>.<a class="code" href="classripple_1_1LedgerMaster.html#ae1ced193783ee99e6935bf68d8eb7031">getCurrentLedgerIndex</a> ();</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> jvResult;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> } <span class="comment">// ripple</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespaceripple.html#aac2c4941d67ae8e5074e0b3a669898a7"> 30</a></span> <a class="code" href="namespaceripple.html#aac2c4941d67ae8e5074e0b3a669898a7">doLedgerCurrent</a>(<a class="code" href="structripple_1_1RPC_1_1JsonContext.html">RPC::JsonContext</a>& context)</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a> jvResult;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  jvResult[jss::ledger_current_index] =</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  context.<a class="code" href="structripple_1_1RPC_1_1Context.html#a92c98828663b6b80d3eb15850ec6897a">ledgerMaster</a>.<a class="code" href="classripple_1_1LedgerMaster.html#ae1ced193783ee99e6935bf68d8eb7031">getCurrentLedgerIndex</a>();</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">return</span> jvResult;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> } <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#l00052">Context.h:52</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aac2c4941d67ae8e5074e0b3a669898a7"><div class="ttname"><a href="namespaceripple.html#aac2c4941d67ae8e5074e0b3a669898a7">ripple::doLedgerCurrent</a></div><div class="ttdeci">Json::Value doLedgerCurrent(RPC::JsonContext &)</div><div class="ttdef"><b>Definition:</b> <a href="LedgerCurrent_8cpp_source.html#l00029">LedgerCurrent.cpp:29</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aac2c4941d67ae8e5074e0b3a669898a7"><div class="ttname"><a href="namespaceripple.html#aac2c4941d67ae8e5074e0b3a669898a7">ripple::doLedgerCurrent</a></div><div class="ttdeci">Json::Value doLedgerCurrent(RPC::JsonContext &)</div><div class="ttdef"><b>Definition:</b> <a href="LedgerCurrent_8cpp_source.html#l00030">LedgerCurrent.cpp:30</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1RPC_1_1Context_html_a92c98828663b6b80d3eb15850ec6897a"><div class="ttname"><a href="structripple_1_1RPC_1_1Context.html#a92c98828663b6b80d3eb15850ec6897a">ripple::RPC::Context::ledgerMaster</a></div><div class="ttdeci">LedgerMaster & ledgerMaster</div><div class="ttdef"><b>Definition:</b> <a href="Context_8h_source.html#l00045">Context.h:45</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_1LedgerMaster_html_ae1ced193783ee99e6935bf68d8eb7031"><div class="ttname"><a href="classripple_1_1LedgerMaster.html#ae1ced193783ee99e6935bf68d8eb7031">ripple::LedgerMaster::getCurrentLedgerIndex</a></div><div class="ttdeci">LedgerIndex getCurrentLedgerIndex()</div><div class="ttdef"><b>Definition:</b> <a href="LedgerMaster_8cpp_source.html#l00217">LedgerMaster.cpp:217</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00141">json_value.h:141</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1LedgerMaster_html_ae1ced193783ee99e6935bf68d8eb7031"><div class="ttname"><a href="classripple_1_1LedgerMaster.html#ae1ced193783ee99e6935bf68d8eb7031">ripple::LedgerMaster::getCurrentLedgerIndex</a></div><div class="ttdeci">LedgerIndex getCurrentLedgerIndex()</div><div class="ttdef"><b>Definition:</b> <a href="LedgerMaster_8cpp_source.html#l00221">LedgerMaster.cpp:221</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00145">json_value.h:145</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
|
||||
Reference in New Issue
Block a user