Fills internal address pool. Use within ScriptPubKeyMan implementations should be used sparingly and only when something from the address pool is removed, excluding GetNewDestination and GetReservedDestination. External wallet code is primarily responsible for topping up prior to fetching new addresses

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
bool
TopUp(unsigned int size = 0);

Return Value

true if the address pool was successfully topped up.

Parameters

Name

Description

size

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

Created with MrDocs