Compare commits

..

No commits in common. "668f35086a233b2010c6eb012e8c36382483b68c" and "1fbfaf2a765e514a61ec89b2327b9a0f41165138" have entirely different histories.

15 changed files with 163 additions and 163 deletions

View File

@ -70,8 +70,8 @@ $(function() {
<div class="title">big_int.hpp</div> </div> <div class="title">big_int.hpp</div> </div>
</div><!--header--> </div><!--header-->
<div class="contents"> <div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef OC_ISSUER_BIG_INT_HPP</span></div> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef BIG_INT_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define OC_ISSUER_BIG_INT_HPP</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define BIG_INT_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;array&gt;</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;array&gt;</span></div>
@ -81,22 +81,22 @@ $(function() {
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structBigInt.html"> 9</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structBigInt.html">BigInt</a> {</div> <div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structBigInt.html"> 9</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structBigInt.html">BigInt</a> {</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <a class="code" href="structBigInt.html">BigInt</a>() : data() {}</div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160; <a class="code" href="structBigInt.html">BigInt</a>() : data() {}</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="structBigInt.html">BigInt</a>() = <span class="keywordflow">default</span>;</div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="structBigInt.html">BigInt</a>() {}</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="keyword">enum class</span> eError : uint8_t { PARSE_ERROR };</div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="keyword">enum class</span> eError : uint8_t { PARSE_ERROR };</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">static</span> tl::expected&lt;BigInt, eError&gt; from_string(<span class="keyword">const</span> std::string &amp;str);</div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">static</span> tl::expected&lt;BigInt, eError&gt; from_string(<span class="keyword">const</span> std::string &amp;str);</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keyword">static</span> <a class="code" href="structBigInt.html">BigInt</a> from_int(uint64_t value);</div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keyword">static</span> <a class="code" href="structBigInt.html">BigInt</a> from_int(uint64_t value);</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; [[nodiscard]] std::string to_string() <span class="keyword">const</span>;</div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; std::string to_string() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </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="keyword">friend</span> <span class="keywordtype">bool</span> operator == (<span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a>&amp; rhs, <span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a>&amp; lhs);</div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> operator == (<span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a>&amp; rhs, <span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a>&amp; lhs);</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; std::array&lt;uint8_t,256U&gt; data;</div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; std::array&lt;uint8_t,256&gt; data;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;};</div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;};</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a> &amp;rhs, <span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a> &amp;lhs);</div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a> &amp;rhs, <span class="keyword">const</span> <a class="code" href="structBigInt.html">BigInt</a> &amp;lhs);</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </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;<span class="preprocessor">#endif </span><span class="comment">// #ifndef #ifndef OC_ISSUER_BIG_INT_HPP</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// #ifndef #ifndef BIG_INT_HPP</span></div>
<div class="ttc" id="astructBigInt_html"><div class="ttname"><a href="structBigInt.html">BigInt</a></div><div class="ttdef"><b>Definition:</b> big_int.hpp:9</div></div> <div class="ttc" id="astructBigInt_html"><div class="ttname"><a href="structBigInt.html">BigInt</a></div><div class="ttdef"><b>Definition:</b> big_int.hpp:9</div></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->

View File

@ -69,17 +69,17 @@ $(function() {
<p>This is the complete list of members for <a class="el" href="classDefaultModel.html">DefaultModel</a>, including all inherited members.</p> <p>This is the complete list of members for <a class="el" href="classDefaultModel.html">DefaultModel</a>, including all inherited members.</p>
<table class="directory"> <table class="directory">
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>DefaultModel</b>()=default (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>DefaultModel</b>() (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e">get_cddc</a>(unsigned int cdd_serial) override</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d">getCDDC</a>(unsigned int cdd_serial) override</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa">get_current_cddc</a>() override</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classDefaultModel.html#a879560588eadf03168fb720751044295">getCurrentCDDC</a>() override</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">get_model</a>(const std::string &amp;backend_name)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">static</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>getMKCs</b>(const std::vector&lt; unsigned int &gt; &amp;UNUSED(denominations), const std::vector&lt; BigInt &gt; &amp;UNUSED(mint_key_ids)) override (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getMKCs</b>(const std::vector&lt; unsigned int &gt; &amp;UNUSED(denominations), const std::vector&lt; BigInt &gt; &amp;UNUSED(mint_key_ids)) override (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">Model::getMKCs</a>(const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; BigInt &gt; &amp;mint_key_ids)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">Model::getMKCs</a>(const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; BigInt &gt; &amp;mint_key_ids)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">getModel</a>(const std::string &amp;backend_name)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>mint</b>(const std::string &amp;UNUSED(transaction_reference), const std::vector&lt; Blind &gt; &amp;UNUSED(blinds)) override (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>mint</b>(const std::string &amp;UNUSED(transaction_reference), const std::vector&lt; Blind &gt; &amp;UNUSED(blinds)) override (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model::mint</a>(std::string const &amp;transaction_reference, const std::vector&lt; Blind &gt; &amp;blinds)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model::mint</a>(std::string const &amp;transaction_reference, const std::vector&lt; Blind &gt; &amp;blinds)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>redeem</b>(const std::vector&lt; Coin &gt; &amp;UNUSED(coins)) override (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>redeem</b>(const std::vector&lt; Coin &gt; &amp;UNUSED(coins)) override (defined in <a class="el" href="classDefaultModel.html">DefaultModel</a>)</td><td class="entry"><a class="el" href="classDefaultModel.html">DefaultModel</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">Model::redeem</a>(const std::vector&lt; Coin &gt; &amp;coins)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">Model::redeem</a>(const std::vector&lt; Coin &gt; &amp;coins)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Model</b>()=default (defined in <a class="el" href="classModel.html">Model</a>)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Model</b>() (defined in <a class="el" href="classModel.html">Model</a>)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View File

@ -90,22 +90,22 @@ Collaboration diagram for DefaultModel:</div>
<table class="memberdecls"> <table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr> Public Member Functions</h2></td></tr>
<tr class="memitem:a5d57be9ead842ec3385144f7caa9524e"><td class="memItemLeft" align="right" valign="top">tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e">get_cddc</a> (unsigned int cdd_serial) override</td></tr> <tr class="memitem:a3f3db55e24aada8f0f4828529a04ef0d"><td class="memItemLeft" align="right" valign="top">tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d">getCDDC</a> (unsigned int cdd_serial) override</td></tr>
<tr class="separator:a5d57be9ead842ec3385144f7caa9524e"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a3f3db55e24aada8f0f4828529a04ef0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24f870ad579abc50dc3140dc68fa89fa"><td class="memItemLeft" align="right" valign="top">tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa">get_current_cddc</a> () override</td></tr> <tr class="memitem:a879560588eadf03168fb720751044295"><td class="memItemLeft" align="right" valign="top">tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDefaultModel.html#a879560588eadf03168fb720751044295">getCurrentCDDC</a> () override</td></tr>
<tr class="separator:a24f870ad579abc50dc3140dc68fa89fa"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a879560588eadf03168fb720751044295"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49b3cebc92f956b919478927dda01dd2"><td class="memItemLeft" align="right" valign="top"><a id="a49b3cebc92f956b919478927dda01dd2"></a> <tr class="memitem:a49b3cebc92f956b919478927dda01dd2"><td class="memItemLeft" align="right" valign="top"><a id="a49b3cebc92f956b919478927dda01dd2"></a>
std::vector&lt; <a class="el" href="structBlindSignature.html">BlindSignature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mint</b> (const std::string &amp;UNUSED(transaction_reference), const std::vector&lt; <a class="el" href="structBlind.html">Blind</a> &gt; &amp;UNUSED(blinds)) override</td></tr> std::vector&lt; <a class="el" href="structBlindSignature.html">BlindSignature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mint</b> (const std::string &amp;UNUSED(transaction_reference), const std::vector&lt; <a class="el" href="structBlind.html">Blind</a> &gt; &amp;UNUSED(blinds)) override</td></tr>
<tr class="separator:a49b3cebc92f956b919478927dda01dd2"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a49b3cebc92f956b919478927dda01dd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd7febf573385d72f89af6da3fccf68"><td class="memItemLeft" align="right" valign="top"><a id="a0bd7febf573385d72f89af6da3fccf68"></a> <tr class="memitem:aedb14c2106938ccc12d17fdb2c2ddf27"><td class="memItemLeft" align="right" valign="top"><a id="aedb14c2106938ccc12d17fdb2c2ddf27"></a>
std::vector&lt; <a class="el" href="structMintKeyCert.html">MintKeyCert</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getMKCs</b> (const std::vector&lt; unsigned int &gt; &amp;UNUSED(denominations), const std::vector&lt; <a class="el" href="structBigInt.html">BigInt</a> &gt; &amp;UNUSED(mint_key_ids)) override</td></tr> const std::vector&lt; <a class="el" href="structMintKeyCert.html">MintKeyCert</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getMKCs</b> (const std::vector&lt; unsigned int &gt; &amp;UNUSED(denominations), const std::vector&lt; <a class="el" href="structBigInt.html">BigInt</a> &gt; &amp;UNUSED(mint_key_ids)) override</td></tr>
<tr class="separator:a0bd7febf573385d72f89af6da3fccf68"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aedb14c2106938ccc12d17fdb2c2ddf27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f3231d6aa8a3234455076358f91df2"><td class="memItemLeft" align="right" valign="top"><a id="a12f3231d6aa8a3234455076358f91df2"></a> <tr class="memitem:a12f3231d6aa8a3234455076358f91df2"><td class="memItemLeft" align="right" valign="top"><a id="a12f3231d6aa8a3234455076358f91df2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>redeem</b> (const std::vector&lt; <a class="el" href="structCoin.html">Coin</a> &gt; &amp;UNUSED(coins)) override</td></tr> bool&#160;</td><td class="memItemRight" valign="bottom"><b>redeem</b> (const std::vector&lt; <a class="el" href="structCoin.html">Coin</a> &gt; &amp;UNUSED(coins)) override</td></tr>
<tr class="separator:a12f3231d6aa8a3234455076358f91df2"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a12f3231d6aa8a3234455076358f91df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classModel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classModel')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classModel.html">Model</a></td></tr> <tr class="inherit_header pub_methods_classModel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classModel')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classModel.html">Model</a></td></tr>
<tr class="memitem:a022e8d797bf57d111a1ce5bd229f41ea inherit pub_methods_classModel"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="structMintKeyCert.html">MintKeyCert</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">getMKCs</a> (const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; <a class="el" href="structBigInt.html">BigInt</a> &gt; &amp;mint_key_ids)=0</td></tr> <tr class="memitem:aed0ea733af94f2d4e08c24b2fa4df56f inherit pub_methods_classModel"><td class="memItemLeft" align="right" valign="top">virtual const std::vector&lt; <a class="el" href="structMintKeyCert.html">MintKeyCert</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">getMKCs</a> (const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; <a class="el" href="structBigInt.html">BigInt</a> &gt; &amp;mint_key_ids)=0</td></tr>
<tr class="separator:a022e8d797bf57d111a1ce5bd229f41ea inherit pub_methods_classModel"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aed0ea733af94f2d4e08c24b2fa4df56f inherit pub_methods_classModel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ece13ffd6258825feaaa884247ca6e2 inherit pub_methods_classModel"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="structBlindSignature.html">BlindSignature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">mint</a> (std::string const &amp;transaction_reference, const std::vector&lt; <a class="el" href="structBlind.html">Blind</a> &gt; &amp;blinds)=0</td></tr> <tr class="memitem:a0ece13ffd6258825feaaa884247ca6e2 inherit pub_methods_classModel"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="structBlindSignature.html">BlindSignature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">mint</a> (std::string const &amp;transaction_reference, const std::vector&lt; <a class="el" href="structBlind.html">Blind</a> &gt; &amp;blinds)=0</td></tr>
<tr class="separator:a0ece13ffd6258825feaaa884247ca6e2 inherit pub_methods_classModel"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a0ece13ffd6258825feaaa884247ca6e2 inherit pub_methods_classModel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ae6086fd6ccc2dc34714c2f976258a inherit pub_methods_classModel"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a> (const std::vector&lt; <a class="el" href="structCoin.html">Coin</a> &gt; &amp;coins)=0</td></tr> <tr class="memitem:a14ae6086fd6ccc2dc34714c2f976258a inherit pub_methods_classModel"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a> (const std::vector&lt; <a class="el" href="structCoin.html">Coin</a> &gt; &amp;coins)=0</td></tr>
@ -114,14 +114,14 @@ bool&#160;</td><td class="memItemRight" valign="bottom"><b>redeem</b> (const std
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr> Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classModel"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classModel')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classModel.html">Model</a></td></tr> <tr class="inherit_header pub_static_methods_classModel"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classModel')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classModel.html">Model</a></td></tr>
<tr class="memitem:a0f33afb8d901d61f93ed7d6f7560403a inherit pub_static_methods_classModel"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classModel.html">Model</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">get_model</a> (const std::string &amp;backend_name)</td></tr> <tr class="memitem:a638b943a2de45e4faba934fbe6ae8055 inherit pub_static_methods_classModel"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classModel.html">Model</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">getModel</a> (const std::string &amp;backend_name)</td></tr>
<tr class="separator:a0f33afb8d901d61f93ed7d6f7560403a inherit pub_static_methods_classModel"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a638b943a2de45e4faba934fbe6ae8055 inherit pub_static_methods_classModel"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table> </table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>this is for now our sample model </p> <div class="textblock"><p>this is for now our sample model </p>
</div><h2 class="groupheader">Member Function Documentation</h2> </div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a5d57be9ead842ec3385144f7caa9524e"></a> <a id="a3f3db55e24aada8f0f4828529a04ef0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d57be9ead842ec3385144f7caa9524e">&#9670;&nbsp;</a></span>get_cddc()</h2> <h2 class="memtitle"><span class="permalink"><a href="#a3f3db55e24aada8f0f4828529a04ef0d">&#9670;&nbsp;</a></span>getCDDC()</h2>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
@ -130,7 +130,7 @@ Additional Inherited Members</h2></td></tr>
<td class="mlabels-left"> <td class="mlabels-left">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; DefaultModel::get_cddc </td> <td class="memname">tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; DefaultModel::getCDDC </td>
<td>(</td> <td>(</td>
<td class="paramtype">unsigned int&#160;</td> <td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>cdd_serial</em></td><td>)</td> <td class="paramname"><em>cdd_serial</em></td><td>)</td>
@ -145,12 +145,12 @@ Additional Inherited Members</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>return the CurrencyDocumentDescription certifikate for a specific serial version number of it. <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl> <p>return the CurrencyDocumentDescription certifikate for a specific serial version number of it. <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl>
<p>Implements <a class="el" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">Model</a>.</p> <p>Implements <a class="el" href="classModel.html#a694101d09f26963cb3b4059779604ed5">Model</a>.</p>
</div> </div>
</div> </div>
<a id="a24f870ad579abc50dc3140dc68fa89fa"></a> <a id="a879560588eadf03168fb720751044295"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24f870ad579abc50dc3140dc68fa89fa">&#9670;&nbsp;</a></span>get_current_cddc()</h2> <h2 class="memtitle"><span class="permalink"><a href="#a879560588eadf03168fb720751044295">&#9670;&nbsp;</a></span>getCurrentCDDC()</h2>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
@ -159,7 +159,7 @@ Additional Inherited Members</h2></td></tr>
<td class="mlabels-left"> <td class="mlabels-left">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; DefaultModel::get_current_cddc </td> <td class="memname">tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; DefaultModel::getCurrentCDDC </td>
<td>(</td> <td>(</td>
<td class="paramname"></td><td>)</td> <td class="paramname"></td><td>)</td>
<td></td> <td></td>
@ -173,7 +173,7 @@ Additional Inherited Members</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>return the CurrencyDocumentDescription certifikate <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl> <p>return the CurrencyDocumentDescription certifikate <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl>
<p>Implements <a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">Model</a>.</p> <p>Implements <a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">Model</a>.</p>
</div> </div>
</div> </div>

View File

@ -69,13 +69,13 @@ $(function() {
<p>This is the complete list of members for <a class="el" href="classModel.html">Model</a>, including all inherited members.</p> <p>This is the complete list of members for <a class="el" href="classModel.html">Model</a>, including all inherited members.</p>
<table class="directory"> <table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">get_cddc</a>(unsigned int cdd_serial)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classModel.html#a694101d09f26963cb3b4059779604ed5">getCDDC</a>(unsigned int cdd_serial)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">get_current_cddc</a>()=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">getCurrentCDDC</a>()=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">get_model</a>(const std::string &amp;backend_name)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">static</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">getMKCs</a>(const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; BigInt &gt; &amp;mint_key_ids)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">getMKCs</a>(const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; BigInt &gt; &amp;mint_key_ids)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">getModel</a>(const std::string &amp;backend_name)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">mint</a>(std::string const &amp;transaction_reference, const std::vector&lt; Blind &gt; &amp;blinds)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">mint</a>(std::string const &amp;transaction_reference, const std::vector&lt; Blind &gt; &amp;blinds)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a>(const std::vector&lt; Coin &gt; &amp;coins)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a>(const std::vector&lt; Coin &gt; &amp;coins)=0</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Model</b>()=default (defined in <a class="el" href="classModel.html">Model</a>)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Model</b>() (defined in <a class="el" href="classModel.html">Model</a>)</td><td class="entry"><a class="el" href="classModel.html">Model</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View File

@ -82,12 +82,12 @@ Inheritance diagram for Model:</div>
<table class="memberdecls"> <table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr> Public Member Functions</h2></td></tr>
<tr class="memitem:af4e5cca587cec5d56c955a797cc4295f"><td class="memItemLeft" align="right" valign="top">virtual tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">get_cddc</a> (unsigned int cdd_serial)=0</td></tr> <tr class="memitem:a694101d09f26963cb3b4059779604ed5"><td class="memItemLeft" align="right" valign="top">virtual tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a694101d09f26963cb3b4059779604ed5">getCDDC</a> (unsigned int cdd_serial)=0</td></tr>
<tr class="separator:af4e5cca587cec5d56c955a797cc4295f"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a694101d09f26963cb3b4059779604ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50d7fc134c43bc28045a7993ff2f2ca5"><td class="memItemLeft" align="right" valign="top">virtual tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">get_current_cddc</a> ()=0</td></tr> <tr class="memitem:a2a6e8779505b4c9b2e61328a9e870981"><td class="memItemLeft" align="right" valign="top">virtual tl::expected&lt; <a class="el" href="structCDDC.html">CDDC</a> *, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">getCurrentCDDC</a> ()=0</td></tr>
<tr class="separator:a50d7fc134c43bc28045a7993ff2f2ca5"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a2a6e8779505b4c9b2e61328a9e870981"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a022e8d797bf57d111a1ce5bd229f41ea"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="structMintKeyCert.html">MintKeyCert</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">getMKCs</a> (const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; <a class="el" href="structBigInt.html">BigInt</a> &gt; &amp;mint_key_ids)=0</td></tr> <tr class="memitem:aed0ea733af94f2d4e08c24b2fa4df56f"><td class="memItemLeft" align="right" valign="top">virtual const std::vector&lt; <a class="el" href="structMintKeyCert.html">MintKeyCert</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">getMKCs</a> (const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; <a class="el" href="structBigInt.html">BigInt</a> &gt; &amp;mint_key_ids)=0</td></tr>
<tr class="separator:a022e8d797bf57d111a1ce5bd229f41ea"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aed0ea733af94f2d4e08c24b2fa4df56f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ece13ffd6258825feaaa884247ca6e2"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="structBlindSignature.html">BlindSignature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">mint</a> (std::string const &amp;transaction_reference, const std::vector&lt; <a class="el" href="structBlind.html">Blind</a> &gt; &amp;blinds)=0</td></tr> <tr class="memitem:a0ece13ffd6258825feaaa884247ca6e2"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="structBlindSignature.html">BlindSignature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">mint</a> (std::string const &amp;transaction_reference, const std::vector&lt; <a class="el" href="structBlind.html">Blind</a> &gt; &amp;blinds)=0</td></tr>
<tr class="separator:a0ece13ffd6258825feaaa884247ca6e2"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a0ece13ffd6258825feaaa884247ca6e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ae6086fd6ccc2dc34714c2f976258a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a> (const std::vector&lt; <a class="el" href="structCoin.html">Coin</a> &gt; &amp;coins)=0</td></tr> <tr class="memitem:a14ae6086fd6ccc2dc34714c2f976258a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a> (const std::vector&lt; <a class="el" href="structCoin.html">Coin</a> &gt; &amp;coins)=0</td></tr>
@ -95,12 +95,12 @@ Public Member Functions</h2></td></tr>
</table><table class="memberdecls"> </table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr> Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0f33afb8d901d61f93ed7d6f7560403a"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classModel.html">Model</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">get_model</a> (const std::string &amp;backend_name)</td></tr> <tr class="memitem:a638b943a2de45e4faba934fbe6ae8055"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr&lt; <a class="el" href="classModel.html">Model</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">getModel</a> (const std::string &amp;backend_name)</td></tr>
<tr class="separator:a0f33afb8d901d61f93ed7d6f7560403a"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:a638b943a2de45e4faba934fbe6ae8055"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table> </table>
<h2 class="groupheader">Member Function Documentation</h2> <h2 class="groupheader">Member Function Documentation</h2>
<a id="af4e5cca587cec5d56c955a797cc4295f"></a> <a id="a694101d09f26963cb3b4059779604ed5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4e5cca587cec5d56c955a797cc4295f">&#9670;&nbsp;</a></span>get_cddc()</h2> <h2 class="memtitle"><span class="permalink"><a href="#a694101d09f26963cb3b4059779604ed5">&#9670;&nbsp;</a></span>getCDDC()</h2>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
@ -109,7 +109,7 @@ Static Public Member Functions</h2></td></tr>
<td class="mlabels-left"> <td class="mlabels-left">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">virtual tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; Model::get_cddc </td> <td class="memname">virtual tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; Model::getCDDC </td>
<td>(</td> <td>(</td>
<td class="paramtype">unsigned int&#160;</td> <td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>cdd_serial</em></td><td>)</td> <td class="paramname"><em>cdd_serial</em></td><td>)</td>
@ -124,12 +124,12 @@ Static Public Member Functions</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>return the CurrencyDocumentDescription certifikate for a specific serial version number of it. <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl> <p>return the CurrencyDocumentDescription certifikate for a specific serial version number of it. <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl>
<p>Implemented in <a class="el" href="classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e">DefaultModel</a>.</p> <p>Implemented in <a class="el" href="classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d">DefaultModel</a>.</p>
</div> </div>
</div> </div>
<a id="a50d7fc134c43bc28045a7993ff2f2ca5"></a> <a id="a2a6e8779505b4c9b2e61328a9e870981"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50d7fc134c43bc28045a7993ff2f2ca5">&#9670;&nbsp;</a></span>get_current_cddc()</h2> <h2 class="memtitle"><span class="permalink"><a href="#a2a6e8779505b4c9b2e61328a9e870981">&#9670;&nbsp;</a></span>getCurrentCDDC()</h2>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
@ -138,7 +138,7 @@ Static Public Member Functions</h2></td></tr>
<td class="mlabels-left"> <td class="mlabels-left">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">virtual tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; Model::get_current_cddc </td> <td class="memname">virtual tl::expected&lt;<a class="el" href="structCDDC.html">CDDC</a> *, bool&gt; Model::getCurrentCDDC </td>
<td>(</td> <td>(</td>
<td class="paramname"></td><td>)</td> <td class="paramname"></td><td>)</td>
<td></td> <td></td>
@ -152,12 +152,12 @@ Static Public Member Functions</h2></td></tr>
</div><div class="memdoc"> </div><div class="memdoc">
<p>return the CurrencyDocumentDescription certifikate <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl> <p>return the CurrencyDocumentDescription certifikate <a href="https://opencoin.org/0.4/schemata.html#cddc">see spec</a> </p><dl class="section return"><dt>Returns</dt><dd>returns a pointer to the <a class="el" href="structCDDC.html">CDDC</a> if successful, false otherwise </dd></dl>
<p>Implemented in <a class="el" href="classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa">DefaultModel</a>.</p> <p>Implemented in <a class="el" href="classDefaultModel.html#a879560588eadf03168fb720751044295">DefaultModel</a>.</p>
</div> </div>
</div> </div>
<a id="a0f33afb8d901d61f93ed7d6f7560403a"></a> <a id="aed0ea733af94f2d4e08c24b2fa4df56f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f33afb8d901d61f93ed7d6f7560403a">&#9670;&nbsp;</a></span>get_model()</h2> <h2 class="memtitle"><span class="permalink"><a href="#aed0ea733af94f2d4e08c24b2fa4df56f">&#9670;&nbsp;</a></span>getMKCs()</h2>
<div class="memitem"> <div class="memitem">
<div class="memproto"> <div class="memproto">
@ -166,40 +166,7 @@ Static Public Member Functions</h2></td></tr>
<td class="mlabels-left"> <td class="mlabels-left">
<table class="memname"> <table class="memname">
<tr> <tr>
<td class="memname">std::unique_ptr&lt; <a class="el" href="classModel.html">Model</a> &gt; Model::get_model </td> <td class="memname">virtual const std::vector&lt;<a class="el" href="structMintKeyCert.html">MintKeyCert</a>&gt; Model::getMKCs </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>backend_name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>factory function returning a concrete backend for Opencoin API handling. based on backend_name a concrete backend will be returned or in case of error null. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">backend_name</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to backend instance or null on invalid backend name </dd></dl>
</div>
</div>
<a id="a022e8d797bf57d111a1ce5bd229f41ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a022e8d797bf57d111a1ce5bd229f41ea">&#9670;&nbsp;</a></span>getMKCs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual std::vector&lt;<a class="el" href="structMintKeyCert.html">MintKeyCert</a>&gt; Model::getMKCs </td>
<td>(</td> <td>(</td>
<td class="paramtype">const std::vector&lt; unsigned int &gt; &amp;&#160;</td> <td class="paramtype">const std::vector&lt; unsigned int &gt; &amp;&#160;</td>
<td class="paramname"><em>denominations</em>, </td> <td class="paramname"><em>denominations</em>, </td>
@ -232,6 +199,39 @@ Static Public Member Functions</h2></td></tr>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>mint key certificates for given denominations and mint_key_ids </dd></dl> <dl class="section return"><dt>Returns</dt><dd>mint key certificates for given denominations and mint_key_ids </dd></dl>
</div>
</div>
<a id="a638b943a2de45e4faba934fbe6ae8055"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638b943a2de45e4faba934fbe6ae8055">&#9670;&nbsp;</a></span>getModel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt; <a class="el" href="classModel.html">Model</a> &gt; Model::getModel </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>backend_name</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>factory function returning a concrete backend for Opencoin API handling. based on backend_name a concrete backend will be returned or in case of error null. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">backend_name</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to backend instance or null on invalid backend name </dd></dl>
</div> </div>
</div> </div>
<a id="a0ece13ffd6258825feaaa884247ca6e2"></a> <a id="a0ece13ffd6258825feaaa884247ca6e2"></a>

View File

@ -86,19 +86,19 @@ $(function() {
, <a class="el" href="structRequestCDDCSerial.html#a2c3a8d2f7870a0a6a0fa1c96ca010163">RequestCDDCSerial</a> , <a class="el" href="structRequestCDDCSerial.html#a2c3a8d2f7870a0a6a0fa1c96ca010163">RequestCDDCSerial</a>
, <a class="el" href="structRequestRedeem.html#ad5887360cbfaef5690485650eb44a28b">RequestRedeem</a> , <a class="el" href="structRequestRedeem.html#ad5887360cbfaef5690485650eb44a28b">RequestRedeem</a>
</li> </li>
<li>get_cddc() <li>getCDDC()
: <a class="el" href="classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e">DefaultModel</a> : <a class="el" href="classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d">DefaultModel</a>
, <a class="el" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">Model</a> , <a class="el" href="classModel.html#a694101d09f26963cb3b4059779604ed5">Model</a>
</li> </li>
<li>get_current_cddc() <li>getCurrentCDDC()
: <a class="el" href="classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa">DefaultModel</a> : <a class="el" href="classDefaultModel.html#a879560588eadf03168fb720751044295">DefaultModel</a>
, <a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">Model</a> , <a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">Model</a>
</li>
<li>get_model()
: <a class="el" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">Model</a>
</li> </li>
<li>getMKCs() <li>getMKCs()
: <a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">Model</a> : <a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">Model</a>
</li>
<li>getModel()
: <a class="el" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">Model</a>
</li> </li>
<li>id <li>id
: <a class="el" href="structCDD.html#acfb668ef274bb89fb1ba2e64a164c26c">CDD</a> : <a class="el" href="structCDD.html#acfb668ef274bb89fb1ba2e64a164c26c">CDD</a>

View File

@ -68,19 +68,19 @@ $(function() {
, <a class="el" href="structRequestCDDCSerial.html#a2c3a8d2f7870a0a6a0fa1c96ca010163">RequestCDDCSerial</a> , <a class="el" href="structRequestCDDCSerial.html#a2c3a8d2f7870a0a6a0fa1c96ca010163">RequestCDDCSerial</a>
, <a class="el" href="structRequestRedeem.html#ad5887360cbfaef5690485650eb44a28b">RequestRedeem</a> , <a class="el" href="structRequestRedeem.html#ad5887360cbfaef5690485650eb44a28b">RequestRedeem</a>
</li> </li>
<li>get_cddc() <li>getCDDC()
: <a class="el" href="classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e">DefaultModel</a> : <a class="el" href="classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d">DefaultModel</a>
, <a class="el" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">Model</a> , <a class="el" href="classModel.html#a694101d09f26963cb3b4059779604ed5">Model</a>
</li> </li>
<li>get_current_cddc() <li>getCurrentCDDC()
: <a class="el" href="classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa">DefaultModel</a> : <a class="el" href="classDefaultModel.html#a879560588eadf03168fb720751044295">DefaultModel</a>
, <a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">Model</a> , <a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">Model</a>
</li>
<li>get_model()
: <a class="el" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">Model</a>
</li> </li>
<li>getMKCs() <li>getMKCs()
: <a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">Model</a> : <a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">Model</a>
</li>
<li>getModel()
: <a class="el" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">Model</a>
</li> </li>
<li>mint() <li>mint()
: <a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model</a> : <a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model</a>

View File

@ -78,11 +78,11 @@ opencoin issuer</h1>
<tr class="markdownTableHead"> <tr class="markdownTableHead">
<th class="markdownTableHeadLeft">Request </th><th class="markdownTableHeadLeft">URL </th><th class="markdownTableHeadLeft"><a class="el" href="structResponse.html">Response</a> </th><th class="markdownTableHeadLeft">C++ Interface Method </th></tr> <th class="markdownTableHeadLeft">Request </th><th class="markdownTableHeadLeft">URL </th><th class="markdownTableHeadLeft"><a class="el" href="structResponse.html">Response</a> </th><th class="markdownTableHeadLeft">C++ Interface Method </th></tr>
<tr class="markdownTableRowOdd"> <tr class="markdownTableRowOdd">
<td class="markdownTableBodyLeft"><a class="el" href="structRequestCDDCSerial.html">RequestCDDCSerial</a> </td><td class="markdownTableBodyLeft">/cddc/serial </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseCDDCSerial.html">ResponseCDDCSerial</a> </td><td class="markdownTableBodyLeft">cdd.cdd_serial of <a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">Model::get_current_cddc()</a> </td></tr> <td class="markdownTableBodyLeft"><a class="el" href="structRequestCDDCSerial.html">RequestCDDCSerial</a> </td><td class="markdownTableBodyLeft">/cddc/serial </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseCDDCSerial.html">ResponseCDDCSerial</a> </td><td class="markdownTableBodyLeft">cdd.cdd_serial of <a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">Model::getCurrentCDDC()</a> </td></tr>
<tr class="markdownTableRowEven"> <tr class="markdownTableRowEven">
<td class="markdownTableBodyLeft"><a class="el" href="structRequestCDDC.html">RequestCDDC</a> </td><td class="markdownTableBodyLeft">/cddc </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseCDDC.html">ResponseCDDC</a> </td><td class="markdownTableBodyLeft"><a class="el" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">Model::get_current_cddc()</a> </td></tr> <td class="markdownTableBodyLeft"><a class="el" href="structRequestCDDC.html">RequestCDDC</a> </td><td class="markdownTableBodyLeft">/cddc </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseCDDC.html">ResponseCDDC</a> </td><td class="markdownTableBodyLeft"><a class="el" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">Model::getCurrentCDDC()</a> </td></tr>
<tr class="markdownTableRowOdd"> <tr class="markdownTableRowOdd">
<td class="markdownTableBodyLeft"><a class="el" href="structRequestMKCs.html">RequestMKCs</a> </td><td class="markdownTableBodyLeft">/mkcs </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseMKCs.html">ResponseMKCs</a> </td><td class="markdownTableBodyLeft"><a class="el" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">Model::getMKCs</a> </td></tr> <td class="markdownTableBodyLeft"><a class="el" href="structRequestMKCs.html">RequestMKCs</a> </td><td class="markdownTableBodyLeft">/mkcs </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseMKCs.html">ResponseMKCs</a> </td><td class="markdownTableBodyLeft"><a class="el" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">Model::getMKCs</a> </td></tr>
<tr class="markdownTableRowEven"> <tr class="markdownTableRowEven">
<td class="markdownTableBodyLeft"><a class="el" href="structRequestMint.html">RequestMint</a> </td><td class="markdownTableBodyLeft">/mint </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseMint.html">ResponseMint</a> </td><td class="markdownTableBodyLeft"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model::mint</a> </td></tr> <td class="markdownTableBodyLeft"><a class="el" href="structRequestMint.html">RequestMint</a> </td><td class="markdownTableBodyLeft">/mint </td><td class="markdownTableBodyLeft"><a class="el" href="structResponseMint.html">ResponseMint</a> </td><td class="markdownTableBodyLeft"><a class="el" href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model::mint</a> </td></tr>
<tr class="markdownTableRowOdd"> <tr class="markdownTableRowOdd">

View File

@ -70,8 +70,8 @@ $(function() {
<div class="title">model.hpp</div> </div> <div class="title">model.hpp</div> </div>
</div><!--header--> </div><!--header-->
<div class="contents"> <div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef OC_ISSUER_MODEL_HPP</span></div> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef MODEL_HPP</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define OC_ISSUER_MODEL_HPP</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define MODEL_HPP</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;chrono&gt;</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;chrono&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
@ -87,14 +87,14 @@ $(function() {
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> modulus; <span class="comment">//: &quot;daaa63ddda38c189b8c49020c8276adbe0a695685a...&quot;,</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> modulus; <span class="comment">//: &quot;daaa63ddda38c189b8c49020c8276adbe0a695685a...&quot;,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> public_exponent;<span class="comment">//: 65537,</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> public_exponent;<span class="comment">//: 65537,</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;};</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; </div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structWeightedUrl.html"> 21</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structWeightedUrl.html">WeightedUrl</a> {</div> <div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structWeightedUrl.html"> 21</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structWeightedUrl.html">WeightedUrl</a> {</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; uint32_t weight;</div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; uint32_t weight;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; std::string url;</div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; std::string url;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;};</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; </div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structCDD.html"> 34</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCDD.html">CDD</a> {</div> <div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structCDD.html"> 34</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCDD.html">CDD</a> {</div>
@ -119,14 +119,14 @@ $(function() {
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; std::vector&lt;WeightedUrl&gt; redeem_service;</div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; std::vector&lt;WeightedUrl&gt; redeem_service;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; std::vector&lt;WeightedUrl&gt; renew_service;</div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; std::vector&lt;WeightedUrl&gt; renew_service;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;};</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;};</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structCDDC.html"> 64</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCDDC.html">CDDC</a> {</div> <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structCDDC.html"> 64</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCDDC.html">CDDC</a> {</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="structCDD.html">CDD</a> cdd;</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="structCDD.html">CDD</a> cdd;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; std::string signature;</div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; std::string signature;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;};</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;};</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structMintKey.html"> 71</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structMintKey.html">MintKey</a> {</div> <div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structMintKey.html"> 71</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structMintKey.html">MintKey</a> {</div>
@ -140,14 +140,14 @@ $(function() {
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; std::string sign_coins_not_after;</div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; std::string sign_coins_not_after;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; std::string sign_coins_not_before;</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; std::string sign_coins_not_before;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">// &quot;type&quot;: &quot;mint key&quot;</span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">// &quot;type&quot;: &quot;mint key&quot;</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;};</div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;};</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div> <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structMintKeyCert.html"> 85</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structMintKeyCert.html">MintKeyCert</a> {</div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structMintKeyCert.html"> 85</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structMintKeyCert.html">MintKeyCert</a> {</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="structMintKey.html">MintKey</a> mint_key;</div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="structMintKey.html">MintKey</a> mint_key;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::string signature;</div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::string signature;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;};</div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;};</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="keyword">enum class</span> eError {</div> <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="keyword">enum class</span> eError {</div>
@ -164,7 +164,7 @@ $(function() {
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> status_code;</div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> status_code;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::string status_description;</div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::string status_description;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; [[nodiscard]] <span class="keyword">virtual</span> crow::json::wvalue to_json() <span class="keyword">const</span>=0;</div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keyword">virtual</span> crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;};</div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;};</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structRequestCDDCSerial.html"> 109</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestCDDCSerial.html">RequestCDDCSerial</a> {</div> <div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structRequestCDDCSerial.html"> 109</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestCDDCSerial.html">RequestCDDCSerial</a> {</div>
@ -174,9 +174,9 @@ $(function() {
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;};</div> <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;};</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; </div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structResponseCDDCSerial.html"> 116</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseCDDCSerial.html">ResponseCDDCSerial</a> : <a class="code" href="structResponse.html">Response</a> {</div> <div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structResponseCDDCSerial.html"> 116</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseCDDCSerial.html">ResponseCDDCSerial</a> : <a class="code" href="structResponse.html">Response</a> {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cdd_serial{0U};</div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cdd_serial;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const override</span>;</div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; crow::json::wvalue to_json() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;};</div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;};</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structRequestCDDC.html"> 122</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestCDDC.html">RequestCDDC</a> {</div> <div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structRequestCDDC.html"> 122</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestCDDC.html">RequestCDDC</a> {</div>
@ -188,7 +188,7 @@ $(function() {
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structResponseCDDC.html"> 129</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseCDDC.html">ResponseCDDC</a> : <a class="code" href="structResponse.html">Response</a> {</div> <div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structResponseCDDC.html"> 129</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseCDDC.html">ResponseCDDC</a> : <a class="code" href="structResponse.html">Response</a> {</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="structCDDC.html">CDDC</a> cddc;</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="structCDDC.html">CDDC</a> cddc;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const override</span>;</div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; crow::json::wvalue to_json() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;};</div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;};</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; </div> <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structRequestMKCs.html"> 135</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestMKCs.html">RequestMKCs</a> {</div> <div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structRequestMKCs.html"> 135</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestMKCs.html">RequestMKCs</a> {</div>
@ -202,21 +202,21 @@ $(function() {
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structResponseMKCs.html"> 144</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseMKCs.html">ResponseMKCs</a> : <a class="code" href="structResponse.html">Response</a> {</div> <div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structResponseMKCs.html"> 144</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseMKCs.html">ResponseMKCs</a> : <a class="code" href="structResponse.html">Response</a> {</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; std::vector&lt;MintKeyCert&gt; keys;</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; std::vector&lt;MintKeyCert&gt; keys;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const override</span>;</div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; crow::json::wvalue to_json() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;};</div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;};</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structBlind.html"> 150</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structBlind.html">Blind</a> {</div> <div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structBlind.html"> 150</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structBlind.html">Blind</a> {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> blinded_payload_hash; <span class="comment">//bigint</span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> blinded_payload_hash; <span class="comment">//bigint</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> mint_key_id; <span class="comment">//bigint</span></div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> mint_key_id; <span class="comment">//bigint</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; std::string reference;</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; std::string reference;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keyword">static</span> tl::expected&lt;Blind, eError&gt; from_json(<span class="keyword">const</span> crow::json::rvalue &amp;json);</div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keyword">static</span> tl::expected&lt;Blind, eError&gt; from_json(<span class="keyword">const</span> crow::json::rvalue &amp;json);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;};</div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;};</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; </div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structBlindSignature.html"> 158</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structBlindSignature.html">BlindSignature</a> {</div> <div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structBlindSignature.html"> 158</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structBlindSignature.html">BlindSignature</a> {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> blind_signature;</div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> blind_signature;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; std::string reference;</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; std::string reference;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;};</div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;};</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structRequestMint.html"> 164</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestMint.html">RequestMint</a> {</div> <div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structRequestMint.html"> 164</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestMint.html">RequestMint</a> {</div>
@ -230,7 +230,7 @@ $(function() {
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structResponseMint.html"> 173</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseMint.html">ResponseMint</a> : <a class="code" href="structResponse.html">Response</a> {</div> <div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structResponseMint.html"> 173</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseMint.html">ResponseMint</a> : <a class="code" href="structResponse.html">Response</a> {</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; std::vector&lt;BlindSignature&gt; blind_signatures;</div> <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; std::vector&lt;BlindSignature&gt; blind_signatures;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; </div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const override</span>;</div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; crow::json::wvalue to_json() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;};</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;};</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structCoin.html"> 179</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCoin.html">Coin</a> {</div> <div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structCoin.html"> 179</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structCoin.html">Coin</a> {</div>
@ -241,15 +241,15 @@ $(function() {
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> mint_key_id;</div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> mint_key_id;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; std::string protocol_version;</div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; std::string protocol_version;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> serial;</div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="structBigInt.html">BigInt</a> serial;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; </div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>; </div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keyword">static</span> tl::expected&lt;Payload,eError&gt; from_json(<span class="keyword">const</span> crow::json::rvalue&amp; json);</div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keyword">static</span> tl::expected&lt;Payload,eError&gt; from_json(<span class="keyword">const</span> crow::json::rvalue&amp; json);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; };</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; };</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="code" href="structCoin_1_1Payload.html">Payload</a> payload;</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="code" href="structCoin_1_1Payload.html">Payload</a> payload;</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; std::string signature;</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; std::string signature;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keyword">static</span> tl::expected&lt;Coin, eError&gt; from_json(<span class="keyword">const</span> crow::json::rvalue &amp;json);</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keyword">static</span> tl::expected&lt;Coin, eError&gt; from_json(<span class="keyword">const</span> crow::json::rvalue &amp;json);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;};</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;};</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; </div>
@ -257,7 +257,7 @@ $(function() {
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; std::vector&lt;Coin&gt; coins;</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; std::vector&lt;Coin&gt; coins;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; std::string subject;</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; std::string subject;</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="comment">// &quot;type&quot;: &quot;coinstack&quot;</span></div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="comment">// &quot;type&quot;: &quot;coinstack&quot;</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const</span>;</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; crow::json::wvalue to_json() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;};</div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;};</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="structRequestRenew.html"> 206</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestRenew.html">RequestRenew</a> {</div> <div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="structRequestRenew.html"> 206</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestRenew.html">RequestRenew</a> {</div>
@ -270,7 +270,7 @@ $(function() {
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;};</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;};</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; </div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structResponseDelay.html"> 216</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseDelay.html">ResponseDelay</a> : <a class="code" href="structResponse.html">Response</a> {</div> <div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structResponseDelay.html"> 216</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseDelay.html">ResponseDelay</a> : <a class="code" href="structResponse.html">Response</a> {</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const override</span>;</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; crow::json::wvalue to_json() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;};</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;};</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structRequestResume.html"> 220</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestResume.html">RequestResume</a> {</div> <div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structRequestResume.html"> 220</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structRequestResume.html">RequestResume</a> {</div>
@ -290,18 +290,18 @@ $(function() {
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;};</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;};</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; </div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structResponseRedeem.html"> 238</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseRedeem.html">ResponseRedeem</a> : <a class="code" href="structResponse.html">Response</a> {</div> <div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structResponseRedeem.html"> 238</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structResponseRedeem.html">ResponseRedeem</a> : <a class="code" href="structResponse.html">Response</a> {</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; [[nodiscard]] crow::json::wvalue to_json() <span class="keyword">const override</span>;</div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; crow::json::wvalue to_json() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;};</div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;};</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; </div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classModel.html"> 242</a></span>&#160;<span class="keyword">class </span><a class="code" href="classModel.html">Model</a> {</div> <div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classModel.html"> 242</a></span>&#160;<span class="keyword">class </span><a class="code" href="classModel.html">Model</a> {</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="keyword">public</span>:</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classModel.html">Model</a>()=<span class="keywordflow">default</span>;</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classModel.html">Model</a>(){};</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; </div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f"> 252</a></span>&#160; <span class="keyword">virtual</span> tl::expected&lt;CDDC *, bool&gt; <a class="code" href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">get_cddc</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cdd_serial) = 0;</div> <div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classModel.html#a694101d09f26963cb3b4059779604ed5"> 252</a></span>&#160; <span class="keyword">virtual</span> tl::expected&lt;CDDC *, bool&gt; <a class="code" href="classModel.html#a694101d09f26963cb3b4059779604ed5">getCDDC</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cdd_serial) = 0;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="keyword">virtual</span> tl::expected&lt;CDDC *, bool&gt; <a class="code" href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">get_current_cddc</a>() = 0;</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="keyword">virtual</span> tl::expected&lt;CDDC *, bool&gt; <a class="code" href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">getCurrentCDDC</a>() = 0;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; </div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keyword">virtual</span> std::vector&lt;MintKeyCert&gt;</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> std::vector&lt;MintKeyCert&gt;</div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea"> 270</a></span>&#160; <a class="code" href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">getMKCs</a>(<span class="keyword">const</span> std::vector&lt;unsigned int&gt; &amp;denominations,</div> <div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f"> 270</a></span>&#160; <a class="code" href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">getMKCs</a>(<span class="keyword">const</span> std::vector&lt;unsigned int&gt; &amp;denominations,</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keyword">const</span> std::vector&lt;BigInt&gt; &amp;mint_key_ids) = 0;</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keyword">const</span> std::vector&lt;BigInt&gt; &amp;mint_key_ids) = 0;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; </div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; </div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; </div>
@ -311,19 +311,19 @@ $(function() {
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; </div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a"> 293</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a>(<span class="keyword">const</span> std::vector&lt;Coin&gt; &amp;coins) = 0;</div> <div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a"> 293</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">redeem</a>(<span class="keyword">const</span> std::vector&lt;Coin&gt; &amp;coins) = 0;</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; </div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">static</span> std::unique_ptr&lt;Model&gt; <a class="code" href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">get_model</a>(<span class="keyword">const</span> std::string &amp;backend_name);</div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; <span class="keyword">static</span> std::unique_ptr&lt;Model&gt; <a class="code" href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">getModel</a>(<span class="keyword">const</span> std::string &amp;backend_name);</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; </div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; </div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="keyword">private</span>:</div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;};</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;};</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; </div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// #ifndef OC_ISSUER_MODEL_HPP</span></div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// #ifndef MODEL_HPP</span></div>
<div class="ttc" id="aclassModel_html"><div class="ttname"><a href="classModel.html">Model</a></div><div class="ttdef"><b>Definition:</b> model.hpp:242</div></div> <div class="ttc" id="aclassModel_html"><div class="ttname"><a href="classModel.html">Model</a></div><div class="ttdef"><b>Definition:</b> model.hpp:242</div></div>
<div class="ttc" id="aclassModel_html_a022e8d797bf57d111a1ce5bd229f41ea"><div class="ttname"><a href="classModel.html#a022e8d797bf57d111a1ce5bd229f41ea">Model::getMKCs</a></div><div class="ttdeci">virtual std::vector&lt; MintKeyCert &gt; getMKCs(const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; BigInt &gt; &amp;mint_key_ids)=0</div></div>
<div class="ttc" id="aclassModel_html_a0ece13ffd6258825feaaa884247ca6e2"><div class="ttname"><a href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model::mint</a></div><div class="ttdeci">virtual std::vector&lt; BlindSignature &gt; mint(std::string const &amp;transaction_reference, const std::vector&lt; Blind &gt; &amp;blinds)=0</div></div> <div class="ttc" id="aclassModel_html_a0ece13ffd6258825feaaa884247ca6e2"><div class="ttname"><a href="classModel.html#a0ece13ffd6258825feaaa884247ca6e2">Model::mint</a></div><div class="ttdeci">virtual std::vector&lt; BlindSignature &gt; mint(std::string const &amp;transaction_reference, const std::vector&lt; Blind &gt; &amp;blinds)=0</div></div>
<div class="ttc" id="aclassModel_html_a0f33afb8d901d61f93ed7d6f7560403a"><div class="ttname"><a href="classModel.html#a0f33afb8d901d61f93ed7d6f7560403a">Model::get_model</a></div><div class="ttdeci">static std::unique_ptr&lt; Model &gt; get_model(const std::string &amp;backend_name)</div><div class="ttdef"><b>Definition:</b> model.cpp:51</div></div>
<div class="ttc" id="aclassModel_html_a14ae6086fd6ccc2dc34714c2f976258a"><div class="ttname"><a href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">Model::redeem</a></div><div class="ttdeci">virtual bool redeem(const std::vector&lt; Coin &gt; &amp;coins)=0</div></div> <div class="ttc" id="aclassModel_html_a14ae6086fd6ccc2dc34714c2f976258a"><div class="ttname"><a href="classModel.html#a14ae6086fd6ccc2dc34714c2f976258a">Model::redeem</a></div><div class="ttdeci">virtual bool redeem(const std::vector&lt; Coin &gt; &amp;coins)=0</div></div>
<div class="ttc" id="aclassModel_html_a50d7fc134c43bc28045a7993ff2f2ca5"><div class="ttname"><a href="classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5">Model::get_current_cddc</a></div><div class="ttdeci">virtual tl::expected&lt; CDDC *, bool &gt; get_current_cddc()=0</div></div> <div class="ttc" id="aclassModel_html_a2a6e8779505b4c9b2e61328a9e870981"><div class="ttname"><a href="classModel.html#a2a6e8779505b4c9b2e61328a9e870981">Model::getCurrentCDDC</a></div><div class="ttdeci">virtual tl::expected&lt; CDDC *, bool &gt; getCurrentCDDC()=0</div></div>
<div class="ttc" id="aclassModel_html_af4e5cca587cec5d56c955a797cc4295f"><div class="ttname"><a href="classModel.html#af4e5cca587cec5d56c955a797cc4295f">Model::get_cddc</a></div><div class="ttdeci">virtual tl::expected&lt; CDDC *, bool &gt; get_cddc(unsigned int cdd_serial)=0</div></div> <div class="ttc" id="aclassModel_html_a638b943a2de45e4faba934fbe6ae8055"><div class="ttname"><a href="classModel.html#a638b943a2de45e4faba934fbe6ae8055">Model::getModel</a></div><div class="ttdeci">static std::unique_ptr&lt; Model &gt; getModel(const std::string &amp;backend_name)</div><div class="ttdef"><b>Definition:</b> model.cpp:51</div></div>
<div class="ttc" id="aclassModel_html_a694101d09f26963cb3b4059779604ed5"><div class="ttname"><a href="classModel.html#a694101d09f26963cb3b4059779604ed5">Model::getCDDC</a></div><div class="ttdeci">virtual tl::expected&lt; CDDC *, bool &gt; getCDDC(unsigned int cdd_serial)=0</div></div>
<div class="ttc" id="aclassModel_html_aed0ea733af94f2d4e08c24b2fa4df56f"><div class="ttname"><a href="classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f">Model::getMKCs</a></div><div class="ttdeci">virtual const std::vector&lt; MintKeyCert &gt; getMKCs(const std::vector&lt; unsigned int &gt; &amp;denominations, const std::vector&lt; BigInt &gt; &amp;mint_key_ids)=0</div></div>
<div class="ttc" id="astructBigInt_html"><div class="ttname"><a href="structBigInt.html">BigInt</a></div><div class="ttdef"><b>Definition:</b> big_int.hpp:9</div></div> <div class="ttc" id="astructBigInt_html"><div class="ttname"><a href="structBigInt.html">BigInt</a></div><div class="ttdef"><b>Definition:</b> big_int.hpp:9</div></div>
<div class="ttc" id="astructBlindSignature_html"><div class="ttname"><a href="structBlindSignature.html">BlindSignature</a></div><div class="ttdef"><b>Definition:</b> model.hpp:158</div></div> <div class="ttc" id="astructBlindSignature_html"><div class="ttname"><a href="structBlindSignature.html">BlindSignature</a></div><div class="ttdef"><b>Definition:</b> model.hpp:158</div></div>
<div class="ttc" id="astructBlind_html"><div class="ttname"><a href="structBlind.html">Blind</a></div><div class="ttdef"><b>Definition:</b> model.hpp:150</div></div> <div class="ttc" id="astructBlind_html"><div class="ttname"><a href="structBlind.html">Blind</a></div><div class="ttdef"><b>Definition:</b> model.hpp:150</div></div>
@ -346,16 +346,16 @@ $(function() {
<div class="ttc" id="astructMintKey_html"><div class="ttname"><a href="structMintKey.html">MintKey</a></div><div class="ttdef"><b>Definition:</b> model.hpp:71</div></div> <div class="ttc" id="astructMintKey_html"><div class="ttname"><a href="structMintKey.html">MintKey</a></div><div class="ttdef"><b>Definition:</b> model.hpp:71</div></div>
<div class="ttc" id="astructPublicKey_html"><div class="ttname"><a href="structPublicKey.html">PublicKey</a></div><div class="ttdef"><b>Definition:</b> model.hpp:14</div></div> <div class="ttc" id="astructPublicKey_html"><div class="ttname"><a href="structPublicKey.html">PublicKey</a></div><div class="ttdef"><b>Definition:</b> model.hpp:14</div></div>
<div class="ttc" id="astructRequestCDDCSerial_html"><div class="ttname"><a href="structRequestCDDCSerial.html">RequestCDDCSerial</a></div><div class="ttdef"><b>Definition:</b> model.hpp:109</div></div> <div class="ttc" id="astructRequestCDDCSerial_html"><div class="ttname"><a href="structRequestCDDCSerial.html">RequestCDDCSerial</a></div><div class="ttdef"><b>Definition:</b> model.hpp:109</div></div>
<div class="ttc" id="astructRequestCDDCSerial_html_a2c3a8d2f7870a0a6a0fa1c96ca010163"><div class="ttname"><a href="structRequestCDDCSerial.html#a2c3a8d2f7870a0a6a0fa1c96ca010163">RequestCDDCSerial::from_string</a></div><div class="ttdeci">static tl::expected&lt; RequestCDDCSerial, eError &gt; from_string(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> json_serialisation.cpp:118</div></div> <div class="ttc" id="astructRequestCDDCSerial_html_a2c3a8d2f7870a0a6a0fa1c96ca010163"><div class="ttname"><a href="structRequestCDDCSerial.html#a2c3a8d2f7870a0a6a0fa1c96ca010163">RequestCDDCSerial::from_string</a></div><div class="ttdeci">static tl::expected&lt; RequestCDDCSerial, eError &gt; from_string(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> json_serialisation.cpp:116</div></div>
<div class="ttc" id="astructRequestCDDC_html"><div class="ttname"><a href="structRequestCDDC.html">RequestCDDC</a></div><div class="ttdef"><b>Definition:</b> model.hpp:122</div></div> <div class="ttc" id="astructRequestCDDC_html"><div class="ttname"><a href="structRequestCDDC.html">RequestCDDC</a></div><div class="ttdef"><b>Definition:</b> model.hpp:122</div></div>
<div class="ttc" id="astructRequestCDDC_html_a10fa0beae0700a1f6325c3ff1dcdbcde"><div class="ttname"><a href="structRequestCDDC.html#a10fa0beae0700a1f6325c3ff1dcdbcde">RequestCDDC::from_string</a></div><div class="ttdeci">static tl::expected&lt; RequestCDDC, eError &gt; from_string(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> json_serialisation.cpp:141</div></div> <div class="ttc" id="astructRequestCDDC_html_a10fa0beae0700a1f6325c3ff1dcdbcde"><div class="ttname"><a href="structRequestCDDC.html#a10fa0beae0700a1f6325c3ff1dcdbcde">RequestCDDC::from_string</a></div><div class="ttdeci">static tl::expected&lt; RequestCDDC, eError &gt; from_string(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> json_serialisation.cpp:139</div></div>
<div class="ttc" id="astructRequestCDDC_html_a17e3a072de97fe19bb50bb028640aadf"><div class="ttname"><a href="structRequestCDDC.html#a17e3a072de97fe19bb50bb028640aadf">RequestCDDC::message_reference</a></div><div class="ttdeci">unsigned int message_reference</div><div class="ttdoc">The version of the CDD. (Int)</div><div class="ttdef"><b>Definition:</b> model.hpp:124</div></div> <div class="ttc" id="astructRequestCDDC_html_a17e3a072de97fe19bb50bb028640aadf"><div class="ttname"><a href="structRequestCDDC.html#a17e3a072de97fe19bb50bb028640aadf">RequestCDDC::message_reference</a></div><div class="ttdeci">unsigned int message_reference</div><div class="ttdoc">The version of the CDD. (Int)</div><div class="ttdef"><b>Definition:</b> model.hpp:124</div></div>
<div class="ttc" id="astructRequestMKCs_html"><div class="ttname"><a href="structRequestMKCs.html">RequestMKCs</a></div><div class="ttdef"><b>Definition:</b> model.hpp:135</div></div> <div class="ttc" id="astructRequestMKCs_html"><div class="ttname"><a href="structRequestMKCs.html">RequestMKCs</a></div><div class="ttdef"><b>Definition:</b> model.hpp:135</div></div>
<div class="ttc" id="astructRequestMKCs_html_aefe2c1627c21cfb170e1b31029e39dfe"><div class="ttname"><a href="structRequestMKCs.html#aefe2c1627c21cfb170e1b31029e39dfe">RequestMKCs::mint_key_ids</a></div><div class="ttdeci">std::vector&lt; BigInt &gt; mint_key_ids</div><div class="ttdef"><b>Definition:</b> model.hpp:139</div></div> <div class="ttc" id="astructRequestMKCs_html_aefe2c1627c21cfb170e1b31029e39dfe"><div class="ttname"><a href="structRequestMKCs.html#aefe2c1627c21cfb170e1b31029e39dfe">RequestMKCs::mint_key_ids</a></div><div class="ttdeci">std::vector&lt; BigInt &gt; mint_key_ids</div><div class="ttdef"><b>Definition:</b> model.hpp:139</div></div>
<div class="ttc" id="astructRequestMint_html"><div class="ttname"><a href="structRequestMint.html">RequestMint</a></div><div class="ttdef"><b>Definition:</b> model.hpp:164</div></div> <div class="ttc" id="astructRequestMint_html"><div class="ttname"><a href="structRequestMint.html">RequestMint</a></div><div class="ttdef"><b>Definition:</b> model.hpp:164</div></div>
<div class="ttc" id="astructRequestMint_html_adf05537f29a005b9b393e66d65764ed5"><div class="ttname"><a href="structRequestMint.html#adf05537f29a005b9b393e66d65764ed5">RequestMint::transaction_reference</a></div><div class="ttdeci">BigInt transaction_reference</div><div class="ttdef"><b>Definition:</b> model.hpp:167</div></div> <div class="ttc" id="astructRequestMint_html_adf05537f29a005b9b393e66d65764ed5"><div class="ttname"><a href="structRequestMint.html#adf05537f29a005b9b393e66d65764ed5">RequestMint::transaction_reference</a></div><div class="ttdeci">BigInt transaction_reference</div><div class="ttdef"><b>Definition:</b> model.hpp:167</div></div>
<div class="ttc" id="astructRequestRedeem_html"><div class="ttname"><a href="structRequestRedeem.html">RequestRedeem</a></div><div class="ttdef"><b>Definition:</b> model.hpp:229</div></div> <div class="ttc" id="astructRequestRedeem_html"><div class="ttname"><a href="structRequestRedeem.html">RequestRedeem</a></div><div class="ttdef"><b>Definition:</b> model.hpp:229</div></div>
<div class="ttc" id="astructRequestRedeem_html_ad5887360cbfaef5690485650eb44a28b"><div class="ttname"><a href="structRequestRedeem.html#ad5887360cbfaef5690485650eb44a28b">RequestRedeem::from_string</a></div><div class="ttdeci">static tl::expected&lt; RequestRedeem, eError &gt; from_string(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> json_serialisation.cpp:441</div></div> <div class="ttc" id="astructRequestRedeem_html_ad5887360cbfaef5690485650eb44a28b"><div class="ttname"><a href="structRequestRedeem.html#ad5887360cbfaef5690485650eb44a28b">RequestRedeem::from_string</a></div><div class="ttdeci">static tl::expected&lt; RequestRedeem, eError &gt; from_string(const std::string &amp;str)</div><div class="ttdef"><b>Definition:</b> json_serialisation.cpp:439</div></div>
<div class="ttc" id="astructRequestRenew_html"><div class="ttname"><a href="structRequestRenew.html">RequestRenew</a></div><div class="ttdef"><b>Definition:</b> model.hpp:206</div></div> <div class="ttc" id="astructRequestRenew_html"><div class="ttname"><a href="structRequestRenew.html">RequestRenew</a></div><div class="ttdef"><b>Definition:</b> model.hpp:206</div></div>
<div class="ttc" id="astructRequestRenew_html_abecfb99f046dab94a03be5088aed2d0d"><div class="ttname"><a href="structRequestRenew.html#abecfb99f046dab94a03be5088aed2d0d">RequestRenew::transaction_reference</a></div><div class="ttdeci">std::string transaction_reference</div><div class="ttdef"><b>Definition:</b> model.hpp:211</div></div> <div class="ttc" id="astructRequestRenew_html_abecfb99f046dab94a03be5088aed2d0d"><div class="ttname"><a href="structRequestRenew.html#abecfb99f046dab94a03be5088aed2d0d">RequestRenew::transaction_reference</a></div><div class="ttdeci">std::string transaction_reference</div><div class="ttdef"><b>Definition:</b> model.hpp:211</div></div>
<div class="ttc" id="astructRequestResume_html"><div class="ttname"><a href="structRequestResume.html">RequestResume</a></div><div class="ttdef"><b>Definition:</b> model.hpp:220</div></div> <div class="ttc" id="astructRequestResume_html"><div class="ttname"><a href="structRequestResume.html">RequestResume</a></div><div class="ttdef"><b>Definition:</b> model.hpp:220</div></div>

View File

@ -1,7 +1,7 @@
var searchData= var searchData=
[ [
['get_5fcddc_15',['get_cddc',['../classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e',1,'DefaultModel::get_cddc()'],['../classModel.html#af4e5cca587cec5d56c955a797cc4295f',1,'Model::get_cddc()']]], ['getcddc_15',['getCDDC',['../classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d',1,'DefaultModel::getCDDC()'],['../classModel.html#a694101d09f26963cb3b4059779604ed5',1,'Model::getCDDC()']]],
['get_5fcurrent_5fcddc_16',['get_current_cddc',['../classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa',1,'DefaultModel::get_current_cddc()'],['../classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5',1,'Model::get_current_cddc()=0']]], ['getcurrentcddc_16',['getCurrentCDDC',['../classDefaultModel.html#a879560588eadf03168fb720751044295',1,'DefaultModel::getCurrentCDDC()'],['../classModel.html#a2a6e8779505b4c9b2e61328a9e870981',1,'Model::getCurrentCDDC()=0']]],
['get_5fmodel_17',['get_model',['../classModel.html#a0f33afb8d901d61f93ed7d6f7560403a',1,'Model']]], ['getmkcs_17',['getMKCs',['../classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f',1,'Model']]],
['getmkcs_18',['getMKCs',['../classModel.html#a022e8d797bf57d111a1ce5bd229f41ea',1,'Model']]] ['getmodel_18',['getModel',['../classModel.html#a638b943a2de45e4faba934fbe6ae8055',1,'Model']]]
]; ];

View File

@ -1,7 +1,7 @@
var searchData= var searchData=
[ [
['get_5fcddc_78',['get_cddc',['../classDefaultModel.html#a5d57be9ead842ec3385144f7caa9524e',1,'DefaultModel::get_cddc()'],['../classModel.html#af4e5cca587cec5d56c955a797cc4295f',1,'Model::get_cddc()']]], ['getcddc_78',['getCDDC',['../classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d',1,'DefaultModel::getCDDC()'],['../classModel.html#a694101d09f26963cb3b4059779604ed5',1,'Model::getCDDC()']]],
['get_5fcurrent_5fcddc_79',['get_current_cddc',['../classDefaultModel.html#a24f870ad579abc50dc3140dc68fa89fa',1,'DefaultModel::get_current_cddc()'],['../classModel.html#a50d7fc134c43bc28045a7993ff2f2ca5',1,'Model::get_current_cddc()=0']]], ['getcurrentcddc_79',['getCurrentCDDC',['../classDefaultModel.html#a879560588eadf03168fb720751044295',1,'DefaultModel::getCurrentCDDC()'],['../classModel.html#a2a6e8779505b4c9b2e61328a9e870981',1,'Model::getCurrentCDDC()=0']]],
['get_5fmodel_80',['get_model',['../classModel.html#a0f33afb8d901d61f93ed7d6f7560403a',1,'Model']]], ['getmkcs_80',['getMKCs',['../classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f',1,'Model']]],
['getmkcs_81',['getMKCs',['../classModel.html#a022e8d797bf57d111a1ce5bd229f41ea',1,'Model']]] ['getmodel_81',['getModel',['../classModel.html#a638b943a2de45e4faba934fbe6ae8055',1,'Model']]]
]; ];

View File

@ -75,7 +75,7 @@ $(function() {
<tr bgcolor="#f0f0f0"><td class="entry"><b>from_string</b>(const std::string &amp;str) (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"><span class="mlabel">static</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>from_string</b>(const std::string &amp;str) (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator==</b> (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"><span class="mlabel">friend</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator==</b> (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>to_string</b>() const (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>to_string</b>() const (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~BigInt</b>()=default (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~BigInt</b>() (defined in <a class="el" href="structBigInt.html">BigInt</a>)</td><td class="entry"><a class="el" href="structBigInt.html">BigInt</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View File

@ -72,7 +72,7 @@ $(function() {
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>message_reference</b> (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>message_reference</b> (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>status_code</b> (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>status_code</b> (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>status_description</b> (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"></td></tr> <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>status_description</b> (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>to_json</b>() const =0 (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr bgcolor="#f0f0f0"><td class="entry"><b>to_json</b>() const (defined in <a class="el" href="structResponse.html">Response</a>)</td><td class="entry"><a class="el" href="structResponse.html">Response</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents --> </table></div><!-- contents -->
<!-- start footer part --> <!-- start footer part -->
<hr class="footer"/><address class="footer"><small> <hr class="footer"/><address class="footer"><small>

View File

@ -67,7 +67,7 @@ $(function() {
<a href="#pub-attribs">Public Attributes</a> &#124; <a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structResponse-members.html">List of all members</a> </div> <a href="structResponse-members.html">List of all members</a> </div>
<div class="headertitle"> <div class="headertitle">
<div class="title">Response Struct Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> <div class="title">Response Struct Reference</div> </div>
</div><!--header--> </div><!--header-->
<div class="contents"> <div class="contents">
<div class="dynheader"> <div class="dynheader">
@ -87,9 +87,9 @@ Inheritance diagram for Response:</div>
<table class="memberdecls"> <table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr> Public Member Functions</h2></td></tr>
<tr class="memitem:a6db242dfc2f8ab7ffd9218125f6fe1d0"><td class="memItemLeft" align="right" valign="top"><a id="a6db242dfc2f8ab7ffd9218125f6fe1d0"></a> <tr class="memitem:aaec02799528336afe7fa2f446980dfde"><td class="memItemLeft" align="right" valign="top"><a id="aaec02799528336afe7fa2f446980dfde"></a>
virtual crow::json::wvalue&#160;</td><td class="memItemRight" valign="bottom"><b>to_json</b> () const =0</td></tr> virtual crow::json::wvalue&#160;</td><td class="memItemRight" valign="bottom"><b>to_json</b> () const</td></tr>
<tr class="separator:a6db242dfc2f8ab7ffd9218125f6fe1d0"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:aaec02799528336afe7fa2f446980dfde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls"> </table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr> Public Attributes</h2></td></tr>

View File

@ -98,7 +98,7 @@ crow::json::wvalue&#160;</td><td class="memItemRight" valign="bottom"><b>to_json
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr> Public Attributes</h2></td></tr>
<tr class="memitem:ac2c5d14c8a431704fbac525361abc2a3"><td class="memItemLeft" align="right" valign="top"><a id="ac2c5d14c8a431704fbac525361abc2a3"></a> <tr class="memitem:ac2c5d14c8a431704fbac525361abc2a3"><td class="memItemLeft" align="right" valign="top"><a id="ac2c5d14c8a431704fbac525361abc2a3"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>cdd_serial</b> {0U}</td></tr> unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>cdd_serial</b></td></tr>
<tr class="separator:ac2c5d14c8a431704fbac525361abc2a3"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="separator:ac2c5d14c8a431704fbac525361abc2a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_structResponse"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structResponse')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structResponse.html">Response</a></td></tr> <tr class="inherit_header pub_attribs_structResponse"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structResponse')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structResponse.html">Response</a></td></tr>
<tr class="memitem:a0d05cf53b0999b1e7f707af67c8c634a inherit pub_attribs_structResponse"><td class="memItemLeft" align="right" valign="top"><a id="a0d05cf53b0999b1e7f707af67c8c634a"></a> <tr class="memitem:a0d05cf53b0999b1e7f707af67c8c634a inherit pub_attribs_structResponse"><td class="memItemLeft" align="right" valign="top"><a id="a0d05cf53b0999b1e7f707af67c8c634a"></a>