btck::ChainstateManagerOptions::SetWipeDbs

Selects which databases to wipe on startup.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

bool
SetWipeDbs(
    bool wipe_block_tree,
    bool wipe_chainstate);

Return Value

True on success.

Parameters

NameDescription
wipe_block_treeWhether to wipe the block tree database.
wipe_chainstateWhether to wipe the chainstate database.