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

#include <bitcoinkernel_wrapper.h>

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

Public Member Functions

 ChainstateManagerOptions (const Context &context, const std::string &data_dir, const std::string &blocks_dir)
 
void SetWorkerThreads (int worker_threads)
 
bool SetWipeDbs (bool wipe_block_tree, bool wipe_chainstate)
 
void UpdateBlockTreeDbInMemory (bool block_tree_db_in_memory)
 
void UpdateChainstateDbInMemory (bool chainstate_db_in_memory)
 
- Public Member Functions inherited from btck::UniqueHandle< btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy >
 UniqueHandle (btck_ChainstateManagerOptions *ptr)
 
btck_ChainstateManagerOptionsget ()
 
const btck_ChainstateManagerOptionsget () const
 

Additional Inherited Members

- Protected Attributes inherited from btck::UniqueHandle< btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy >
std::unique_ptr< btck_ChainstateManagerOptions, Deleter > m_ptr
 

Detailed Description

Definition at line 936 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ ChainstateManagerOptions()

btck::ChainstateManagerOptions::ChainstateManagerOptions ( const Context context,
const std::string &  data_dir,
const std::string &  blocks_dir 
)
inline

Definition at line 939 of file bitcoinkernel_wrapper.h.

Member Function Documentation

◆ SetWipeDbs()

bool btck::ChainstateManagerOptions::SetWipeDbs ( bool  wipe_block_tree,
bool  wipe_chainstate 
)
inline

Definition at line 949 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ SetWorkerThreads()

void btck::ChainstateManagerOptions::SetWorkerThreads ( int  worker_threads)
inline

Definition at line 944 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateBlockTreeDbInMemory()

void btck::ChainstateManagerOptions::UpdateBlockTreeDbInMemory ( bool  block_tree_db_in_memory)
inline

Definition at line 954 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ UpdateChainstateDbInMemory()

void btck::ChainstateManagerOptions::UpdateChainstateDbInMemory ( bool  chainstate_db_in_memory)
inline

Definition at line 959 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

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