mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
1134 lines
61 KiB
HTML
1134 lines
61 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: CPubKey Class 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('classCPubKey.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="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-static-methods">Static Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classCPubKey-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">CPubKey Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="pubkey_8h_source.html">pubkey.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a468f3aef3555d12ede19c0d8dc88c13a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a468f3aef3555d12ede19c0d8dc88c13a">CPubKey</a> ()</td></tr>
|
|
<tr class="memdesc:a468f3aef3555d12ede19c0d8dc88c13a"><td class="mdescLeft"> </td><td class="mdescRight">Construct an invalid public key. <a href="#a468f3aef3555d12ede19c0d8dc88c13a">More...</a><br /></td></tr>
|
|
<tr class="separator:a468f3aef3555d12ede19c0d8dc88c13a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af59bc1d3be119c1f8b49d3c1e2c0797b"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:af59bc1d3be119c1f8b49d3c1e2c0797b"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCPubKey.html#af59bc1d3be119c1f8b49d3c1e2c0797b">Set</a> (const T pbegin, const T pend)</td></tr>
|
|
<tr class="memdesc:af59bc1d3be119c1f8b49d3c1e2c0797b"><td class="mdescLeft"> </td><td class="mdescRight">Initialize a public key using begin/end iterators to byte data. <a href="#af59bc1d3be119c1f8b49d3c1e2c0797b">More...</a><br /></td></tr>
|
|
<tr class="separator:af59bc1d3be119c1f8b49d3c1e2c0797b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8c7527b40c96bfb8f48b669764301df8"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr class="memitem:a8c7527b40c96bfb8f48b669764301df8"><td class="memTemplItemLeft" align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a8c7527b40c96bfb8f48b669764301df8">CPubKey</a> (const T pbegin, const T pend)</td></tr>
|
|
<tr class="memdesc:a8c7527b40c96bfb8f48b669764301df8"><td class="mdescLeft"> </td><td class="mdescRight">Construct a public key using begin/end iterators to byte data. <a href="#a8c7527b40c96bfb8f48b669764301df8">More...</a><br /></td></tr>
|
|
<tr class="separator:a8c7527b40c96bfb8f48b669764301df8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31307d0318ebda95c7e34ef1554fe2d2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a31307d0318ebda95c7e34ef1554fe2d2">CPubKey</a> (const std::vector< unsigned char > &<a class="el" href="classCPubKey.html#a4146dd2d136567d5a4a7b8f1ca2c4b59">vch</a>)</td></tr>
|
|
<tr class="memdesc:a31307d0318ebda95c7e34ef1554fe2d2"><td class="mdescLeft"> </td><td class="mdescRight">Construct a public key from a byte vector. <a href="#a31307d0318ebda95c7e34ef1554fe2d2">More...</a><br /></td></tr>
|
|
<tr class="separator:a31307d0318ebda95c7e34ef1554fe2d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6bb28fcf0a5f799c69f5b7269363b309"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a6bb28fcf0a5f799c69f5b7269363b309">size</a> () const</td></tr>
|
|
<tr class="memdesc:a6bb28fcf0a5f799c69f5b7269363b309"><td class="mdescLeft"> </td><td class="mdescRight">Simple read-only vector-like interface to the pubkey data. <a href="#a6bb28fcf0a5f799c69f5b7269363b309">More...</a><br /></td></tr>
|
|
<tr class="separator:a6bb28fcf0a5f799c69f5b7269363b309"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a859ab9909d68092d6d4fc739237ab358"><td class="memItemLeft" align="right" valign="top">const unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a859ab9909d68092d6d4fc739237ab358">begin</a> () const</td></tr>
|
|
<tr class="separator:a859ab9909d68092d6d4fc739237ab358"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1d6fb1ec2b45fb229f549215d6a23dbc"><td class="memItemLeft" align="right" valign="top">const unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a1d6fb1ec2b45fb229f549215d6a23dbc">end</a> () const</td></tr>
|
|
<tr class="separator:a1d6fb1ec2b45fb229f549215d6a23dbc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab94321a511874f4a3cdf21f889d30144"><td class="memItemLeft" align="right" valign="top">const unsigned char & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#ab94321a511874f4a3cdf21f889d30144">operator[]</a> (unsigned int pos) const</td></tr>
|
|
<tr class="separator:ab94321a511874f4a3cdf21f889d30144"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeb5fed8b8e3dea754e485147c1a1a8ed"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#aeb5fed8b8e3dea754e485147c1a1a8ed">GetSerializeSize</a> (int nType, int nVersion) const</td></tr>
|
|
<tr class="memdesc:aeb5fed8b8e3dea754e485147c1a1a8ed"><td class="mdescLeft"> </td><td class="mdescRight">Implement serialization, as if this was a byte vector. <a href="#aeb5fed8b8e3dea754e485147c1a1a8ed">More...</a><br /></td></tr>
|
|
<tr class="separator:aeb5fed8b8e3dea754e485147c1a1a8ed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6003c13fc0a48bae69c2a7ddb1fecc21"><td class="memTemplParams" colspan="2">template<typename Stream > </td></tr>
|
|
<tr class="memitem:a6003c13fc0a48bae69c2a7ddb1fecc21"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a6003c13fc0a48bae69c2a7ddb1fecc21">Serialize</a> (Stream &s, int nType, int nVersion) const</td></tr>
|
|
<tr class="separator:a6003c13fc0a48bae69c2a7ddb1fecc21"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1cfd8e3c711f5298eecdacd5979f6e6c"><td class="memTemplParams" colspan="2">template<typename Stream > </td></tr>
|
|
<tr class="memitem:a1cfd8e3c711f5298eecdacd5979f6e6c"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a1cfd8e3c711f5298eecdacd5979f6e6c">Unserialize</a> (Stream &s, int nType, int nVersion)</td></tr>
|
|
<tr class="separator:a1cfd8e3c711f5298eecdacd5979f6e6c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2675f7e6f72eff68e7a5227289feb021"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCKeyID.html">CKeyID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a2675f7e6f72eff68e7a5227289feb021">GetID</a> () const</td></tr>
|
|
<tr class="memdesc:a2675f7e6f72eff68e7a5227289feb021"><td class="mdescLeft"> </td><td class="mdescRight">Get the KeyID of this public key (hash of its serialization) <a href="#a2675f7e6f72eff68e7a5227289feb021">More...</a><br /></td></tr>
|
|
<tr class="separator:a2675f7e6f72eff68e7a5227289feb021"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab1aaa3f6085a3e9bc034d3e1269d870d"><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="classCPubKey.html#ab1aaa3f6085a3e9bc034d3e1269d870d">GetHash</a> () const</td></tr>
|
|
<tr class="memdesc:ab1aaa3f6085a3e9bc034d3e1269d870d"><td class="mdescLeft"> </td><td class="mdescRight">Get the 256-bit hash of this public key. <a href="#ab1aaa3f6085a3e9bc034d3e1269d870d">More...</a><br /></td></tr>
|
|
<tr class="separator:ab1aaa3f6085a3e9bc034d3e1269d870d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4fa94293cf8577fd039b9a133f6c7f30"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a4fa94293cf8577fd039b9a133f6c7f30">IsValid</a> () const</td></tr>
|
|
<tr class="separator:a4fa94293cf8577fd039b9a133f6c7f30"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a69d8d49962240a5696410229dd83c93e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a69d8d49962240a5696410229dd83c93e">IsFullyValid</a> () const</td></tr>
|
|
<tr class="memdesc:a69d8d49962240a5696410229dd83c93e"><td class="mdescLeft"> </td><td class="mdescRight">fully validate whether this is a valid public key (more expensive than <a class="el" href="classCPubKey.html#a4fa94293cf8577fd039b9a133f6c7f30">IsValid()</a>) <a href="#a69d8d49962240a5696410229dd83c93e">More...</a><br /></td></tr>
|
|
<tr class="separator:a69d8d49962240a5696410229dd83c93e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a25f8b70340ad20ddab0f80ec4cee9396"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a25f8b70340ad20ddab0f80ec4cee9396">IsCompressed</a> () const</td></tr>
|
|
<tr class="memdesc:a25f8b70340ad20ddab0f80ec4cee9396"><td class="mdescLeft"> </td><td class="mdescRight">Check whether this is a compressed public key. <a href="#a25f8b70340ad20ddab0f80ec4cee9396">More...</a><br /></td></tr>
|
|
<tr class="separator:a25f8b70340ad20ddab0f80ec4cee9396"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b3fef213b227394ca9d0a1e3baa957e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a5b3fef213b227394ca9d0a1e3baa957e">Verify</a> (const <a class="el" href="classuint256.html">uint256</a> &hash, const std::vector< unsigned char > &vchSig) const</td></tr>
|
|
<tr class="separator:a5b3fef213b227394ca9d0a1e3baa957e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a169505e735a02db385486b0affeb565c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a169505e735a02db385486b0affeb565c">RecoverCompact</a> (const <a class="el" href="classuint256.html">uint256</a> &hash, const std::vector< unsigned char > &vchSig)</td></tr>
|
|
<tr class="memdesc:a169505e735a02db385486b0affeb565c"><td class="mdescLeft"> </td><td class="mdescRight">Recover a public key from a compact signature. <a href="#a169505e735a02db385486b0affeb565c">More...</a><br /></td></tr>
|
|
<tr class="separator:a169505e735a02db385486b0affeb565c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a572689418fecf47b300a11519bc3da36"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a572689418fecf47b300a11519bc3da36">Decompress</a> ()</td></tr>
|
|
<tr class="memdesc:a572689418fecf47b300a11519bc3da36"><td class="mdescLeft"> </td><td class="mdescRight">Turn this public key into an uncompressed public key. <a href="#a572689418fecf47b300a11519bc3da36">More...</a><br /></td></tr>
|
|
<tr class="separator:a572689418fecf47b300a11519bc3da36"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac28722f47ab8a613bf9982608d13aa1f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#ac28722f47ab8a613bf9982608d13aa1f">Derive</a> (<a class="el" href="classCPubKey.html">CPubKey</a> &pubkeyChild, <a class="el" href="hash_8h.html#aa201a9867f780a040c7af908e0a85db3">ChainCode</a> &ccChild, unsigned int nChild, const <a class="el" href="hash_8h.html#aa201a9867f780a040c7af908e0a85db3">ChainCode</a> &cc) const</td></tr>
|
|
<tr class="memdesc:ac28722f47ab8a613bf9982608d13aa1f"><td class="mdescLeft"> </td><td class="mdescRight">Derive BIP32 child pubkey. <a href="#ac28722f47ab8a613bf9982608d13aa1f">More...</a><br /></td></tr>
|
|
<tr class="separator:ac28722f47ab8a613bf9982608d13aa1f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a4ada230ef593456ef9088c28fd5ca34e"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a4ada230ef593456ef9088c28fd5ca34e">CheckLowS</a> (const std::vector< unsigned char > &vchSig)</td></tr>
|
|
<tr class="separator:a4ada230ef593456ef9088c28fd5ca34e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a99917e80a362af54a3677ea9cf1328ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a99917e80a362af54a3677ea9cf1328ee">Invalidate</a> ()</td></tr>
|
|
<tr class="memdesc:a99917e80a362af54a3677ea9cf1328ee"><td class="mdescLeft"> </td><td class="mdescRight">Set this key data to be invalid. <a href="#a99917e80a362af54a3677ea9cf1328ee">More...</a><br /></td></tr>
|
|
<tr class="separator:a99917e80a362af54a3677ea9cf1328ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
|
|
Static Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a7dc71b3f037c84268dc22de97d7b65fb"><td class="memItemLeft" align="right" valign="top">unsigned static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a7dc71b3f037c84268dc22de97d7b65fb">GetLen</a> (unsigned char chHeader)</td></tr>
|
|
<tr class="memdesc:a7dc71b3f037c84268dc22de97d7b65fb"><td class="mdescLeft"> </td><td class="mdescRight">Compute the length of a pubkey with a given first byte. <a href="#a7dc71b3f037c84268dc22de97d7b65fb">More...</a><br /></td></tr>
|
|
<tr class="separator:a7dc71b3f037c84268dc22de97d7b65fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a4146dd2d136567d5a4a7b8f1ca2c4b59"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a4146dd2d136567d5a4a7b8f1ca2c4b59">vch</a> [65]</td></tr>
|
|
<tr class="separator:a4146dd2d136567d5a4a7b8f1ca2c4b59"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:a864b3cdcb46fb85c1fc07e0686cc3a31"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#a864b3cdcb46fb85c1fc07e0686cc3a31">operator==</a> (const <a class="el" href="classCPubKey.html">CPubKey</a> &a, const <a class="el" href="classCPubKey.html">CPubKey</a> &b)</td></tr>
|
|
<tr class="memdesc:a864b3cdcb46fb85c1fc07e0686cc3a31"><td class="mdescLeft"> </td><td class="mdescRight">Comparator implementation. <a href="#a864b3cdcb46fb85c1fc07e0686cc3a31">More...</a><br /></td></tr>
|
|
<tr class="separator:a864b3cdcb46fb85c1fc07e0686cc3a31"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af660fd5a8d213211dfff37a2296d09e1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#af660fd5a8d213211dfff37a2296d09e1">operator!=</a> (const <a class="el" href="classCPubKey.html">CPubKey</a> &a, const <a class="el" href="classCPubKey.html">CPubKey</a> &b)</td></tr>
|
|
<tr class="separator:af660fd5a8d213211dfff37a2296d09e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af814095b2c92bedd96a83a0811d52da9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCPubKey.html#af814095b2c92bedd96a83a0811d52da9">operator<</a> (const <a class="el" href="classCPubKey.html">CPubKey</a> &a, const <a class="el" href="classCPubKey.html">CPubKey</a> &b)</td></tr>
|
|
<tr class="separator:af814095b2c92bedd96a83a0811d52da9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>An encapsulated public key. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00037">37</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a468f3aef3555d12ede19c0d8dc88c13a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a468f3aef3555d12ede19c0d8dc88c13a">◆ </a></span>CPubKey() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">CPubKey::CPubKey </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Construct an invalid public key. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00065">65</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8c7527b40c96bfb8f48b669764301df8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8c7527b40c96bfb8f48b669764301df8">◆ </a></span>CPubKey() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">CPubKey::CPubKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"><em>pbegin</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"><em>pend</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Construct a public key using begin/end iterators to byte data. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00083">83</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a31307d0318ebda95c7e34ef1554fe2d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31307d0318ebda95c7e34ef1554fe2d2">◆ </a></span>CPubKey() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">CPubKey::CPubKey </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< unsigned char > & </td>
|
|
<td class="paramname"><em>vch</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Construct a public key from a byte vector. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00089">89</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a859ab9909d68092d6d4fc739237ab358"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a859ab9909d68092d6d4fc739237ab358">◆ </a></span>begin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const unsigned char* CPubKey::begin </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00096">96</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="compressor_8cpp_source.html#l00088">CScriptCompressor::Decompress()</a>, <a class="el" href="key_8cpp_source.html#l00225">CKey::Derive()</a>, <a class="el" href="pubkey_8cpp_source.html#l00228">Derive()</a>, <a class="el" href="pubkey_8cpp_source.html#l00249">CExtPubKey::Encode()</a>, <a class="el" href="standard_8cpp_source.html#l00270">GetScriptForRawPubKey()</a>, and <a class="el" href="walletdb_8cpp_source.html#l00070">CWalletDB::WriteKey()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4ada230ef593456ef9088c28fd5ca34e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4ada230ef593456ef9088c28fd5ca34e">◆ </a></span>CheckLowS()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::CheckLowS </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< unsigned char > & </td>
|
|
<td class="paramname"><em>vchSig</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Check whether a signature is normalized (lower-S). </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8cpp_source.html#l00275">275</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="interpreter_8cpp_source.html#l00163">IsLowDERSignature()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a572689418fecf47b300a11519bc3da36"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a572689418fecf47b300a11519bc3da36">◆ </a></span>Decompress()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::Decompress </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Turn this public key into an uncompressed public key. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8cpp_source.html#l00214">214</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="compressor_8cpp_source.html#l00088">CScriptCompressor::Decompress()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac28722f47ab8a613bf9982608d13aa1f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac28722f47ab8a613bf9982608d13aa1f">◆ </a></span>Derive()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::Derive </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>pubkeyChild</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="hash_8h.html#aa201a9867f780a040c7af908e0a85db3">ChainCode</a> & </td>
|
|
<td class="paramname"><em>ccChild</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>nChild</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="hash_8h.html#aa201a9867f780a040c7af908e0a85db3">ChainCode</a> & </td>
|
|
<td class="paramname"><em>cc</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Derive BIP32 child pubkey. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8cpp_source.html#l00228">228</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="pubkey_8cpp_source.html#l00267">CExtPubKey::Derive()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1d6fb1ec2b45fb229f549215d6a23dbc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1d6fb1ec2b45fb229f549215d6a23dbc">◆ </a></span>end()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const unsigned char* CPubKey::end </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00097">97</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="key_8cpp_source.html#l00225">CKey::Derive()</a>, <a class="el" href="pubkey_8cpp_source.html#l00228">Derive()</a>, <a class="el" href="standard_8cpp_source.html#l00270">GetScriptForRawPubKey()</a>, and <a class="el" href="walletdb_8cpp_source.html#l00070">CWalletDB::WriteKey()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab1aaa3f6085a3e9bc034d3e1269d870d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab1aaa3f6085a3e9bc034d3e1269d870d">◆ </a></span>GetHash()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classuint256.html">uint256</a> CPubKey::GetHash </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the 256-bit hash of this public key. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00150">150</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="crypter_8cpp_source.html#l00302">CCryptoKeyStore::AddKeyPubKey()</a>, <a class="el" href="crypter_8cpp_source.html#l00209">DecryptKey()</a>, <a class="el" href="crypter_8cpp_source.html#l00373">CCryptoKeyStore::EncryptKeys()</a>, and <a class="el" href="rpc_2governance_8cpp_source.html#l00025">gobject()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2675f7e6f72eff68e7a5227289feb021"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2675f7e6f72eff68e7a5227289feb021">◆ </a></span>GetID()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classCKeyID.html">CKeyID</a> CPubKey::GetID </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the KeyID of this public key (hash of its serialization) </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00144">144</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="crypter_8cpp_source.html#l00324">CCryptoKeyStore::AddCryptedKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00313">CWallet::AddCryptedKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00260">CWallet::AddHDPubKey()</a>, <a class="el" href="keystore_8cpp_source.html#l00034">CBasicKeyStore::AddKeyPubKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00288">CWallet::AddKeyPubKey()</a>, <a class="el" href="addresstablemodel_8cpp_source.html#l00346">AddressTableModel::addRow()</a>, <a class="el" href="keystore_8cpp_source.html#l00085">CBasicKeyStore::AddWatchOnly()</a>, <a class="el" href="init_8cpp_source.html#l00942">AppInit2()</a>, <a class="el" href="masternode_8cpp_source.html#l00644">CMasternodeBroadcast::CheckSignature()</a>, <a class="el" href="masternode_8cpp_source.html#l00397">CMasternodeBroadcast::Create()</a>, <a class="el" href="wallet_8cpp_source.html#l03088">CWallet::CreateCollateralTransaction()</a>, <a class="el" href="wallet_8cpp_source.html#l03173">CWallet::CreateTransaction()</a>, <a class="el" href="key_8cpp_source.html#l00247">CExtKey::Derive()</a>, <a class="el" href="pubkey_8cpp_source.html#l00267">CExtPubKey::Derive()</a>, <a class="el" href="wallet_8cpp_source.html#l00140">CWallet::DeriveNewChildKey()</a>, <a class="el" href="standard_8cpp_source.html#l00164">ExtractDestination()</a>, <a class="el" href="standard_8cpp_source.html#l00194">ExtractDestinations()</a>, <a class="el" href="paymentserver_8cpp_source.html#l00624">PaymentServer::fetchPaymentACK()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00264">CMasternodePayments::FillBlockPayee()</a>, <a class="el" href="wallet_8cpp_source.html#l00103">CWallet::GenerateNewKey()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00155">GetAccountAddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00113">getnewaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00224">getrawchangeaddress()</a>, <a class="el" href="privatesend-util_8cpp_source.html#l00022">CKeyHolder::GetScriptForDestination()</a>, <a class="el" href="wallet__ismine_8cpp_source.html#l00020">HaveKeys()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00412">importelectrumwallet()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00076">importprivkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00305">importwallet()</a>, <a class="el" href="masternode_8cpp_source.html#l00258">CMasternode::IsInputAssociatedWithPubkey()</a>, <a class="el" href="wallet__ismine_8cpp_source.html#l00038">IsMine()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00447">CMasternodePayments::IsScheduled()</a>, <a class="el" href="governance-object_8cpp_source.html#l00419">CGovernanceObject::IsValidLocally()</a>, <a class="el" href="wallet_8cpp_source.html#l00252">CWallet::LoadHDPubKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00334">CWallet::LoadKeyMetadata()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l01186">CPrivateSendClient::MakeCollateralAmounts()</a>, <a class="el" href="activemasternode_8cpp_source.html#l00236">CActiveMasternode::ManageStateRemote()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00096">masternode()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00607">masternodebroadcast()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00454">masternodelist()</a>, <a class="el" href="signverifymessagedialog_8cpp_source.html#l00211">SignVerifyMessageDialog::on_verifyMessageButton_VM_clicked()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00715">CMasternodePayments::ProcessBlock()</a>, <a class="el" href="keystore_8cpp_source.html#l00095">CBasicKeyStore::RemoveWatchOnly()</a>, <a class="el" href="governance-object_8cpp_source.html#l00231">CGovernanceObject::Sign()</a>, <a class="el" href="masternode_8cpp_source.html#l00620">CMasternodeBroadcast::Sign()</a>, <a class="el" href="sign_8cpp_source.html#l00045">SignN()</a>, <a class="el" href="sign_8cpp_source.html#l00065">SignStep()</a>, <a class="el" href="masternode_8cpp_source.html#l00430">CMasternodeBroadcast::SimpleCheck()</a>, <a class="el" href="masternode_8cpp_source.html#l00320">CMasternode::UpdateLastPaid()</a>, <a class="el" href="masternodelist_8cpp_source.html#l00180">MasternodeList::updateMyMasternodeInfo()</a>, <a class="el" href="masternodelist_8cpp_source.html#l00250">MasternodeList::updateNodeList()</a>, <a class="el" href="messagesigner_8cpp_source.html#l00047">CHashSigner::VerifyHash()</a>, and <a class="el" href="misc_8cpp_source.html#l00444">verifymessage()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7dc71b3f037c84268dc22de97d7b65fb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7dc71b3f037c84268dc22de97d7b65fb">◆ </a></span>GetLen()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned static int CPubKey::GetLen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>chHeader</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Compute the length of a pubkey with a given first byte. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00048">48</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="pubkey_8h_source.html#l00072">Set()</a>, and <a class="el" href="pubkey_8h_source.html#l00095">size()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aeb5fed8b8e3dea754e485147c1a1a8ed"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aeb5fed8b8e3dea754e485147c1a1a8ed">◆ </a></span>GetSerializeSize()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int CPubKey::GetSerializeSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nVersion</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implement serialization, as if this was a byte vector. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00117">117</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a99917e80a362af54a3677ea9cf1328ee"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a99917e80a362af54a3677ea9cf1328ee">◆ </a></span>Invalidate()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CPubKey::Invalidate </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set this key data to be invalid. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00058">58</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="pubkey_8h_source.html#l00065">CPubKey()</a>, <a class="el" href="pubkey_8h_source.html#l00072">Set()</a>, and <a class="el" href="pubkey_8h_source.html#l00129">Unserialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a25f8b70340ad20ddab0f80ec4cee9396"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a25f8b70340ad20ddab0f80ec4cee9396">◆ </a></span>IsCompressed()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::IsCompressed </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Check whether this is a compressed public key. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00169">169</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="crypter_8cpp_source.html#l00209">DecryptKey()</a>, <a class="el" href="key_8cpp_source.html#l00213">CKey::Load()</a>, <a class="el" href="coincontroldialog_8cpp_source.html#l00479">CoinControlDialog::updateLabels()</a>, and <a class="el" href="key_8cpp_source.html#l00184">CKey::VerifyPubKey()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a69d8d49962240a5696410229dd83c93e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a69d8d49962240a5696410229dd83c93e">◆ </a></span>IsFullyValid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::IsFullyValid </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>fully validate whether this is a valid public key (more expensive than <a class="el" href="classCPubKey.html#a4fa94293cf8577fd039b9a133f6c7f30">IsValid()</a>) </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8cpp_source.html#l00207">207</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="misc_8cpp_source.html#l00340">_createmultisig_redeemScript()</a>, <a class="el" href="keystore_8cpp_source.html#l00069">ExtractPubKey()</a>, and <a class="el" href="compressor_8cpp_source.html#l00033">CScriptCompressor::IsToPubKey()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4fa94293cf8577fd039b9a133f6c7f30"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4fa94293cf8577fd039b9a133f6c7f30">◆ </a></span>IsValid()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::IsValid </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00160">160</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="interpreter_8cpp_source.html#l01139">TransactionSignatureChecker::CheckSig()</a>, <a class="el" href="pubkey_8cpp_source.html#l00214">Decompress()</a>, <a class="el" href="pubkey_8cpp_source.html#l00228">Derive()</a>, <a class="el" href="standard_8cpp_source.html#l00164">ExtractDestination()</a>, <a class="el" href="standard_8cpp_source.html#l00194">ExtractDestinations()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00155">GetAccountAddress()</a>, <a class="el" href="pubkey_8cpp_source.html#l00207">IsFullyValid()</a>, and <a class="el" href="pubkey_8cpp_source.html#l00167">Verify()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab94321a511874f4a3cdf21f889d30144"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab94321a511874f4a3cdf21f889d30144">◆ </a></span>operator[]()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const unsigned char& CPubKey::operator[] </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>pos</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00098">98</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a169505e735a02db385486b0affeb565c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a169505e735a02db385486b0affeb565c">◆ </a></span>RecoverCompact()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::RecoverCompact </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classuint256.html">uint256</a> & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::vector< unsigned char > & </td>
|
|
<td class="paramname"><em>vchSig</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Recover a public key from a compact signature. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8cpp_source.html#l00187">187</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="signverifymessagedialog_8cpp_source.html#l00211">SignVerifyMessageDialog::on_verifyMessageButton_VM_clicked()</a>, <a class="el" href="messagesigner_8cpp_source.html#l00047">CHashSigner::VerifyHash()</a>, and <a class="el" href="misc_8cpp_source.html#l00444">verifymessage()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6003c13fc0a48bae69c2a7ddb1fecc21"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6003c13fc0a48bae69c2a7ddb1fecc21">◆ </a></span>Serialize()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Stream > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CPubKey::Serialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Stream & </td>
|
|
<td class="paramname"><em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nVersion</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00122">122</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af59bc1d3be119c1f8b49d3c1e2c0797b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af59bc1d3be119c1f8b49d3c1e2c0797b">◆ </a></span>Set()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CPubKey::Set </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"><em>pbegin</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"><em>pend</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Initialize a public key using begin/end iterators to byte data. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00072">72</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="pubkey_8h_source.html#l00083">CPubKey()</a>, <a class="el" href="pubkey_8cpp_source.html#l00259">CExtPubKey::Decode()</a>, <a class="el" href="pubkey_8cpp_source.html#l00214">Decompress()</a>, <a class="el" href="pubkey_8cpp_source.html#l00228">Derive()</a>, <a class="el" href="compressor_8cpp_source.html#l00033">CScriptCompressor::IsToPubKey()</a>, and <a class="el" href="pubkey_8cpp_source.html#l00187">RecoverCompact()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6bb28fcf0a5f799c69f5b7269363b309"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6bb28fcf0a5f799c69f5b7269363b309">◆ </a></span>size()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned int CPubKey::size </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Simple read-only vector-like interface to the pubkey data. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00095">95</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="compressor_8cpp_source.html#l00088">CScriptCompressor::Decompress()</a>, <a class="el" href="pubkey_8cpp_source.html#l00214">Decompress()</a>, <a class="el" href="pubkey_8cpp_source.html#l00228">Derive()</a>, <a class="el" href="pubkey_8cpp_source.html#l00249">CExtPubKey::Encode()</a>, <a class="el" href="pubkey_8h_source.html#l00097">end()</a>, <a class="el" href="pubkey_8h_source.html#l00150">GetHash()</a>, <a class="el" href="pubkey_8h_source.html#l00144">GetID()</a>, <a class="el" href="pubkey_8h_source.html#l00117">GetSerializeSize()</a>, <a class="el" href="pubkey_8h_source.html#l00169">IsCompressed()</a>, <a class="el" href="pubkey_8cpp_source.html#l00207">IsFullyValid()</a>, <a class="el" href="pubkey_8h_source.html#l00160">IsValid()</a>, <a class="el" href="pubkey_8h_source.html#l00122">Serialize()</a>, <a class="el" href="pubkey_8cpp_source.html#l00167">Verify()</a>, and <a class="el" href="walletdb_8cpp_source.html#l00070">CWalletDB::WriteKey()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1cfd8e3c711f5298eecdacd5979f6e6c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1cfd8e3c711f5298eecdacd5979f6e6c">◆ </a></span>Unserialize()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Stream > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CPubKey::Unserialize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Stream & </td>
|
|
<td class="paramname"><em>s</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nVersion</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00129">129</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5b3fef213b227394ca9d0a1e3baa957e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b3fef213b227394ca9d0a1e3baa957e">◆ </a></span>Verify()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool CPubKey::Verify </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classuint256.html">uint256</a> & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::vector< unsigned char > & </td>
|
|
<td class="paramname"><em>vchSig</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Verify a DER signature (~72 bytes). If this public key is not fully valid, the return value will be false. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8cpp_source.html#l00167">167</a> of file <a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="key_8cpp_source.html#l00184">CKey::VerifyPubKey()</a>, and <a class="el" href="interpreter_8cpp_source.html#l01134">TransactionSignatureChecker::VerifySignature()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
|
<a id="af660fd5a8d213211dfff37a2296d09e1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af660fd5a8d213211dfff37a2296d09e1">◆ </a></span>operator!=</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>a</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>b</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00106">106</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af814095b2c92bedd96a83a0811d52da9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af814095b2c92bedd96a83a0811d52da9">◆ </a></span>operator<</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>a</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>b</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00110">110</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a864b3cdcb46fb85c1fc07e0686cc3a31"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a864b3cdcb46fb85c1fc07e0686cc3a31">◆ </a></span>operator==</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>a</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classCPubKey.html">CPubKey</a> & </td>
|
|
<td class="paramname"><em>b</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Comparator implementation. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00101">101</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a4146dd2d136567d5a4a7b8f1ca2c4b59"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4146dd2d136567d5a4a7b8f1ca2c4b59">◆ </a></span>vch</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned char CPubKey::vch[65]</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Just store the serialized data. Its length can very cheaply be computed from the first byte. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00045">45</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="pubkey_8h_source.html#l00096">begin()</a>, <a class="el" href="pubkey_8h_source.html#l00089">CPubKey()</a>, <a class="el" href="pubkey_8h_source.html#l00097">end()</a>, <a class="el" href="pubkey_8h_source.html#l00150">GetHash()</a>, <a class="el" href="pubkey_8h_source.html#l00144">GetID()</a>, <a class="el" href="pubkey_8h_source.html#l00058">Invalidate()</a>, <a class="el" href="pubkey_8h_source.html#l00098">operator[]()</a>, <a class="el" href="pubkey_8h_source.html#l00122">Serialize()</a>, <a class="el" href="pubkey_8h_source.html#l00072">Set()</a>, <a class="el" href="pubkey_8h_source.html#l00095">size()</a>, and <a class="el" href="pubkey_8h_source.html#l00129">Unserialize()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/<a class="el" href="pubkey_8h_source.html">pubkey.h</a></li>
|
|
<li>src/<a class="el" href="pubkey_8cpp_source.html">pubkey.cpp</a></li>
|
|
</ul>
|
|
</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="classCPubKey.html">CPubKey</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:12 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>
|