Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: STSMiner on February 07, 2018, 03:06:30 AM



Title: Bitcoin Core 0.15.1 - Address problem !
Post by: STSMiner on February 07, 2018, 03:06:30 AM
OK, I've used Bitcoin Core 0.15.1 for some time now, but I have come across a problem !

I have my main wallet address  --  the one that was generated when I first started the program many moons ago, so this address is the master address, this address is fine.

OK, this is the issue.

I created a new receive address on the same wallet.dat --- so now I have two (2) receive addresses, the master address and the new address.

Fast forward to a few weeks later -- the new address is now seen as a send address !   Why has it moved from the list of Receive addresses and been placed in the 'Send address' section of Bitcoin Core 0.15.1 ?

How can I move this address back to the correct place as a 'Receive address' ?

I look forward to some help on how to resolve this issue.

Thanks.




Title: Re: Bitcoin Core 0.15.1 - Address problem !
Post by: buwaytress on February 07, 2018, 06:10:20 AM
That's just wallet cosmetics. There isn't such a thing as a sending address actually, not unless you use a site wallet which always funds a set of fixed addresses. All your addresses can be used for receiving. As long as there are inputs at an address (if you've used them to receive, for example), then you can always send (spend) from them.

So your second address and all the addresses you ever have can still be used as receiving address. It's likely moved to "Send" because it now has inputs you're able to spend (send).


Title: Re: Bitcoin Core 0.15.1 - Address problem !
Post by: STSMiner on February 07, 2018, 01:38:20 PM
I think I may have found a fix, but it means I've had to make a new wallet.dat file with a new address, and import the private key(s) for the addresses from the old wallet.

Waiting for Bitcoin Core to finish rescanning after entering the private key for the new address that I made a few weeks back.

I did not realize that each wallet address had it's own 'private key' until I researched my problem in more detail.

I'll update this post with more info once the rescan has finished on the new wallet.dat file with the private key that I imported for the address in question.




Title: Re: Bitcoin Core 0.15.1 - Address problem !
Post by: STSMiner on February 07, 2018, 03:41:38 PM
So ......

Old wallet.dat file -- just the one wallet address in the Receive section when there should have been two (2).

https://1drv.ms/i/s!AoT9lvLcOWd_hV1PTeT_uUJGru9g (https://1drv.ms/i/s!AoT9lvLcOWd_hV1PTeT_uUJGru9g)

New wallet.dat file with the imported addresses and one new address (first address is a new one for the new wallet.dat file)
The second address is the master address from the old wallet.
The last address is the one that I had an issue with.

https://1drv.ms/i/s!AoT9lvLcOWd_hV40Gib09uNgUwnM (https://1drv.ms/i/s!AoT9lvLcOWd_hV40Gib09uNgUwnM)


Title: Re: Bitcoin Core 0.15.1 - Address problem !
Post by: HCP on February 07, 2018, 08:41:33 PM
Did you send coins from your original ("1QGbi...") address to the new address ("1KfDK...") that ended up in the "sending addresses" section? This is usually how Bitcoin Core decides to add addresses to that section... if you've sent coins to it.

How did you originally create the "1KfDK..." address, did you goto "Receiving Addresses" and click "New"... or did you import a private key?


Also, just fyi, there really is no such thing as a "master" address as you call it. All addresses in your wallet are "equal".


Title: Re: Bitcoin Core 0.15.1 - Address problem !
Post by: STSMiner on February 08, 2018, 04:01:52 AM
Did you send coins from your original ("1QGbi...") address to the new address ("1KfDK...") that ended up in the "sending addresses" section? This is usually how Bitcoin Core decides to add addresses to that section... if you've sent coins to it.

How did you originally create the "1KfDK..." address, did you goto "Receiving Addresses" and click "New"... or did you import a private key?


Also, just fyi, there really is no such thing as a "master" address as you call it. All addresses in your wallet are "equal".


1/ No

2/ The 1KfGK address was made via Receiving Addresses

3/ I call it the master address because thats the first address made for that wallet.dat file.






Title: Re: Bitcoin Core 0.15.1 - Address problem !
Post by: bob123 on February 08, 2018, 06:01:05 PM
I call it the master address because thats the first address made for that wallet.dat file.

You can call it magical address.. but this still won't make your address magical.

Are you missing any coins / private keys?
Or is it just a "cosmetical" issue with your "address not being in the right tab" ?

Did you already try to list all of your unspent outputs? 'Help' -> 'Debug' -> 'Console' -> Type listunspent.
All of your addresses which have UTXO will appear on the screen.