Bitcoin Forum
December 12, 2024, 08:48:07 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help with Pywallet  (Read 807 times)
uncaer9 (OP)
Sr. Member
****
Offline Offline

Activity: 413
Merit: 250


View Profile
December 12, 2014, 09: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?

           ▄▄▄███████████▄▄▄
       ▄▄█████▀▀▀▀▀▀▀▀▀▀▀█████▄▄
     ▄████▀                 ▀████▄
   ▄███▀
  ▄██▀
 ▄██▀   ▄█████████████████████▄
▄██▀    ████████▀▀   ▀▀████████
███     ██████▀  ██▄▄   ▀██████     ███
███     ██████   ██████  ██████     ███
███     ██████▄  ██▀▀   ▄██████     ███
▀██▄    ████████▄▄   ▄▄████████    ▄██▀
 ▀██▄   ▀█████████████████████▀   ▄██▀
  ▀██▄                           ▄██▀
   ▀███▄                       ▄███▀
     ▀████▄                 ▄████▀
       ▀▀█████▄▄▄▄▄▄▄▄▄▄▄█████▀▀
           ▀▀▀███████████▀▀▀
PUREVIDZ█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
[][████████████████████████████
████████████████████████████

▄               ▄█████▄   ▄▄
██▄           ▄███████████▀
████▄        ▄█████████████▀
▀█████▄▄     ████████████▀
 ▀██████████▄████████████
█████████████████████████
 ███████████████████████▀
  ▀█████████████████████
  ▄▄███████████████████
   ███████████████████
    ▀▀██████████████▀
     ▄▄███████████▀
▀███████████████▀
  ▀▀████████▀▀
]█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
█▄█████▄█
▀▀▀▀▀
arieq
Sr. Member
****
Offline Offline

Activity: 364
Merit: 256


View Profile
December 26, 2014, 01:58:43 PM
 #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
      }

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!