dash-docs/en/doxygen/html/amount_8h_source.html

131 lines
27 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Dash Core: src/amount.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Dash Core
&#160;<span id="projectnumber">0.12.2.1</span>
</div>
<div id="projectbrief">P2P Digital Currency</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('amount_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">amount.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="amount_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright (c) 2009-2010 Satoshi Nakamoto</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright (c) 2009-2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#ifndef BITCOIN_AMOUNT_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#define BITCOIN_AMOUNT_H</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="serialize_8h.html">serialize.h</a>&quot;</span></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;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></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"><a class="line" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564"> 14</a></span>&#160;<span class="keyword">typedef</span> int64_t <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="amount_8h.html#aed6bcb17bc73a5dcf33250e9c2c023cc"> 16</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="amount_8h.html#aed6bcb17bc73a5dcf33250e9c2c023cc">COIN</a> = 100000000;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="amount_8h.html#a4ea4ced67e8cf4c0738078aa44a93bd2"> 17</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="amount_8h.html#a4ea4ced67e8cf4c0738078aa44a93bd2">CENT</a> = 1000000;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> std::string <a class="code" href="amount_8h.html#aea7f12c6759c81efa2b9c7154708a4ca">CURRENCY_UNIT</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="amount_8h.html#a7af1fa1cd5a4e2c29be8ebefe37743d7"> 30</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="amount_8h.html#a7af1fa1cd5a4e2c29be8ebefe37743d7">MAX_MONEY</a> = 21000000 * <a class="code" href="amount_8h.html#aed6bcb17bc73a5dcf33250e9c2c023cc">COIN</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="amount_8h.html#a12db56a9a1c931941f0943ecbb278aae"> 31</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="amount_8h.html#a12db56a9a1c931941f0943ecbb278aae">MoneyRange</a>(<span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a>&amp; nValue) { <span class="keywordflow">return</span> (nValue &gt;= 0 &amp;&amp; nValue &lt;= <a class="code" href="amount_8h.html#a7af1fa1cd5a4e2c29be8ebefe37743d7">MAX_MONEY</a>); }</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classCFeeRate.html"> 36</a></span>&#160;<span class="keyword">class </span><a class="code" href="classCFeeRate.html">CFeeRate</a></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1"> 39</a></span>&#160; <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; <span class="comment">// unit is satoshis-per-1,000-bytes</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classCFeeRate.html#aed181aa12213c646c8a4632280444412"> 41</a></span>&#160; <a class="code" href="classCFeeRate.html#aed181aa12213c646c8a4632280444412">CFeeRate</a>() : <a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>(0) { }</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classCFeeRate.html#abee4364fc0d83612feda7c9f5425a7cc"> 42</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classCFeeRate.html#abee4364fc0d83612feda7c9f5425a7cc">CFeeRate</a>(<span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a>&amp; _nSatoshisPerK): <a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>(_nSatoshisPerK) { }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="classCFeeRate.html#aed181aa12213c646c8a4632280444412">CFeeRate</a>(<span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a>&amp; nFeePaid, <span class="keywordtype">size_t</span> nSize);</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classCFeeRate.html#aa82ca8ba290a1c02ed522aacfb5105ef"> 44</a></span>&#160; <a class="code" href="classCFeeRate.html#aa82ca8ba290a1c02ed522aacfb5105ef">CFeeRate</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; other) { <a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> = other.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="classCFeeRate.html#a6a3aef64120ef51ac921318282404b0e">GetFee</a>(<span class="keywordtype">size_t</span> size) <span class="keyword">const</span>; <span class="comment">// unit returned is satoshis</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classCFeeRate.html#ac772be79983433d442d6b871d2fb6e11"> 47</a></span>&#160; <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="classCFeeRate.html#ac772be79983433d442d6b871d2fb6e11">GetFeePerK</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classCFeeRate.html#a6a3aef64120ef51ac921318282404b0e">GetFee</a>(1000); } <span class="comment">// satoshis-per-1000-bytes</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classCFeeRate.html#ac6171d01f1032c0f08e804f2b19e84e8"> 49</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classCFeeRate.html#ac6171d01f1032c0f08e804f2b19e84e8">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; b) { <span class="keywordflow">return</span> a.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> &lt; b.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; }</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classCFeeRate.html#ab69eafe1cbb126cc0549bc5936422a2c"> 50</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classCFeeRate.html#ab69eafe1cbb126cc0549bc5936422a2c">operator&gt;</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; b) { <span class="keywordflow">return</span> a.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> &gt; b.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; }</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classCFeeRate.html#a90b4daf7a7d840f47c453b9ba51744cf"> 51</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classCFeeRate.html#a90b4daf7a7d840f47c453b9ba51744cf">operator==</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; b) { <span class="keywordflow">return</span> a.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> == b.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; }</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classCFeeRate.html#af580c9e0a2509b79a497cee50116bfcc"> 52</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classCFeeRate.html#af580c9e0a2509b79a497cee50116bfcc">operator&lt;=</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; b) { <span class="keywordflow">return</span> a.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> &lt;= b.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; }</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classCFeeRate.html#a3eebd7ed699091974194e47cfb2a571c"> 53</a></span>&#160; <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classCFeeRate.html#a3eebd7ed699091974194e47cfb2a571c">operator&gt;=</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; b) { <span class="keywordflow">return</span> a.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> &gt;= b.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; }</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classCFeeRate.html#a1fbba9885f4a29778458333b6c780bb9"> 54</a></span>&#160; <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; <a class="code" href="classCFeeRate.html#a1fbba9885f4a29778458333b6c780bb9">operator+=</a>(<span class="keyword">const</span> <a class="code" href="classCFeeRate.html">CFeeRate</a>&amp; a) { <a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a> += a.<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; std::string <a class="code" href="classCFeeRate.html#a67a2711583d588edd3dfa2dba682f4ce">ToString</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classCFeeRate.html#ab1030f8a059eb5ccade1e3803bd727b3"> 57</a></span>&#160; <a class="code" href="classCFeeRate.html#ab1030f8a059eb5ccade1e3803bd727b3">ADD_SERIALIZE_METHODS</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Stream, <span class="keyword">typename</span> Operation&gt;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classCFeeRate.html#aface850a2c1af316cedf87d24f04fda3"> 60</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classCFeeRate.html#aface850a2c1af316cedf87d24f04fda3">SerializationOp</a>(Stream&amp; s, Operation ser_action, <span class="keywordtype">int</span> nType, <span class="keywordtype">int</span> nVersion) {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a>(<a class="code" href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">nSatoshisPerK</a>);</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="l00064"></a><span class="lineno"> 64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#endif // BITCOIN_AMOUNT_H</span></div><div class="ttc" id="amount_8h_html_aea7f12c6759c81efa2b9c7154708a4ca"><div class="ttname"><a href="amount_8h.html#aea7f12c6759c81efa2b9c7154708a4ca">CURRENCY_UNIT</a></div><div class="ttdeci">const std::string CURRENCY_UNIT</div><div class="ttdef"><b>Definition:</b> <a href="amount_8cpp_source.html#l00010">amount.cpp:10</a></div></div>
<div class="ttc" id="classCFeeRate_html_abee4364fc0d83612feda7c9f5425a7cc"><div class="ttname"><a href="classCFeeRate.html#abee4364fc0d83612feda7c9f5425a7cc">CFeeRate::CFeeRate</a></div><div class="ttdeci">CFeeRate(const CAmount &amp;_nSatoshisPerK)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00042">amount.h:42</a></div></div>
<div class="ttc" id="serialize_8h_html_a4d7fc7040e01003a01f367b8d90324f1"><div class="ttname"><a href="serialize_8h.html#a4d7fc7040e01003a01f367b8d90324f1">READWRITE</a></div><div class="ttdeci">#define READWRITE(obj)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00175">serialize.h:175</a></div></div>
<div class="ttc" id="amount_8h_html_a7af1fa1cd5a4e2c29be8ebefe37743d7"><div class="ttname"><a href="amount_8h.html#a7af1fa1cd5a4e2c29be8ebefe37743d7">MAX_MONEY</a></div><div class="ttdeci">static const CAmount MAX_MONEY</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00030">amount.h:30</a></div></div>
<div class="ttc" id="amount_8h_html_aed6bcb17bc73a5dcf33250e9c2c023cc"><div class="ttname"><a href="amount_8h.html#aed6bcb17bc73a5dcf33250e9c2c023cc">COIN</a></div><div class="ttdeci">static const CAmount COIN</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00016">amount.h:16</a></div></div>
<div class="ttc" id="amount_8h_html_a12db56a9a1c931941f0943ecbb278aae"><div class="ttname"><a href="amount_8h.html#a12db56a9a1c931941f0943ecbb278aae">MoneyRange</a></div><div class="ttdeci">bool MoneyRange(const CAmount &amp;nValue)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00031">amount.h:31</a></div></div>
<div class="ttc" id="classCFeeRate_html_ab69eafe1cbb126cc0549bc5936422a2c"><div class="ttname"><a href="classCFeeRate.html#ab69eafe1cbb126cc0549bc5936422a2c">CFeeRate::operator&gt;</a></div><div class="ttdeci">friend bool operator&gt;(const CFeeRate &amp;a, const CFeeRate &amp;b)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00050">amount.h:50</a></div></div>
<div class="ttc" id="classCFeeRate_html_aa82ca8ba290a1c02ed522aacfb5105ef"><div class="ttname"><a href="classCFeeRate.html#aa82ca8ba290a1c02ed522aacfb5105ef">CFeeRate::CFeeRate</a></div><div class="ttdeci">CFeeRate(const CFeeRate &amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00044">amount.h:44</a></div></div>
<div class="ttc" id="classCFeeRate_html_a6a3aef64120ef51ac921318282404b0e"><div class="ttname"><a href="classCFeeRate.html#a6a3aef64120ef51ac921318282404b0e">CFeeRate::GetFee</a></div><div class="ttdeci">CAmount GetFee(size_t size) const</div><div class="ttdef"><b>Definition:</b> <a href="amount_8cpp_source.html#l00020">amount.cpp:20</a></div></div>
<div class="ttc" id="classCFeeRate_html_ab1030f8a059eb5ccade1e3803bd727b3"><div class="ttname"><a href="classCFeeRate.html#ab1030f8a059eb5ccade1e3803bd727b3">CFeeRate::ADD_SERIALIZE_METHODS</a></div><div class="ttdeci">ADD_SERIALIZE_METHODS</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00057">amount.h:57</a></div></div>
<div class="ttc" id="amount_8h_html_a4eaf3a5239714d8c45b851527f7cb564"><div class="ttname"><a href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a></div><div class="ttdeci">int64_t CAmount</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00014">amount.h:14</a></div></div>
<div class="ttc" id="classCFeeRate_html_a80e7dc7192bd5ef6ef9eede89d406ac1"><div class="ttname"><a href="classCFeeRate.html#a80e7dc7192bd5ef6ef9eede89d406ac1">CFeeRate::nSatoshisPerK</a></div><div class="ttdeci">CAmount nSatoshisPerK</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00039">amount.h:39</a></div></div>
<div class="ttc" id="classCFeeRate_html"><div class="ttname"><a href="classCFeeRate.html">CFeeRate</a></div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00036">amount.h:36</a></div></div>
<div class="ttc" id="serialize_8h_html"><div class="ttname"><a href="serialize_8h.html">serialize.h</a></div></div>
<div class="ttc" id="classCFeeRate_html_a67a2711583d588edd3dfa2dba682f4ce"><div class="ttname"><a href="classCFeeRate.html#a67a2711583d588edd3dfa2dba682f4ce">CFeeRate::ToString</a></div><div class="ttdeci">std::string ToString() const</div><div class="ttdef"><b>Definition:</b> <a href="amount_8cpp_source.html#l00030">amount.cpp:30</a></div></div>
<div class="ttc" id="classCFeeRate_html_ac772be79983433d442d6b871d2fb6e11"><div class="ttname"><a href="classCFeeRate.html#ac772be79983433d442d6b871d2fb6e11">CFeeRate::GetFeePerK</a></div><div class="ttdeci">CAmount GetFeePerK() const</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00047">amount.h:47</a></div></div>
<div class="ttc" id="classCFeeRate_html_aed181aa12213c646c8a4632280444412"><div class="ttname"><a href="classCFeeRate.html#aed181aa12213c646c8a4632280444412">CFeeRate::CFeeRate</a></div><div class="ttdeci">CFeeRate()</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00041">amount.h:41</a></div></div>
<div class="ttc" id="amount_8h_html_a4ea4ced67e8cf4c0738078aa44a93bd2"><div class="ttname"><a href="amount_8h.html#a4ea4ced67e8cf4c0738078aa44a93bd2">CENT</a></div><div class="ttdeci">static const CAmount CENT</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00017">amount.h:17</a></div></div>
<div class="ttc" id="classCFeeRate_html_a90b4daf7a7d840f47c453b9ba51744cf"><div class="ttname"><a href="classCFeeRate.html#a90b4daf7a7d840f47c453b9ba51744cf">CFeeRate::operator==</a></div><div class="ttdeci">friend bool operator==(const CFeeRate &amp;a, const CFeeRate &amp;b)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00051">amount.h:51</a></div></div>
<div class="ttc" id="classCFeeRate_html_ac6171d01f1032c0f08e804f2b19e84e8"><div class="ttname"><a href="classCFeeRate.html#ac6171d01f1032c0f08e804f2b19e84e8">CFeeRate::operator&lt;</a></div><div class="ttdeci">friend bool operator&lt;(const CFeeRate &amp;a, const CFeeRate &amp;b)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00049">amount.h:49</a></div></div>
<div class="ttc" id="classCFeeRate_html_a1fbba9885f4a29778458333b6c780bb9"><div class="ttname"><a href="classCFeeRate.html#a1fbba9885f4a29778458333b6c780bb9">CFeeRate::operator+=</a></div><div class="ttdeci">CFeeRate &amp; operator+=(const CFeeRate &amp;a)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00054">amount.h:54</a></div></div>
<div class="ttc" id="classCFeeRate_html_aface850a2c1af316cedf87d24f04fda3"><div class="ttname"><a href="classCFeeRate.html#aface850a2c1af316cedf87d24f04fda3">CFeeRate::SerializationOp</a></div><div class="ttdeci">void SerializationOp(Stream &amp;s, Operation ser_action, int nType, int nVersion)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00060">amount.h:60</a></div></div>
<div class="ttc" id="classCFeeRate_html_a3eebd7ed699091974194e47cfb2a571c"><div class="ttname"><a href="classCFeeRate.html#a3eebd7ed699091974194e47cfb2a571c">CFeeRate::operator&gt;=</a></div><div class="ttdeci">friend bool operator&gt;=(const CFeeRate &amp;a, const CFeeRate &amp;b)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00053">amount.h:53</a></div></div>
<div class="ttc" id="classCFeeRate_html_af580c9e0a2509b79a497cee50116bfcc"><div class="ttname"><a href="classCFeeRate.html#af580c9e0a2509b79a497cee50116bfcc">CFeeRate::operator&lt;=</a></div><div class="ttdeci">friend bool operator&lt;=(const CFeeRate &amp;a, const CFeeRate &amp;b)</div><div class="ttdef"><b>Definition:</b> <a href="amount_8h_source.html#l00052">amount.h:52</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="amount_8h.html">amount.h</a></li>
<li class="footer">Generated on Thu Dec 14 2017 13:15:02 for Dash Core by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
</ul>
</div>
</body>
</html>