mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
131 lines
28 KiB
HTML
131 lines
28 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/script/dashconsensus.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('dashconsensus_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">dashconsensus.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="dashconsensus_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) 2009-2010 Satoshi Nakamoto</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <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> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="dashconsensus_8h.html">dashconsensus.h</a>"</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="transaction_8h.html">primitives/transaction.h</a>"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="pubkey_8h.html">pubkey.h</a>"</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "<a class="code" href="interpreter_8h.html">script/interpreter.h</a>"</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "<a class="code" href="version_8h.html">version.h</a>"</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">namespace </span>{</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">class </span>TxInputStream</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  TxInputStream(<span class="keywordtype">int</span> nTypeIn, <span class="keywordtype">int</span> nVersionIn, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *txTo, <span class="keywordtype">size_t</span> txToLen) :</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  m_type(nTypeIn),</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  m_version(nVersionIn),</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  m_data(txTo),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  m_remaining(txToLen)</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  {}</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>  TxInputStream& read(<span class="keywordtype">char</span>* pch, <span class="keywordtype">size_t</span> nSize)</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>  <span class="keywordflow">if</span> (nSize > m_remaining)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">throw</span> std::ios_base::failure(std::string(__func__) + <span class="stringliteral">": end of data"</span>);</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">if</span> (pch == NULL)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">throw</span> std::ios_base::failure(std::string(__func__) + <span class="stringliteral">": bad destination buffer"</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"> 34</span>  <span class="keywordflow">if</span> (m_data == NULL)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">throw</span> std::ios_base::failure(std::string(__func__) + <span class="stringliteral">": bad source buffer"</span>);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="glibc__compat_8cpp.html#a0f46826ab0466591e136db24394923cf">memcpy</a>(pch, m_data, nSize);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  m_remaining -= nSize;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  m_data += nSize;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</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>  <span class="keyword">template</span><<span class="keyword">typename</span> T></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  TxInputStream& operator>>(T& obj)</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="serialize_8h.html#a6535b70fa93811f2b1df307a424eb317">::Unserialize</a>(*<span class="keyword">this</span>, obj, m_type, m_version);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">return</span> *<span class="keyword">this</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"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> m_type;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> m_version;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* m_data;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">size_t</span> m_remaining;</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> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> set_error(<a class="code" href="dashconsensus_8h.html#a6256690cf6e2a6183fd8380621b7b618">dashconsensus_error</a>* ret, <a class="code" href="dashconsensus_8h.html#a6256690cf6e2a6183fd8380621b7b618">dashconsensus_error</a> serror)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span> (ret)</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  *ret = serror;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">struct </span>ECCryptoClosure</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classECCVerifyHandle.html">ECCVerifyHandle</a> handle;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> };</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> ECCryptoClosure instance_of_eccryptoclosure;</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> </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="dashconsensus_8h.html#a0c3a82dea5bf3067ad1c85d972c2ede8"> 72</a></span> <span class="keywordtype">int</span> <a class="code" href="dashconsensus_8cpp.html#a8f3fc3426e8b7fa451a46856b91899d9">dashconsensus_verify_script</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *scriptPubKey, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> scriptPubKeyLen,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *txTo , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> txToLen,</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nIn, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="dash-tx_8cpp.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>, <a class="code" href="dashconsensus_8h.html#a6256690cf6e2a6183fd8380621b7b618">dashconsensus_error</a>* <a class="code" href="namespaceextract__strings__qt.html#a75c3976a3587b535b25c5bd9d1ca6cee">err</a>)</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">try</span> {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  TxInputStream stream(<a class="code" href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a652754eeaf79fba4fcf4c18597a6961c">SER_NETWORK</a>, <a class="code" href="version_8h.html#a4e2497f7c9c4319adcaf945159ec63f4">PROTOCOL_VERSION</a>, txTo, txToLen);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classCTransaction.html">CTransaction</a> tx;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  stream >> tx;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (nIn >= tx.vin.size())</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> set_error(<a class="code" href="namespaceextract__strings__qt.html#a75c3976a3587b535b25c5bd9d1ca6cee">err</a>, <a class="code" href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52eab20bf1e41ad8e05a6fa1164ee6180458">dashconsensus_ERR_TX_INDEX</a>);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span> (tx.GetSerializeSize(<a class="code" href="serialize_8h.html#ae4d5251432e1a9e6803c0240cc492e18a652754eeaf79fba4fcf4c18597a6961c">SER_NETWORK</a>, <a class="code" href="version_8h.html#a4e2497f7c9c4319adcaf945159ec63f4">PROTOCOL_VERSION</a>) != txToLen)</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> set_error(<a class="code" href="namespaceextract__strings__qt.html#a75c3976a3587b535b25c5bd9d1ca6cee">err</a>, <a class="code" href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52ea1de3611911df3ff068015ac924db886f">dashconsensus_ERR_TX_SIZE_MISMATCH</a>);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// Regardless of the verification result, the tx did not error.</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  set_error(<a class="code" href="namespaceextract__strings__qt.html#a75c3976a3587b535b25c5bd9d1ca6cee">err</a>, <a class="code" href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52ea180b8b6de29920facdae2a20933f29ee">dashconsensus_ERR_OK</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> <a class="code" href="interpreter_8cpp.html#a56bc5c34addf9d85b8b7637f3738a125">VerifyScript</a>(tx.vin[nIn].scriptSig, <a class="code" href="classCScript.html">CScript</a>(scriptPubKey, scriptPubKey + scriptPubKeyLen), <a class="code" href="dash-tx_8cpp.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a>, <a class="code" href="classTransactionSignatureChecker.html">TransactionSignatureChecker</a>(&tx, nIn), NULL);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&) {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> set_error(<a class="code" href="namespaceextract__strings__qt.html#a75c3976a3587b535b25c5bd9d1ca6cee">err</a>, <a class="code" href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52eaa6f3880884f4ac203683b1c151b61911">dashconsensus_ERR_TX_DESERIALIZE</a>); <span class="comment">// Error deserializing</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</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> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="dashconsensus_8h.html#acf55db0245a5b7df3ee54f3d4667a976"> 94</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="dashconsensus_8cpp.html#a0ff54d7c822232bcc105c4fe22200d37">dashconsensus_version</a>()</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Just use the API version for now</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> <a class="code" href="dashconsensus_8h.html#ae2fa5c861fe3bed790b00bf2808818b0">BITCOINCONSENSUS_API_VER</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</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="pubkey_8h_html"><div class="ttname"><a href="pubkey_8h.html">pubkey.h</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8cpp_html_a8f3fc3426e8b7fa451a46856b91899d9"><div class="ttname"><a href="dashconsensus_8cpp.html#a8f3fc3426e8b7fa451a46856b91899d9">dashconsensus_verify_script</a></div><div class="ttdeci">int dashconsensus_verify_script(const unsigned char *scriptPubKey, unsigned int scriptPubKeyLen, const unsigned char *txTo, unsigned int txToLen, unsigned int nIn, unsigned int flags, dashconsensus_error *err)</div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8cpp_source.html#l00072">dashconsensus.cpp:72</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8h_html_a0588a58fcddb315b5ff82fde1f92e52eaa6f3880884f4ac203683b1c151b61911"><div class="ttname"><a href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52eaa6f3880884f4ac203683b1c151b61911">dashconsensus_ERR_TX_DESERIALIZE</a></div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8h_source.html#l00041">dashconsensus.h:41</a></div></div>
|
|
<div class="ttc" id="dash-tx_8cpp_html_ac8bf36fe0577cba66bccda3a6f7e80a4"><div class="ttname"><a href="dash-tx_8cpp.html#ac8bf36fe0577cba66bccda3a6f7e80a4">flags</a></div><div class="ttdeci">int flags</div><div class="ttdef"><b>Definition:</b> <a href="dash-tx_8cpp_source.html#l00326">dash-tx.cpp:326</a></div></div>
|
|
<div class="ttc" id="interpreter_8h_html"><div class="ttname"><a href="interpreter_8h.html">interpreter.h</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8h_html"><div class="ttname"><a href="dashconsensus_8h.html">dashconsensus.h</a></div></div>
|
|
<div class="ttc" id="classTransactionSignatureChecker_html"><div class="ttname"><a href="classTransactionSignatureChecker.html">TransactionSignatureChecker</a></div><div class="ttdef"><b>Definition:</b> <a href="interpreter_8h_source.html#l00116">interpreter.h:116</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="serialize_8h_html_a6535b70fa93811f2b1df307a424eb317"><div class="ttname"><a href="serialize_8h.html#a6535b70fa93811f2b1df307a424eb317">Unserialize</a></div><div class="ttdeci">void Unserialize(Stream &s, char &a, int, int=0)</div><div class="ttdef"><b>Definition:</b> <a href="serialize_8h_source.html#l00226">serialize.h:226</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8h_html_a0588a58fcddb315b5ff82fde1f92e52ea180b8b6de29920facdae2a20933f29ee"><div class="ttname"><a href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52ea180b8b6de29920facdae2a20933f29ee">dashconsensus_ERR_OK</a></div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8h_source.html#l00038">dashconsensus.h:38</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8h_html_ae2fa5c861fe3bed790b00bf2808818b0"><div class="ttname"><a href="dashconsensus_8h.html#ae2fa5c861fe3bed790b00bf2808818b0">BITCOINCONSENSUS_API_VER</a></div><div class="ttdeci">#define BITCOINCONSENSUS_API_VER</div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8h_source.html#l00034">dashconsensus.h:34</a></div></div>
|
|
<div class="ttc" id="interpreter_8cpp_html_a56bc5c34addf9d85b8b7637f3738a125"><div class="ttname"><a href="interpreter_8cpp.html#a56bc5c34addf9d85b8b7637f3738a125">VerifyScript</a></div><div class="ttdeci">bool VerifyScript(const CScript &scriptSig, const CScript &scriptPubKey, unsigned int flags, const BaseSignatureChecker &checker, ScriptError *serror)</div><div class="ttdef"><b>Definition:</b> <a href="interpreter_8cpp_source.html#l01242">interpreter.cpp:1242</a></div></div>
|
|
<div class="ttc" id="version_8h_html"><div class="ttname"><a href="version_8h.html">version.h</a></div></div>
|
|
<div class="ttc" id="classECCVerifyHandle_html"><div class="ttname"><a href="classECCVerifyHandle.html">ECCVerifyHandle</a></div><div class="ttdef"><b>Definition:</b> <a href="pubkey_8h_source.html#l00239">pubkey.h:239</a></div></div>
|
|
<div class="ttc" id="namespaceextract__strings__qt_html_a75c3976a3587b535b25c5bd9d1ca6cee"><div class="ttname"><a href="namespaceextract__strings__qt.html#a75c3976a3587b535b25c5bd9d1ca6cee">extract_strings_qt.err</a></div><div class="ttdeci">err</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="dashconsensus_8h_html_a0588a58fcddb315b5ff82fde1f92e52ea1de3611911df3ff068015ac924db886f"><div class="ttname"><a href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52ea1de3611911df3ff068015ac924db886f">dashconsensus_ERR_TX_SIZE_MISMATCH</a></div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8h_source.html#l00040">dashconsensus.h:40</a></div></div>
|
|
<div class="ttc" id="glibc__compat_8cpp_html_a0f46826ab0466591e136db24394923cf"><div class="ttname"><a href="glibc__compat_8cpp.html#a0f46826ab0466591e136db24394923cf">memcpy</a></div><div class="ttdeci">void * memcpy(void *a, const void *b, size_t c)</div><div class="ttdef"><b>Definition:</b> <a href="glibc__compat_8cpp_source.html#l00017">glibc_compat.cpp:17</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="classCScript_html"><div class="ttname"><a href="classCScript.html">CScript</a></div><div class="ttdef"><b>Definition:</b> <a href="script_8h_source.html#l00373">script.h:373</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8cpp_html_a0ff54d7c822232bcc105c4fe22200d37"><div class="ttname"><a href="dashconsensus_8cpp.html#a0ff54d7c822232bcc105c4fe22200d37">dashconsensus_version</a></div><div class="ttdeci">unsigned int dashconsensus_version()</div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8cpp_source.html#l00094">dashconsensus.cpp:94</a></div></div>
|
|
<div class="ttc" id="dashconsensus_8h_html_a6256690cf6e2a6183fd8380621b7b618"><div class="ttname"><a href="dashconsensus_8h.html#a6256690cf6e2a6183fd8380621b7b618">dashconsensus_error</a></div><div class="ttdeci">enum dashconsensus_error_t dashconsensus_error</div></div>
|
|
<div class="ttc" id="dashconsensus_8h_html_a0588a58fcddb315b5ff82fde1f92e52eab20bf1e41ad8e05a6fa1164ee6180458"><div class="ttname"><a href="dashconsensus_8h.html#a0588a58fcddb315b5ff82fde1f92e52eab20bf1e41ad8e05a6fa1164ee6180458">dashconsensus_ERR_TX_INDEX</a></div><div class="ttdef"><b>Definition:</b> <a href="dashconsensus_8h_source.html#l00039">dashconsensus.h:39</a></div></div>
|
|
<div class="ttc" id="transaction_8h_html"><div class="ttname"><a href="transaction_8h.html">transaction.h</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_fe414d616bd0c4668e6515f48824338f.html">script</a></li><li class="navelem"><a class="el" href="dashconsensus_8cpp.html">dashconsensus.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>
|