Bitcoin Forum
May 08, 2024, 10:25: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 574 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.
1715207128
Hero Member
*
Offline Offline

Posts: 1715207128

View Profile Personal Message (Offline)

Ignore
1715207128
Reply with quote  #2

1715207128
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
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!