• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Update Wallet for MN

tungfa

Well-known member
Foundation Member
Masternode Owner/Operator
Is there a guide
how to update the MN Wallet to the newest version on MAC ???
Tx
 
Last edited by a moderator:
1) Change darkcoin.conf wallet side
Put # at some line in the conf file
#----
rpcuser=XXXXXX
rpcpassword=YYYYY
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
#masternode=1
#masternodeaddr=XXX.XXX.XXX.XXX:9999
#masternodeprivkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#----


2) export import key to the new wallet

How to import old wallet in new one :
Always backup your wallet.dat before any update
After,
Open your wallet with v0.9.12.32(stable),
- go to console,
- type "listaddressgroupings" for have the list of your addresses with their key,
- type "walletpassphrase <password> 60" to unlock your wallet,
- type "dumpprivkey <paste address>" for all your adress, to generate your privkey for each one
- Copy all your privkey in .txt file
- Close your wallet.
- Rename your wallet.dat to wallet.dat.old (you need to dont have a wallet.dat in your folder)

Create a new wallet by launching wallet in version v0.10.12.32, that creat a new wallet, with new key and new wallet.dat file.
- Go to the console
- Type "importprivkey <paste privkey>" for all privkey you write in the .txt file

Done.

3) Transfert 1000 DRK to the adress 0 of the new wallet.
Use the qt interface

4) Generate new masternode key
- go to console,
- type "masternode genkey newdarkcoinkey"
close the qt wallet

5) Change darkcoin.conf
delete # at some line in the conf file
Copy the new masternode key

#----
rpcuser=XXXXXX
rpcpassword=YYYYY
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
masternodeaddr=XXX.XXX.XXX.XXX:9999
masternodeprivkey="new masternode key"
#----

Start the wallet


6) MN side

Stop the masternode
Update darkcoind
Change the "masternode key"
Start the masternode

7) Cold wallet side
- go to console,
- type "walletpassphrase <password> 60" to unlock your wallet,
- type "masternode start <password>

8) Controle masternode side
- type " darcoind masternode list | grep "your masternode ip""

I just test it with one of mine
 
1) Change darkcoin.conf wallet side
Put # at some line in the conf file
#----
rpcuser=XXXXXX
rpcpassword=YYYYY
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
#masternode=1
#masternodeaddr=XXX.XXX.XXX.XXX:9999
#masternodeprivkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#----


2) export import key to the new wallet

How to import old wallet in new one :
Always backup your wallet.dat before any update
After,
Open your wallet with v0.9.12.32(stable),
- go to console,
- type "listaddressgroupings" for have the list of your addresses with their key,
- type "walletpassphrase <password> 60" to unlock your wallet,
- type "dumpprivkey <paste address>" for all your adress, to generate your privkey for each one
- Copy all your privkey in .txt file
- Close your wallet.
- Rename your wallet.dat to wallet.dat.old (you need to dont have a wallet.dat in your folder)

Create a new wallet by launching wallet in version v0.10.12.32, that creat a new wallet, with new key and new wallet.dat file.
- Go to the console
- Type "importprivkey <paste privkey>" for all privkey you write in the .txt file

Done.

3) Transfert 1000 DRK to the adress 0 of the new wallet.
Use the qt interface

4) Generate new masternode key
- go to console,
- type "masternode genkey newdarkcoinkey"
close the qt wallet

5) Change darkcoin.conf
delete # at some line in the conf file
Copy the new masternode key

#----
rpcuser=XXXXXX
rpcpassword=YYYYY
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
masternodeaddr=XXX.XXX.XXX.XXX:9999
masternodeprivkey="new masternode key"
#----

Start the wallet


6) MN side

Stop the masternode
Update darkcoind
Change the "masternode key"
Start the masternode

7) Cold wallet side
- go to console,
- type "walletpassphrase <password> 60" to unlock your wallet,
- type "masternode start <password>

8) Controle masternode side
- type " darcoind masternode list | grep "your masternode ip""

I just test it with one of mine

cool man
tx for that.

But i have to change the darkcoin.conf as well (both sides / wallet + MN server) correct !?
that is always the mess up i have as i am not linux and nothing and do not know how to do that.

I have a session booked with GP (to get another MN on the way) and i might have to ask him to set me up with a system (Linux) that I can do that in the future myself
tx for now
 
cool man
tx for that.

But i have to change the darkcoin.conf as well (both sides / wallet + MN server) correct !?
that is always the mess up i have as i am not linux and nothing and do not know how to do that.

I have a session booked with GP (to get another MN on the way) and i might have to ask him to set me up with a system (Linux) that I can do that in the future myself
tx for now

Yes, you have to put the new darkcoind and the new masternodekey in the darkcoin.conf at MN side.

The best to test it, it's to do it 1st on a Tesnet MN.
 
Back
Top