[#btck-ChainstateManagerOptions] = xref:btck.adoc[btck]::ChainstateManagerOptions :relfileprefix: ../ :mrdocs: Owning wrapper over `btck_ChainstateManagerOptions`, configuring a ChainMan. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ChainstateManagerOptions : public xref:btck/UniqueHandle-0da.adoc[UniqueHandle<btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:btck/UniqueHandle-0da.adoc[UniqueHandle<btck_ChainstateManagerOptions, btck_chainstate_manager_options_destroy>]` | Owning RAII handle for a non‐copyable C object, backed by std::unique_ptr. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/ChainstateManagerOptions/2constructor.adoc[`ChainstateManagerOptions`] [.small]#[constructor]# | Constructs options with the data and block directories. | xref:btck/ChainstateManagerOptions/SetDatabaseCacheBytes.adoc[`SetDatabaseCacheBytes`] | Sets the database cache size. | xref:btck/ChainstateManagerOptions/SetWipeDbs.adoc[`SetWipeDbs`] | Selects which databases to wipe on startup. | xref:btck/ChainstateManagerOptions/SetWorkerThreads.adoc[`SetWorkerThreads`] | Sets the number of script‐verification worker threads. | xref:btck/ChainstateManagerOptions/UpdateBlockTreeDbInMemory.adoc[`UpdateBlockTreeDbInMemory`] | Controls whether the block tree database is kept in memory. | xref:btck/ChainstateManagerOptions/UpdateChainstateDbInMemory.adoc[`UpdateChainstateDbInMemory`] | Controls whether the chainstate database is kept in memory. | xref:btck/ChainstateManagerOptions/get-01.adoc[`get`] | Returns the owned C handle. |=== == Protected Types [cols="1,4"] |=== | Name| Description | xref:btck/ChainstateManagerOptions/Deleter.adoc[`Deleter`] | Custom deleter that forwards to the C destroy function. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:btck/ChainstateManagerOptions/m_ptr.adoc[`m_ptr`] | The owned C handle. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#