Bitcoin Core  0.19.99
P2P Digital Currency
Public Member Functions | List of all members
PKHash Struct Reference

#include <standard.h>

Inheritance diagram for PKHash:
[legend]
Collaboration diagram for PKHash:
[legend]

Public Member Functions

 PKHash ()
 
 PKHash (const uint160 &hash)
 
 PKHash (const CPubKey &pubkey)
 
- Public Member Functions inherited from uint160
 uint160 ()
 
 uint160 (const std::vector< unsigned char > &vch)
 
- Public Member Functions inherited from base_blob< 160 >
 base_blob ()
 
 base_blob (const std::vector< unsigned char > &vch)
 
bool IsNull () const
 
void SetNull ()
 
int Compare (const base_blob &other) const
 
std::string GetHex () const
 
void SetHex (const char *psz)
 
void SetHex (const std::string &str)
 
std::string ToString () const
 
unsigned char * begin ()
 
const unsigned char * begin () const
 
unsigned char * end ()
 
const unsigned char * end () const
 
unsigned int size () const
 
uint64_t GetUint64 (int pos) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s)
 

Additional Inherited Members

- Protected Attributes inherited from base_blob< 160 >
uint8_t data [WIDTH]
 
- Static Protected Attributes inherited from base_blob< 160 >
static constexpr int WIDTH
 

Detailed Description

Definition at line 75 of file standard.h.

Constructor & Destructor Documentation

◆ PKHash() [1/3]

PKHash::PKHash ( )
inline

Definition at line 77 of file standard.h.

Here is the caller graph for this function:

◆ PKHash() [2/3]

PKHash::PKHash ( const uint160 hash)
inlineexplicit

Definition at line 78 of file standard.h.

Here is the call graph for this function:

◆ PKHash() [3/3]

PKHash::PKHash ( const CPubKey pubkey)
explicit

Definition at line 21 of file standard.cpp.


The documentation for this struct was generated from the following files: