mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
deploy: 3574956e5e
This commit is contained in:
182
protocol_2impl_2LedgerHeader_8cpp_source.html
Normal file
182
protocol_2impl_2LedgerHeader_8cpp_source.html
Normal file
@@ -0,0 +1,182 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>rippled: LedgerHeader.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">rippled
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_1e765e6a8d5970800a535eb2615ec474.html">protocol</a></li><li class="navelem"><a class="el" href="dir_41c387a0f328eeb295307369675c1162.html">impl</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">protocol/impl/LedgerHeader.cpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2023 Ripple Labs Inc.</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <ripple/protocol/LedgerHeader.h></span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="namespaceripple.html#ad0c6c3894c6331f6464e78c02c2ba3da"> 25</a></span> <a class="code" href="namespaceripple.html#ad0c6c3894c6331f6464e78c02c2ba3da">addRaw</a>(<a class="code" href="structripple_1_1LedgerHeader.html">LedgerHeader</a> <span class="keyword">const</span>& info, <a class="code" href="classripple_1_1Serializer.html">Serializer</a>& s, <span class="keywordtype">bool</span> includeHash)</div>
|
||||
<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>  s.<a class="code" href="classripple_1_1Serializer.html#a55ebab5e9bf8d8231da8f3c796150719">add32</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">seq</a>);</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  s.<a class="code" href="classripple_1_1Serializer.html#a9a01510f385b8ad60158fe119a8be882">add64</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d">drops</a>.<a class="code" href="classripple_1_1XRPAmount.html#a8a65b5528d6021159c5b8772aa86cfc1">drops</a>());</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  s.<a class="code" href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">addBitString</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">parentHash</a>);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  s.<a class="code" href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">addBitString</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527">txHash</a>);</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  s.<a class="code" href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">addBitString</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d">accountHash</a>);</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  s.<a class="code" href="classripple_1_1Serializer.html#a55ebab5e9bf8d8231da8f3c796150719">add32</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">parentCloseTime</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count());</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  s.<a class="code" href="classripple_1_1Serializer.html#a55ebab5e9bf8d8231da8f3c796150719">add32</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707">closeTime</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count());</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  s.<a class="code" href="classripple_1_1Serializer.html#ab6de064efbc9b2efaeff2b069a02b644">add8</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3">closeTimeResolution</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration/count.html">count</a>());</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  s.<a class="code" href="classripple_1_1Serializer.html#ab6de064efbc9b2efaeff2b069a02b644">add8</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">closeFlags</a>);</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="keywordflow">if</span> (includeHash)</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  s.<a class="code" href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">addBitString</a>(info.<a class="code" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a>);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> }</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> LedgerHeader</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae38c39246f1566a67d674d40ced5a30b"> 42</a></span> <a class="code" href="namespaceripple.html#ae38c39246f1566a67d674d40ced5a30b">deserializeHeader</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <span class="keywordtype">bool</span> hasHash)</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classripple_1_1SerialIter.html">SerialIter</a> sit(data.data(), data.size());</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="structripple_1_1LedgerHeader.html">LedgerHeader</a> header;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">seq</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#aba6df51d44a50b1cfdc114e89456147a">get32</a>();</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d">drops</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#af720e6387dcaba61af9c9c724e33097e">get64</a>();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">parentHash</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#ae012cfa83bb44253a59d66bf89dfdf96">get256</a>();</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527">txHash</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#ae012cfa83bb44253a59d66bf89dfdf96">get256</a>();</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d">accountHash</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#ae012cfa83bb44253a59d66bf89dfdf96">get256</a>();</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">parentCloseTime</a> =</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a>{<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a>{sit.<a class="code" href="classripple_1_1SerialIter.html#aba6df51d44a50b1cfdc114e89456147a">get32</a>()}};</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707">closeTime</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a>{<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a>{sit.<a class="code" href="classripple_1_1SerialIter.html#aba6df51d44a50b1cfdc114e89456147a">get32</a>()}};</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3">closeTimeResolution</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a>{sit.<a class="code" href="classripple_1_1SerialIter.html#abd5f83aa8b3943ca9cbfa005aaa33734">get8</a>()};</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">closeFlags</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#abd5f83aa8b3943ca9cbfa005aaa33734">get8</a>();</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span> (hasHash)</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  header.<a class="code" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a> = sit.<a class="code" href="classripple_1_1SerialIter.html#ae012cfa83bb44253a59d66bf89dfdf96">get256</a>();</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> header;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> LedgerHeader</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="namespaceripple.html#a022d9bbb24b2a476e64e282e9876ca93"> 66</a></span> <a class="code" href="namespaceripple.html#a022d9bbb24b2a476e64e282e9876ca93">deserializePrefixedHeader</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <span class="keywordtype">bool</span> hasHash)</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> {</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#ae38c39246f1566a67d674d40ced5a30b">deserializeHeader</a>(data + 4, hasHash);</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> }</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> } <span class="comment">// namespace ripple</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_a9808a73e7430aff3c1590d4ae552f620"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">ripple::LedgerHeader::closeFlags</a></div><div class="ttdeci">int closeFlags</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00063">LedgerHeader.h:63</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00044">Slice.h:44</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1XRPAmount_html_a8a65b5528d6021159c5b8772aa86cfc1"><div class="ttname"><a href="classripple_1_1XRPAmount.html#a8a65b5528d6021159c5b8772aa86cfc1">ripple::XRPAmount::drops</a></div><div class="ttdeci">constexpr value_type drops() const</div><div class="ttdoc">Returns the number of drops.</div><div class="ttdef"><b>Definition:</b> <a href="XRPAmount_8h_source.html#l00172">XRPAmount.h:172</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ab8fd6d4be4001febfe6f2e2b399dfa48"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">ripple::LedgerHeader::parentHash</a></div><div class="ttdeci">uint256 parentHash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00052">LedgerHeader.h:52</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_ab6de064efbc9b2efaeff2b069a02b644"><div class="ttname"><a href="classripple_1_1Serializer.html#ab6de064efbc9b2efaeff2b069a02b644">ripple::Serializer::add8</a></div><div class="ttdeci">int add8(unsigned char i)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00166">Serializer.cpp:166</a></div></div>
|
||||
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::duration</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_a233e04cfeb4d879ab8517d8aabb7e38b"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">ripple::LedgerHeader::seq</a></div><div class="ttdeci">LedgerIndex seq</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00041">LedgerHeader.h:41</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ae2df468f2563d420131543e27231491d"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d">ripple::LedgerHeader::accountHash</a></div><div class="ttdeci">uint256 accountHash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00051">LedgerHeader.h:51</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_a9a01510f385b8ad60158fe119a8be882"><div class="ttname"><a href="classripple_1_1Serializer.html#a9a01510f385b8ad60158fe119a8be882">ripple::Serializer::add64</a></div><div class="ttdeci">int add64(std::uint64_t i)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00060">Serializer.cpp:60</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ae9093d3962490ede02dd9da5eb597527"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527">ripple::LedgerHeader::txHash</a></div><div class="ttdeci">uint256 txHash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00050">LedgerHeader.h:50</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_aed3c6b7c8a2f7b4815507ff942f94fa8"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">ripple::LedgerHeader::hash</a></div><div class="ttdeci">uint256 hash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00049">LedgerHeader.h:49</a></div></div>
|
||||
<div class="ttc" id="atime_since_epoch_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">std::chrono::time_point::time_since_epoch</a></div><div class="ttdeci">T time_since_epoch(T... args)</div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_acbaff4abb7243e02f45e63bd19843aa9"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">ripple::LedgerHeader::parentCloseTime</a></div><div class="ttdeci">NetClock::time_point parentCloseTime</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00042">LedgerHeader.h:42</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SerialIter_html_abd5f83aa8b3943ca9cbfa005aaa33734"><div class="ttname"><a href="classripple_1_1SerialIter.html#abd5f83aa8b3943ca9cbfa005aaa33734">ripple::SerialIter::get8</a></div><div class="ttdeci">unsigned char get8()</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00362">Serializer.cpp:362</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SerialIter_html_ae012cfa83bb44253a59d66bf89dfdf96"><div class="ttname"><a href="classripple_1_1SerialIter.html#ae012cfa83bb44253a59d66bf89dfdf96">ripple::SerialIter::get256</a></div><div class="ttdeci">uint256 get256()</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00377">Serializer.h:377</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SerialIter_html_af720e6387dcaba61af9c9c724e33097e"><div class="ttname"><a href="classripple_1_1SerialIter.html#af720e6387dcaba61af9c9c724e33097e">ripple::SerialIter::get64</a></div><div class="ttdeci">std::uint64_t get64()</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00399">Serializer.cpp:399</a></div></div>
|
||||
<div class="ttc" id="atime_point_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/time_point.html">std::chrono::time_point</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SerialIter_html"><div class="ttname"><a href="classripple_1_1SerialIter.html">ripple::SerialIter</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00311">Serializer.h:311</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_a3f117cf9d4ccb20b5ba15d8639540707"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707">ripple::LedgerHeader::closeTime</a></div><div class="ttdeci">NetClock::time_point closeTime</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00072">LedgerHeader.h:72</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html"><div class="ttname"><a href="structripple_1_1LedgerHeader.html">ripple::LedgerHeader</a></div><div class="ttdoc">Information about the notional ledger backing the view.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00033">LedgerHeader.h:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html"><div class="ttname"><a href="classripple_1_1Serializer.html">ripple::Serializer</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00040">Serializer.h:40</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_1Serializer_html_a96daec54ca0c8ec7f6e7e683e9abbe0e"><div class="ttname"><a href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">ripple::Serializer::addBitString</a></div><div class="ttdeci">int addBitString(base_uint< Bits, Tag > const &v)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00098">Serializer.h:98</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad0c6c3894c6331f6464e78c02c2ba3da"><div class="ttname"><a href="namespaceripple.html#ad0c6c3894c6331f6464e78c02c2ba3da">ripple::addRaw</a></div><div class="ttdeci">void addRaw(LedgerHeader const &info, Serializer &s, bool includeHash)</div><div class="ttdef"><b>Definition:</b> <a href="protocol_2impl_2LedgerHeader_8cpp_source.html#l00025">protocol/impl/LedgerHeader.cpp:25</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ad05c30cddf4e01a449adfa855fdb8b7d"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d">ripple::LedgerHeader::drops</a></div><div class="ttdeci">XRPAmount drops</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00054">LedgerHeader.h:54</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ab0b35abca886a06b38eead7b84cba8c3"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3">ripple::LedgerHeader::closeTimeResolution</a></div><div class="ttdeci">NetClock::duration closeTimeResolution</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00066">LedgerHeader.h:66</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a022d9bbb24b2a476e64e282e9876ca93"><div class="ttname"><a href="namespaceripple.html#a022d9bbb24b2a476e64e282e9876ca93">ripple::deserializePrefixedHeader</a></div><div class="ttdeci">LedgerHeader deserializePrefixedHeader(Slice data, bool hasHash)</div><div class="ttdoc">Deserialize a ledger header (prefixed with 4 bytes) from a byte array.</div><div class="ttdef"><b>Definition:</b> <a href="protocol_2impl_2LedgerHeader_8cpp_source.html#l00066">protocol/impl/LedgerHeader.cpp:66</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae38c39246f1566a67d674d40ced5a30b"><div class="ttname"><a href="namespaceripple.html#ae38c39246f1566a67d674d40ced5a30b">ripple::deserializeHeader</a></div><div class="ttdeci">LedgerHeader deserializeHeader(Slice data, bool hasHash)</div><div class="ttdoc">Deserialize a ledger header from a byte array.</div><div class="ttdef"><b>Definition:</b> <a href="protocol_2impl_2LedgerHeader_8cpp_source.html#l00042">protocol/impl/LedgerHeader.cpp:42</a></div></div>
|
||||
<div class="ttc" id="acount_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration/count.html">std::chrono::duration::count</a></div><div class="ttdeci">T count(T... args)</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_a55ebab5e9bf8d8231da8f3c796150719"><div class="ttname"><a href="classripple_1_1Serializer.html#a55ebab5e9bf8d8231da8f3c796150719">ripple::Serializer::add32</a></div><div class="ttdeci">int add32(std::uint32_t i)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00038">Serializer.cpp:38</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SerialIter_html_aba6df51d44a50b1cfdc114e89456147a"><div class="ttname"><a href="classripple_1_1SerialIter.html#aba6df51d44a50b1cfdc114e89456147a">ripple::SerialIter::get32</a></div><div class="ttdeci">std::uint32_t get32()</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00386">Serializer.cpp:386</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.17
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user