Same as 'TopUp' but designed for use within a batch transaction context

Synopsis

Declared in <wallet/scriptpubkeyman.h>

bool
TopUpWithDB(
    WalletBatch& batch,
    unsigned int size = 0);

Return Value

true if the cache was successfully topped up.

Parameters

Name

Description

batch

The database batch to write new cache entries through.

size

Number of keys to top up to, or 0 to use the configured keypool size.

Created with MrDocs