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

#include <bitcoinkernel_wrapper.h>

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

Public Member Functions

 BlockHeader (std::span< const std::byte > raw_header)
 
 BlockHeader (const BlockHeaderView &view)
 
 BlockHeader (btck_BlockHeader *header)
 
- Public Member Functions inherited from btck::Handle< btck_BlockHeader, btck_block_header_copy, btck_block_header_destroy >
 Handle (btck_BlockHeader *ptr)
 
 Handle (const Handle &other)
 
 Handle (Handle &&other) noexcept
 
 Handle (const ViewType &view)
 
Handleoperator= (const Handle &other)
 
Handleoperator= (Handle &&other) noexcept
 
 ~Handle ()
 
btck_BlockHeaderget ()
 
const btck_BlockHeaderget () const
 
- Public Member Functions inherited from btck::BlockHeaderApi< BlockHeader >
BlockHash Hash () const
 
BlockHashView PrevHash () const
 
uint32_t Timestamp () const
 
uint32_t Bits () const
 
int32_t Version () const
 
uint32_t Nonce () const
 

Additional Inherited Members

- Protected Attributes inherited from btck::Handle< btck_BlockHeader, btck_block_header_copy, btck_block_header_destroy >
btck_BlockHeaderm_ptr
 

Detailed Description

Definition at line 757 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ BlockHeader() [1/3]

btck::BlockHeader::BlockHeader ( std::span< const std::byte >  raw_header)
inlineexplicit

Definition at line 760 of file bitcoinkernel_wrapper.h.

◆ BlockHeader() [2/3]

btck::BlockHeader::BlockHeader ( const BlockHeaderView view)
inline

Definition at line 763 of file bitcoinkernel_wrapper.h.

◆ BlockHeader() [3/3]

btck::BlockHeader::BlockHeader ( btck_BlockHeader header)
inline

Definition at line 766 of file bitcoinkernel_wrapper.h.


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