wallet::DatabaseBatch::ErasePrefix

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

NameDescription
prefixThe key prefix to match.