Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CKeyID Class Reference

A reference to a CKey: the Hash160 of its serialized public key. More...

#include <pubkey.h>

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

Public Member Functions

 CKeyID ()
 
 CKeyID (const uint160 &in)
 
- Public Member Functions inherited from uint160
constexpr uint160 ()=default
 
constexpr uint160 (std::span< const unsigned char > vch)
 
- Public Member Functions inherited from base_blob< 160 >
constexpr base_blob ()
 
constexpr base_blob (uint8_t v)
 
constexpr base_blob (std::span< const unsigned char > vch)
 
consteval base_blob (std::string_view hex_str)
 
constexpr bool IsNull () const
 
constexpr void SetNull ()
 
constexpr int Compare (const base_blob &other) const
 Lexicographic ordering.
 
constexpr const unsigned chardata () const
 
constexpr unsigned chardata ()
 
constexpr unsigned charbegin ()
 
constexpr const unsigned charbegin () const
 
constexpr unsigned charend ()
 
constexpr const unsigned charend () const
 
constexpr uint64_t GetUint64 (int pos) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s)
 
std::string GetHex () const
 
std::string ToString () const
 

Additional Inherited Members

- Static Public Member Functions inherited from uint160
static std::optional< uint160FromHex (std::string_view str)
 
- Static Public Member Functions inherited from base_blob< 160 >
static constexpr unsigned int size ()
 
- Protected Attributes inherited from base_blob< 160 >
std::array< uint8_t, WIDTHm_data
 
- Static Protected Attributes inherited from base_blob< 160 >
static constexpr int WIDTH
 

Detailed Description

A reference to a CKey: the Hash160 of its serialized public key.

Definition at line 23 of file pubkey.h.

Constructor & Destructor Documentation

◆ CKeyID() [1/2]

CKeyID::CKeyID ( )
inline

Definition at line 26 of file pubkey.h.

◆ CKeyID() [2/2]

CKeyID::CKeyID ( const uint160 & in)
inlineexplicit

Definition at line 27 of file pubkey.h.


The documentation for this class was generated from the following file: