Same as 'TopUp' but designed for use within a batch transaction context
Declared in <wallet/scriptpubkeyman.h>
bool
TopUpWithDB(
WalletBatch& batch,
unsigned int size = 0);
true if the cache was successfully topped up.
| 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. |