Bitcoin backup wallet.dat
I know this question has been asked many times but I still have questions regarding the Bitcoin wallet.dat backup (please don’t mark it as duplicate ).
I’ve installed the bitcoind with keypool=100. I would like to ensure that the wallet.dat is backed-up before executing a command that would exceed pre-generated pool keys. My script should look like this:
if {keys are available} && {wallet.dat is backed-up} ... executre bitcoind command end I can’t find a tip on how to properly handle this on a heavy-load server. The only API methods I find usable in my case are getgenerate and keypoolrefill but at this point I can’t find the info when the refill is handled automatically.