This commit is contained in:
manojsdoshi
2020-04-24 01:09:47 +00:00
parent 4ad595bf18
commit 430f6c0cf3
2864 changed files with 304301 additions and 292875 deletions

View File

@@ -88,45 +88,43 @@ $(function() {
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;test/jtx/regkey.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/jss.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/jss.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;test/jtx/regkey.h&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>test {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span>jtx {</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86"> 28</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86">regkey</a> (<a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <a class="code" href="structripple_1_1test_1_1jtx_1_1disabled__t.html">disabled_t</a>)</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; jv[jss::Account] = account.human();</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; jv[jss::TransactionType] = jss::SetRegularKey;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordflow">return</span> jv;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;}</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a2ff3f6f11598f3e1b041d0b78d6acd86"> 38</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86">regkey</a> (<a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1signer.html">signer</a>)</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; jv[jss::Account] = account.human();</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; jv[<span class="stringliteral">&quot;RegularKey&quot;</span>] = <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(<a class="code" href="structripple_1_1test_1_1jtx_1_1signer.html">signer</a>.id());</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; jv[jss::TransactionType] = jss::SetRegularKey;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordflow">return</span> jv;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;}</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;} <span class="comment">// jtx</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;} <span class="comment">// test</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;} <span class="comment">// ripple</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86"> 28</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86">regkey</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account, <a class="code" href="structripple_1_1test_1_1jtx_1_1disabled__t.html">disabled_t</a>)</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; jv[jss::Account] = account.human();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; jv[jss::TransactionType] = jss::SetRegularKey;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordflow">return</span> jv;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;}</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a2ff3f6f11598f3e1b041d0b78d6acd86"> 37</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86">regkey</a>(<a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; account, <a class="code" href="classripple_1_1test_1_1jtx_1_1Account.html">Account</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1test_1_1jtx_1_1signer.html">signer</a>)</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;{</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classJson_1_1Value.html">Json::Value</a> jv;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; jv[jss::Account] = account.human();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; jv[<span class="stringliteral">&quot;RegularKey&quot;</span>] = <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(<a class="code" href="structripple_1_1test_1_1jtx_1_1signer.html">signer</a>.id());</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; jv[jss::TransactionType] = jss::SetRegularKey;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordflow">return</span> jv;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;} <span class="comment">// namespace jtx</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;} <span class="comment">// namespace test</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;} <span class="comment">// namespace ripple</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1disabled__t_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1disabled__t.html">ripple::test::jtx::disabled_t</a></div><div class="ttdef"><b>Definition:</b> <a href="tags_8h_source.html#l00034">tags.h:34</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1disabled__t_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1disabled__t.html">ripple::test::jtx::disabled_t</a></div><div class="ttdef"><b>Definition:</b> <a href="tags_8h_source.html#l00044">tags.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_html_a96888695e8d79474e080c334f149e30a"><div class="ttname"><a href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">ripple::to_string</a></div><div class="ttdeci">std::string to_string(ListDisposition disposition)</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8cpp_source.html#l00041">ValidatorList.cpp:41</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1jtx_1_1signer_html"><div class="ttname"><a href="structripple_1_1test_1_1jtx_1_1signer.html">ripple::test::jtx::signer</a></div><div class="ttdoc">A signer in a SignerList.</div><div class="ttdef"><b>Definition:</b> <a href="multisign_8h_source.html#l00034">multisign.h:34</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_a25348362262144c3927b86f8d349fd86"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#a25348362262144c3927b86f8d349fd86">ripple::test::jtx::regkey</a></div><div class="ttdeci">Json::Value regkey(Account const &amp;account, disabled_t)</div><div class="ttdoc">Disable the regular key.</div><div class="ttdef"><b>Definition:</b> <a href="regkey_8cpp_source.html#l00028">regkey.cpp:28</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:37</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00141">json_value.h:141</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00145">json_value.h:145</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">