Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
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, std::string_view data_dir, std::string_view blocks_dir)
void SetWorkerThreads (int worker_threads)
bool SetDatabaseCacheBytes (uint64_t database_cache_bytes)
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_ChainstateManagerOptions * get ()

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 1189 of file bitcoinkernel_wrapper.h.

Constructor & Destructor Documentation

◆ ChainstateManagerOptions()

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

Definition at line 1192 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

Member Function Documentation

◆ SetDatabaseCacheBytes()

bool btck::ChainstateManagerOptions::SetDatabaseCacheBytes ( uint64_t database_cache_bytes)
inline

Definition at line 1203 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ SetWipeDbs()

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

Definition at line 1208 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 1198 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

◆ UpdateBlockTreeDbInMemory()

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

Definition at line 1213 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 1218 of file bitcoinkernel_wrapper.h.

Here is the call graph for this function:

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