node::BlockManager::UpdatePruneLock

Create or update a prune lock identified by its name

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fbc8f17b768), requires_capability(0x7fbca3f04c98), requires_capability(0x7fbcace16ee8), requires_capability(0x7fbca6c58b58), requires_capability(0x7fbcad3602f8), requires_capability(0x7fbc9fba20b8)]]
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.