This commit is contained in:
bthomee
2025-03-11 18:21:06 +00:00
parent 95e4a9d650
commit 4ba075f689
2527 changed files with 275798 additions and 275583 deletions

View File

@@ -102,162 +102,163 @@ $(function() {
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpl/protocol/KeyType.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;xrpl/protocol/SecretKey.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;xrpl/protocol/UintTypes.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/unordered_map.html">unordered_map</a>&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">namespace </span>test {</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span>jtx {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">class </span>IOU;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html"> 37</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>{</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// Tag for access to private contr</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html"> 41</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html">privateCtorTag</a></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> };</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a7673e52d5c91125db2ae5ce7c10d4a14"> 47</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a7673e52d5c91125db2ae5ce7c10d4a14">master</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa"> 49</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>() = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a724215d4ba783c7363331218041e1368"> 50</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a724215d4ba783c7363331218041e1368">Account</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a81379e0bf65fa10df91dba6f6dc1b25e"> 51</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a81379e0bf65fa10df91dba6f6dc1b25e">Account</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#abd99ac5482cf2e8f19b6a05c66c4f939"> 53</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abd99ac5482cf2e8f19b6a05c66c4f939">operator=</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a9b410c22e53f343561feac9335e885cd"> 55</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a9b410c22e53f343561feac9335e885cd">operator=</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>, <a class="code hl_enumeration" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type = <a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a095f51e7ff062154b90e919a6e369341"> 61</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a095f51e7ff062154b90e919a6e369341">Account</a>(<span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>, <a class="code hl_enumeration" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type = <a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>)</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> : <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::string(<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>), type)</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> {</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> }</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="comment">// This constructor needs to be public so `std::pair` can use it when</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// emplacing into the cache. However, it is logically `private`. This is</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="comment">// enforced with the `privateTag` parameter.</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>(</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>,</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;PublicKey, SecretKey&gt;</a> <span class="keyword">const</span>&amp; keys,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html">Account::privateCtorTag</a>);</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3"> 76</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">AcctStringType</a> { <a class="code hl_enumvalue" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aceb144f5c46ddf333838c98908ba9933">base58Seed</a>, <a class="code hl_enumvalue" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aec5bf4b418512ca79864057aff3e160f">other</a> };</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>(<a class="code hl_enumeration" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">AcctStringType</a> stringType, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> base58SeedStr);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</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;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684"> 82</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf">name_</a>;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> }</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a079e39aea7b349047759b9dfc1df7a13"> 89</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a079e39aea7b349047759b9dfc1df7a13">pk</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0">pk_</a>;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> }</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#ab64789ab255df00fc7d23a161498253e"> 96</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#ab64789ab255df00fc7d23a161498253e">sk</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0">sk_</a>;</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> }</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_class" href="classripple_1_1base__uint.html">AccountID</a></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3"> 106</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3">id</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">id_</a>;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> }</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</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;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004"> 113</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711">human_</a>;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> }</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#ae88016cd86aca756986d4d6edea8221a"> 123</a></span> <span class="keyword">operator</span> <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">id_</a>;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> }</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1IOU.html">IOU</a></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a9fc17fa2beb8158116cf0a3d38402a41">operator[]</a>(<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; s) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">static</span> std::</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> unordered_map&lt;std::pair&lt;std::string, KeyType&gt;, <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>, <a class="code hl_struct" href="structbeast_1_1uhash.html">beast::uhash&lt;&gt;</a>&gt;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#ab4154b9f9f42c36421eddcf37a35085d"> 135</a></span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#ab4154b9f9f42c36421eddcf37a35085d">cache_</a>;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="comment">// Return the account from the cache &amp; add it to the cache if needed</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#adde68595aba6ea8bc60fd0b01a7d3593">fromCache</a>(<a class="code hl_enumeration" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">AcctStringType</a> stringType, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>, <a class="code hl_enumeration" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf"> 141</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="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf">name_</a>;</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0"> 142</a></span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0">pk_</a>;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0"> 143</a></span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0">sk_</a>;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a"> 144</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">AccountID</a> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">id_</a>;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711"> 145</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="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711">human_</a>; <span class="comment">// base58 public key string</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span>};</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> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#acb6a980da46f7337894683e7286c1303"> 149</a></span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#acb6a980da46f7337894683e7286c1303">operator==</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; rhs) <span class="keyword">noexcept</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span>{</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keywordflow">return</span> lhs.id() == rhs.id();</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> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> Hasher&gt;</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935"> 156</a></span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935">hash_append</a>(Hasher&amp; h, <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; v) <span class="keyword">noexcept</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span>{</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935">hash_append</a>(h, v.id());</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span>}</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"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a360a08784f172edc179f26abec6beefc"> 161</a></span><span class="keyword">inline</span> <span class="keyword">auto</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a360a08784f172edc179f26abec6beefc">operator&lt;=&gt;</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; rhs) <span class="keyword">noexcept</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span>{</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordflow">return</span> lhs.id() &lt;=&gt; rhs.id();</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span>}</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span>} <span class="comment">// namespace jtx</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span>} <span class="comment">// namespace test</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/unordered_map.html">unordered_map</a>&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span>test {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">namespace </span>jtx {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">class </span>IOU;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html"> 38</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>{</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// Tag for access to private contr</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html"> 42</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html">privateCtorTag</a></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> };</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a7673e52d5c91125db2ae5ce7c10d4a14"> 48</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a7673e52d5c91125db2ae5ce7c10d4a14">master</a>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa"> 50</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>() = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a724215d4ba783c7363331218041e1368"> 51</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a724215d4ba783c7363331218041e1368">Account</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a81379e0bf65fa10df91dba6f6dc1b25e"> 52</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a81379e0bf65fa10df91dba6f6dc1b25e">Account</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#abd99ac5482cf2e8f19b6a05c66c4f939"> 54</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abd99ac5482cf2e8f19b6a05c66c4f939">operator=</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a9b410c22e53f343561feac9335e885cd"> 56</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a9b410c22e53f343561feac9335e885cd">operator=</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>&amp;&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>, <a class="code hl_enumeration" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type = <a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a095f51e7ff062154b90e919a6e369341"> 62</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a095f51e7ff062154b90e919a6e369341">Account</a>(<span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>, <a class="code hl_enumeration" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type = <a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>)</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> : <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::string(<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>), type)</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> {</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> }</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// This constructor needs to be public so `std::pair` can use it when</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="comment">// emplacing into the cache. However, it is logically `private`. This is</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="comment">// enforced with the `privateTag` parameter.</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>(</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;PublicKey, SecretKey&gt;</a> <span class="keyword">const</span>&amp; keys,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <a class="code hl_struct" href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html">Account::privateCtorTag</a>);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3"> 77</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">AcctStringType</a> { <a class="code hl_enumvalue" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aceb144f5c46ddf333838c98908ba9933">base58Seed</a>, <a class="code hl_enumvalue" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aec5bf4b418512ca79864057aff3e160f">other</a> };</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>(<a class="code hl_enumeration" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">AcctStringType</a> stringType, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> base58SeedStr);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</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;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684"> 83</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf">name_</a>;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a079e39aea7b349047759b9dfc1df7a13"> 90</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a079e39aea7b349047759b9dfc1df7a13">pk</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0">pk_</a>;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> }</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#ab64789ab255df00fc7d23a161498253e"> 97</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#ab64789ab255df00fc7d23a161498253e">sk</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0">sk_</a>;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> }</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <a class="code hl_class" href="classripple_1_1base__uint.html">AccountID</a></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3"> 107</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3">id</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">id_</a>;</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</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> <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;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004"> 114</a></span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">human</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711">human_</a>;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> }</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#ae88016cd86aca756986d4d6edea8221a"> 124</a></span> <span class="keyword">operator</span> <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">id_</a>;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> }</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1IOU.html">IOU</a></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a9fc17fa2beb8158116cf0a3d38402a41">operator[]</a>(<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; s) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">static</span> std::</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> unordered_map&lt;std::pair&lt;std::string, KeyType&gt;, <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">Account</a>, <a class="code hl_struct" href="structbeast_1_1uhash.html">beast::uhash&lt;&gt;</a>&gt;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#ab4154b9f9f42c36421eddcf37a35085d"> 136</a></span> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#ab4154b9f9f42c36421eddcf37a35085d">cache_</a>;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="comment">// Return the account from the cache &amp; add it to the cache if needed</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#adde68595aba6ea8bc60fd0b01a7d3593">fromCache</a>(<a class="code hl_enumeration" href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">AcctStringType</a> stringType, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">name</a>, <a class="code hl_enumeration" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">KeyType</a> type);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf"> 142</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="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf">name_</a>;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0"> 143</a></span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0">pk_</a>;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0"> 144</a></span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0">sk_</a>;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a"> 145</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">AccountID</a> <a class="code hl_variable" href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">id_</a>;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711"> 146</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="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711">human_</a>; <span class="comment">// base58 public key string</span></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> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#acb6a980da46f7337894683e7286c1303"> 150</a></span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#acb6a980da46f7337894683e7286c1303">operator==</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; rhs) <span class="keyword">noexcept</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span>{</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordflow">return</span> lhs.id() == rhs.id();</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>}</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> Hasher&gt;</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935"> 157</a></span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935">hash_append</a>(Hasher&amp; h, <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; v) <span class="keyword">noexcept</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span>{</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935">hash_append</a>(h, v.id());</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> </div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a360a08784f172edc179f26abec6beefc"> 162</a></span><span class="keyword">inline</span> <span class="keyword">auto</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a360a08784f172edc179f26abec6beefc">operator&lt;=&gt;</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; rhs) <span class="keyword">noexcept</span></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> lhs.id() &lt;=&gt; rhs.id();</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span>}</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span>} <span class="comment">// namespace jtx</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span>} <span class="comment">// namespace test</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span>} <span class="comment">// namespace ripple</span></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="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="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#l00061">PublicKey.h:62</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#l00036">SecretKey.h:37</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#l00037">SecretKey.h:38</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&lt; 160, detail::AccountIDTag &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html">ripple::test::jtx::Account</a></div><div class="ttdoc">Immutable cryptographic account descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00037">Account.h:38</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a079e39aea7b349047759b9dfc1df7a13"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a079e39aea7b349047759b9dfc1df7a13">ripple::test::jtx::Account::pk</a></div><div class="ttdeci">PublicKey const &amp; pk() const</div><div class="ttdoc">Return the public key.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00089">Account.h:89</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a095f51e7ff062154b90e919a6e369341"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a095f51e7ff062154b90e919a6e369341">ripple::test::jtx::Account::Account</a></div><div class="ttdeci">Account(char const *name, KeyType type=KeyType::secp256k1)</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00061">Account.h:61</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a1523de08c51865d4afca96f5ed8711b0"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0">ripple::test::jtx::Account::pk_</a></div><div class="ttdeci">PublicKey pk_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00142">Account.h:142</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a1ea8869f5af6ce774c37b560c6c785c3"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3">ripple::test::jtx::Account::id</a></div><div class="ttdeci">AccountID id() const</div><div class="ttdoc">Returns the Account ID.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00106">Account.h:106</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a661e2c39bc8bd232ad2b2439a5a36711"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711">ripple::test::jtx::Account::human_</a></div><div class="ttdeci">std::string human_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00145">Account.h:145</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a6f89785b44c200573ece9251a2efc3d0"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0">ripple::test::jtx::Account::sk_</a></div><div class="ttdeci">SecretKey sk_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00143">Account.h:143</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html">ripple::test::jtx::Account</a></div><div class="ttdoc">Immutable cryptographic account descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00038">Account.h:39</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a079e39aea7b349047759b9dfc1df7a13"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a079e39aea7b349047759b9dfc1df7a13">ripple::test::jtx::Account::pk</a></div><div class="ttdeci">PublicKey const &amp; pk() const</div><div class="ttdoc">Return the public key.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00090">Account.h:90</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a095f51e7ff062154b90e919a6e369341"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a095f51e7ff062154b90e919a6e369341">ripple::test::jtx::Account::Account</a></div><div class="ttdeci">Account(char const *name, KeyType type=KeyType::secp256k1)</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00062">Account.h:62</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a1523de08c51865d4afca96f5ed8711b0"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a1523de08c51865d4afca96f5ed8711b0">ripple::test::jtx::Account::pk_</a></div><div class="ttdeci">PublicKey pk_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00143">Account.h:143</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a1ea8869f5af6ce774c37b560c6c785c3"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a1ea8869f5af6ce774c37b560c6c785c3">ripple::test::jtx::Account::id</a></div><div class="ttdeci">AccountID id() const</div><div class="ttdoc">Returns the Account ID.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00107">Account.h:107</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a661e2c39bc8bd232ad2b2439a5a36711"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a661e2c39bc8bd232ad2b2439a5a36711">ripple::test::jtx::Account::human_</a></div><div class="ttdeci">std::string human_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00146">Account.h:146</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a6f89785b44c200573ece9251a2efc3d0"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a6f89785b44c200573ece9251a2efc3d0">ripple::test::jtx::Account::sk_</a></div><div class="ttdeci">SecretKey sk_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00144">Account.h:144</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a724215d4ba783c7363331218041e1368"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a724215d4ba783c7363331218041e1368">ripple::test::jtx::Account::Account</a></div><div class="ttdeci">Account(Account &amp;&amp;)=default</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a7673e52d5c91125db2ae5ce7c10d4a14"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a7673e52d5c91125db2ae5ce7c10d4a14">ripple::test::jtx::Account::master</a></div><div class="ttdeci">static Account const master</div><div class="ttdoc">The master account.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00047">Account.h:47</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a7673e52d5c91125db2ae5ce7c10d4a14"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a7673e52d5c91125db2ae5ce7c10d4a14">ripple::test::jtx::Account::master</a></div><div class="ttdeci">static Account const master</div><div class="ttdoc">The master account.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00048">Account.h:48</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a81379e0bf65fa10df91dba6f6dc1b25e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a81379e0bf65fa10df91dba6f6dc1b25e">ripple::test::jtx::Account::Account</a></div><div class="ttdeci">Account(Account const &amp;)=default</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a8377eaeb5e478b24d16f7ba0927982bf"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf">ripple::test::jtx::Account::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00141">Account.h:141</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a844f6560f21e690f65906f6d76220684"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">ripple::test::jtx::Account::name</a></div><div class="ttdeci">std::string const &amp; name() const</div><div class="ttdoc">Return the name.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00082">Account.h:82</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a98c8b48b3239d983f446d5c4ec374b2a"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">ripple::test::jtx::Account::id_</a></div><div class="ttdeci">AccountID id_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00144">Account.h:144</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a8377eaeb5e478b24d16f7ba0927982bf"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a8377eaeb5e478b24d16f7ba0927982bf">ripple::test::jtx::Account::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00142">Account.h:142</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a844f6560f21e690f65906f6d76220684"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a844f6560f21e690f65906f6d76220684">ripple::test::jtx::Account::name</a></div><div class="ttdeci">std::string const &amp; name() const</div><div class="ttdoc">Return the name.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00083">Account.h:83</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a98c8b48b3239d983f446d5c4ec374b2a"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a98c8b48b3239d983f446d5c4ec374b2a">ripple::test::jtx::Account::id_</a></div><div class="ttdeci">AccountID id_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00145">Account.h:145</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a9b410c22e53f343561feac9335e885cd"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a9b410c22e53f343561feac9335e885cd">ripple::test::jtx::Account::operator=</a></div><div class="ttdeci">Account &amp; operator=(Account &amp;&amp;)=default</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_a9fc17fa2beb8158116cf0a3d38402a41"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#a9fc17fa2beb8158116cf0a3d38402a41">ripple::test::jtx::Account::operator[]</a></div><div class="ttdeci">IOU operator[](std::string const &amp;s) const</div><div class="ttdoc">Returns an IOU for the specified gateway currency.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8cpp_source.html#l00089">Account.cpp:89</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_ab4154b9f9f42c36421eddcf37a35085d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#ab4154b9f9f42c36421eddcf37a35085d">ripple::test::jtx::Account::cache_</a></div><div class="ttdeci">static std::unordered_map&lt; std::pair&lt; std::string, KeyType &gt;, Account, beast::uhash&lt;&gt; &gt; cache_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00135">Account.h:135</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_ab64789ab255df00fc7d23a161498253e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#ab64789ab255df00fc7d23a161498253e">ripple::test::jtx::Account::sk</a></div><div class="ttdeci">SecretKey const &amp; sk() const</div><div class="ttdoc">Return the secret key.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00096">Account.h:96</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_ab4154b9f9f42c36421eddcf37a35085d"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#ab4154b9f9f42c36421eddcf37a35085d">ripple::test::jtx::Account::cache_</a></div><div class="ttdeci">static std::unordered_map&lt; std::pair&lt; std::string, KeyType &gt;, Account, beast::uhash&lt;&gt; &gt; cache_</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00136">Account.h:136</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_ab64789ab255df00fc7d23a161498253e"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#ab64789ab255df00fc7d23a161498253e">ripple::test::jtx::Account::sk</a></div><div class="ttdeci">SecretKey const &amp; sk() const</div><div class="ttdoc">Return the secret key.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00097">Account.h:97</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_abcfbf18e67881f9b510a0d9dc8a07bfa"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#abcfbf18e67881f9b510a0d9dc8a07bfa">ripple::test::jtx::Account::Account</a></div><div class="ttdeci">Account()=delete</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_abd99ac5482cf2e8f19b6a05c66c4f939"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#abd99ac5482cf2e8f19b6a05c66c4f939">ripple::test::jtx::Account::operator=</a></div><div class="ttdeci">Account &amp; operator=(Account const &amp;)=default</div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_aca8ee7ec341c993ca685d27dd8fcc6c3"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">ripple::test::jtx::Account::AcctStringType</a></div><div class="ttdeci">AcctStringType</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00076">Account.h:76</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_aca8ee7ec341c993ca685d27dd8fcc6c3aceb144f5c46ddf333838c98908ba9933"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aceb144f5c46ddf333838c98908ba9933">ripple::test::jtx::Account::base58Seed</a></div><div class="ttdeci">@ base58Seed</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00076">Account.h:76</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_aca8ee7ec341c993ca685d27dd8fcc6c3aec5bf4b418512ca79864057aff3e160f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aec5bf4b418512ca79864057aff3e160f">ripple::test::jtx::Account::other</a></div><div class="ttdeci">@ other</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00076">Account.h:76</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_aca8ee7ec341c993ca685d27dd8fcc6c3"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3">ripple::test::jtx::Account::AcctStringType</a></div><div class="ttdeci">AcctStringType</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00077">Account.h:77</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_aca8ee7ec341c993ca685d27dd8fcc6c3aceb144f5c46ddf333838c98908ba9933"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aceb144f5c46ddf333838c98908ba9933">ripple::test::jtx::Account::base58Seed</a></div><div class="ttdeci">@ base58Seed</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00077">Account.h:77</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_aca8ee7ec341c993ca685d27dd8fcc6c3aec5bf4b418512ca79864057aff3e160f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#aca8ee7ec341c993ca685d27dd8fcc6c3aec5bf4b418512ca79864057aff3e160f">ripple::test::jtx::Account::other</a></div><div class="ttdeci">@ other</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00077">Account.h:77</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_adde68595aba6ea8bc60fd0b01a7d3593"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#adde68595aba6ea8bc60fd0b01a7d3593">ripple::test::jtx::Account::fromCache</a></div><div class="ttdeci">static Account fromCache(AcctStringType stringType, std::string name, KeyType type)</div><div class="ttdef"><b>Definition:</b> <a href="Account_8cpp_source.html#l00049">Account.cpp:49</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_af418ef1752815f3b0d0c80e7e9891004"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">ripple::test::jtx::Account::human</a></div><div class="ttdeci">std::string const &amp; human() const</div><div class="ttdoc">Returns the human readable public key.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00113">Account.h:113</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1IOU_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1IOU.html">ripple::test::jtx::IOU</a></div><div class="ttdoc">Converts to IOU Issue or STAmount.</div><div class="ttdef"><b>Definition:</b> <a href="src_2test_2jtx_2amount_8h_source.html#l00292">src/test/jtx/amount.h:293</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_a0c47d3f9395a6f96b1bd1bfa228aa935"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935">ripple::test::jtx::hash_append</a></div><div class="ttdeci">void hash_append(Hasher &amp;h, Account const &amp;v) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00156">Account.h:156</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_a360a08784f172edc179f26abec6beefc"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#a360a08784f172edc179f26abec6beefc">ripple::test::jtx::operator&lt;=&gt;</a></div><div class="ttdeci">auto operator&lt;=&gt;(Account const &amp;lhs, Account const &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00161">Account.h:162</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_acb6a980da46f7337894683e7286c1303"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#acb6a980da46f7337894683e7286c1303">ripple::test::jtx::operator==</a></div><div class="ttdeci">bool operator==(Account const &amp;lhs, Account const &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00149">Account.h:149</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Account_html_af418ef1752815f3b0d0c80e7e9891004"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Account.html#af418ef1752815f3b0d0c80e7e9891004">ripple::test::jtx::Account::human</a></div><div class="ttdeci">std::string const &amp; human() const</div><div class="ttdoc">Returns the human readable public key.</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00114">Account.h:114</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1IOU_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1IOU.html">ripple::test::jtx::IOU</a></div><div class="ttdoc">Converts to IOU Issue or STAmount.</div><div class="ttdef"><b>Definition:</b> <a href="src_2test_2jtx_2amount_8h_source.html#l00293">src/test/jtx/amount.h:294</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_a0c47d3f9395a6f96b1bd1bfa228aa935"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#a0c47d3f9395a6f96b1bd1bfa228aa935">ripple::test::jtx::hash_append</a></div><div class="ttdeci">void hash_append(Hasher &amp;h, Account const &amp;v) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00157">Account.h:157</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_a360a08784f172edc179f26abec6beefc"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#a360a08784f172edc179f26abec6beefc">ripple::test::jtx::operator&lt;=&gt;</a></div><div class="ttdeci">auto operator&lt;=&gt;(Account const &amp;lhs, Account const &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00162">Account.h:163</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_acb6a980da46f7337894683e7286c1303"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#acb6a980da46f7337894683e7286c1303">ripple::test::jtx::operator==</a></div><div class="ttdeci">bool operator==(Account const &amp;lhs, Account const &amp;rhs) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00150">Account.h:150</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#l00026">algorithm.h:26</a></div></div>
<div class="ttc" id="anamespaceripple_html_a00ae0d729cb3e35b6bcac9a27ebb5284"><div class="ttname"><a href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">ripple::AccountID</a></div><div class="ttdeci">base_uint&lt; 160, detail::AccountIDTag &gt; AccountID</div><div class="ttdoc">A 160-bit unsigned that uniquely identifies an account.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8h_source.html#l00049">AccountID.h:49</a></div></div>
<div class="ttc" id="anamespaceripple_html_a9de744cfdefe1132969eb982e57e4dde"><div class="ttname"><a href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4dde">ripple::KeyType</a></div><div class="ttdeci">KeyType</div><div class="ttdef"><b>Definition:</b> <a href="KeyType_8h_source.html#l00028">KeyType.h:28</a></div></div>
@@ -266,7 +267,7 @@ $(function() {
<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="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
<div class="ttc" id="astructbeast_1_1uhash_html"><div class="ttname"><a href="structbeast_1_1uhash.html">beast::uhash</a></div><div class="ttdef"><b>Definition:</b> <a href="uhash_8h_source.html#l00031">uhash.h:32</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html">ripple::test::jtx::Account::privateCtorTag</a></div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00041">Account.h:42</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1Account_1_1privateCtorTag.html">ripple::test::jtx::Account::privateCtorTag</a></div><div class="ttdef"><b>Definition:</b> <a href="Account_8h_source.html#l00042">Account.h:43</a></div></div>
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/unordered_map.html">unordered_map</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->