dash-docs/en/glossary/pubkey-script.html
2018-01-25 14:49:26 +00:00

258 lines
8.9 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta property="og:image" content="https://www.dash.org/assets/img/graphics/dash_circle_normal.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Pubkey Script, ScriptPubKey - Dash Glossary</title>
<link rel="stylesheet" href="/css/font-awesome-4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/main.css">
<!--[if lt IE 8]><link rel="stylesheet" href="/css/ie.css"><script type="text/javascript" src="/js/ie.js"></script><![endif]-->
<!--[if IE 8]><link rel="stylesheet" href="/css/ie8.css"><![endif]-->
<script type="text/javascript" src="/js/base.js"></script>
<script type="text/javascript" src="/js/main.js"></script>
<script src="/js/jquery/jquery-1.11.2.min.js"></script>
<script src="/js/jquery/jquery.qrcode.min.js"></script>
<link rel="shortcut icon" href="/favicon.png">
<link rel="apple-touch-icon-precomposed" href="/img/icons/logo_dash_circle_normal.png"/>
<!-- Turn off cookie/analytic stuff
<script>
window.cookieconsent_options = {
theme: 'light-floating'
}
</script>
<script type="text/javascript" src="/js/cookieconsent/cookieconsent.js"></script>
<script>
if( navigator.doNotTrack != "yes" && navigator.doNotTrack != "1" && window.doNotTrack != "1" && navigator.msDoNotTrack != "1" ){
var script = document.createElement('script');
script.src = '/js/analytics.js'
document.getElementsByTagName("head")[0].appendChild(script);
}
</script>
-->
</head>
<body>
<div id="detectmobile" class="detectmobile"></div>
<div class="head"><div>
<ul class="lang">
<li><a>English</a>
<ul>
<li><ul>
<li><a href="/en/" class="active">English</a></li>
</ul></li>
</ul>
</li>
</ul>
<a id="menumobile" class="menumobile" onclick="mobileMenuShow(event);" ontouchstart="mobileMenuShow(event);"></a>
<a class="logo" href="/en/"><img src="/img/icons/logotop.svg" alt="Dash"></a>
<div id="langselect" class="langselect"><select onchange="window.location=this.value;">
<option value="/en/" selected="selected">English</option>
</select></div>
<ul id="menusimple" class="menusimple menumain" onclick="mobileMenuHover(event);" ontouchstart="mobileMenuHover(event);">
<li><a href="/en/bitcoin-for-developers">Developers</a></li>
<!--<li><a href="/en/developer-documentation">Documentation</a></li>-->
<li><a>Documentation</a>
<ul>
<li><a href="/en/developer-guide">Guide</a></li>
<li><a href="/en/developer-reference">Reference</a></li>
<li><a href="/en/developer-examples">Examples</a></li>
<li><a href="/en/developer-glossary">Glossary</a></li>
<li><a href="/en/doxygen/html/index.html">Source Code</a></li>
<!--
<li><a href="/en/getting-started">Getting started</a></li>
<li><a href="/en/how-it-works">How it works</a></li>
<li><a href="/en/you-need-to-know">You need to know</a></li>
-->
</ul>
</li>
<li><a>Resources</a>
<ul>
<li><a rel="noopener noreferrer" target="_blank" href="https://www.dash.org/community/">Community</a></li>
<li><a href="/en/vocabulary">Vocabulary</a></li>
</ul>
</li>
<!-- <li><a href="/en/innovation">Innovation</a></li> -->
</ul>
</div></div>
<div class="body">
<div class="breadcrumbs">
<a href="/en/">Developer Documentation</a>
&gt;
<a href="/en/developer-glossary">Glossary</a>
&gt;
Pubkey script
</div>
<div id="content" class="content">
<link rel="stylesheet" href="/css/jquery-ui.min.css">
<div class="subhead-links sourcefile" data-sourcefile="_data/glossary/en/pubkey-script.yaml"
><a href="https://github.com/dash-docs/dash-docs/edit/master/_data/glossary/en/pubkey-script.yaml">Edit</a>
| <a href="https://github.com/dash-docs/dash-docs/commits/master/_data/glossary/en/pubkey-script.yaml">History</a>
| <a href="https://github.com/dash-docs/dash-docs/issues/new?body=Source%20File%3A%20_data/glossary/en/pubkey-script.yaml%0A%0A">Report Issue</a>
| <a href="https://www.dash.org/forum/">Discuss</a></div>
<br>
<h1 id="pubkey-script-scriptpubkey">Pubkey Script, ScriptPubKey</h1>
<p><input id="glossary_term" class="glossary_term" placeholder="Search the glossary, RPCs, and more" /></p>
<div class="notice">
<p><span>This definition comes from the <a href="/en/developer-glossary">technical glossary</a>.</span></p>
</div>
<h2 id="definition">Definition</h2>
<p>A script included in <a href="/en/glossary/output" title="An output in a transaction which contains two fields: a value field for transferring zero or more duffs and a pubkey script for indicating what conditions must be fulfilled for those duffs to be further spent." class="auto-link">outputs</a> which sets the conditions that must be fulfilled for those <a href="/en/glossary/denominations" title="Denominations of Dash value, usually measured in fractions of a dash but sometimes measured in multiples of a duff. One dash equals 100,000,000 duffs." class="auto-link">duffs</a> to be spent. Data for fulfilling the conditions can be provided in a <a href="/en/glossary/signature-script" title="Data generated by a spender which is almost always used as variables to satisfy a pubkey script. Signature Scripts are called scriptSig in code." class="auto-link">signature script</a>. <a href="/en/glossary/pubkey-script" title="A script included in outputs which sets the conditions that must be fulfilled for those duffs to be spent. Data for fulfilling the conditions can be provided in a signature script. Pubkey Scripts are called a scriptPubKey in code." class="auto-link">Pubkey Scripts</a> are called a <a href="/en/glossary/pubkey-script" title="A script included in outputs which sets the conditions that must be fulfilled for those duffs to be spent. Data for fulfilling the conditions can be provided in a signature script. Pubkey Scripts are called a scriptPubKey in code." class="auto-link">scriptPubKey</a> in code.</p>
<h3 id="synonyms">Synonyms</h3>
<ul>
<li>
<p>Pubkey script</p>
</li>
<li>
<p>ScriptPubKey</p>
</li>
</ul>
<h3 id="not-to-be-confused-with">Not To Be Confused With</h3>
<ul>
<li>
<p><a href="/en/glossary/public-key" title="The public portion of a keypair which can be used to verify signatures made with the private portion of the keypair." class="auto-link">Pubkey</a> (a <a href="/en/glossary/public-key" title="The public portion of a keypair which can be used to verify signatures made with the private portion of the keypair." class="auto-link">public key</a>, which can be used as part of a <a href="/en/glossary/pubkey-script" title="A script included in outputs which sets the conditions that must be fulfilled for those duffs to be spent. Data for fulfilling the conditions can be provided in a signature script. Pubkey Scripts are called a scriptPubKey in code." class="auto-link">pubkey script</a> but dont provide a programmable authentication mechanism)</p>
</li>
<li>
<p><a href="/en/glossary/signature-script" title="Data generated by a spender which is almost always used as variables to satisfy a pubkey script. Signature Scripts are called scriptSig in code." class="auto-link">Signature script</a> (a script that provides data to the <a href="/en/glossary/pubkey-script" title="A script included in outputs which sets the conditions that must be fulfilled for those duffs to be spent. Data for fulfilling the conditions can be provided in a signature script. Pubkey Scripts are called a scriptPubKey in code." class="auto-link">pubkey script</a>)</p>
</li>
</ul>
<h3 id="links">Links</h3>
<ul>
<li><a href="/en/developer-guide#term-pubkey-script">Pubkey script</a> — Developer Guide</li>
</ul>
<!-- Inventory Messages -->
<!-- Inventory Messages: Dash Specific -->
<!--[bitcoin-documentation mailing list]: https://groups.google.com/forum/#!forum/bitcoin-documentation-->
</div>
<div class="footer">
<div class="footersponsor">
<!--<div><span>A community website sponsored by</span> <a href="https://bitcoinfoundation.org/"><img src="/img/brand/bitcoinfoundation.png" alt="Bitcoin Foundation"></a></div>-->
</div>
<div class="footerlicense">© Bitcoin Project 2009-2018 Released under the <a href="http://opensource.org/licenses/mit-license.php" target="_blank">MIT license</a>
<br>© Dash Project 2017-2018 Released under the <a href="http://opensource.org/licenses/mit-license.php" target="_blank">MIT license</a></div>
</div>
</div>
<script type="text/javascript">
fallbackSVG();
addAnchorLinks();
trackOutgoingLinks();
</script>
<script src="/js/jquery/jquery-1.11.2.min.js"></script>
<script src="/js/jquery/jquery-ui.min.js"></script>
<script src="/js/devsearch.js"></script>
</body>
</html>