Bitcoin Forum
June 20, 2025, 08:59:39 PM *
News: Pizza day contest voting
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: wallet.dat auto checker  (Read 259 times)
ewaspiro (OP)
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
May 26, 2020, 11:33:44 AM
 #1

Is there an RPC command to only output private keys with a balance from a wallet.dat?

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 I dont reply to your PM means I dont want to have you send me more PMs
nc50lc
Legendary
*
Offline Offline

Activity: 2814
Merit: 7314


Self-proclaimed Genius


View Profile
May 26, 2020, 12:15:57 PM
Merited by joniboini (2), ABCbits (1), ranochigo (1), Husna QA (1)
 #2

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:

cryptoworld99
Member
**
Offline Offline

Activity: 83
Merit: 22


View Profile
May 26, 2020, 04:57:58 PM
 #3

What language are you using? I can possibly code something small to help you out here.
ewaspiro (OP)
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
June 01, 2020, 12:18:44 PM
 #4

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

If I dont reply to your PM means I dont want to have you send me more PMs
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!