mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
201 lines
28 KiB
HTML
201 lines
28 KiB
HTML
<!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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: LedgerHeader.h 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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0103a8ad82dcc2c51f5cde661b4b5cb7.html">xrpl</a></li><li class="navelem"><a class="el" href="dir_8d04e3c0b58cad28d7755ed462d1b6c0.html">protocol</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">LedgerHeader.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef XRPL_PROTOCOL_LEDGERHEADER_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_PROTOCOL_LEDGERHEADER_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpl/basics/Slice.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <xrpl/basics/base_uint.h></span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <xrpl/basics/chrono.h></span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <xrpl/protocol/Protocol.h></span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <xrpl/protocol/Serializer.h></span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <xrpl/protocol/XRPAmount.h></span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
|
|
<div class="foldopen" id="foldopen00014" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html"> 14</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerHeader</a></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span>{</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#a03771f954fb5b32e330aec50ae5a87de"> 16</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="structripple_1_1LedgerHeader.html#a03771f954fb5b32e330aec50ae5a87de">LedgerHeader</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// For all ledgers</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="comment">//</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b"> 22</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">seq</a> = 0;</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9"> 23</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">parentCloseTime</a> = {};</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="comment">//</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// For closed ledgers</span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="comment">//</span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// Closed means "tx set already determined"</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8"> 30</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a> = beast::zero;</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527"> 31</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527">txHash</a> = beast::zero;</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d"> 32</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d">accountHash</a> = beast::zero;</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48"> 33</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">parentHash</a> = beast::zero;</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d"> 35</a></span> <a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d">drops</a> = beast::zero;</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// If validated is false, it means "not yet validated."</span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// Once validated is true, it will never be set false at a later time.</span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// VFALCO TODO Make this not mutable</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#ae95b3432469ab4cdef2d0caeb40f98f4"> 40</a></span> <span class="keywordtype">bool</span> <span class="keyword">mutable</span> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#ae95b3432469ab4cdef2d0caeb40f98f4">validated</a> = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#a7b0160181d5c07888cfd7f13e31e7567"> 41</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#a7b0160181d5c07888cfd7f13e31e7567">accepted</a> = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// flags indicating how this ledger close took place</span></div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620"> 44</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">closeFlags</a> = 0;</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="comment">// the resolution for this ledger close time (2-120 seconds)</span></div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3"> 47</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3">closeTimeResolution</a> = {};</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="comment">// For closed ledgers, the time the ledger</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="comment">// closed. For open ledgers, the time the ledger</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// will close if there's no transactions.</span></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="comment">//</span></div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707"> 53</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> <a class="code hl_variable" href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707">closeTime</a> = {};</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment">// We call them "headers" in conversation</span></div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment">// but "info" in code. Unintuitive.</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="comment">// This alias lets us give the "correct" name to the class</span></div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment">// without yet disturbing existing uses.</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555"> 60</a></span><span class="keyword">using </span><a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerInfo</a> = <a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerHeader</a>;</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment">// ledger close flags</span></div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8b2f5b67f10875b32c833c88f3bbb07f"> 63</a></span><span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a8b2f5b67f10875b32c833c88f3bbb07f">sLCF_NoConsensusTime</a> = 0x01;</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="foldopen" id="foldopen00066" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="namespaceripple.html#a02bb3582ce5e2941c4b4dcea4586db72"> 66</a></span><a class="code hl_function" href="namespaceripple.html#a02bb3582ce5e2941c4b4dcea4586db72">getCloseAgree</a>(<a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerHeader</a> <span class="keyword">const</span>& info)</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>{</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordflow">return</span> (info.<a class="code hl_variable" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">closeFlags</a> & <a class="code hl_variable" href="namespaceripple.html#a8b2f5b67f10875b32c833c88f3bbb07f">sLCF_NoConsensusTime</a>) == 0;</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><a class="code hl_function" href="namespaceripple.html#ad6ef4b359d5387fe20ce3ca7e3a293e7">addRaw</a>(LedgerHeader <span class="keyword">const</span>&, Serializer&, <span class="keywordtype">bool</span> includeHash = <span class="keyword">false</span>);</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span>LedgerHeader</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><a class="code hl_function" href="namespaceripple.html#ae38c39246f1566a67d674d40ced5a30b">deserializeHeader</a>(Slice data, <span class="keywordtype">bool</span> hasHash = <span class="keyword">false</span>);</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span>LedgerHeader</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><a class="code hl_function" href="namespaceripple.html#a022d9bbb24b2a476e64e282e9876ca93">deserializePrefixedHeader</a>(Slice data, <span class="keywordtype">bool</span> hasHash = <span class="keyword">false</span>);</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>} <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="aclassripple_1_1XRPAmount_html"><div class="ttname"><a href="classripple_1_1XRPAmount.html">ripple::XRPAmount</a></div><div class="ttdef"><b>Definition</b> <a href="XRPAmount_8h_source.html#l00020">XRPAmount.h:24</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></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="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</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="algorithm_8h_source.html#l00006">algorithm.h:6</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=false)</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="libxrpl_2protocol_2LedgerHeader_8cpp_source.html#l00050">libxrpl/protocol/LedgerHeader.cpp:50</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a02bb3582ce5e2941c4b4dcea4586db72"><div class="ttname"><a href="namespaceripple.html#a02bb3582ce5e2941c4b4dcea4586db72">ripple::getCloseAgree</a></div><div class="ttdeci">bool getCloseAgree(LedgerHeader const &info)</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_a8b2f5b67f10875b32c833c88f3bbb07f"><div class="ttname"><a href="namespaceripple.html#a8b2f5b67f10875b32c833c88f3bbb07f">ripple::sLCF_NoConsensusTime</a></div><div class="ttdeci">static std::uint32_t const sLCF_NoConsensusTime</div><div class="ttdef"><b>Definition</b> <a href="LedgerHeader_8h_source.html#l00063">LedgerHeader.h:63</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ad6ef4b359d5387fe20ce3ca7e3a293e7"><div class="ttname"><a href="namespaceripple.html#ad6ef4b359d5387fe20ce3ca7e3a293e7">ripple::addRaw</a></div><div class="ttdeci">void addRaw(LedgerHeader const &, Serializer &, bool includeHash=false)</div><div class="ttdef"><b>Definition</b> <a href="libxrpl_2protocol_2LedgerHeader_8cpp_source.html#l00009">libxrpl/protocol/LedgerHeader.cpp:9</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=false)</div><div class="ttdoc">Deserialize a ledger header from a byte array.</div><div class="ttdef"><b>Definition</b> <a href="libxrpl_2protocol_2LedgerHeader_8cpp_source.html#l00026">libxrpl/protocol/LedgerHeader.cpp:26</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#l00014">LedgerHeader.h:15</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1LedgerHeader_html_a03771f954fb5b32e330aec50ae5a87de"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#a03771f954fb5b32e330aec50ae5a87de">ripple::LedgerHeader::LedgerHeader</a></div><div class="ttdeci">LedgerHeader()=default</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#l00022">LedgerHeader.h:22</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#l00053">LedgerHeader.h:53</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1LedgerHeader_html_a7b0160181d5c07888cfd7f13e31e7567"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#a7b0160181d5c07888cfd7f13e31e7567">ripple::LedgerHeader::accepted</a></div><div class="ttdeci">bool accepted</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_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#l00044">LedgerHeader.h:44</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#l00047">LedgerHeader.h:47</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#l00033">LedgerHeader.h:33</a></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#l00023">LedgerHeader.h:23</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#l00035">LedgerHeader.h:35</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#l00032">LedgerHeader.h:32</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#l00031">LedgerHeader.h:31</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ae95b3432469ab4cdef2d0caeb40f98f4"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ae95b3432469ab4cdef2d0caeb40f98f4">ripple::LedgerHeader::validated</a></div><div class="ttdeci">bool validated</div><div class="ttdef"><b>Definition</b> <a href="LedgerHeader_8h_source.html#l00040">LedgerHeader.h:40</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#l00030">LedgerHeader.h:30</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><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|