[#wallet-CWallet-TopUpKeyPool] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::TopUpKeyPool :relfileprefix: ../../ :mrdocs: Refill the keypool up to the target size. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool TopUpKeyPool(unsigned int kpSize = 0); ---- == Return Value true if the keypool was topped up. == Parameters [cols="1,4"] |=== | Name| Description | *kpSize* | Target keypool size, or 0 to use the configured size. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#