Erases all records whose key begins with the given prefix.
Synopsis
Declared in <wallet/db.h>
virtual
bool
ErasePrefix(std::span<std::byte const> prefix) = 0;
Return Value
true if the matching records were erased.
Parameters
Name |
Description |
prefix |
The key prefix to match. |
Created with MrDocs