How do I refill the keypool?
source branch 0.21
updated July 8, 2021, 3:12 pm
Fix the error message "Error: Keypool ran out, please call keypoolrefill first" with the following steps.
Open your wallet.
Click on "Window" -> "Console".
This is the console where you execute RPC commands.
Unlock your wallet with the following RPC command:
walletpassphrase yourpassword 600
Replace the text "yourpassword" with the password used to encrypt your wallet.
The number 600 is the amount of seconds your wallet is unlocked.
Fill the keypool with the following RPC command: