wallet::DescriptorScriptPubKeyMan::TopUpWithDB

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

NameDescription
batchThe database batch to write new cache entries through.
sizeNumber of keys to top up to, or 0 to use the configured keypool size.