mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
475 lines
25 KiB
HTML
475 lines
25 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/core_io.h File Reference</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('core__io_8h.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="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">core_io.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <string></code><br />
|
|
<code>#include <vector></code><br />
|
|
</div>
|
|
<p><a href="core__io_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a29989c95b21abde8baf8b48a73f9b9a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCScript.html">CScript</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a29989c95b21abde8baf8b48a73f9b9a8">ParseScript</a> (const std::string &s)</td></tr>
|
|
<tr class="separator:a29989c95b21abde8baf8b48a73f9b9a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9236ffa581211a68db7f7447faa6c27c"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a9236ffa581211a68db7f7447faa6c27c">ScriptToAsmStr</a> (const <a class="el" href="classCScript.html">CScript</a> &script, const bool fAttemptSighashDecode=false)</td></tr>
|
|
<tr class="separator:a9236ffa581211a68db7f7447faa6c27c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adf3a8ae53f4e0af5832ce21fc581db0e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#adf3a8ae53f4e0af5832ce21fc581db0e">DecodeHexTx</a> (<a class="el" href="classCTransaction.html">CTransaction</a> &tx, const std::string &strHexTx)</td></tr>
|
|
<tr class="separator:adf3a8ae53f4e0af5832ce21fc581db0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7db52cf960ddbcf9cee6427f0a002c70"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a7db52cf960ddbcf9cee6427f0a002c70">DecodeHexBlk</a> (<a class="el" href="classCBlock.html">CBlock</a> &, const std::string &strHexBlk)</td></tr>
|
|
<tr class="separator:a7db52cf960ddbcf9cee6427f0a002c70"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd21ab1ea0a5b55dbccb6c06f0d03b19"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classuint256.html">uint256</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#acd21ab1ea0a5b55dbccb6c06f0d03b19">ParseHashUV</a> (const <a class="el" href="classUniValue.html">UniValue</a> &v, const std::string &strName)</td></tr>
|
|
<tr class="separator:acd21ab1ea0a5b55dbccb6c06f0d03b19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab23488fe652558cb495964627979fe7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classuint256.html">uint256</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#ab23488fe652558cb495964627979fe7f">ParseHashStr</a> (const std::string &, const std::string &strName)</td></tr>
|
|
<tr class="separator:ab23488fe652558cb495964627979fe7f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a78a4823e9ac3cb4e78cb6dddc868efff"><td class="memItemLeft" align="right" valign="top">std::vector< unsigned char > </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a78a4823e9ac3cb4e78cb6dddc868efff">ParseHexUV</a> (const <a class="el" href="classUniValue.html">UniValue</a> &v, const std::string &strName)</td></tr>
|
|
<tr class="separator:a78a4823e9ac3cb4e78cb6dddc868efff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3baef73fdbf49896ad4c68bc27fbd2b0"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a3baef73fdbf49896ad4c68bc27fbd2b0">FormatScript</a> (const <a class="el" href="classCScript.html">CScript</a> &script)</td></tr>
|
|
<tr class="separator:a3baef73fdbf49896ad4c68bc27fbd2b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a143951d3e5f8c1f57c9825187c426270"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a143951d3e5f8c1f57c9825187c426270">EncodeHexTx</a> (const <a class="el" href="classCTransaction.html">CTransaction</a> &tx)</td></tr>
|
|
<tr class="separator:a143951d3e5f8c1f57c9825187c426270"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a51bf7268adbdcd58e7af445ea4db61"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#a4a51bf7268adbdcd58e7af445ea4db61">ScriptPubKeyToUniv</a> (const <a class="el" href="classCScript.html">CScript</a> &scriptPubKey, <a class="el" href="classUniValue.html">UniValue</a> &out, bool fIncludeHex)</td></tr>
|
|
<tr class="separator:a4a51bf7268adbdcd58e7af445ea4db61"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb901ca565e3df0e3bc0c9863ad8f53a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="core__io_8h.html#aeb901ca565e3df0e3bc0c9863ad8f53a">TxToUniv</a> (const <a class="el" href="classCTransaction.html">CTransaction</a> &tx, const <a class="el" href="classuint256.html">uint256</a> &hashBlock, <a class="el" href="classUniValue.html">UniValue</a> &entry)</td></tr>
|
|
<tr class="separator:aeb901ca565e3df0e3bc0c9863ad8f53a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a7db52cf960ddbcf9cee6427f0a002c70"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7db52cf960ddbcf9cee6427f0a002c70">◆ </a></span>DecodeHexBlk()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool DecodeHexBlk </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classCBlock.html">CBlock</a> & </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>strHexBlk</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__read_8cpp_source.html#l00110">110</a> of file <a class="el" href="core__read_8cpp_source.html">core_read.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, and <a class="el" href="mining_8cpp_source.html#l00755">submitblock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adf3a8ae53f4e0af5832ce21fc581db0e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adf3a8ae53f4e0af5832ce21fc581db0e">◆ </a></span>DecodeHexTx()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool DecodeHexTx </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classCTransaction.html">CTransaction</a> & </td>
|
|
<td class="paramname"><em>tx</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>strHexTx</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__read_8cpp_source.html#l00093">93</a> of file <a class="el" href="core__read_8cpp_source.html">core_read.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dash-tx_8cpp_source.html#l00592">CommandLineRawTx()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00460">decoderawtransaction()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02651">fundrawtransaction()</a>, and <a class="el" href="rawtransaction_8cpp_source.html#l00830">sendrawtransaction()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a143951d3e5f8c1f57c9825187c426270"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a143951d3e5f8c1f57c9825187c426270">◆ </a></span>EncodeHexTx()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string EncodeHexTx </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCTransaction.html">CTransaction</a> & </td>
|
|
<td class="paramname"><em>tx</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__write_8cpp_source.html#l00119">119</a> of file <a class="el" href="core__write_8cpp_source.html">core_write.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="rawtransaction_8cpp_source.html#l00358">createrawtransaction()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02651">fundrawtransaction()</a>, <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00144">getrawtransaction()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01821">gettransaction()</a>, <a class="el" href="transactiontablemodel_8cpp_source.html#l00225">TransactionTablePriv::getTxHex()</a>, <a class="el" href="dash-tx_8cpp_source.html#l00555">OutputTxHex()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00588">signrawtransaction()</a>, and <a class="el" href="core__write_8cpp_source.html#l00151">TxToUniv()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3baef73fdbf49896ad4c68bc27fbd2b0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3baef73fdbf49896ad4c68bc27fbd2b0">◆ </a></span>FormatScript()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string FormatScript </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCScript.html">CScript</a> & </td>
|
|
<td class="paramname"><em>script</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__write_8cpp_source.html#l00023">23</a> of file <a class="el" href="core__write_8cpp_source.html">core_write.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab23488fe652558cb495964627979fe7f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab23488fe652558cb495964627979fe7f">◆ </a></span>ParseHashStr()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classuint256.html">uint256</a> ParseHashStr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>strName</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__read_8cpp_source.html#l00135">135</a> of file <a class="el" href="core__read_8cpp_source.html">core_read.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="core__read_8cpp_source.html#l00127">ParseHashUV()</a>, and <a class="el" href="mining_8cpp_source.html#l00279">prioritisetransaction()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acd21ab1ea0a5b55dbccb6c06f0d03b19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acd21ab1ea0a5b55dbccb6c06f0d03b19">◆ </a></span>ParseHashUV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classuint256.html">uint256</a> ParseHashUV </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classUniValue.html">UniValue</a> & </td>
|
|
<td class="paramname"><em>v</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>strName</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dash-tx_8cpp_source.html#l00366">MutateTxSign()</a>, and <a class="el" href="dash-tx_8cpp_source.html#l00350">ParseHashUO()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a78a4823e9ac3cb4e78cb6dddc868efff"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a78a4823e9ac3cb4e78cb6dddc868efff">◆ </a></span>ParseHexUV()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<unsigned char> ParseHexUV </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classUniValue.html">UniValue</a> & </td>
|
|
<td class="paramname"><em>v</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>strName</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dash-tx_8cpp_source.html#l00366">MutateTxSign()</a>, and <a class="el" href="dash-tx_8cpp_source.html#l00357">ParseHexUO()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a29989c95b21abde8baf8b48a73f9b9a8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a29989c95b21abde8baf8b48a73f9b9a8">◆ </a></span>ParseScript()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCScript.html">CScript</a> ParseScript </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>s</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__read_8cpp_source.html#l00025">25</a> of file <a class="el" href="core__read_8cpp_source.html">core_read.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dash-tx_8cpp_source.html#l00274">MutateTxAddOutScript()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4a51bf7268adbdcd58e7af445ea4db61"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a51bf7268adbdcd58e7af445ea4db61">◆ </a></span>ScriptPubKeyToUniv()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ScriptPubKeyToUniv </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCScript.html">CScript</a> & </td>
|
|
<td class="paramname"><em>scriptPubKey</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classUniValue.html">UniValue</a> & </td>
|
|
<td class="paramname"><em>out</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>fIncludeHex</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__write_8cpp_source.html#l00126">126</a> of file <a class="el" href="core__write_8cpp_source.html">core_write.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="core__write_8cpp_source.html#l00151">TxToUniv()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9236ffa581211a68db7f7447faa6c27c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9236ffa581211a68db7f7447faa6c27c">◆ </a></span>ScriptToAsmStr()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string ScriptToAsmStr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCScript.html">CScript</a> & </td>
|
|
<td class="paramname"><em>script</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const bool </td>
|
|
<td class="paramname"><em>fAttemptSighashDecode</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Create the assembly string representation of a <a class="el" href="classCScript.html">CScript</a> object. </p><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">script</td><td><a class="el" href="classCScript.html">CScript</a> object to convert into the asm string representation. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fAttemptSighashDecode</td><td>Whether to attempt to decode sighash types on data within the script that matches the format of a signature. Only pass true for scripts you believe could contain signatures. For example, pass false, or omit the this argument (defaults to false), for scriptPubKeys. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__write_8cpp_source.html#l00075">75</a> of file <a class="el" href="core__write_8cpp_source.html">core_write.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="privatesend-server_8cpp_source.html#l00637">CPrivateSendServer::AddScriptSig()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00851">CMasternodePaymentVote::CheckSignature()</a>, <a class="el" href="governance-object_8cpp_source.html#l00502">CGovernanceObject::IsCollateralValid()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00546">CPrivateSendServer::IsInputScriptSigValid()</a>, <a class="el" href="dash-tx_8cpp_source.html#l00366">MutateTxSign()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00018">CPrivateSendServer::ProcessMessage()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00040">ScriptPubKeyToJSON()</a>, <a class="el" href="core__write_8cpp_source.html#l00126">ScriptPubKeyToUniv()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00416">CMasternodePaymentVote::Sign()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00488">CPrivateSendClient::SignFinalTransaction()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00588">signrawtransaction()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00874">CMasternodePaymentVote::ToString()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00064">TxToJSON()</a>, and <a class="el" href="core__write_8cpp_source.html#l00151">TxToUniv()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aeb901ca565e3df0e3bc0c9863ad8f53a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aeb901ca565e3df0e3bc0c9863ad8f53a">◆ </a></span>TxToUniv()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void TxToUniv </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCTransaction.html">CTransaction</a> & </td>
|
|
<td class="paramname"><em>tx</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classuint256.html">uint256</a> & </td>
|
|
<td class="paramname"><em>hashBlock</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classUniValue.html">UniValue</a> & </td>
|
|
<td class="paramname"><em>entry</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="core__write_8cpp_source.html#l00151">151</a> of file <a class="el" href="core__write_8cpp_source.html">core_write.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="dash-tx_8cpp_source.html#l00539">OutputTxJSON()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</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="core__io_8h.html">core_io.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:10 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>
|