node::BlockManager::DeletePruneLock

Delete a prune lock identified by its name. Returns true if the lock existed.

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fb95f04d6e8), requires_capability(0x7fb969da74a8), requires_capability(0x7fb96c563ef8), requires_capability(0x7fb9857a0fb8), requires_capability(0x7fb96cb968c8), requires_capability(0x7fb95a5b9e18)]]
bool
DeletePruneLock(std::string const& name);

Return Value

True if a lock with that name existed and was removed.

Parameters

NameDescription
nameThe name identifying the prune lock to delete.