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

#include <bitcoinkernel_wrapper.h>

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

Public Member Functions

 ChainMan (const Context &context, const ChainstateManagerOptions &chainman_opts)
 
bool ImportBlocks (const std::span< const std::string > paths)
 
bool ProcessBlock (const Block &block, bool *new_block)
 
ChainView GetChain () const
 
std::optional< BlockTreeEntryGetBlockTreeEntry (const BlockHash &block_hash) const
 
std::optional< BlockReadBlock (const BlockTreeEntry &entry) const
 
BlockSpentOutputs ReadBlockSpentOutputs (const BlockTreeEntry &entry) const
 

Additional Inherited Members

- Private Member Functions inherited from btck::UniqueHandle< btck_ChainstateManager, btck_chainstate_manager_destroy >
 UniqueHandle (btck_ChainstateManager *ptr)
 
btck_ChainstateManagerget ()
 
const btck_ChainstateManagerget () const
 
- Private Attributes inherited from btck::UniqueHandle< btck_ChainstateManager, btck_chainstate_manager_destroy >
std::unique_ptr< btck_ChainstateManager, Deleter > m_ptr
 

Detailed Description

Definition at line 1104 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ ChainMan()

btck::ChainMan::ChainMan ( const Context context,
const ChainstateManagerOptions chainman_opts 
)
inline

Definition at line 1107 of file bitcoinkernel_wrapper.h.

Member Function Documentation

◆ GetBlockTreeEntry()

std::optional< BlockTreeEntry > btck::ChainMan::GetBlockTreeEntry ( const BlockHash block_hash) const
inline

Definition at line 1139 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ GetChain()

ChainView btck::ChainMan::GetChain ( ) const
inline

Definition at line 1134 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ ImportBlocks()

bool btck::ChainMan::ImportBlocks ( const std::span< const std::string >  paths)
inline

Definition at line 1112 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ ProcessBlock()

bool btck::ChainMan::ProcessBlock ( const Block block,
bool *  new_block 
)
inline

Definition at line 1126 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ ReadBlock()

std::optional< Block > btck::ChainMan::ReadBlock ( const BlockTreeEntry entry) const
inline

Definition at line 1146 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ ReadBlockSpentOutputs()

BlockSpentOutputs btck::ChainMan::ReadBlockSpentOutputs ( const BlockTreeEntry entry) const
inline

Definition at line 1153 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

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