mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
144 lines
35 KiB
HTML
144 lines
35 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/qt/walletmodeltransaction.cpp 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&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
|
|
 <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&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&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&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('walletmodeltransaction_8cpp_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">walletmodeltransaction.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="walletmodeltransaction_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (c) 2011-2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="walletmodeltransaction_8h.html">walletmodeltransaction.h</a>"</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="wallet_8h.html">wallet/wallet.h</a>"</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#aab5bd2eb6244b6f0e12d8511d64caf82"> 9</a></span> <a class="code" href="classWalletModelTransaction.html#aab5bd2eb6244b6f0e12d8511d64caf82">WalletModelTransaction::WalletModelTransaction</a>(<span class="keyword">const</span> QList<SendCoinsRecipient> &recipients) :</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  recipients(recipients),</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  walletTransaction(0),</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  keyChange(0),</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  fee(0)</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a> = <span class="keyword">new</span> <a class="code" href="classCWalletTx.html">CWalletTx</a>();</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> }</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a0f3a3babba43291051de5f29fecbff83"> 18</a></span> <a class="code" href="classWalletModelTransaction.html#a0f3a3babba43291051de5f29fecbff83">WalletModelTransaction::~WalletModelTransaction</a>()</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">delete</span> <a class="code" href="classWalletModelTransaction.html#a84ed07592def7dbae5469982e7b8467a">keyChange</a>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">delete</span> <a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a477180740c53bbbaed217faec2ccb8fa"> 24</a></span> QList<SendCoinsRecipient> <a class="code" href="classWalletModelTransaction.html#a477180740c53bbbaed217faec2ccb8fa">WalletModelTransaction::getRecipients</a>()</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> <a class="code" href="classWalletModelTransaction.html#a72bcaecaa08a1768b0023c7b833aa35b">recipients</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a1db8f14976edf56a7678d9f7b390c0c5"> 29</a></span> <a class="code" href="classCWalletTx.html">CWalletTx</a> *<a class="code" href="classWalletModelTransaction.html#a1db8f14976edf56a7678d9f7b390c0c5">WalletModelTransaction::getTransaction</a>()</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> <a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a90c87be7e23c1729edba4ab621771a5e"> 34</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classWalletModelTransaction.html#a90c87be7e23c1729edba4ab621771a5e">WalletModelTransaction::getTransactionSize</a>()</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">return</span> (!<a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a> ? 0 : (::<a class="code" href="serialize_8h.html#a48239e478ae730373d1984fe304ca025">GetSerializeSize</a>(*(<a class="code" href="classCTransaction.html">CTransaction</a>*)<a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a>, <a class="code" href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a652754eeaf79fba4fcf4c18597a6961c">SER_NETWORK</a>, <a class="code" href="version_8h.html#a4e2497f7c9c4319adcaf945159ec63f4">PROTOCOL_VERSION</a>)));</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#ac9ca968ca58fb4609db74111525981d6"> 39</a></span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="classWalletModelTransaction.html#ac9ca968ca58fb4609db74111525981d6">WalletModelTransaction::getTransactionFee</a>()</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> <a class="code" href="classWalletModelTransaction.html#a9265a45b77478e288b252210187e3d51">fee</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a1a5d5ee7f676a90b9e0bfc9f2b452c44"> 44</a></span> <span class="keywordtype">void</span> <a class="code" href="classWalletModelTransaction.html#a1a5d5ee7f676a90b9e0bfc9f2b452c44">WalletModelTransaction::setTransactionFee</a>(<span class="keyword">const</span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a>& newFee)</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classWalletModelTransaction.html#a9265a45b77478e288b252210187e3d51">fee</a> = newFee;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a267d58faa6b634e86b46b76d8b1ea494"> 49</a></span> <span class="keywordtype">void</span> <a class="code" href="classWalletModelTransaction.html#a267d58faa6b634e86b46b76d8b1ea494">WalletModelTransaction::reassignAmounts</a>(<span class="keywordtype">int</span> nChangePosRet)</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">int</span> i = 0;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">for</span> (QList<SendCoinsRecipient>::iterator it = <a class="code" href="classWalletModelTransaction.html#a72bcaecaa08a1768b0023c7b833aa35b">recipients</a>.begin(); it != <a class="code" href="classWalletModelTransaction.html#a72bcaecaa08a1768b0023c7b833aa35b">recipients</a>.end(); ++it)</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classSendCoinsRecipient.html">SendCoinsRecipient</a>& rcp = (*it);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">if</span> (rcp.<a class="code" href="classSendCoinsRecipient.html#a2442955006b2c2e42c040028addee9cc">paymentRequest</a>.<a class="code" href="classPaymentRequestPlus.html#aa3d8c57af7c7bc4ffbc31da32e5a40a6">IsInitialized</a>())</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> subtotal = 0;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">const</span> <a class="code" href="classpayments_1_1PaymentDetails.html">payments::PaymentDetails</a>& details = rcp.<a class="code" href="classSendCoinsRecipient.html#a2442955006b2c2e42c040028addee9cc">paymentRequest</a>.<a class="code" href="classPaymentRequestPlus.html#ab0ebee8009c066b45811fe59a07da230">getDetails</a>();</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < details.<a class="code" href="classpayments_1_1PaymentDetails.html#a8f48868a3dddb4ec539de11ae1d0c6cf">outputs_size</a>(); j++)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">const</span> <a class="code" href="classpayments_1_1Output.html">payments::Output</a>& <a class="code" href="namespaceextract__strings__qt.html#ab8166b91ad54a98ce8450593d2a3d827">out</a> = details.<a class="code" href="classpayments_1_1PaymentDetails.html#aabf1626dfa3cee15eddc9b2cee3c592e">outputs</a>(j);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">if</span> (<a class="code" href="namespaceextract__strings__qt.html#ab8166b91ad54a98ce8450593d2a3d827">out</a>.amount() <= 0) <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">if</span> (i == nChangePosRet)</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  i++;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  subtotal += <a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a>-><a class="code" href="classCTransaction.html#a708645274ddfd83829315ffe5c7c5c3e">vout</a>[i].nValue;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  i++;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  rcp.<a class="code" href="classSendCoinsRecipient.html#a54ab1355617a342b9b3d7f6e0781f578">amount</a> = subtotal;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">else</span> <span class="comment">// normal recipient (no payment request)</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">if</span> (i == nChangePosRet)</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  i++;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  rcp.<a class="code" href="classSendCoinsRecipient.html#a54ab1355617a342b9b3d7f6e0781f578">amount</a> = <a class="code" href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">walletTransaction</a>-><a class="code" href="classCTransaction.html#a708645274ddfd83829315ffe5c7c5c3e">vout</a>[i].nValue;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  i++;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a215d9f347eaf67189ef5eb2c4492384c"> 81</a></span> <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> <a class="code" href="classWalletModelTransaction.html#a215d9f347eaf67189ef5eb2c4492384c">WalletModelTransaction::getTotalTransactionAmount</a>()</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="amount_8h.html#a4eaf3a5239714d8c45b851527f7cb564">CAmount</a> totalTransactionAmount = 0;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  Q_FOREACH(<span class="keyword">const</span> <a class="code" href="classSendCoinsRecipient.html">SendCoinsRecipient</a> &rcp, <a class="code" href="classWalletModelTransaction.html#a72bcaecaa08a1768b0023c7b833aa35b">recipients</a>)</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  totalTransactionAmount += rcp.<a class="code" href="classSendCoinsRecipient.html#a54ab1355617a342b9b3d7f6e0781f578">amount</a>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> totalTransactionAmount;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#af6e3adde528f4578145be97699c45bb8"> 91</a></span> <span class="keywordtype">void</span> <a class="code" href="classWalletModelTransaction.html#af6e3adde528f4578145be97699c45bb8">WalletModelTransaction::newPossibleKeyChange</a>(<a class="code" href="classCWallet.html">CWallet</a> *<a class="code" href="namespacewallet.html">wallet</a>)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classWalletModelTransaction.html#a84ed07592def7dbae5469982e7b8467a">keyChange</a> = <span class="keyword">new</span> <a class="code" href="classCReserveKey.html">CReserveKey</a>(<a class="code" href="namespacewallet.html">wallet</a>);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classWalletModelTransaction.html#a58835446dab9397f823106d4a6ba6812"> 96</a></span> <a class="code" href="classCReserveKey.html">CReserveKey</a> *<a class="code" href="classWalletModelTransaction.html#a58835446dab9397f823106d4a6ba6812">WalletModelTransaction::getPossibleKeyChange</a>()</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> <a class="code" href="classWalletModelTransaction.html#a84ed07592def7dbae5469982e7b8467a">keyChange</a>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div><div class="ttc" id="serialize_8h_html_ae4d5251432e1a9e6803c0240cc492e18a652754eeaf79fba4fcf4c18597a6961c"><div class="ttname"><a href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a652754eeaf79fba4fcf4c18597a6961c">SER_NETWORK</a></div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00170">serialize.h:170</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a215d9f347eaf67189ef5eb2c4492384c"><div class="ttname"><a href="classWalletModelTransaction.html#a215d9f347eaf67189ef5eb2c4492384c">WalletModelTransaction::getTotalTransactionAmount</a></div><div class="ttdeci">CAmount getTotalTransactionAmount()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00081">walletmodeltransaction.cpp:81</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_af6e3adde528f4578145be97699c45bb8"><div class="ttname"><a href="classWalletModelTransaction.html#af6e3adde528f4578145be97699c45bb8">WalletModelTransaction::newPossibleKeyChange</a></div><div class="ttdeci">void newPossibleKeyChange(CWallet *wallet)</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00091">walletmodeltransaction.cpp:91</a></div></div>
|
|
<div class="ttc" id="classCWallet_html"><div class="ttname"><a href="classCWallet.html">CWallet</a></div><div class="ttdef"><b>Definition:</b> <a href="wallet_8h_source.html#l00617">wallet.h:617</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a267d58faa6b634e86b46b76d8b1ea494"><div class="ttname"><a href="classWalletModelTransaction.html#a267d58faa6b634e86b46b76d8b1ea494">WalletModelTransaction::reassignAmounts</a></div><div class="ttdeci">void reassignAmounts(int nChangePosRet)</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00049">walletmodeltransaction.cpp:49</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a477180740c53bbbaed217faec2ccb8fa"><div class="ttname"><a href="classWalletModelTransaction.html#a477180740c53bbbaed217faec2ccb8fa">WalletModelTransaction::getRecipients</a></div><div class="ttdeci">QList< SendCoinsRecipient > getRecipients()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00024">walletmodeltransaction.cpp:24</a></div></div>
|
|
<div class="ttc" id="classpayments_1_1PaymentDetails_html_aabf1626dfa3cee15eddc9b2cee3c592e"><div class="ttname"><a href="classpayments_1_1PaymentDetails.html#aabf1626dfa3cee15eddc9b2cee3c592e">payments::PaymentDetails::outputs</a></div><div class="ttdeci">const ::payments::Output & outputs(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="paymentrequest_8pb_8h_source.html#l00945">paymentrequest.pb.h:945</a></div></div>
|
|
<div class="ttc" id="classPaymentRequestPlus_html_aa3d8c57af7c7bc4ffbc31da32e5a40a6"><div class="ttname"><a href="classPaymentRequestPlus.html#aa3d8c57af7c7bc4ffbc31da32e5a40a6">PaymentRequestPlus::IsInitialized</a></div><div class="ttdeci">bool IsInitialized() const</div><div class="ttdef"><b>Definition:</b> <a href="paymentrequestplus_8cpp_source.html#l00055">paymentrequestplus.cpp:55</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a90c87be7e23c1729edba4ab621771a5e"><div class="ttname"><a href="classWalletModelTransaction.html#a90c87be7e23c1729edba4ab621771a5e">WalletModelTransaction::getTransactionSize</a></div><div class="ttdeci">unsigned int getTransactionSize()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00034">walletmodeltransaction.cpp:34</a></div></div>
|
|
<div class="ttc" id="wallet_8h_html"><div class="ttname"><a href="wallet_8h.html">wallet.h</a></div></div>
|
|
<div class="ttc" id="classpayments_1_1PaymentDetails_html"><div class="ttname"><a href="classpayments_1_1PaymentDetails.html">payments::PaymentDetails</a></div><div class="ttdef"><b>Definition:</b> <a href="paymentrequest_8pb_8h_source.html#l00139">paymentrequest.pb.h:139</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="classpayments_1_1PaymentDetails_html_a8f48868a3dddb4ec539de11ae1d0c6cf"><div class="ttname"><a href="classpayments_1_1PaymentDetails.html#a8f48868a3dddb4ec539de11ae1d0c6cf">payments::PaymentDetails::outputs_size</a></div><div class="ttdeci">int outputs_size() const</div><div class="ttdef"><b>Definition:</b> <a href="paymentrequest_8pb_8h_source.html#l00939">paymentrequest.pb.h:939</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a72bcaecaa08a1768b0023c7b833aa35b"><div class="ttname"><a href="classWalletModelTransaction.html#a72bcaecaa08a1768b0023c7b833aa35b">WalletModelTransaction::recipients</a></div><div class="ttdeci">QList< SendCoinsRecipient > recipients</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8h_source.html#l00041">walletmodeltransaction.h:41</a></div></div>
|
|
<div class="ttc" id="classSendCoinsRecipient_html_a54ab1355617a342b9b3d7f6e0781f578"><div class="ttname"><a href="classSendCoinsRecipient.html#a54ab1355617a342b9b3d7f6e0781f578">SendCoinsRecipient::amount</a></div><div class="ttdeci">CAmount amount</div><div class="ttdef"><b>Definition:</b> <a href="walletmodel_8h_source.html#l00054">walletmodel.h:54</a></div></div>
|
|
<div class="ttc" id="serialize_8h_html_a48239e478ae730373d1984fe304ca025"><div class="ttname"><a href="serialize_8h.html#a48239e478ae730373d1984fe304ca025">GetSerializeSize</a></div><div class="ttdeci">unsigned int GetSerializeSize(char a, int, int=0)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00202">serialize.h:202</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_ac9ca968ca58fb4609db74111525981d6"><div class="ttname"><a href="classWalletModelTransaction.html#ac9ca968ca58fb4609db74111525981d6">WalletModelTransaction::getTransactionFee</a></div><div class="ttdeci">CAmount getTransactionFee()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00039">walletmodeltransaction.cpp:39</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a0f3a3babba43291051de5f29fecbff83"><div class="ttname"><a href="classWalletModelTransaction.html#a0f3a3babba43291051de5f29fecbff83">WalletModelTransaction::~WalletModelTransaction</a></div><div class="ttdeci">~WalletModelTransaction()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00018">walletmodeltransaction.cpp:18</a></div></div>
|
|
<div class="ttc" id="classCTransaction_html"><div class="ttname"><a href="classCTransaction.html">CTransaction</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00210">transaction.h:210</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a1a5d5ee7f676a90b9e0bfc9f2b452c44"><div class="ttname"><a href="classWalletModelTransaction.html#a1a5d5ee7f676a90b9e0bfc9f2b452c44">WalletModelTransaction::setTransactionFee</a></div><div class="ttdeci">void setTransactionFee(const CAmount &newFee)</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00044">walletmodeltransaction.cpp:44</a></div></div>
|
|
<div class="ttc" id="classCWalletTx_html"><div class="ttname"><a href="classCWalletTx.html">CWalletTx</a></div><div class="ttdef"><b>Definition:</b> <a href="wallet_8h_source.html#l00275">wallet.h:275</a></div></div>
|
|
<div class="ttc" id="namespacewallet_html"><div class="ttname"><a href="namespacewallet.html">wallet</a></div><div class="ttdef"><b>Definition:</b> <a href="wallet_8py_source.html#l00001">wallet.py:1</a></div></div>
|
|
<div class="ttc" id="classSendCoinsRecipient_html_a2442955006b2c2e42c040028addee9cc"><div class="ttname"><a href="classSendCoinsRecipient.html#a2442955006b2c2e42c040028addee9cc">SendCoinsRecipient::paymentRequest</a></div><div class="ttdeci">PaymentRequestPlus paymentRequest</div><div class="ttdef"><b>Definition:</b> <a href="walletmodel_8h_source.html#l00059">walletmodel.h:59</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a1db8f14976edf56a7678d9f7b390c0c5"><div class="ttname"><a href="classWalletModelTransaction.html#a1db8f14976edf56a7678d9f7b390c0c5">WalletModelTransaction::getTransaction</a></div><div class="ttdeci">CWalletTx * getTransaction()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00029">walletmodeltransaction.cpp:29</a></div></div>
|
|
<div class="ttc" id="walletmodeltransaction_8h_html"><div class="ttname"><a href="walletmodeltransaction_8h.html">walletmodeltransaction.h</a></div></div>
|
|
<div class="ttc" id="classCReserveKey_html"><div class="ttname"><a href="classCReserveKey.html">CReserveKey</a></div><div class="ttdef"><b>Definition:</b> <a href="wallet_8h_source.html#l01049">wallet.h:1049</a></div></div>
|
|
<div class="ttc" id="version_8h_html_a4e2497f7c9c4319adcaf945159ec63f4"><div class="ttname"><a href="version_8h.html#a4e2497f7c9c4319adcaf945159ec63f4">PROTOCOL_VERSION</a></div><div class="ttdeci">static const int PROTOCOL_VERSION</div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00013">version.h:13</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a84ed07592def7dbae5469982e7b8467a"><div class="ttname"><a href="classWalletModelTransaction.html#a84ed07592def7dbae5469982e7b8467a">WalletModelTransaction::keyChange</a></div><div class="ttdeci">CReserveKey * keyChange</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8h_source.html#l00043">walletmodeltransaction.h:43</a></div></div>
|
|
<div class="ttc" id="classCTransaction_html_a708645274ddfd83829315ffe5c7c5c3e"><div class="ttname"><a href="classCTransaction.html#a708645274ddfd83829315ffe5c7c5c3e">CTransaction::vout</a></div><div class="ttdeci">const std::vector< CTxOut > vout</div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00234">transaction.h:234</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a2f0f83ee9aec8398fd2b22033657eb25"><div class="ttname"><a href="classWalletModelTransaction.html#a2f0f83ee9aec8398fd2b22033657eb25">WalletModelTransaction::walletTransaction</a></div><div class="ttdeci">CWalletTx * walletTransaction</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8h_source.html#l00042">walletmodeltransaction.h:42</a></div></div>
|
|
<div class="ttc" id="namespaceextract__strings__qt_html_ab8166b91ad54a98ce8450593d2a3d827"><div class="ttname"><a href="namespaceextract__strings__qt.html#ab8166b91ad54a98ce8450593d2a3d827">extract_strings_qt.out</a></div><div class="ttdeci">out</div><div class="ttdef"><b>Definition:</b> <a href="extract__strings__qt_8py_source.html#l00056">extract_strings_qt.py:56</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a9265a45b77478e288b252210187e3d51"><div class="ttname"><a href="classWalletModelTransaction.html#a9265a45b77478e288b252210187e3d51">WalletModelTransaction::fee</a></div><div class="ttdeci">CAmount fee</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8h_source.html#l00044">walletmodeltransaction.h:44</a></div></div>
|
|
<div class="ttc" id="classSendCoinsRecipient_html"><div class="ttname"><a href="classSendCoinsRecipient.html">SendCoinsRecipient</a></div><div class="ttdef"><b>Definition:</b> <a href="walletmodel_8h_source.html#l00038">walletmodel.h:38</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_a58835446dab9397f823106d4a6ba6812"><div class="ttname"><a href="classWalletModelTransaction.html#a58835446dab9397f823106d4a6ba6812">WalletModelTransaction::getPossibleKeyChange</a></div><div class="ttdeci">CReserveKey * getPossibleKeyChange()</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00096">walletmodeltransaction.cpp:96</a></div></div>
|
|
<div class="ttc" id="classWalletModelTransaction_html_aab5bd2eb6244b6f0e12d8511d64caf82"><div class="ttname"><a href="classWalletModelTransaction.html#aab5bd2eb6244b6f0e12d8511d64caf82">WalletModelTransaction::WalletModelTransaction</a></div><div class="ttdeci">WalletModelTransaction(const QList< SendCoinsRecipient > &recipients)</div><div class="ttdef"><b>Definition:</b> <a href="walletmodeltransaction_8cpp_source.html#l00009">walletmodeltransaction.cpp:9</a></div></div>
|
|
<div class="ttc" id="classpayments_1_1Output_html"><div class="ttname"><a href="classpayments_1_1Output.html">payments::Output</a></div><div class="ttdef"><b>Definition:</b> <a href="paymentrequest_8pb_8h_source.html#l00045">paymentrequest.pb.h:45</a></div></div>
|
|
<div class="ttc" id="classPaymentRequestPlus_html_ab0ebee8009c066b45811fe59a07da230"><div class="ttname"><a href="classPaymentRequestPlus.html#ab0ebee8009c066b45811fe59a07da230">PaymentRequestPlus::getDetails</a></div><div class="ttdeci">const payments::PaymentDetails & getDetails() const</div><div class="ttdef"><b>Definition:</b> <a href="paymentrequestplus_8h_source.html#l00041">paymentrequestplus.h:41</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="dir_f0c29a9f5764d78706f34c972e8114d8.html">qt</a></li><li class="navelem"><a class="el" href="walletmodeltransaction_8cpp.html">walletmodeltransaction.cpp</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:08 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>
|