node::BlockManager::UpdatePruneLock

Create or update a prune lock identified by its name

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fd7532b0e18), requires_capability(0x7fd74e9c7d68), requires_capability(0x7fd75a26bab8), requires_capability(0x7fd74f16ef38), requires_capability(0x7fd74a00e5d8), requires_capability(0x7fd753265ee8)]]
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.