node::BlockManager::DeletePruneLock

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

Synopsis

Declared in <node/blockstorage.h>

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.