Bitcoin Core  0.20.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)
 
 PKHash (const CKeyID &pubkey_id)
 
- Public Member Functions inherited from BaseHash< uint160 >
 BaseHash ()
 
 BaseHash (const uint160 &in)
 
unsigned char * begin ()
 
const unsigned char * begin () const
 
unsigned char * end ()
 
const unsigned char * end () const
 
 operator std::vector< unsigned char > () const
 
std::string ToString () const
 
bool operator== (const BaseHash< uint160 > &other) const noexcept
 
bool operator!= (const BaseHash< uint160 > &other) const noexcept
 
bool operator< (const BaseHash< uint160 > &other) const noexcept
 
size_t size () const
 
unsigned char * data ()
 
const unsigned char * data () const
 

Additional Inherited Members

- Protected Attributes inherited from BaseHash< uint160 >
uint160 m_hash
 

Detailed Description

Definition at line 142 of file standard.h.

Constructor & Destructor Documentation

◆ PKHash() [1/4]

PKHash::PKHash ( )
inline

Definition at line 144 of file standard.h.

◆ PKHash() [2/4]

PKHash::PKHash ( const uint160 hash)
inlineexplicit

Definition at line 145 of file standard.h.

Here is the call graph for this function:

◆ PKHash() [3/4]

PKHash::PKHash ( const CPubKey pubkey)
explicit

Definition at line 25 of file standard.cpp.

◆ PKHash() [4/4]

PKHash::PKHash ( const CKeyID pubkey_id)
explicit

Definition at line 26 of file standard.cpp.


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