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(0x7f2e1b099a58), requires_capability(0x7f2e26d1b1b8), requires_capability(0x7f2e375e1298), requires_capability(0x7f2e33368658), requires_capability(0x7f2e3542f648), requires_capability(0x7f2e28a741a8)]]
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.