node::BlockManager::UpdatePruneLock

Create or update a prune lock identified by its name

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fb95f04d618), requires_capability(0x7fb969da73d8), requires_capability(0x7fb96c563e28), requires_capability(0x7fb9857a0ee8), requires_capability(0x7fb96cb967f8), requires_capability(0x7fb95a5b9d48)]]
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.