Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: First.Bitcoins on March 05, 2014, 06:35:16 PM



Title: change address that bitcoind mines to
Post by: First.Bitcoins on March 05, 2014, 06:35:16 PM
As a test, I have created an altcoin and have mined it using two virtual servers on DigitalOcean. To keep from having to build each new server, I made an image of one of the old servers and used it to create a 3rd server. When I run bitcoind on the new server, it mines to the same address as the old server (expected of course), but how do I change the address the new server mines to? I ran getnewaddress before starting the mining, but that did not do it.


Title: Re: change address that bitcoind mines to
Post by: Abdussamad on March 05, 2014, 07:22:11 PM
Shutdown bitcoind. Backup the wallet.dat file and then delete the original. bitcoind will create a new wallet.dat file when it is run again.