Owning wrapper over btck_ChainstateManagerOptions, configuring a ChainMan.
Declared in <kernel/bitcoinkernel_wrapper.h>
class ChainstateManagerOptions
: public UniqueHandle<btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy>
| Name | Description |
|---|---|
UniqueHandle<btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy> | Owning RAII handle for a non-copyable C object, backed by std::unique_ptr. |
| 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. |
| Name | Description |
|---|---|
Deleter | Custom deleter that forwards to the C destroy function. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |