Owning wrapper over btck_ChainstateManagerOptions, configuring a ChainMan.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

Base Classes

Name

Description

UniqueHandle<btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy>

Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr.

Member Functions

Name

Description

ChainstateManagerOptions [constructor]

Constructs options with the data and block directories.

SetDatabaseCacheBytes

Sets the database cache size.

SetWipeDbs

Selects which databases to wipe on startup.

SetWorkerThreads

Sets the number of script‐verification worker threads.

UpdateBlockTreeDbInMemory

Controls whether the block tree database is kept in memory.

UpdateChainstateDbInMemory

Controls whether the chainstate database is kept in memory.

get

Returns the owned C handle.

Protected Types

Name

Description

Deleter

Custom deleter that forwards to the C destroy function.

Protected Data Members

Name

Description

m_ptr

The owned C handle.

Created with MrDocs