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

#include <addresstype.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 47 of file addresstype.h.

Constructor & Destructor Documentation

◆ PKHash() [1/4]

PKHash::PKHash ( )
inline

Definition at line 49 of file addresstype.h.

◆ PKHash() [2/4]

PKHash::PKHash ( const uint160 hash)
inlineexplicit

Definition at line 50 of file addresstype.h.

◆ PKHash() [3/4]

PKHash::PKHash ( const CPubKey pubkey)
explicit

Definition at line 23 of file addresstype.cpp.

◆ PKHash() [4/4]

PKHash::PKHash ( const CKeyID pubkey_id)
explicit

Definition at line 24 of file addresstype.cpp.


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