This commit is contained in:
bthomee
2025-05-08 11:05:03 +00:00
parent 3c36d01be9
commit da1a1fe717
983 changed files with 15498 additions and 15479 deletions

View File

@@ -113,13 +113,13 @@ $(function() {
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html"> 35</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1ValidatorKeys__test.html">ValidatorKeys_test</a> : <span class="keyword">public</span> <a class="code hl_class" href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// Used with [validation_seed]</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#aa71bbb26c8f4b49c6895c043f087c8bc"> 38</a></span> <span class="keyword">const</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_1ValidatorKeys__test.html#aa71bbb26c8f4b49c6895c043f087c8bc">seed</a> = <span class="stringliteral">&quot;shUwVw52ofnCUX5m7kPTKzJdr4HEH&quot;</span>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#a3337aa9e9c6991b0c648338d949d53bb"> 38</a></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> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a3337aa9e9c6991b0c648338d949d53bb">seed</a> = <span class="stringliteral">&quot;shUwVw52ofnCUX5m7kPTKzJdr4HEH&quot;</span>;</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="comment">// Used with [validation_token]</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#a4e01f08a7a0d05c4d30274910e3f1423"> 41</a></span> <span class="keyword">const</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_1ValidatorKeys__test.html#a4e01f08a7a0d05c4d30274910e3f1423">tokenSecretStr</a> =</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#ac9a3ea9e39f35ef324c9c03523cb7713"> 41</a></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> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#ac9a3ea9e39f35ef324c9c03523cb7713">tokenSecretStr</a> =</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="stringliteral">&quot;paQmjZ37pKKPMrgadBLsuf9ab7Y7EUNzh27LQrZqoexpAs31nJi&quot;</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"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#af0193d8483a54f2118e9f1be9fcacd78"> 44</a></span> <span class="keyword">const</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#af0193d8483a54f2118e9f1be9fcacd78">tokenBlob</a> = {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#a7021fad0b7542b4a41456aab645a7224"> 44</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a7021fad0b7542b4a41456aab645a7224">tokenBlob</a> = {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="stringliteral">&quot; &quot;</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="stringliteral">&quot;eyJ2YWxpZGF0aW9uX3NlY3JldF9rZXkiOiI5ZWQ0NWY4NjYyNDFjYzE4YTI3NDdiNT\n&quot;</span>,</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="stringliteral">&quot; \tQzODdjMDYyNTkwNzk3MmY0ZTcxOTAyMzFmYWE5Mzc0NTdmYTlkYWY2IiwibWFuaWZl &quot;</span></div>
@@ -134,7 +134,7 @@ $(function() {
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="stringliteral">&quot;NmluOEhBU1FLUHVnQkQ2N2tNYVJGR3ZtcEFUSGxHS0pkdkRGbFdQWXk1QXFEZWRGdj\n&quot;</span>,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="stringliteral">&quot;VUSmEydzBpMjFlcTNNWXl3TFZKWm5GT3I3QzBrdzJBaVR6U0NqSXpkaXRROD0ifQ==\n&quot;</span>};</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#a0f7f8ff220d44669b2fe0bbdaf41c919"> 59</a></span> <span class="keyword">const</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_1ValidatorKeys__test.html#a0f7f8ff220d44669b2fe0bbdaf41c919">tokenManifest</a> =</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#af524b3414e0a7a381c1dc4c3776e2d0b"> 59</a></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> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#af524b3414e0a7a381c1dc4c3776e2d0b">tokenManifest</a> =</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="stringliteral">&quot;JAAAAAFxIe1FtwmimvGtH2iCcMJqC9gVFKilGfw1/vCxHXXLplc2GnMhAkE1agqXxBwD&quot;</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="stringliteral">&quot;wDbID6OMSYuM0FDAlpAgNk8SKFn7MO2fdkcwRQIhAOngu9sAKqXYouJ+l2V0W+sAOkVB&quot;</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="stringliteral">&quot;+ZRS6PShlJAfUsXfAiBsVJGesaadOJc/aAZokS1vymGmVrlHPKWX3Yywu6in8HASQKPu&quot;</span></div>
@@ -142,7 +142,7 @@ $(function() {
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="stringliteral">&quot;2AiTzSCjIzditQ8=&quot;</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">// Manifest does not match private key</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#acdc29be989c58c8014beba4c579f7f00"> 67</a></span> <span class="keyword">const</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#acdc29be989c58c8014beba4c579f7f00">invalidTokenBlob</a> = {</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1test_1_1ValidatorKeys__test.html#a9bd33864d176d7824219f8c85b5d44f6"> 67</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::string&gt;</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a9bd33864d176d7824219f8c85b5d44f6">invalidTokenBlob</a> = {</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="stringliteral">&quot;eyJtYW5pZmVzdCI6IkpBQUFBQVZ4SWUyOVVBdzViZFJudHJ1elVkREk4aDNGV1JWZl\n&quot;</span>,</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="stringliteral">&quot;k3SXVIaUlKQUhJd3MxdzZzM01oQWtsa1VXQWR2RnFRVGRlSEpvS1pNY0hlS0RzOExo\n&quot;</span>,</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="stringliteral">&quot;b3d3bDlHOEdkVGNJbmFka1l3UkFJZ0h2Q01lQU1aSzlqQnV2aFhlaFRLRzVDQ3BBR1\n&quot;</span>,</div>
@@ -167,19 +167,19 @@ $(function() {
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="comment">// Keys/ID when using [validation_seed]</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> <span class="keyword">const</span> seedSecretKey =</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_function" href="namespaceripple.html#a71e61a96c4e0813a7b69b53f4b1d986f">generateSecretKey</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>, *parseBase58&lt;Seed&gt;(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#aa71bbb26c8f4b49c6895c043f087c8bc">seed</a>));</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_function" href="namespaceripple.html#a71e61a96c4e0813a7b69b53f4b1d986f">generateSecretKey</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>, *parseBase58&lt;Seed&gt;(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a3337aa9e9c6991b0c648338d949d53bb">seed</a>));</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span> seedPublicKey =</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <a class="code hl_function" href="namespaceripple.html#a701ede864bf93a008a22a2a7fee9bfb3">derivePublicKey</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>, seedSecretKey);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a> <span class="keyword">const</span> seedNodeID = <a class="code hl_function" href="namespaceripple.html#aa2a27f242f6d150ff52f2ad0b2e2a512">calcNodeID</a>(seedPublicKey);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// Keys when using [validation_token]</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">auto</span> <span class="keyword">const</span> tokenSecretKey =</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> *parseBase58&lt;SecretKey&gt;(<a class="code hl_enumvalue" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03a5cc5482a0278b704175b383ee922954a">TokenType::NodePrivate</a>, <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a4e01f08a7a0d05c4d30274910e3f1423">tokenSecretStr</a>);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> *parseBase58&lt;SecretKey&gt;(<a class="code hl_enumvalue" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03a5cc5482a0278b704175b383ee922954a">TokenType::NodePrivate</a>, <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#ac9a3ea9e39f35ef324c9c03523cb7713">tokenSecretStr</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> <span class="keyword">auto</span> <span class="keyword">const</span> tokenPublicKey =</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <a class="code hl_function" href="namespaceripple.html#a701ede864bf93a008a22a2a7fee9bfb3">derivePublicKey</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a9de744cfdefe1132969eb982e57e4ddea82c2b7829b8129e5a2d53665ba4b4757">KeyType::secp256k1</a>, tokenSecretKey);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">auto</span> <span class="keyword">const</span> m = <a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(<a class="code hl_function" href="namespaceripple.html#a44b8469c9a47739d50dd628e8a4bd561">base64_decode</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a0f7f8ff220d44669b2fe0bbdaf41c919">tokenManifest</a>));</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">auto</span> <span class="keyword">const</span> m = <a class="code hl_function" href="namespaceripple.html#a12a05294e1d72bbcf9718dc99195ad19">deserializeManifest</a>(<a class="code hl_function" href="namespaceripple.html#a44b8469c9a47739d50dd628e8a4bd561">base64_decode</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#af524b3414e0a7a381c1dc4c3776e2d0b">tokenManifest</a>));</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> BEAST_EXPECT(m);</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">NodeID</a> <span class="keyword">const</span> tokenNodeID = <a class="code hl_function" href="namespaceripple.html#aa2a27f242f6d150ff52f2ad0b2e2a512">calcNodeID</a>(m-&gt;masterKey);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
@@ -194,7 +194,7 @@ $(function() {
<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> <span class="comment">// validation seed section -&gt; empty manifest and valid seeds</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <a class="code hl_class" href="classripple_1_1Config.html">Config</a> c;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATION_SEED).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#aa71bbb26c8f4b49c6895c043f087c8bc">seed</a>);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATION_SEED).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a3337aa9e9c6991b0c648338d949d53bb">seed</a>);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_class" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> k{c, journal};</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">if</span> (BEAST_EXPECT(k.keys))</div>
@@ -221,7 +221,7 @@ $(function() {
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> {</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="comment">// validator token</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_class" href="classripple_1_1Config.html">Config</a> c;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATOR_TOKEN).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#af0193d8483a54f2118e9f1be9fcacd78">tokenBlob</a>);</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATOR_TOKEN).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a7021fad0b7542b4a41456aab645a7224">tokenBlob</a>);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <a class="code hl_class" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> k{c, journal};</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="keywordflow">if</span> (BEAST_EXPECT(k.keys))</div>
@@ -230,7 +230,7 @@ $(function() {
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> BEAST_EXPECT(k.keys-&gt;secretKey == tokenSecretKey);</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> BEAST_EXPECT(k.nodeID == tokenNodeID);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> BEAST_EXPECT(k.manifest == <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a0f7f8ff220d44669b2fe0bbdaf41c919">tokenManifest</a>);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> BEAST_EXPECT(k.manifest == <a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#af524b3414e0a7a381c1dc4c3776e2d0b">tokenManifest</a>);</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> BEAST_EXPECT(!k.configInvalid());</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> {</div>
@@ -246,8 +246,8 @@ $(function() {
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> {</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="comment">// Cannot specify both</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_class" href="classripple_1_1Config.html">Config</a> c;</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATION_SEED).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#aa71bbb26c8f4b49c6895c043f087c8bc">seed</a>);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATOR_TOKEN).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#af0193d8483a54f2118e9f1be9fcacd78">tokenBlob</a>);</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATION_SEED).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a3337aa9e9c6991b0c648338d949d53bb">seed</a>);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATOR_TOKEN).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a7021fad0b7542b4a41456aab645a7224">tokenBlob</a>);</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <a class="code hl_class" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> k{c, journal};</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> BEAST_EXPECT(k.configInvalid());</div>
@@ -258,7 +258,7 @@ $(function() {
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> {</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="comment">// Token manifest and private key must match</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <a class="code hl_class" href="classripple_1_1Config.html">Config</a> c;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATOR_TOKEN).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#acdc29be989c58c8014beba4c579f7f00">invalidTokenBlob</a>);</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> c.<a class="code hl_function" href="classripple_1_1BasicConfig.html#a60aca585d76b1121dd4f72b358729456">section</a>(SECTION_VALIDATOR_TOKEN).<a class="code hl_function" href="classripple_1_1Section.html#aa94166c41decc5127022863dfee030b7">append</a>(<a class="code hl_variable" href="classripple_1_1test_1_1ValidatorKeys__test.html#a9bd33864d176d7824219f8c85b5d44f6">invalidTokenBlob</a>);</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <a class="code hl_class" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> k{c, journal};</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> BEAST_EXPECT(k.configInvalid());</div>
@@ -283,12 +283,12 @@ $(function() {
<div class="ttc" id="aclassripple_1_1ValidatorKeys_html"><div class="ttname"><a href="classripple_1_1ValidatorKeys.html">ripple::ValidatorKeys</a></div><div class="ttdoc">Validator keys and manifest as set in configuration file.</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys_8h_source.html#l00037">ValidatorKeys.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::NodeIDTag &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html">ripple::test::ValidatorKeys_test</a></div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00035">ValidatorKeys_test.cpp:36</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_a0f7f8ff220d44669b2fe0bbdaf41c919"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#a0f7f8ff220d44669b2fe0bbdaf41c919">ripple::test::ValidatorKeys_test::tokenManifest</a></div><div class="ttdeci">const std::string tokenManifest</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00059">ValidatorKeys_test.cpp:59</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_a4e01f08a7a0d05c4d30274910e3f1423"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#a4e01f08a7a0d05c4d30274910e3f1423">ripple::test::ValidatorKeys_test::tokenSecretStr</a></div><div class="ttdeci">const std::string tokenSecretStr</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00041">ValidatorKeys_test.cpp:41</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_a3337aa9e9c6991b0c648338d949d53bb"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#a3337aa9e9c6991b0c648338d949d53bb">ripple::test::ValidatorKeys_test::seed</a></div><div class="ttdeci">std::string const seed</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00038">ValidatorKeys_test.cpp:38</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_a4e9a503b1b5579c6898687267273cc40"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#a4e9a503b1b5579c6898687267273cc40">ripple::test::ValidatorKeys_test::run</a></div><div class="ttdeci">void run() override</div><div class="ttdoc">Runs the suite.</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00079">ValidatorKeys_test.cpp:79</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_aa71bbb26c8f4b49c6895c043f087c8bc"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#aa71bbb26c8f4b49c6895c043f087c8bc">ripple::test::ValidatorKeys_test::seed</a></div><div class="ttdeci">const std::string seed</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00038">ValidatorKeys_test.cpp:38</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_acdc29be989c58c8014beba4c579f7f00"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#acdc29be989c58c8014beba4c579f7f00">ripple::test::ValidatorKeys_test::invalidTokenBlob</a></div><div class="ttdeci">const std::vector&lt; std::string &gt; invalidTokenBlob</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00067">ValidatorKeys_test.cpp:67</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_af0193d8483a54f2118e9f1be9fcacd78"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#af0193d8483a54f2118e9f1be9fcacd78">ripple::test::ValidatorKeys_test::tokenBlob</a></div><div class="ttdeci">const std::vector&lt; std::string &gt; tokenBlob</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00044">ValidatorKeys_test.cpp:44</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_a7021fad0b7542b4a41456aab645a7224"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#a7021fad0b7542b4a41456aab645a7224">ripple::test::ValidatorKeys_test::tokenBlob</a></div><div class="ttdeci">std::vector&lt; std::string &gt; const tokenBlob</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00044">ValidatorKeys_test.cpp:44</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_a9bd33864d176d7824219f8c85b5d44f6"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#a9bd33864d176d7824219f8c85b5d44f6">ripple::test::ValidatorKeys_test::invalidTokenBlob</a></div><div class="ttdeci">std::vector&lt; std::string &gt; const invalidTokenBlob</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00067">ValidatorKeys_test.cpp:67</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_ac9a3ea9e39f35ef324c9c03523cb7713"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#ac9a3ea9e39f35ef324c9c03523cb7713">ripple::test::ValidatorKeys_test::tokenSecretStr</a></div><div class="ttdeci">std::string const tokenSecretStr</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00041">ValidatorKeys_test.cpp:41</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1ValidatorKeys__test_html_af524b3414e0a7a381c1dc4c3776e2d0b"><div class="ttname"><a href="classripple_1_1test_1_1ValidatorKeys__test.html#af524b3414e0a7a381c1dc4c3776e2d0b">ripple::test::ValidatorKeys_test::tokenManifest</a></div><div class="ttdeci">std::string const tokenManifest</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorKeys__test_8cpp_source.html#l00059">ValidatorKeys_test.cpp:59</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Env_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Env.html">ripple::test::jtx::Env</a></div><div class="ttdoc">A transaction testing environment.</div><div class="ttdef"><b>Definition:</b> <a href="Env_8h_source.html#l00119">Env.h:120</a></div></div>
<div class="ttc" id="anamespacebeast_1_1severities_html_a069a8a312b9123b77f6aa31733ca73beae13a45640877c138fc59c94443ece6f0"><div class="ttname"><a href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73beae13a45640877c138fc59c94443ece6f0">beast::severities::kDisabled</a></div><div class="ttdeci">@ kDisabled</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00042">Journal.h:42</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_a7a4caa0465c555c5c59ce7c0d0d48d78"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#a7a4caa0465c555c5c59ce7c0d0d48d78">ripple::test::jtx::envconfig</a></div><div class="ttdeci">std::unique_ptr&lt; Config &gt; envconfig()</div><div class="ttdoc">creates and initializes a default configuration for jtx::Env</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8h_source.html#l00054">envconfig.h:54</a></div></div>