Files
rippled/Wallet_8h_source.html
2025-11-04 00:36:48 -08:00

196 lines
27 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: Wallet.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&amp;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&amp;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&amp;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_9ce43f199f7837b2bc54444bf73b9bab.html">rdb</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">Wallet.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_RDB_WALLET_H_INCLUDED</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_APP_RDB_WALLET_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 &lt;xrpld/app/misc/Manifest.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;xrpld/core/Config.h&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;xrpld/core/DatabaseCon.h&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;xrpld/overlay/PeerReservationTable.h&gt;</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="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;DatabaseCon&gt;</a></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><a class="code hl_function" href="namespaceripple.html#aaa97227ce6e58f948934638ef4ebfc2f">makeWalletDB</a>(DatabaseCon::Setup <span class="keyword">const</span>&amp; setup, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;DatabaseCon&gt;</a></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><a class="code hl_function" href="namespaceripple.html#a5ecb07c3dd86011b2217d32f4266ea19">makeTestWalletDB</a>(</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> DatabaseCon::Setup <span class="keyword">const</span>&amp; setup,</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</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>&amp; dbname,</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><a class="code hl_function" href="namespaceripple.html#ae4478d625c3ba008aed0712de8900573">getManifests</a>(</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> soci::session&amp; session,</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</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>&amp; dbTable,</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> ManifestCache&amp; mCache,</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><a class="code hl_function" href="namespaceripple.html#a27ecb53bba71adda180317036358f1f3">saveManifests</a>(</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> soci::session&amp; session,</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</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>&amp; dbTable,</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(PublicKey <span class="keyword">const</span>&amp;)&gt; <span class="keyword">const</span>&amp; isTrusted,</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> hash_map&lt;PublicKey, Manifest&gt; <span class="keyword">const</span>&amp; map,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</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#a53836f0b1a1019c51a41955b523d8b45">addValidatorManifest</a>(soci::session&amp; session, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; serialized);</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><span class="keywordtype">void</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><a class="code hl_function" href="namespaceripple.html#aa974ec7bdead671dac5a44b542714a6e">clearNodeIdentity</a>(soci::session&amp; session);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </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/utility/pair.html">std::pair&lt;PublicKey, SecretKey&gt;</a></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span><a class="code hl_function" href="namespaceripple.html#a57d87494c31ef261ae37438efe29bcbb">getNodeIdentity</a>(soci::session&amp; session);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set&lt;PeerReservation, beast::uhash&lt;&gt;</a>, KeyEqual&gt;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><a class="code hl_function" href="namespaceripple.html#a4c800deaf4eb22f32ba22868f7bedc0a">getPeerReservationTable</a>(soci::session&amp; session, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><a class="code hl_function" href="namespaceripple.html#a503791d27b38d9bdb823b58781ef168b">insertPeerReservation</a>(</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> soci::session&amp; session,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> PublicKey <span class="keyword">const</span>&amp; nodeId,</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</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>&amp; description);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><a class="code hl_function" href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">deletePeerReservation</a>(soci::session&amp; session, PublicKey <span class="keyword">const</span>&amp; nodeId);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><a class="code hl_function" href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">createFeatureVotes</a>(soci::session&amp; session);</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span><span class="comment">// For historical reasons the up-vote and down-vote integer representations</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="comment">// are unintuitive.</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689"> 131</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> : <span class="keywordtype">int</span> { <a class="code hl_enumvalue" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8">obsolete</a> = -1, <a class="code hl_enumvalue" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a46c48bec0d282018b9d167eef7711b2c">up</a> = 0, <a class="code hl_enumvalue" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a74e8333ad11685ff3bdae589c8f6e34d">down</a> = 1 };</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span><a class="code hl_function" href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3">readAmendments</a>(</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> soci::session&amp; session,</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> boost::optional&lt;std::string&gt; amendment_hash,</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> boost::optional&lt;std::string&gt; amendment_name,</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> boost::optional&lt;AmendmentVote&gt; vote)&gt; <span class="keyword">const</span>&amp; callback);</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><a class="code hl_function" href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">voteAmendment</a>(</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> soci::session&amp; session,</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>&amp; amendment,</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</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>&amp; name,</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <a class="code hl_enumeration" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> vote);</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><span class="preprocessor">#endif</span></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="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="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_a1dcb4cf27e683bd94d11f5322836c689"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">ripple::AmendmentVote</a></div><div class="ttdeci">AmendmentVote</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8h_source.html#l00131">Wallet.h:131</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8">ripple::AmendmentVote::obsolete</a></div><div class="ttdeci">@ obsolete</div></div>
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689a46c48bec0d282018b9d167eef7711b2c"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a46c48bec0d282018b9d167eef7711b2c">ripple::AmendmentVote::up</a></div><div class="ttdeci">@ up</div></div>
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689a74e8333ad11685ff3bdae589c8f6e34d"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a74e8333ad11685ff3bdae589c8f6e34d">ripple::AmendmentVote::down</a></div><div class="ttdeci">@ down</div></div>
<div class="ttc" id="anamespaceripple_html_a27ecb53bba71adda180317036358f1f3"><div class="ttname"><a href="namespaceripple.html#a27ecb53bba71adda180317036358f1f3">ripple::saveManifests</a></div><div class="ttdeci">void saveManifests(soci::session &amp;session, std::string const &amp;dbTable, std::function&lt; bool(PublicKey const &amp;)&gt; const &amp;isTrusted, hash_map&lt; PublicKey, Manifest &gt; const &amp;map, beast::Journal j)</div><div class="ttdoc">saveManifests Saves all given manifests to the database.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00075">Wallet.cpp:75</a></div></div>
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint&lt; 256 &gt; uint256</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00539">base_uint.h:539</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4c800deaf4eb22f32ba22868f7bedc0a"><div class="ttname"><a href="namespaceripple.html#a4c800deaf4eb22f32ba22868f7bedc0a">ripple::getPeerReservationTable</a></div><div class="ttdeci">std::unordered_set&lt; PeerReservation, beast::uhash&lt;&gt;, KeyEqual &gt; getPeerReservationTable(soci::session &amp;session, beast::Journal j)</div><div class="ttdoc">getPeerReservationTable Returns the peer reservation table.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00151">Wallet.cpp:151</a></div></div>
<div class="ttc" id="anamespaceripple_html_a503791d27b38d9bdb823b58781ef168b"><div class="ttname"><a href="namespaceripple.html#a503791d27b38d9bdb823b58781ef168b">ripple::insertPeerReservation</a></div><div class="ttdeci">void insertPeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId, std::string const &amp;description)</div><div class="ttdoc">insertPeerReservation Adds an entry to the peer reservation table.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00188">Wallet.cpp:188</a></div></div>
<div class="ttc" id="anamespaceripple_html_a53836f0b1a1019c51a41955b523d8b45"><div class="ttname"><a href="namespaceripple.html#a53836f0b1a1019c51a41955b523d8b45">ripple::addValidatorManifest</a></div><div class="ttdeci">void addValidatorManifest(soci::session &amp;session, std::string const &amp;serialized)</div><div class="ttdoc">addValidatorManifest Saves the manifest of a validator to the database.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00100">Wallet.cpp:100</a></div></div>
<div class="ttc" id="anamespaceripple_html_a57d87494c31ef261ae37438efe29bcbb"><div class="ttname"><a href="namespaceripple.html#a57d87494c31ef261ae37438efe29bcbb">ripple::getNodeIdentity</a></div><div class="ttdeci">std::pair&lt; PublicKey, SecretKey &gt; getNodeIdentity(Application &amp;app, boost::program_options::variables_map const &amp;cmdline)</div><div class="ttdoc">The cryptographic credentials identifying this server instance.</div><div class="ttdef"><b>Definition</b> <a href="NodeIdentity_8cpp_source.html#l00010">NodeIdentity.cpp:10</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5d759654f3c40954985245643f7003ec"><div class="ttname"><a href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">ripple::createFeatureVotes</a></div><div class="ttdeci">bool createFeatureVotes(soci::session &amp;session)</div><div class="ttdoc">createFeatureVotes Creates the FeatureVote table if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00210">Wallet.cpp:210</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5ecb07c3dd86011b2217d32f4266ea19"><div class="ttname"><a href="namespaceripple.html#a5ecb07c3dd86011b2217d32f4266ea19">ripple::makeTestWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeTestWalletDB(DatabaseCon::Setup const &amp;setup, std::string const &amp;dbname, beast::Journal j)</div><div class="ttdoc">makeTestWalletDB Opens a test wallet database with an arbitrary name.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00016">Wallet.cpp:16</a></div></div>
<div class="ttc" id="anamespaceripple_html_a740f27a016e79e42b15532d24eeb54d3"><div class="ttname"><a href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3">ripple::readAmendments</a></div><div class="ttdeci">void readAmendments(soci::session &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;callback)</div><div class="ttdoc">readAmendments Reads all amendments from the FeatureVotes table.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00234">Wallet.cpp:234</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa974ec7bdead671dac5a44b542714a6e"><div class="ttname"><a href="namespaceripple.html#aa974ec7bdead671dac5a44b542714a6e">ripple::clearNodeIdentity</a></div><div class="ttdeci">void clearNodeIdentity(soci::session &amp;session)</div><div class="ttdoc">Delete any saved public/private key associated with this node.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00108">Wallet.cpp:108</a></div></div>
<div class="ttc" id="anamespaceripple_html_aaa97227ce6e58f948934638ef4ebfc2f"><div class="ttname"><a href="namespaceripple.html#aaa97227ce6e58f948934638ef4ebfc2f">ripple::makeWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeWalletDB(DatabaseCon::Setup const &amp;setup, beast::Journal j)</div><div class="ttdoc">makeWalletDB Opens the wallet database and returns it.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00008">Wallet.cpp:8</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae4478d625c3ba008aed0712de8900573"><div class="ttname"><a href="namespaceripple.html#ae4478d625c3ba008aed0712de8900573">ripple::getManifests</a></div><div class="ttdeci">void getManifests(soci::session &amp;session, std::string const &amp;dbTable, ManifestCache &amp;mCache, beast::Journal j)</div><div class="ttdoc">getManifests Loads a manifest from the wallet database and stores it in the cache.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00027">Wallet.cpp:27</a></div></div>
<div class="ttc" id="anamespaceripple_html_aedd3768c43d1cf1afc89ed6f0f0a53cd"><div class="ttname"><a href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">ripple::deletePeerReservation</a></div><div class="ttdeci">void deletePeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId)</div><div class="ttdoc">deletePeerReservation Deletes an entry from the peer reservation table.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00202">Wallet.cpp:202</a></div></div>
<div class="ttc" id="anamespaceripple_html_af4775b9f1e9a5a194f086f657c9faa37"><div class="ttname"><a href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">ripple::voteAmendment</a></div><div class="ttdeci">void voteAmendment(soci::session &amp;session, uint256 const &amp;amendment, std::string const &amp;name, AmendmentVote vote)</div><div class="ttdoc">voteAmendment Set the veto value for a particular amendment.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00270">Wallet.cpp:270</a></div></div>
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div></div>
<div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>