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

138 lines
31 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/sign.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('sign_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">sign.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="sign_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_SCRIPT_SIGN_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#define BITCOIN_SCRIPT_SIGN_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="interpreter_8h.html">script/interpreter.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="keyword">class </span><a class="code" href="classCKeyID.html">CKeyID</a>;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">class </span><a class="code" href="classCKeyStore.html">CKeyStore</a>;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="keyword">class </span><a class="code" href="classCScript.html">CScript</a>;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">class </span><a class="code" href="classCTransaction.html">CTransaction</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"> 16</span>&#160;<span class="keyword">struct </span><a class="code" href="structCMutableTransaction.html">CMutableTransaction</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classBaseSignatureCreator.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classBaseSignatureCreator.html">BaseSignatureCreator</a> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classBaseSignatureCreator.html#a69456f11543d3fe11de59ec3177c99de"> 21</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>* <a class="code" href="classBaseSignatureCreator.html#a69456f11543d3fe11de59ec3177c99de">keystore</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classBaseSignatureCreator.html#a8eae906b2ac30f0f206a1ce5d68c6832"> 24</a></span>&#160; <a class="code" href="classBaseSignatureCreator.html#a8eae906b2ac30f0f206a1ce5d68c6832">BaseSignatureCreator</a>(<span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>* keystoreIn) : <a class="code" href="classBaseSignatureCreator.html#a69456f11543d3fe11de59ec3177c99de">keystore</a>(keystoreIn) {}</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classBaseSignatureCreator.html#a4db715d6c038da3bad376e829c049455"> 25</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>&amp; <a class="code" href="classBaseSignatureCreator.html#a4db715d6c038da3bad376e829c049455">KeyStore</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> *<a class="code" href="classBaseSignatureCreator.html#a69456f11543d3fe11de59ec3177c99de">keystore</a>; };</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classBaseSignatureCreator.html#a72f5e8cd1e9ea5fff625a886dcebc504"> 26</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classBaseSignatureCreator.html#a72f5e8cd1e9ea5fff625a886dcebc504">~BaseSignatureCreator</a>() {}</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classBaseSignatureChecker.html">BaseSignatureChecker</a>&amp; <a class="code" href="classBaseSignatureCreator.html#a523f4e4c27e385fa5a90184b5178bfbc">Checker</a>() <span class="keyword">const</span> =0;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classBaseSignatureCreator.html#a9c915179e865145f13a561a618126e97">CreateSig</a>(std::vector&lt;unsigned char&gt;&amp; vchSig, <span class="keyword">const</span> <a class="code" href="classCKeyID.html">CKeyID</a>&amp; keyid, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptCode) <span class="keyword">const</span> =0;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;};</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classTransactionSignatureCreator.html"> 34</a></span>&#160;<span class="keyword">class </span><a class="code" href="classTransactionSignatureCreator.html">TransactionSignatureCreator</a> : <span class="keyword">public</span> <a class="code" href="classBaseSignatureCreator.html">BaseSignatureCreator</a> {</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classTransactionSignatureCreator.html#a693a324fdf10f73f5fe3c42f87810a27"> 35</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>* <a class="code" href="classTransactionSignatureCreator.html#a693a324fdf10f73f5fe3c42f87810a27">txTo</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classTransactionSignatureCreator.html#a0a4c6aec78da293cf047edbff10a837b"> 36</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classTransactionSignatureCreator.html#a0a4c6aec78da293cf047edbff10a837b">nIn</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classTransactionSignatureCreator.html#a0499787748195a80019ea0b2886e8901"> 37</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classTransactionSignatureCreator.html#a0499787748195a80019ea0b2886e8901">nHashType</a>;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classTransactionSignatureCreator.html#a0d26a232f022e3c307d9c5d6dbf5f05d"> 38</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classTransactionSignatureChecker.html">TransactionSignatureChecker</a> <a class="code" href="classTransactionSignatureCreator.html#a0d26a232f022e3c307d9c5d6dbf5f05d">checker</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</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"> 41</span>&#160; <a class="code" href="classTransactionSignatureCreator.html#af80c4dc0128c30672485523322896a00">TransactionSignatureCreator</a>(<span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>* keystoreIn, <span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>* txToIn, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nInIn, <span class="keywordtype">int</span> nHashTypeIn=<a class="code" href="interpreter_8h.html#aaf8fd5f0e57d456151c951e0f3715fc4ac68c7df6528b3001624e56b2de3826de">SIGHASH_ALL</a>);</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classTransactionSignatureCreator.html#a73a87e141336e3255aa193b6662d3421"> 42</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classBaseSignatureChecker.html">BaseSignatureChecker</a>&amp; <a class="code" href="classTransactionSignatureCreator.html#a73a87e141336e3255aa193b6662d3421">Checker</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTransactionSignatureCreator.html#a0d26a232f022e3c307d9c5d6dbf5f05d">checker</a>; }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classTransactionSignatureCreator.html#a02115adb0c60be7f118fbf383072f820">CreateSig</a>(std::vector&lt;unsigned char&gt;&amp; vchSig, <span class="keyword">const</span> <a class="code" href="classCKeyID.html">CKeyID</a>&amp; keyid, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptCode) <span class="keyword">const</span>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;};</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classDummySignatureCreator.html"> 47</a></span>&#160;<span class="keyword">class </span><a class="code" href="classDummySignatureCreator.html">DummySignatureCreator</a> : <span class="keyword">public</span> <a class="code" href="classBaseSignatureCreator.html">BaseSignatureCreator</a> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classDummySignatureCreator.html#aa6a7f1c559c0a60cc9ce066cd022b69e"> 49</a></span>&#160; <a class="code" href="classDummySignatureCreator.html#aa6a7f1c559c0a60cc9ce066cd022b69e">DummySignatureCreator</a>(<span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>* keystoreIn) : <a class="code" href="classBaseSignatureCreator.html">BaseSignatureCreator</a>(keystoreIn) {}</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">const</span> <a class="code" href="classBaseSignatureChecker.html">BaseSignatureChecker</a>&amp; <a class="code" href="classDummySignatureCreator.html#a3f2a4510255baa8032616e466119497f">Checker</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classDummySignatureCreator.html#a01c852fb331dd1f29a8761e8ff211d60">CreateSig</a>(std::vector&lt;unsigned char&gt;&amp; vchSig, <span class="keyword">const</span> <a class="code" href="classCKeyID.html">CKeyID</a>&amp; keyid, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptCode) <span class="keyword">const</span>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;};</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="sign_8h.html#adbf7be99c10673b0273baa225658279d">ProduceSignature</a>(<span class="keyword">const</span> <a class="code" href="classBaseSignatureCreator.html">BaseSignatureCreator</a>&amp; creator, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptPubKey, <a class="code" href="classCScript.html">CScript</a>&amp; scriptSig);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="sign_8h.html#a3b014c5c7c258e53d1e933017025beeb">SignSignature</a>(<span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>&amp; keystore, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; fromPubKey, <a class="code" href="structCMutableTransaction.html">CMutableTransaction</a>&amp; txTo, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nIn, <span class="keywordtype">int</span> nHashType=<a class="code" href="interpreter_8h.html#aaf8fd5f0e57d456151c951e0f3715fc4ac68c7df6528b3001624e56b2de3826de">SIGHASH_ALL</a>);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="sign_8h.html#a3b014c5c7c258e53d1e933017025beeb">SignSignature</a>(<span class="keyword">const</span> <a class="code" href="classCKeyStore.html">CKeyStore</a>&amp; keystore, <span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>&amp; txFrom, <a class="code" href="structCMutableTransaction.html">CMutableTransaction</a>&amp; txTo, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nIn, <span class="keywordtype">int</span> nHashType=<a class="code" href="interpreter_8h.html#aaf8fd5f0e57d456151c951e0f3715fc4ac68c7df6528b3001624e56b2de3826de">SIGHASH_ALL</a>);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<a class="code" href="classCScript.html">CScript</a> <a class="code" href="sign_8h.html#a45bed06d0fc4d519789507f32d9188ea">CombineSignatures</a>(<span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptPubKey, <span class="keyword">const</span> <a class="code" href="classBaseSignatureChecker.html">BaseSignatureChecker</a>&amp; checker, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptSig1, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptSig2);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<a class="code" href="classCScript.html">CScript</a> <a class="code" href="sign_8h.html#a45bed06d0fc4d519789507f32d9188ea">CombineSignatures</a>(<span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptPubKey, <span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a>&amp; txTo, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nIn, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptSig1, <span class="keyword">const</span> <a class="code" href="classCScript.html">CScript</a>&amp; scriptSig2);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#endif // BITCOIN_SCRIPT_SIGN_H</span></div><div class="ttc" id="structCMutableTransaction_html"><div class="ttname"><a href="structCMutableTransaction.html">CMutableTransaction</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00303">transaction.h:303</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html"><div class="ttname"><a href="classTransactionSignatureCreator.html">TransactionSignatureCreator</a></div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00034">sign.h:34</a></div></div>
<div class="ttc" id="sign_8h_html_adbf7be99c10673b0273baa225658279d"><div class="ttname"><a href="sign_8h.html#adbf7be99c10673b0273baa225658279d">ProduceSignature</a></div><div class="ttdeci">bool ProduceSignature(const BaseSignatureCreator &amp;creator, const CScript &amp;scriptPubKey, CScript &amp;scriptSig)</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00104">sign.cpp:104</a></div></div>
<div class="ttc" id="classDummySignatureCreator_html_a01c852fb331dd1f29a8761e8ff211d60"><div class="ttname"><a href="classDummySignatureCreator.html#a01c852fb331dd1f29a8761e8ff211d60">DummySignatureCreator::CreateSig</a></div><div class="ttdeci">bool CreateSig(std::vector&lt; unsigned char &gt; &amp;vchSig, const CKeyID &amp;keyid, const CScript &amp;scriptCode) const</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00300">sign.cpp:300</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_a02115adb0c60be7f118fbf383072f820"><div class="ttname"><a href="classTransactionSignatureCreator.html#a02115adb0c60be7f118fbf383072f820">TransactionSignatureCreator::CreateSig</a></div><div class="ttdeci">bool CreateSig(std::vector&lt; unsigned char &gt; &amp;vchSig, const CKeyID &amp;keyid, const CScript &amp;scriptCode) const</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00023">sign.cpp:23</a></div></div>
<div class="ttc" id="classDummySignatureCreator_html"><div class="ttname"><a href="classDummySignatureCreator.html">DummySignatureCreator</a></div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00047">sign.h:47</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_af80c4dc0128c30672485523322896a00"><div class="ttname"><a href="classTransactionSignatureCreator.html#af80c4dc0128c30672485523322896a00">TransactionSignatureCreator::TransactionSignatureCreator</a></div><div class="ttdeci">TransactionSignatureCreator(const CKeyStore *keystoreIn, const CTransaction *txToIn, unsigned int nInIn, int nHashTypeIn=SIGHASH_ALL)</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00021">sign.cpp:21</a></div></div>
<div class="ttc" id="sign_8h_html_a3b014c5c7c258e53d1e933017025beeb"><div class="ttname"><a href="sign_8h.html#a3b014c5c7c258e53d1e933017025beeb">SignSignature</a></div><div class="ttdeci">bool SignSignature(const CKeyStore &amp;keystore, const CScript &amp;fromPubKey, CMutableTransaction &amp;txTo, unsigned int nIn, int nHashType=SIGHASH_ALL)</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00129">sign.cpp:129</a></div></div>
<div class="ttc" id="classCKeyID_html"><div class="ttname"><a href="classCKeyID.html">CKeyID</a></div><div class="ttdef"><b>Definition:</b> <a href="pubkey_8h_source.html#l00027">pubkey.h:27</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="classDummySignatureCreator_html_aa6a7f1c559c0a60cc9ce066cd022b69e"><div class="ttname"><a href="classDummySignatureCreator.html#aa6a7f1c559c0a60cc9ce066cd022b69e">DummySignatureCreator::DummySignatureCreator</a></div><div class="ttdeci">DummySignatureCreator(const CKeyStore *keystoreIn)</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00049">sign.h:49</a></div></div>
<div class="ttc" id="interpreter_8h_html_aaf8fd5f0e57d456151c951e0f3715fc4ac68c7df6528b3001624e56b2de3826de"><div class="ttname"><a href="interpreter_8h.html#aaf8fd5f0e57d456151c951e0f3715fc4ac68c7df6528b3001624e56b2de3826de">SIGHASH_ALL</a></div><div class="ttdef"><b>Definition:</b> <a href="interpreter_8h_source.html#l00024">interpreter.h:24</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_a0d26a232f022e3c307d9c5d6dbf5f05d"><div class="ttname"><a href="classTransactionSignatureCreator.html#a0d26a232f022e3c307d9c5d6dbf5f05d">TransactionSignatureCreator::checker</a></div><div class="ttdeci">const TransactionSignatureChecker checker</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00038">sign.h:38</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_a0499787748195a80019ea0b2886e8901"><div class="ttname"><a href="classTransactionSignatureCreator.html#a0499787748195a80019ea0b2886e8901">TransactionSignatureCreator::nHashType</a></div><div class="ttdeci">int nHashType</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00037">sign.h:37</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_a693a324fdf10f73f5fe3c42f87810a27"><div class="ttname"><a href="classTransactionSignatureCreator.html#a693a324fdf10f73f5fe3c42f87810a27">TransactionSignatureCreator::txTo</a></div><div class="ttdeci">const CTransaction * txTo</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00035">sign.h:35</a></div></div>
<div class="ttc" id="classDummySignatureCreator_html_a3f2a4510255baa8032616e466119497f"><div class="ttname"><a href="classDummySignatureCreator.html#a3f2a4510255baa8032616e466119497f">DummySignatureCreator::Checker</a></div><div class="ttdeci">const BaseSignatureChecker &amp; Checker() const</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00295">sign.cpp:295</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="classCKeyStore_html"><div class="ttname"><a href="classCKeyStore.html">CKeyStore</a></div><div class="ttdef"><b>Definition:</b> <a href="keystore_8h_source.html#l00020">keystore.h:20</a></div></div>
<div class="ttc" id="classBaseSignatureCreator_html_a9c915179e865145f13a561a618126e97"><div class="ttname"><a href="classBaseSignatureCreator.html#a9c915179e865145f13a561a618126e97">BaseSignatureCreator::CreateSig</a></div><div class="ttdeci">virtual bool CreateSig(std::vector&lt; unsigned char &gt; &amp;vchSig, const CKeyID &amp;keyid, const CScript &amp;scriptCode) const =0</div></div>
<div class="ttc" id="sign_8h_html_a45bed06d0fc4d519789507f32d9188ea"><div class="ttname"><a href="sign_8h.html#a45bed06d0fc4d519789507f32d9188ea">CombineSignatures</a></div><div class="ttdeci">CScript CombineSignatures(const CScript &amp;scriptPubKey, const BaseSignatureChecker &amp;checker, const CScript &amp;scriptSig1, const CScript &amp;scriptSig2)</div><div class="ttdef"><b>Definition:</b> <a href="sign_8cpp_source.html#l00265">sign.cpp:265</a></div></div>
<div class="ttc" id="classBaseSignatureCreator_html_a72f5e8cd1e9ea5fff625a886dcebc504"><div class="ttname"><a href="classBaseSignatureCreator.html#a72f5e8cd1e9ea5fff625a886dcebc504">BaseSignatureCreator::~BaseSignatureCreator</a></div><div class="ttdeci">virtual ~BaseSignatureCreator()</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00026">sign.h:26</a></div></div>
<div class="ttc" id="classBaseSignatureCreator_html_a8eae906b2ac30f0f206a1ce5d68c6832"><div class="ttname"><a href="classBaseSignatureCreator.html#a8eae906b2ac30f0f206a1ce5d68c6832">BaseSignatureCreator::BaseSignatureCreator</a></div><div class="ttdeci">BaseSignatureCreator(const CKeyStore *keystoreIn)</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00024">sign.h:24</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_a0a4c6aec78da293cf047edbff10a837b"><div class="ttname"><a href="classTransactionSignatureCreator.html#a0a4c6aec78da293cf047edbff10a837b">TransactionSignatureCreator::nIn</a></div><div class="ttdeci">unsigned int nIn</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00036">sign.h:36</a></div></div>
<div class="ttc" id="classBaseSignatureCreator_html_a69456f11543d3fe11de59ec3177c99de"><div class="ttname"><a href="classBaseSignatureCreator.html#a69456f11543d3fe11de59ec3177c99de">BaseSignatureCreator::keystore</a></div><div class="ttdeci">const CKeyStore * keystore</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00021">sign.h:21</a></div></div>
<div class="ttc" id="classBaseSignatureChecker_html"><div class="ttname"><a href="classBaseSignatureChecker.html">BaseSignatureChecker</a></div><div class="ttdef"><b>Definition:</b> <a href="interpreter_8h_source.html#l00095">interpreter.h:95</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="classBaseSignatureCreator_html_a523f4e4c27e385fa5a90184b5178bfbc"><div class="ttname"><a href="classBaseSignatureCreator.html#a523f4e4c27e385fa5a90184b5178bfbc">BaseSignatureCreator::Checker</a></div><div class="ttdeci">virtual const BaseSignatureChecker &amp; Checker() const =0</div></div>
<div class="ttc" id="classBaseSignatureCreator_html"><div class="ttname"><a href="classBaseSignatureCreator.html">BaseSignatureCreator</a></div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00019">sign.h:19</a></div></div>
<div class="ttc" id="classTransactionSignatureCreator_html_a73a87e141336e3255aa193b6662d3421"><div class="ttname"><a href="classTransactionSignatureCreator.html#a73a87e141336e3255aa193b6662d3421">TransactionSignatureCreator::Checker</a></div><div class="ttdeci">const BaseSignatureChecker &amp; Checker() const</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00042">sign.h:42</a></div></div>
<div class="ttc" id="classBaseSignatureCreator_html_a4db715d6c038da3bad376e829c049455"><div class="ttname"><a href="classBaseSignatureCreator.html#a4db715d6c038da3bad376e829c049455">BaseSignatureCreator::KeyStore</a></div><div class="ttdeci">const CKeyStore &amp; KeyStore() const</div><div class="ttdef"><b>Definition:</b> <a href="sign_8h_source.html#l00025">sign.h:25</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="sign_8h.html">sign.h</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>