Post
Topic
Board Development & Technical Discussion
Re: wallet.dat auto checker
by
ewaspiro
on 01/06/2020, 12:18:44 UTC
Is there an RPC command to only output private keys with a balance from a wallet.dat?
Not private keys, but listunspent can display your wallet's UTXOs.
The output includes the address(es) that you can use with dumpprivkey (requires walletpassphrase for encrypted wallets).

I have a wallet with a few hundred addresses that crashes, but one or two addresses has balance, is it possible to print balance addresses only in bitcoin-qt?
If they always crash, you can check them manually by dumping the whole wallet using dumpwallet command using an offline Bitcoin core with fresh data directory.

Commands mentioned:

Thanks, this solved my problem partly