node::BlockManager::UpdatePruneLock

Create or update a prune lock identified by its name

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7ff37af171f8), requires_capability(0x7ff376b841d8), requires_capability(0x7ff37ded1dc8), requires_capability(0x7ff36c616fe8), requires_capability(0x7ff37c49ae48), requires_capability(0x7ff39283d848)]]
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.