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>

struct BlockManagerOpts;

Data Members

Name

Description

block_tree_db_params

Parameters for opening the block tree database.

blocks_dir

Directory that holds the block and undo files.

chainparams

Chain parameters governing the block storage.

fast_prune

Whether to prune aggressively, mainly for testing.

notifications

Sink for block storage notifications.

prune_target

Target size, in bytes, to prune the block files down to (0 disables pruning).

use_xor

Whether to obfuscate (XOR) block files on disk.

Created with MrDocs