node::BlockManager::UpdatePruneLock

Create or update a prune lock identified by its name

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7f2e1b099988), requires_capability(0x7f2e26d1b0e8), requires_capability(0x7f2e375e11c8), requires_capability(0x7f2e33368588), requires_capability(0x7f2e3542f578), requires_capability(0x7f2e28a740d8)]]
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.