Bitcoin Forum
July 06, 2024, 09:39:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [XPM] list of keypool addresses in wallet.dat  (Read 576 times)
Airbete (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
November 24, 2013, 03:41:13 AM
 #1

How do i extract the list of unused (but reserved) keypool addresses from wallet.dat ?

I have tried pywalley.py and dbdump.py which are designed for bitcoins, but of course they give invalid xpm addresses. Is there an equivalent tool for primecoins or any other way to get that information?

Thanks,

AB.
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
November 24, 2013, 04:02:34 AM
 #2

Did you set the address version to 23 in pywallet?

The little box labeled version is where you put the address version in pywallet if you are using it on a coin other then Bitcoin.

Primecoin uses address version 23
Airbete (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
November 24, 2013, 01:54:01 PM
 #3

Awesome!

Code:
pywallet.py --otherversion=23 --datadir ~/.primecoin --dumpwallet

works perfectly. I didn't know (find that) the address version for primecoin was 23.

Thank you very much for your help,

AB.
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!