Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | List of all members
WitnessV0KeyHash Struct Reference

#include <addresstype.h>

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

Public Member Functions

 WitnessV0KeyHash ()
 
 WitnessV0KeyHash (const uint160 &hash)
 
 WitnessV0KeyHash (const CPubKey &pubkey)
 
 WitnessV0KeyHash (const PKHash &pubkey_hash)
 
- 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 78 of file addresstype.h.

Constructor & Destructor Documentation

◆ WitnessV0KeyHash() [1/4]

WitnessV0KeyHash::WitnessV0KeyHash ( )
inline

Definition at line 80 of file addresstype.h.

◆ WitnessV0KeyHash() [2/4]

WitnessV0KeyHash::WitnessV0KeyHash ( const uint160 hash)
inlineexplicit

Definition at line 81 of file addresstype.h.

◆ WitnessV0KeyHash() [3/4]

WitnessV0KeyHash::WitnessV0KeyHash ( const CPubKey pubkey)
explicit

Definition at line 26 of file addresstype.cpp.

◆ WitnessV0KeyHash() [4/4]

WitnessV0KeyHash::WitnessV0KeyHash ( const PKHash pubkey_hash)
explicit

Definition at line 27 of file addresstype.cpp.


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