kernel::BlockTreeDB::ReadFlag

Read a named boolean flag.

Synopsis

Declared in <node/blockstorage.h>

bool
ReadFlag(
    std::string const& name,
    bool& fValue);

Return Value

True if the flag was present, false otherwise.

Parameters

NameDescription
nameThe flag name.
fValueOutput set to the stored flag value.