[#kernel-BlockManagerOpts] = xref:kernel.adoc[kernel]::BlockManagerOpts :relfileprefix: ../ :mrdocs: An options struct for `BlockManager`, more ergonomically referred to as `BlockManager::Options` due to the using‐declaration in `BlockManager`. == Synopsis Declared in `<kernel/blockmanager_opts.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BlockManagerOpts; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:kernel/BlockManagerOpts/block_tree_db_params.adoc[`block_tree_db_params`] | Parameters for opening the block tree database. | xref:kernel/BlockManagerOpts/blocks_dir.adoc[`blocks_dir`] | Directory that holds the block and undo files. | xref:kernel/BlockManagerOpts/chainparams.adoc[`chainparams`] | Chain parameters governing the block storage. | xref:kernel/BlockManagerOpts/fast_prune.adoc[`fast_prune`] | Whether to prune aggressively, mainly for testing. | xref:kernel/BlockManagerOpts/notifications.adoc[`notifications`] | Sink for block storage notifications. | xref:kernel/BlockManagerOpts/prune_target.adoc[`prune_target`] | Target size, in bytes, to prune the block files down to (0 disables pruning). | xref:kernel/BlockManagerOpts/use_xor.adoc[`use_xor`] | Whether to obfuscate (XOR) block files on disk. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#