wallet::DatabaseBatch::GetNewPrefixCursor

Returns a cursor over records whose key begins with the given prefix.

Synopsis

Declared in <wallet/db.h>

virtual
std::unique_ptr<DatabaseCursor>
GetNewPrefixCursor(std::span<std::byte const> prefix) = 0;

Return Value

A new cursor.

Parameters

NameDescription
prefixThe key prefix to match.