Author

Topic: Help with Pywallet (Read 788 times)

sr. member
Activity: 364
Merit: 256
December 26, 2014, 09:58:43 AM
#2
What should I "grep" to find only my own bitcoin addresses ?
grep "label" mywalletdump.txt

Address sections that do not contain money have a 'reserve' line, not a 'label' line, for ex :
 {
           "addr": "1DCHJoJidu95uJYZcyD9CgnNf6pLOO8XZU",
          "ckey": "6dc8906af2b0dabf84e6c354f659a031b565ed48a6366a3d88cc43a53e49e9f6288c7c776d870e7 bcafbf54708e2f86d",
          "pubkey": "03f9d93ceb0d4ebd243ce90c06bed8b73d45668564e3b9e9406d8fe47186fbc58c",
          "reserve": 1
      }
sr. member
Activity: 413
Merit: 250
December 12, 2014, 05:37:35 AM
#1
Hi


I managed to dump my wallet.dat to a file with pywallet.
But in this file, how can I list my receiving addresses only?
This mean I don not want the pool addresses, the transaction addresses, the addresses I sent BTC to.....

Example, if I do :
grep "addr" mywalletdump.txt I get more than 100 records... and most of them DO have private keys... but I don't know what these addresses are.
What should I "grep" to find only my own bitcoin addresses ?

Thanks !

PS : also I wonder... about all these unknown addresses with a private key... are these those "already prepared" if some day I create a new BTC receiving address in my client?
Jump to: