Bitcoin Core 30.99.0
P2P Digital Currency
Public Member Functions | List of all members
btck::BlockHash Class Reference

#include <bitcoinkernel_wrapper.h>

Inheritance diagram for btck::BlockHash:
[legend]
Collaboration diagram for btck::BlockHash:
[legend]

Public Member Functions

 BlockHash (const std::array< std::byte, 32 > &hash)
 
 BlockHash (btck_BlockHash *hash)
 
 BlockHash (const BlockHashView &view)
 
- Public Member Functions inherited from btck::Handle< btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy >
 Handle (btck_BlockHash *ptr)
 
 Handle (const Handle &other)
 
 Handle (Handle &&other) noexcept
 
 Handle (const ViewType &view)
 
Handleoperator= (const Handle &other)
 
Handleoperator= (Handle &&other) noexcept
 
 ~Handle ()
 
btck_BlockHashget ()
 
const btck_BlockHashget () const
 
- Public Member Functions inherited from btck::BlockHashApi< BlockHash >
bool operator== (const BlockHash &other) const
 
bool operator!= (const BlockHash &other) const
 
std::array< std::byte, 32 > ToBytes () const
 

Additional Inherited Members

- Protected Attributes inherited from btck::Handle< btck_BlockHash, btck_block_hash_copy, btck_block_hash_destroy >
btck_BlockHashm_ptr
 

Detailed Description

Definition at line 691 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ BlockHash() [1/3]

btck::BlockHash::BlockHash ( const std::array< std::byte, 32 > &  hash)
inlineexplicit

Definition at line 694 of file bitcoinkernel_wrapper.h.

◆ BlockHash() [2/3]

btck::BlockHash::BlockHash ( btck_BlockHash hash)
inlineexplicit

Definition at line 697 of file bitcoinkernel_wrapper.h.

◆ BlockHash() [3/3]

btck::BlockHash::BlockHash ( const BlockHashView view)
inline

Definition at line 700 of file bitcoinkernel_wrapper.h.


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