node::BlockManager::UpdatePruneLock

Create or update a prune lock identified by its name

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7f95130c99d8), requires_capability(0x7f950163ccc8), requires_capability(0x7f95241d9cb8), requires_capability(0x7f951f330fb8), requires_capability(0x7f950b9c2f78), requires_capability(0x7f95175c56c8)]]
void
UpdatePruneLock(
    std::string const& name,
    PruneLockInfo const& lock_info);

Parameters

NameDescription
nameThe name identifying the prune lock.
lock_infoThe prune lock information to store.