wallet::BerkeleyROBatch::GetNewPrefixCursor

Get a cursor iterating over records whose key starts with a prefix.

Synopsis

Declared in <wallet/migrate.h>

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

Return Value

A new cursor over the matching records.

Parameters

NameDescription
prefixThe key prefix to filter records by.