mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
488 lines
90 KiB
HTML
488 lines
90 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: Manifest.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_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_c69db3203fa08a9ff994909ba6ee9783.html">app</a></li><li class="navelem"><a class="el" href="dir_2860c73e71f9ef894ba4acb1eeae5483.html">misc</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">Manifest.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_APP_MISC_MANIFEST_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_APP_MISC_MANIFEST_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/UnorderedContainers.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <xrpl/protocol/PublicKey.h></span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <xrpl/protocol/SecretKey.h></span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>></span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/shared_mutex.html">shared_mutex</a>></span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">/*</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> Validator key manifests</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> -----------------------</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"> Suppose the secret keys installed on a Ripple validator are compromised. Not</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment"> only do you have to generate and install new key pairs on each validator,</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment"> EVERY rippled needs to have its config updated with the new public keys, and</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment"> is vulnerable to forged validation signatures until this is done. The</span></div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment"> solution is a new layer of indirection: A master secret key under</span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment"> restrictive access control is used to sign a "manifest": essentially, a</span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment"> certificate including the master public key, an ephemeral public key for</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="comment"> verifying validations (which will be signed by its secret counterpart), a</span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment"> sequence number, and a digital signature.</span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="comment"> The manifest has two serialized forms: one which includes the digital</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="comment"> signature and one which doesn't. There is an obvious causal dependency</span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment"> relationship between the (latter) form with no signature, the signature</span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="comment"> of that form, and the (former) form which includes that signature. In</span></div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment"> other words, a message can't contain a signature of itself. The code</span></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="comment"> below stores a serialized manifest which includes the signature, and</span></div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="comment"> dynamically generates the signatureless form when it needs to verify</span></div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment"> the signature.</span></div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment"> An instance of ManifestCache stores, for each trusted validator, (a) its</span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment"> master public key, and (b) the most senior of all valid manifests it has</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment"> seen for that validator, if any. On startup, the [validator_token] config</span></div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="comment"> entry (which contains the manifest for this validator) is decoded and</span></div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment"> added to the manifest cache. Other manifests are added as "gossip"</span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="comment"> received from rippled peers.</span></div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="comment"> When an ephemeral key is compromised, a new signing key pair is created,</span></div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="comment"> along with a new manifest vouching for it (with a higher sequence number),</span></div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="comment"> signed by the master key. When a rippled peer receives the new manifest,</span></div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="comment"> it verifies it with the master key and (assuming it's valid) discards the</span></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="comment"> old ephemeral key and stores the new one. If the master key itself gets</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="comment"> compromised, a manifest with sequence number 0xFFFFFFFF will supersede a</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="comment"> prior manifest and discard any existing ephemeral key without storing a</span></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment"> new one. These revocation manifests are loaded from the</span></div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment"> [validator_key_revocation] config entry as well as received as gossip from</span></div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment"> peers. Since no further manifests for this master key will be accepted</span></div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="comment"> (since no higher sequence number is possible), and no signing key is on</span></div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment"> record, no validations will be accepted from the compromised validator.</span></div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment">*/</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
|
<div class="foldopen" id="foldopen00061" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html"> 61</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a></div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>{</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a1f936fd6472383b4d2f7e584945fffc7"> 64</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_variable" href="structripple_1_1Manifest.html#a1f936fd6472383b4d2f7e584945fffc7">serialized</a>;</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#aae586eb5d09377536ae8bd01937e35aa"> 67</a></span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <a class="code hl_variable" href="structripple_1_1Manifest.html#aae586eb5d09377536ae8bd01937e35aa">masterKey</a>;</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="comment">// A revoked manifest does not have a signingKey</span></div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="comment">// This field is specified as "optional" in manifestFormat's</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="comment">// SOTemplate</span></div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a93206668d4c154a03879bd1347a75f5b"> 73</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<PublicKey></a> <a class="code hl_variable" href="structripple_1_1Manifest.html#a93206668d4c154a03879bd1347a75f5b">signingKey</a>;</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea"> 76</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea">sequence</a> = 0;</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"><a class="line" href="structripple_1_1Manifest.html#a575024c8d2195e0544c1e00eca5dbb99"> 79</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_variable" href="structripple_1_1Manifest.html#a575024c8d2195e0544c1e00eca5dbb99">domain</a>;</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a0c250b44155387878e48c5d8ca8a368d"> 81</a></span> <a class="code hl_function" href="structripple_1_1Manifest.html#a0c250b44155387878e48c5d8ca8a368d">Manifest</a>() = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
|
|
<div class="foldopen" id="foldopen00083" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a417b618f73aaf5bb07bf417665fcd60f"> 83</a></span> <a class="code hl_function" href="structripple_1_1Manifest.html#a417b618f73aaf5bb07bf417665fcd60f">Manifest</a>(</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& serialized_,</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& masterKey_,</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<PublicKey></a> <span class="keyword">const</span>& signingKey_,</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& domain_)</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> : <a class="code hl_variable" href="structripple_1_1Manifest.html#a1f936fd6472383b4d2f7e584945fffc7">serialized</a>(serialized_)</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> , <a class="code hl_variable" href="structripple_1_1Manifest.html#aae586eb5d09377536ae8bd01937e35aa">masterKey</a>(masterKey_)</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> , <a class="code hl_variable" href="structripple_1_1Manifest.html#a93206668d4c154a03879bd1347a75f5b">signingKey</a>(signingKey_)</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> , <a class="code hl_variable" href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea">sequence</a>(seq)</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> , <a class="code hl_variable" href="structripple_1_1Manifest.html#a575024c8d2195e0544c1e00eca5dbb99">domain</a>(domain_)</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> {</div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a661f5be417bf6fbce109b3dacca2b17a"> 97</a></span> <a class="code hl_function" href="structripple_1_1Manifest.html#a661f5be417bf6fbce109b3dacca2b17a">Manifest</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& other) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a>&</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a6b1e801effb071b9e8bc317c34378627"> 99</a></span> <a class="code hl_function" href="structripple_1_1Manifest.html#a6b1e801effb071b9e8bc317c34378627">operator=</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& other) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#a50e25ce880a33e10b6d3b571197fe5fa"> 100</a></span> <a class="code hl_function" href="structripple_1_1Manifest.html#a50e25ce880a33e10b6d3b571197fe5fa">Manifest</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a>&& other) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a>&</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="structripple_1_1Manifest.html#af4cfd6de5be303591f14df3dde3a1817"> 102</a></span> <a class="code hl_function" href="structripple_1_1Manifest.html#af4cfd6de5be303591f14df3dde3a1817">operator=</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a>&& other) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <a class="code hl_function" href="structripple_1_1Manifest.html#a6629a3a6841e98a10a8c93d4373b197b">verify</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a></div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="structripple_1_1Manifest.html#a712565e4cb72c5c595b26d96db933569">hash</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="comment">// The maximum possible sequence number means that the master key has</span></div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="comment">// been revoked</span></div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <a class="code hl_function" href="structripple_1_1Manifest.html#a5828ebc380d9f2bf36e68b22e7825823">revoked</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea">sequence</a>);</div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <a class="code hl_function" href="structripple_1_1Manifest.html#a5828ebc380d9f2bf36e68b22e7825823">revoked</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<Blob></a></div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="structripple_1_1Manifest.html#a83ebec182b61b00e7e37036a8c5e0b6b">getSignature</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a></div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_function" href="structripple_1_1Manifest.html#aa5b2668cf6c82f77235fd578453c83e3">getMasterSignature</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& m);</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<Manifest></a></div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> s, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal);</div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<Manifest></a></div>
|
|
<div class="foldopen" id="foldopen00149" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="namespaceripple.html#ad9448fb03ff9eb054b853284601cf444"> 149</a></span><a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& s,</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal = <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a>(<a class="code hl_function" href="classbeast_1_1Journal.html#a930d70ff72f71414fcd5b560610cefb6">beast::Journal::getNullSink</a>()))</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span>{</div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(<a class="code hl_function" href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">makeSlice</a>(s), journal);</div>
|
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span><span class="keyword">template</span> <</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">class </span>T,</div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">class </span>= <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/enable_if.html">std::enable_if_t</a><</div>
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same<T, char>::value</a> || <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same<T, unsigned char>::value</a>>></div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<Manifest></a></div>
|
|
<div class="foldopen" id="foldopen00161" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4986bea684f41fdd5365832354148fb5"> 161</a></span><a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(</div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<T></a> <span class="keyword">const</span>& v,</div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal = <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a>(<a class="code hl_function" href="classbeast_1_1Journal.html#a930d70ff72f71414fcd5b560610cefb6">beast::Journal::getNullSink</a>()))</div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span>{</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(<a class="code hl_function" href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">makeSlice</a>(v), journal);</div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="foldopen" id="foldopen00170" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4a7f562868748b9246dbcab39091021c"> 170</a></span><a class="code hl_function" href="namespaceripple.html#adb9995d7c8e8a2aa3d702b73edfa0672">operator==</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& lhs, <a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& rhs)</div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span>{</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="comment">// In theory, comparing the two serialized strings should be</span></div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="comment">// sufficient.</span></div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keywordflow">return</span> lhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea">sequence</a> == rhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea">sequence</a> && lhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#aae586eb5d09377536ae8bd01937e35aa">masterKey</a> == rhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#aae586eb5d09377536ae8bd01937e35aa">masterKey</a> &&</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> lhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a93206668d4c154a03879bd1347a75f5b">signingKey</a> == rhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a93206668d4c154a03879bd1347a75f5b">signingKey</a> && lhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a575024c8d2195e0544c1e00eca5dbb99">domain</a> == rhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a575024c8d2195e0544c1e00eca5dbb99">domain</a> &&</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> lhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a1f936fd6472383b4d2f7e584945fffc7">serialized</a> == rhs.<a class="code hl_variable" href="structripple_1_1Manifest.html#a1f936fd6472383b4d2f7e584945fffc7">serialized</a>;</div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="foldopen" id="foldopen00180" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="namespaceripple.html#a068a05c4d658a764ce2be1810e1779fd"> 180</a></span><a class="code hl_function" href="namespaceripple.html#a21a6d6b07d2d712568f3565adf30ae21">operator!=</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& lhs, <a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> <span class="keyword">const</span>& rhs)</div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span>{</div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keywordflow">return</span> !(lhs == rhs);</div>
|
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> </div>
|
|
<div class="foldopen" id="foldopen00185" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="structripple_1_1ValidatorToken.html"> 185</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1ValidatorToken.html">ValidatorToken</a></div>
|
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span>{</div>
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="structripple_1_1ValidatorToken.html#a51bc78fe3021e0f53177c30707b792fb"> 187</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_variable" href="structripple_1_1ValidatorToken.html#a51bc78fe3021e0f53177c30707b792fb">manifest</a>;</div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="structripple_1_1ValidatorToken.html#a66ea3b1024e4671de1f027a1db34aa56"> 188</a></span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> <a class="code hl_variable" href="structripple_1_1ValidatorToken.html#a66ea3b1024e4671de1f027a1db34aa56">validationSecret</a>;</div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<ValidatorToken></a></div>
|
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span><a class="code hl_function" href="namespaceripple.html#ac6efcb88018ad82c1a2be29369eff4cc">loadValidatorToken</a>(</div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::string></a> <span class="keyword">const</span>& blob,</div>
|
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal = <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a>(<a class="code hl_function" href="classbeast_1_1Journal.html#a930d70ff72f71414fcd5b560610cefb6">beast::Journal::getNullSink</a>()));</div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
|
|
<div class="foldopen" id="foldopen00196" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6"> 196</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6">ManifestDisposition</a> {</div>
|
|
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a3e4d891a5df3d6d0d7dd9432a1bc6470">accepted</a> = 0,</div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a36f34fd8319cf30f8e132ef294c616af">stale</a>,</div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
|
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a0464f8586a3ce31b565747750124cacb">badMasterKey</a>,</div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
|
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6aa87e0ad4a2bc39bd0de25c9618fdedaf">badEphemeralKey</a>,</div>
|
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> </div>
|
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6afedb2d84cafe20862cb4399751a8a7e3">invalid</a></div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><span class="keyword">inline</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
|
<div class="foldopen" id="foldopen00214" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="namespaceripple.html#a274e43e395783cfc2e252891660b71b1"> 214</a></span><a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(<a class="code hl_enumeration" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6">ManifestDisposition</a> m)</div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span>{</div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keywordflow">switch</span> (m)</div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> {</div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a3e4d891a5df3d6d0d7dd9432a1bc6470">ManifestDisposition::accepted</a>:</div>
|
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> <span class="keywordflow">return</span> <span class="stringliteral">"accepted"</span>;</div>
|
|
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a36f34fd8319cf30f8e132ef294c616af">ManifestDisposition::stale</a>:</div>
|
|
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> <span class="keywordflow">return</span> <span class="stringliteral">"stale"</span>;</div>
|
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a0464f8586a3ce31b565747750124cacb">ManifestDisposition::badMasterKey</a>:</div>
|
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="keywordflow">return</span> <span class="stringliteral">"badMasterKey"</span>;</div>
|
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6aa87e0ad4a2bc39bd0de25c9618fdedaf">ManifestDisposition::badEphemeralKey</a>:</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="keywordflow">return</span> <span class="stringliteral">"badEphemeralKey"</span>;</div>
|
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6afedb2d84cafe20862cb4399751a8a7e3">ManifestDisposition::invalid</a>:</div>
|
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keywordflow">return</span> <span class="stringliteral">"invalid"</span>;</div>
|
|
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="keywordflow">default</span>:</div>
|
|
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="keywordflow">return</span> <span class="stringliteral">"unknown"</span>;</div>
|
|
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> }</div>
|
|
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> </div>
|
|
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><span class="keyword">class </span>DatabaseCon;</div>
|
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> </div>
|
|
<div class="foldopen" id="foldopen00236" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html"> 236</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1ManifestCache.html">ManifestCache</a></div>
|
|
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span>{</div>
|
|
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#a78e50a3a9a3c02e82874340a07eaef5d"> 239</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <a class="code hl_variable" href="classripple_1_1ManifestCache.html#a78e50a3a9a3c02e82874340a07eaef5d">j_</a>;</div>
|
|
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#a5c8a04996a9f90aa043d52e83db15935"> 240</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/shared_mutex.html">std::shared_mutex</a> <span class="keyword">mutable</span> <a class="code hl_variable" href="classripple_1_1ManifestCache.html#a5c8a04996a9f90aa043d52e83db15935">mutex_</a>;</div>
|
|
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> </div>
|
|
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#ab2506c2817784a9f62f8ecf0f151fcf9"> 243</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<PublicKey, Manifest></a> <a class="code hl_variable" href="classripple_1_1ManifestCache.html#ab2506c2817784a9f62f8ecf0f151fcf9">map_</a>;</div>
|
|
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
|
|
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#a23063af048722db1bc29db23e2c86d0f"> 246</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<PublicKey, PublicKey></a> <a class="code hl_variable" href="classripple_1_1ManifestCache.html#a23063af048722db1bc29db23e2c86d0f">signingToMasterKeys_</a>;</div>
|
|
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> </div>
|
|
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#acfd2b0682f4ce9cafc0b643c332e053b"> 248</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<std::uint32_t></a> <a class="code hl_variable" href="classripple_1_1ManifestCache.html#acfd2b0682f4ce9cafc0b643c332e053b">seq_</a>{0};</div>
|
|
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> </div>
|
|
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span><span class="keyword">public</span>:</div>
|
|
<div class="foldopen" id="foldopen00251" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#a2c088a5eb9f576fc06b07a5a91877093"> 251</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a2c088a5eb9f576fc06b07a5a91877093">ManifestCache</a>(</div>
|
|
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j = <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a>(<a class="code hl_function" href="classbeast_1_1Journal.html#a930d70ff72f71414fcd5b560610cefb6">beast::Journal::getNullSink</a>()))</div>
|
|
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> : <a class="code hl_variable" href="classripple_1_1ManifestCache.html#a78e50a3a9a3c02e82874340a07eaef5d">j_</a>(j)</div>
|
|
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> {</div>
|
|
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> </div>
|
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
|
<div class="foldopen" id="foldopen00259" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#a55b2fe63f46ce104f2dffb351e792c79"> 259</a></span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a55b2fe63f46ce104f2dffb351e792c79">sequence</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1ManifestCache.html#acfd2b0682f4ce9cafc0b643c332e053b">seq_</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>();</div>
|
|
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> </div>
|
|
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<PublicKey></a></div>
|
|
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a557c94c2a57c5bbe75557524420b1e9d">getSigningKey</a>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pk) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
|
|
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a></div>
|
|
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#adbe8167cfd5ac328a9bf8b85c319ddc1">getMasterKey</a>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pk) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> </div>
|
|
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<std::uint32_t></a></div>
|
|
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a093d015f0c2d38111f217ab167a3973d">getSequence</a>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pk) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> </div>
|
|
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<std::string></a></div>
|
|
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#ae3996fe85083b04c4f568cd527a84dc8">getDomain</a>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pk) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> </div>
|
|
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<std::string></a></div>
|
|
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a4fd705df2aded2766ea1e5a98eb0ca74">getManifest</a>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pk) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> </div>
|
|
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <a class="code hl_enumvalue" href="namespaceripple.html#aaf9d6587e02c610e84a029ad5b5e17b4a80b785d265b6419ab99251d8f4340a1d">revoked</a>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& pk) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
|
|
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <a class="code hl_enumeration" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6">ManifestDisposition</a></div>
|
|
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a882c588d2f26d7d61ae3ffe4212cbae0">applyManifest</a>(<a class="code hl_struct" href="structripple_1_1Manifest.html">Manifest</a> m);</div>
|
|
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div>
|
|
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#ac42643e71e254d658a38a61a070864c6">load</a>(</div>
|
|
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> <a class="code hl_class" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>& dbCon,</div>
|
|
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& dbTable,</div>
|
|
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& configManifest,</div>
|
|
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::string></a> <span class="keyword">const</span>& configRevocation);</div>
|
|
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> </div>
|
|
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#ac42643e71e254d658a38a61a070864c6">load</a>(<a class="code hl_class" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>& dbCon, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& dbTable);</div>
|
|
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> </div>
|
|
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#ad38243694bc875ac8bff27e7370ef307">save</a>(</div>
|
|
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <a class="code hl_class" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>& dbCon,</div>
|
|
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& dbTable,</div>
|
|
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a><<span class="keywordtype">bool</span>(<a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&)> <span class="keyword">const</span>& isTrusted);</div>
|
|
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> </div>
|
|
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> <span class="keyword">template</span> <<span class="keyword">class</span> Function></div>
|
|
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00406" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#a7f05c967613f99e5f05af017673c6765"> 406</a></span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#a7f05c967613f99e5f05af017673c6765">for_each_manifest</a>(Function&& f)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/shared_lock.html">std::shared_lock</a> lock{<a class="code hl_variable" href="classripple_1_1ManifestCache.html#a5c8a04996a9f90aa043d52e83db15935">mutex_</a>};</div>
|
|
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& [_, <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7f5cb74af5d7f4b82200738fdbdc5a45">manifest</a>] : <a class="code hl_variable" href="classripple_1_1ManifestCache.html#ab2506c2817784a9f62f8ecf0f151fcf9">map_</a>)</div>
|
|
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> {</div>
|
|
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> (void)_;</div>
|
|
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> f(<a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7f5cb74af5d7f4b82200738fdbdc5a45">manifest</a>);</div>
|
|
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> }</div>
|
|
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> </div>
|
|
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> <span class="keyword">template</span> <<span class="keyword">class</span> PreFun, <span class="keyword">class</span> EachFun></div>
|
|
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00434" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"><a class="line" href="classripple_1_1ManifestCache.html#ad2e75cff2c2f79664967d4c0f0bf8284"> 434</a></span> <a class="code hl_function" href="classripple_1_1ManifestCache.html#ad2e75cff2c2f79664967d4c0f0bf8284">for_each_manifest</a>(PreFun&& pf, EachFun&& f)<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/shared_lock.html">std::shared_lock</a> lock{<a class="code hl_variable" href="classripple_1_1ManifestCache.html#a5c8a04996a9f90aa043d52e83db15935">mutex_</a>};</div>
|
|
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span> pf(<a class="code hl_variable" href="classripple_1_1ManifestCache.html#ab2506c2817784a9f62f8ecf0f151fcf9">map_</a>.size());</div>
|
|
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& [_, <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7f5cb74af5d7f4b82200738fdbdc5a45">manifest</a>] : <a class="code hl_variable" href="classripple_1_1ManifestCache.html#ab2506c2817784a9f62f8ecf0f151fcf9">map_</a>)</div>
|
|
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span> {</div>
|
|
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> (void)_;</div>
|
|
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> f(<a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7f5cb74af5d7f4b82200738fdbdc5a45">manifest</a>);</div>
|
|
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> }</div>
|
|
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> </div>
|
|
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span>} <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span> </div>
|
|
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="aatomic_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a></div></div>
|
|
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00040">Journal.h:41</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1Journal_html_a930d70ff72f71414fcd5b560610cefb6"><div class="ttname"><a href="classbeast_1_1Journal.html#a930d70ff72f71414fcd5b560610cefb6">beast::Journal::getNullSink</a></div><div class="ttdeci">static Sink & getNullSink()</div><div class="ttdoc">Returns a Sink which does nothing.</div><div class="ttdef"><b>Definition</b> <a href="beast__Journal_8cpp_source.html#l00063">beast_Journal.cpp:63</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1DatabaseCon_html"><div class="ttname"><a href="classripple_1_1DatabaseCon.html">ripple::DatabaseCon</a></div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00066">DatabaseCon.h:67</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html"><div class="ttname"><a href="classripple_1_1ManifestCache.html">ripple::ManifestCache</a></div><div class="ttdoc">Remembers manifests with the highest sequence number.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00236">Manifest.h:237</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a093d015f0c2d38111f217ab167a3973d"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a093d015f0c2d38111f217ab167a3973d">ripple::ManifestCache::getSequence</a></div><div class="ttdeci">std::optional< std::uint32_t > getSequence(PublicKey const &pk) const</div><div class="ttdoc">Returns master key's current manifest sequence.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00316">Manifest.cpp:316</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a23063af048722db1bc29db23e2c86d0f"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a23063af048722db1bc29db23e2c86d0f">ripple::ManifestCache::signingToMasterKeys_</a></div><div class="ttdeci">hash_map< PublicKey, PublicKey > signingToMasterKeys_</div><div class="ttdoc">Master public keys stored by current ephemeral public key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00246">Manifest.h:246</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a2c088a5eb9f576fc06b07a5a91877093"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a2c088a5eb9f576fc06b07a5a91877093">ripple::ManifestCache::ManifestCache</a></div><div class="ttdeci">ManifestCache(beast::Journal j=beast::Journal(beast::Journal::getNullSink()))</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00251">Manifest.h:251</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a4fd705df2aded2766ea1e5a98eb0ca74"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a4fd705df2aded2766ea1e5a98eb0ca74">ripple::ManifestCache::getManifest</a></div><div class="ttdeci">std::optional< std::string > getManifest(PublicKey const &pk) const</div><div class="ttdoc">Returns mainfest corresponding to a given public key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00340">Manifest.cpp:340</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a557c94c2a57c5bbe75557524420b1e9d"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a557c94c2a57c5bbe75557524420b1e9d">ripple::ManifestCache::getSigningKey</a></div><div class="ttdeci">std::optional< PublicKey > getSigningKey(PublicKey const &pk) const</div><div class="ttdoc">Returns master key's current signing key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00292">Manifest.cpp:292</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a55b2fe63f46ce104f2dffb351e792c79"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a55b2fe63f46ce104f2dffb351e792c79">ripple::ManifestCache::sequence</a></div><div class="ttdeci">std::uint32_t sequence() const</div><div class="ttdoc">A monotonically increasing number used to detect new manifests.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00259">Manifest.h:259</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a5c8a04996a9f90aa043d52e83db15935"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a5c8a04996a9f90aa043d52e83db15935">ripple::ManifestCache::mutex_</a></div><div class="ttdeci">std::shared_mutex mutex_</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00240">Manifest.h:240</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a78e50a3a9a3c02e82874340a07eaef5d"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a78e50a3a9a3c02e82874340a07eaef5d">ripple::ManifestCache::j_</a></div><div class="ttdeci">beast::Journal j_</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00239">Manifest.h:239</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a7f05c967613f99e5f05af017673c6765"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a7f05c967613f99e5f05af017673c6765">ripple::ManifestCache::for_each_manifest</a></div><div class="ttdeci">void for_each_manifest(Function &&f) const</div><div class="ttdoc">Invokes the callback once for every populated manifest.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00406">Manifest.h:406</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_a882c588d2f26d7d61ae3ffe4212cbae0"><div class="ttname"><a href="classripple_1_1ManifestCache.html#a882c588d2f26d7d61ae3ffe4212cbae0">ripple::ManifestCache::applyManifest</a></div><div class="ttdeci">ManifestDisposition applyManifest(Manifest m)</div><div class="ttdoc">Add manifest to cache.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00364">Manifest.cpp:364</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_ab2506c2817784a9f62f8ecf0f151fcf9"><div class="ttname"><a href="classripple_1_1ManifestCache.html#ab2506c2817784a9f62f8ecf0f151fcf9">ripple::ManifestCache::map_</a></div><div class="ttdeci">hash_map< PublicKey, Manifest > map_</div><div class="ttdoc">Active manifests stored by master public key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00243">Manifest.h:243</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_ac42643e71e254d658a38a61a070864c6"><div class="ttname"><a href="classripple_1_1ManifestCache.html#ac42643e71e254d658a38a61a070864c6">ripple::ManifestCache::load</a></div><div class="ttdeci">bool load(DatabaseCon &dbCon, std::string const &dbTable, std::string const &configManifest, std::vector< std::string > const &configRevocation)</div><div class="ttdoc">Populate manifest cache with manifests in database and config.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00532">Manifest.cpp:532</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_acfd2b0682f4ce9cafc0b643c332e053b"><div class="ttname"><a href="classripple_1_1ManifestCache.html#acfd2b0682f4ce9cafc0b643c332e053b">ripple::ManifestCache::seq_</a></div><div class="ttdeci">std::atomic< std::uint32_t > seq_</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00248">Manifest.h:248</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_ad2e75cff2c2f79664967d4c0f0bf8284"><div class="ttname"><a href="classripple_1_1ManifestCache.html#ad2e75cff2c2f79664967d4c0f0bf8284">ripple::ManifestCache::for_each_manifest</a></div><div class="ttdeci">void for_each_manifest(PreFun &&pf, EachFun &&f) const</div><div class="ttdoc">Invokes the callback once for every populated manifest.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00434">Manifest.h:434</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_ad38243694bc875ac8bff27e7370ef307"><div class="ttname"><a href="classripple_1_1ManifestCache.html#ad38243694bc875ac8bff27e7370ef307">ripple::ManifestCache::save</a></div><div class="ttdeci">void save(DatabaseCon &dbCon, std::string const &dbTable, std::function< bool(PublicKey const &)> const &isTrusted)</div><div class="ttdoc">Save cached manifests to database.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00589">Manifest.cpp:589</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_adbe8167cfd5ac328a9bf8b85c319ddc1"><div class="ttname"><a href="classripple_1_1ManifestCache.html#adbe8167cfd5ac328a9bf8b85c319ddc1">ripple::ManifestCache::getMasterKey</a></div><div class="ttdeci">PublicKey getMasterKey(PublicKey const &pk) const</div><div class="ttdoc">Returns ephemeral signing key's master public key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00304">Manifest.cpp:304</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1ManifestCache_html_ae3996fe85083b04c4f568cd527a84dc8"><div class="ttname"><a href="classripple_1_1ManifestCache.html#ae3996fe85083b04c4f568cd527a84dc8">ripple::ManifestCache::getDomain</a></div><div class="ttdeci">std::optional< std::string > getDomain(PublicKey const &pk) const</div><div class="ttdoc">Returns domain claimed by a given public key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00328">Manifest.cpp:328</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1PublicKey_html"><div class="ttname"><a href="classripple_1_1PublicKey.html">ripple::PublicKey</a></div><div class="ttdoc">A public key.</div><div class="ttdef"><b>Definition</b> <a href="PublicKey_8h_source.html#l00042">PublicKey.h:43</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1SecretKey_html"><div class="ttname"><a href="classripple_1_1SecretKey.html">ripple::SecretKey</a></div><div class="ttdoc">A secret key.</div><div class="ttdef"><b>Definition</b> <a href="SecretKey_8h_source.html#l00018">SecretKey.h:19</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#l00026">Slice.h:27</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="aenable_if_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/enable_if.html">std::enable_if_t</a></div></div>
|
|
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</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="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same</a></div></div>
|
|
<div class="ttc" id="aload_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">std::atomic::load</a></div><div class="ttdeci">T load(T... args)</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_a12a05294e1d72bbcf9718dc99195ad19"><div class="ttname"><a href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">ripple::deserializeManifest</a></div><div class="ttdeci">std::optional< Manifest > deserializeManifest(Slice s, beast::Journal journal)</div><div class="ttdoc">Constructs Manifest from serialized string.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00035">Manifest.cpp:35</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a21a6d6b07d2d712568f3565adf30ae21"><div class="ttname"><a href="namespaceripple.html#a21a6d6b07d2d712568f3565adf30ae21">ripple::operator!=</a></div><div class="ttdeci">bool operator!=(Buffer const &lhs, Buffer const &rhs) noexcept</div><div class="ttdef"><b>Definition</b> <a href="Buffer_8h_source.html#l00213">Buffer.h:213</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8a16d6f665a032453ec4cbfca01929b6"><div class="ttname"><a href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6">ripple::ManifestDisposition</a></div><div class="ttdeci">ManifestDisposition</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00196">Manifest.h:196</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8a16d6f665a032453ec4cbfca01929b6a0464f8586a3ce31b565747750124cacb"><div class="ttname"><a href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a0464f8586a3ce31b565747750124cacb">ripple::ManifestDisposition::badMasterKey</a></div><div class="ttdeci">@ badMasterKey</div><div class="ttdoc">The master key is not acceptable to us.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8a16d6f665a032453ec4cbfca01929b6a36f34fd8319cf30f8e132ef294c616af"><div class="ttname"><a href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a36f34fd8319cf30f8e132ef294c616af">ripple::ManifestDisposition::stale</a></div><div class="ttdeci">@ stale</div><div class="ttdoc">Sequence is too old.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8a16d6f665a032453ec4cbfca01929b6a3e4d891a5df3d6d0d7dd9432a1bc6470"><div class="ttname"><a href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a3e4d891a5df3d6d0d7dd9432a1bc6470">ripple::ManifestDisposition::accepted</a></div><div class="ttdeci">@ accepted</div><div class="ttdoc">Manifest is valid.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8a16d6f665a032453ec4cbfca01929b6aa87e0ad4a2bc39bd0de25c9618fdedaf"><div class="ttname"><a href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6aa87e0ad4a2bc39bd0de25c9618fdedaf">ripple::ManifestDisposition::badEphemeralKey</a></div><div class="ttdeci">@ badEphemeralKey</div><div class="ttdoc">The ephemeral key is not acceptable to us.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a8a16d6f665a032453ec4cbfca01929b6afedb2d84cafe20862cb4399751a8a7e3"><div class="ttname"><a href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6afedb2d84cafe20862cb4399751a8a7e3">ripple::ManifestDisposition::invalid</a></div><div class="ttdeci">@ invalid</div><div class="ttdoc">Timely, but invalid signature.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a93f2333b362ee67694b78f55eadf7805"><div class="ttname"><a href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">ripple::makeSlice</a></div><div class="ttdeci">std::enable_if_t< std::is_same< T, char >::value||std::is_same< T, unsigned char >::value, Slice > makeSlice(std::array< T, N > const &a)</div><div class="ttdef"><b>Definition</b> <a href="Slice_8h_source.html#l00225">Slice.h:225</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_aaf9d6587e02c610e84a029ad5b5e17b4a80b785d265b6419ab99251d8f4340a1d"><div class="ttname"><a href="namespaceripple.html#aaf9d6587e02c610e84a029ad5b5e17b4a80b785d265b6419ab99251d8f4340a1d">ripple::PublisherStatus::revoked</a></div><div class="ttdeci">@ revoked</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint< Bits, Tag > const &a)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00611">base_uint.h:611</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ac6efcb88018ad82c1a2be29369eff4cc"><div class="ttname"><a href="namespaceripple.html#ac6efcb88018ad82c1a2be29369eff4cc">ripple::loadValidatorToken</a></div><div class="ttdeci">std::optional< ValidatorToken > loadValidatorToken(std::vector< std::string > const &blob, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00245">Manifest.cpp:245</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bda7f5cb74af5d7f4b82200738fdbdc5a45"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7f5cb74af5d7f4b82200738fdbdc5a45">ripple::HashPrefix::manifest</a></div><div class="ttdeci">@ manifest</div><div class="ttdoc">Manifest.</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_adb9995d7c8e8a2aa3d702b73edfa0672"><div class="ttname"><a href="namespaceripple.html#adb9995d7c8e8a2aa3d702b73edfa0672">ripple::operator==</a></div><div class="ttdeci">constexpr bool operator==(base_uint< Bits, Tag > const &lhs, base_uint< Bits, Tag > const &rhs)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00566">base_uint.h:566</a></div></div>
|
|
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a></div></div>
|
|
<div class="ttc" id="ashared_lock_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/shared_lock.html">std::shared_lock</a></div></div>
|
|
<div class="ttc" id="ashared_mutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/shared_mutex.html">shared_mutex</a></div></div>
|
|
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html"><div class="ttname"><a href="structripple_1_1Manifest.html">ripple::Manifest</a></div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00061">Manifest.h:62</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a0c250b44155387878e48c5d8ca8a368d"><div class="ttname"><a href="structripple_1_1Manifest.html#a0c250b44155387878e48c5d8ca8a368d">ripple::Manifest::Manifest</a></div><div class="ttdeci">Manifest()=delete</div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a1f936fd6472383b4d2f7e584945fffc7"><div class="ttname"><a href="structripple_1_1Manifest.html#a1f936fd6472383b4d2f7e584945fffc7">ripple::Manifest::serialized</a></div><div class="ttdeci">std::string serialized</div><div class="ttdoc">The manifest in serialized form.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00064">Manifest.h:64</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a417b618f73aaf5bb07bf417665fcd60f"><div class="ttname"><a href="structripple_1_1Manifest.html#a417b618f73aaf5bb07bf417665fcd60f">ripple::Manifest::Manifest</a></div><div class="ttdeci">Manifest(std::string const &serialized_, PublicKey const &masterKey_, std::optional< PublicKey > const &signingKey_, std::uint32_t seq, std::string const &domain_)</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00083">Manifest.h:83</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a490b23ccbe6465588ce99f058f6ab1ea"><div class="ttname"><a href="structripple_1_1Manifest.html#a490b23ccbe6465588ce99f058f6ab1ea">ripple::Manifest::sequence</a></div><div class="ttdeci">std::uint32_t sequence</div><div class="ttdoc">The sequence number of this manifest.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00076">Manifest.h:76</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a50e25ce880a33e10b6d3b571197fe5fa"><div class="ttname"><a href="structripple_1_1Manifest.html#a50e25ce880a33e10b6d3b571197fe5fa">ripple::Manifest::Manifest</a></div><div class="ttdeci">Manifest(Manifest &&other)=default</div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a575024c8d2195e0544c1e00eca5dbb99"><div class="ttname"><a href="structripple_1_1Manifest.html#a575024c8d2195e0544c1e00eca5dbb99">ripple::Manifest::domain</a></div><div class="ttdeci">std::string domain</div><div class="ttdoc">The domain, if one was specified in the manifest; empty otherwise.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00079">Manifest.h:79</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a5828ebc380d9f2bf36e68b22e7825823"><div class="ttname"><a href="structripple_1_1Manifest.html#a5828ebc380d9f2bf36e68b22e7825823">ripple::Manifest::revoked</a></div><div class="ttdeci">bool revoked() const</div><div class="ttdoc">Returns true if manifest revokes master key.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00207">Manifest.cpp:207</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a661f5be417bf6fbce109b3dacca2b17a"><div class="ttname"><a href="structripple_1_1Manifest.html#a661f5be417bf6fbce109b3dacca2b17a">ripple::Manifest::Manifest</a></div><div class="ttdeci">Manifest(Manifest const &other)=delete</div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a6629a3a6841e98a10a8c93d4373b197b"><div class="ttname"><a href="structripple_1_1Manifest.html#a6629a3a6841e98a10a8c93d4373b197b">ripple::Manifest::verify</a></div><div class="ttdeci">bool verify() const</div><div class="ttdoc">Returns true if manifest signature is valid.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00177">Manifest.cpp:177</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a6b1e801effb071b9e8bc317c34378627"><div class="ttname"><a href="structripple_1_1Manifest.html#a6b1e801effb071b9e8bc317c34378627">ripple::Manifest::operator=</a></div><div class="ttdeci">Manifest & operator=(Manifest const &other)=delete</div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a712565e4cb72c5c595b26d96db933569"><div class="ttname"><a href="structripple_1_1Manifest.html#a712565e4cb72c5c595b26d96db933569">ripple::Manifest::hash</a></div><div class="ttdeci">uint256 hash() const</div><div class="ttdoc">Returns hash of serialized manifest data.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00198">Manifest.cpp:198</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a83ebec182b61b00e7e37036a8c5e0b6b"><div class="ttname"><a href="structripple_1_1Manifest.html#a83ebec182b61b00e7e37036a8c5e0b6b">ripple::Manifest::getSignature</a></div><div class="ttdeci">std::optional< Blob > getSignature() const</div><div class="ttdoc">Returns manifest signature.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00225">Manifest.cpp:225</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_a93206668d4c154a03879bd1347a75f5b"><div class="ttname"><a href="structripple_1_1Manifest.html#a93206668d4c154a03879bd1347a75f5b">ripple::Manifest::signingKey</a></div><div class="ttdeci">std::optional< PublicKey > signingKey</div><div class="ttdoc">The ephemeral key associated with this manifest.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00073">Manifest.h:73</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_aa5b2668cf6c82f77235fd578453c83e3"><div class="ttname"><a href="structripple_1_1Manifest.html#aa5b2668cf6c82f77235fd578453c83e3">ripple::Manifest::getMasterSignature</a></div><div class="ttdeci">Blob getMasterSignature() const</div><div class="ttdoc">Returns manifest master key signature.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8cpp_source.html#l00236">Manifest.cpp:236</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_aae586eb5d09377536ae8bd01937e35aa"><div class="ttname"><a href="structripple_1_1Manifest.html#aae586eb5d09377536ae8bd01937e35aa">ripple::Manifest::masterKey</a></div><div class="ttdeci">PublicKey masterKey</div><div class="ttdoc">The master key associated with this manifest.</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00067">Manifest.h:67</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1Manifest_html_af4cfd6de5be303591f14df3dde3a1817"><div class="ttname"><a href="structripple_1_1Manifest.html#af4cfd6de5be303591f14df3dde3a1817">ripple::Manifest::operator=</a></div><div class="ttdeci">Manifest & operator=(Manifest &&other)=default</div></div>
|
|
<div class="ttc" id="astructripple_1_1ValidatorToken_html"><div class="ttname"><a href="structripple_1_1ValidatorToken.html">ripple::ValidatorToken</a></div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00185">Manifest.h:186</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1ValidatorToken_html_a51bc78fe3021e0f53177c30707b792fb"><div class="ttname"><a href="structripple_1_1ValidatorToken.html#a51bc78fe3021e0f53177c30707b792fb">ripple::ValidatorToken::manifest</a></div><div class="ttdeci">std::string manifest</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00187">Manifest.h:187</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1ValidatorToken_html_a66ea3b1024e4671de1f027a1db34aa56"><div class="ttname"><a href="structripple_1_1ValidatorToken.html#a66ea3b1024e4671de1f027a1db34aa56">ripple::ValidatorToken::validationSecret</a></div><div class="ttdeci">SecretKey validationSecret</div><div class="ttdef"><b>Definition</b> <a href="Manifest_8h_source.html#l00188">Manifest.h:188</a></div></div>
|
|
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a></div></div>
|
|
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector< unsigned char ></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>
|