Title: ROR Post by: Lauda on June 30, 2015, 08:28:16 PM --- removed on request ---
Title: Re: Address collision or? Post by: astrobitcoin on June 30, 2015, 08:38:27 PM you are saying that you created a bitcoin address from a wallet like electrum and then you find out that there are bitcoins on it?!
Title: Re: Address collision or? Post by: Lauda on June 30, 2015, 08:39:48 PM I've created a new address using the latest Bitcoin Core client. A few seconds after I generated it, I went to blockchain.info and pasted it there.
The address that I linked is the one that I have generated today (minutes ago). Title: Re: Address collision or? Post by: DannyHamilton on June 30, 2015, 08:43:24 PM This seems very unlikely, however, there are a few scenarios where you could create a situation that would have this result.
Some questions: Is this a brand new Bitcoin Core wallet that you just installed, or did you recover this wallet.dat from somewhere? If you had recovered this wallet.dat from somewhere, then this address might have been used from the same wallet.dat AFTER the backup was created. As such, when the backup was recovered, it is possible that the transaction was forgotten about. Are you (or anyone else) using the same wallet.dat in multiple Bitcoin Core wallets? If you created a copy of this wallet.dat and ran a second instance of the Bitcoin Core wallet on some other computer (or some other session on the same computer), then the other instance of the wallet may have pulled this address from its pool already, and now this instance is jsut getting around to pulling the same address from the address pool in the wallet.dat. What operating system are you using, and what version of that operating system? It is possible that the random number generator of the operating system that you are using is faulty (or compromised) and that it is not generating actual random numbers. As such, if someone else is using the same faulty (or compromised) operating system, then they could generate the same address. Are you certain that you copied and pasted the correct address? Perhaps the copy failed, and you pasted a previous address that was still in your computer's clipboard. If the address actually received bitcoins yesterday, then they should be added to your balance now. Did the balance on the wallet increase? Can you run: Code: listunspent in the console of your Bitcoin Core wallet? Does that address (and transaction ouput) show up there? Title: Re: Address collision or? Post by: yayayo on June 30, 2015, 08:45:44 PM I've created a new address using the latest Bitcoin Core client. A few seconds after I generated it, I went to blockchain.info and pasted it there. The address that I linked is the one that I have generated today (minutes ago). An address collision would be extremely unlikely... The most reasonable assumption would be a bug on blockchain.info. This assumption is confirmed by using blockexplorer: https://blockexplorer.com/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy ya.ya.yo! Title: Re: Address collision or? Post by: AgentofCoin on June 30, 2015, 08:48:04 PM I've created a new address using the latest Bitcoin Core client. A few seconds after I generated it, I went to blockchain.info and pasted it there. The address that I linked is the one that I have generated today (minutes ago). An address collision would be extremely unlikely... The most reasonable assumption would be a bug on blockchain.info. This assumption is confirmed by using blockexplorer: https://blockexplorer.com/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy ya.ya.yo! It exists in blockr.io though. http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy (http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy) Title: Re: Address collision or? Post by: Lauda on June 30, 2015, 08:49:31 PM This seems very unlikely, however, there are a few scenarios where you could create a situation that would have this result. -snip- Actually about 3 months ago I used vanitygen to generate an address 1LaudaexFYZano87acDNGscmqDbM3ZTLBD which I've used to sign a message for this account. So this is a pretty new wallet (time wise), and I've been using it pretty much every day. Nobody is using the same wallet.dat, nor has anybody access to my computer or the files. Besides the wallet is encrypted. I'm using Windows 7 Ultimate 64 bit with the latest updates to date. Also for the record, I was able to extract the private key from that address (my balance did not increase even though the address has 0.179 BTC). The most reasonable assumption would be a bug on blockchain.info. This assumption is confirmed by using blockexplorer: https://blockexplorer.com/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy It exists in blockr.io though.http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy (http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy) Title: Re: Address collision or? Post by: kingcolex on June 30, 2015, 08:52:55 PM This seems very unlikely, however, there are a few scenarios where you could create a situation that would have this result. -snip- Actually about 3 months ago I used vanitygen to generate an address 1LaudaexFYZano87acDNGscmqDbM3ZTLBD which I've used to sign a message for this account. So this is a pretty new wallet (time wise), and I've been using it pretty much every day. Nobody is using the same wallet.dat, nor has anybody access to my computer or the files. Besides the wallet is encrypted. I'm using Windows 7 Ultimate 64 bit with the latest updates to date. Also for the record, I was able to extract the private key from that address (my balance did not increase even though the address has 0.179 BTC). An address collision would be extremely unlikely... Maybe those two explores are using the same method to extract the blockchain data and the method they are using is giving an error with that address. This is all a guess I am pretty caught off guard by this.The most reasonable assumption would be a bug on blockchain.info. This assumption is confirmed by using blockexplorer: https://blockexplorer.com/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy ya.ya.yo! It exists in blockr.io though. http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy (http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy) Title: Re: Address collision or? Post by: DannyHamilton on June 30, 2015, 08:53:36 PM An address collision would be extremely unlikely... The most reasonable assumption would be a bug on blockchain.info. This assumption is confirmed by using blockexplorer: https://blockexplorer.com/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy ya.ya.yo! It exists in blockr.io though. http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy (http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy) This is not strange at all. blockexplorer is not up to date. If you look at their main page, the last block that they have processed is block #358999. This transaction was confirmed in block #363102. Title: Re: Address collision or? Post by: Lauda on June 30, 2015, 08:57:17 PM Okay, I've verified that there is no copying mistake. I've verified multiple times and I'm going to try importing that address into another system using electrum.
-snip- https://i.imgur.com/79Y1LOy.pngAre you certain that you copied and pasted the correct address? Perhaps the copy failed, and you pasted a previous address that was still in your computer's clipboard. If the address actually received bitcoins yesterday, then they should be added to your balance now. Did the balance on the wallet increase? Can you run: in the console of your Bitcoin Core wallet? Does that address (and transaction ouput) show up there? This is not strange at all. I did not check that.blockexplorer is not up to date. If you look at their main page, the last block that they have processed is block #358999. This transaction was confirmed in block #363102. Title: Re: Address collision or? Post by: yayayo on June 30, 2015, 08:58:19 PM An address collision would be extremely unlikely... The most reasonable assumption would be a bug on blockchain.info. This assumption is confirmed by using blockexplorer: https://blockexplorer.com/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy ya.ya.yo! It exists in blockr.io though. http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy (http://btc.blockr.io/address/info/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy) This is not strange at all. blockexplorer is not up to date. If you look at their main page, the last block that they have processed is block #358999. This transaction was confirmed in block #363102. Oh.. I didn't check this. In this case I have no idea what could be the reason... But if it were an address collision... it would most definitely be a once-in-a-lifetime event. :D ya.ya.yo! Title: Re: Address collision or? Post by: AgentofCoin on June 30, 2015, 09:04:00 PM This might be an extremely stupid question, but:
are you sure you did not generate this address yesterday and send that transaction? Title: Re: Address collision or? Post by: Lauda on June 30, 2015, 09:06:14 PM This might be an extremely stupid question, but: Well one can never be sure with his own memory but:are you sure you did not generate this address yesterday and send that transaction? 1) I do not recall using the wallet yesterday aside from sending a payment to someone 2) It doesn't show up in the transactions Also I was able to successfully import the address into Electrum and the balance has showed up. Title: Re: Address collision or? Post by: AgentofCoin on June 30, 2015, 09:10:18 PM This might be an extremely stupid question, but: Well one can never be sure with his own memory but:are you sure you did not generate this address yesterday and send that transaction? 1) I do not recall using the wallet yesterday 2) It doesn't show up in the transactions 3) I don't recognize the address that sent the Bitcoins to this one either Also I was able to successfully import the address into Electrum and the balance has showed up. Just had to ask, before the experts come in and start analyzing your wallet program. It is just too weird that it (the suspect address) was just used yesterday. That's why I think it is not a collision. Edit: added (the suspect address) Title: Re: Address collision or? Post by: DannyHamilton on June 30, 2015, 09:23:07 PM Can you please run:
Code: dumpprivkey 1A6oHPNxfwbD897u9k5ehUrcGYLJzn8YFX And see if your wallet has the private key for that address? DO NOT SHARE the private key with ANYBODY, just let us know if the wallet finds one or not. Title: Re: Address collision or? Post by: kingcolex on June 30, 2015, 09:25:07 PM This might be an extremely stupid question, but: Well one can never be sure with his own memory but:are you sure you did not generate this address yesterday and send that transaction? 1) I do not recall using the wallet yesterday aside from sending a payment to someone 2) It doesn't show up in the transactions 3) I don't recognize the address that sent the Bitcoins to this one either Also I was able to successfully import the address into Electrum and the balance has showed up. You said the latest but that does include beta builds? Looks like Bitcoin.org has Latest version: 0.10.2 and github has 0.11 Which one are you using? Title: Re: Address collision or? Post by: DannyHamilton on June 30, 2015, 09:26:33 PM By the way, in the future when you want to assistance with something like this, I suggest that you create a "self-moderated" thread. That way you can keep the conversation on track and delete all the nonsense posts from people that aren't paying attention to what you are saying.
Title: Re: Address collision or? Post by: Lauda on June 30, 2015, 09:31:55 PM By the way, in the future when you want to assistance with something like this, I suggest that you create a "self-moderated" thread. That way you can keep the conversation on track and delete all the nonsense posts from people that aren't paying attention to what you are saying. I've realized that a bit too late.Code: dumpprivkey 1A6oHPNxfwbD897u9k5ehUrcGYLJzn8YFX However, this still doesn't explain why the 0.179 went to an address that I've generated 1 hour ago? Could there be a bug in Bitcoin Core so that it had stopped showing the address temporarily or while upgrading from 0.9.x to 0.10.2? This rules out an address collision. Title: Re: Address collision or? Post by: kingcolex on June 30, 2015, 09:34:26 PM By the way, in the future when you want to assistance with something like this, I suggest that you create a "self-moderated" thread. That way you can keep the conversation on track and delete all the nonsense posts from people that aren't paying attention to what you are saying. I've realized that a bit too late.Code: dumpprivkey 1A6oHPNxfwbD897u9k5ehUrcGYLJzn8YFX However, this still doesn't explain why the 0.179 went to an address that I've generated 1 hour ago? This rules out an address collision. Title: Re: Address collision or? Post by: Lauda on June 30, 2015, 09:36:55 PM So if you sent the coin last night, what address did you send it to? Since the current address was just generated 1 hour ago? What happened to last nights transaction, is it on the blockchain? I guess emotions made me make a thread before actually doing enough research myself. I could have spared others some time, I'm sorry.Essentially the remaining balance last night went to: https://blockchain.info/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy however, I have generated that address about 1 hour and 10 minutes ago. Title: Re: Address collision or? Post by: odolvlobo on June 30, 2015, 09:38:58 PM So if you sent the coin last night, what address did you send it to? Since the current address was just generated 1 hour ago? What happened to last nights transaction, is it on the blockchain? I guess emotions had taken over and I've asked for help before actually doing enough work myself.Essentially the remaining balance last night went to: https://blockchain.info/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy however, I have generated that address about 1 hour and 10 minutes ago. Sounds like it might be a bug in Bitcoin Core in which it didn't realize it already used an address as a change address. Title: Re: Address collision or? Post by: kingcolex on June 30, 2015, 09:40:31 PM So if you sent the coin last night, what address did you send it to? Since the current address was just generated 1 hour ago? What happened to last nights transaction, is it on the blockchain? I guess emotions had taken over and I've asked for help before actually doing enough work myself.Essentially the remaining balance last night went to: https://blockchain.info/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy however, I have generated that address about 1 hour and 10 minutes ago. Title: Re: Address collision or? Post by: shorena on June 30, 2015, 09:40:34 PM So if you sent the coin last night, what address did you send it to? Since the current address was just generated 1 hour ago? What happened to last nights transaction, is it on the blockchain? I guess emotions made me make a thread before actually doing enough research myself. I could have spared others some time, I'm sorry.Essentially the remaining balance last night went to: https://blockchain.info/address/13EQZzdrBdHciQSg8bGfNr2YnTV9H1Bjmy however, I have generated that address about 1 hour and 10 minutes ago. Just to make sure I understand you: So its a change address from a TX you did in the past (yesterday) and was now shown just recently (~1 hour ago) when you clicked "+ new" in the receiving address window? What does "getwalletinfo" from the console return for "keypoolsize"? Bitcoin core pregenerates 100 addresses and tries to keep it that way, unless you changed this via the config file. Title: Re: Bitcoin Core - Strange behavior Post by: DannyHamilton on June 30, 2015, 09:40:57 PM Ok, so now that we've confirmed that this is not an address collision, the question remains: What actually happened.
If you want to take the time to write up exactly what you've done with that wallet in the past 36 hours or so in detail, it might be possible to analyze your actions and make an educated guess which step led to these results. The most likely cause would be recovering a wallet.dat backup. If you did not recover a wallet.dat backup and you are not using this same wallet.dat elsewhere, then it seems likely that there is either a small bug in the the wallet's use of the address pool, or there is a small bug in the upgrade process (if you upgraded the wallet after the first transaction and before the second). Title: Re: Bitcoin Core - Strange behavior Post by: Lauda on June 30, 2015, 09:46:07 PM Ok, so now that we've confirmed that this is not an address collision, the question remains: What actually happened. Well there isn't much to write in details. I've done the following: If you want to take the time to write up exactly what you've done with that wallet in the past 36 hours or so in detail, it might be possible to analyze your actions and make an educated guess which step led to these results. The most likely cause would be recovering a wallet.dat backup. If you did not recover a wallet.dat backup and you are not using this same wallet.dat elsewhere, then it seems likely that there is either a small bug in the the wallet's use of the address pool, or there is a small bug in the upgrade process (if you upgraded the wallet after the first transaction and before the second). 1) I've copied over my whole Bitcoin folder (it was on D:\Bitcoin , not my system drive) to a new external drive 2) I've removed the D:\ drive and renamed the external one to D:\ 3) Synced up the wallet 4) Sent the 0.12 to someone last night 5) Opened it up today to sync and generate a new address 6) Made a new thread. Just to make sure I understand you: So its a change address from a TX you did in the past (yesterday) and was now shown just recently (~1 hour ago) when you clicked "+ new" in the receiving address window? Yes. I didn't check the transaction that I had sent last night on blockchain.info. The address first appeared after clicking "+ new" ~1.3 hours agoWhat does "getwalletinfo" from the console return for "keypoolsize"? Bitcoin core pregenerates 100 addresses and tries to keep it that way, unless you changed this via the config file. https://i.imgur.com/JdVeHd6.png I didn't change anything via any config file. Title: Re: Bitcoin Core - Strange behavior Post by: bitcoinmasterlord on July 02, 2015, 01:09:58 PM Ok, so now that we've confirmed that this is not an address collision, the question remains: What actually happened. Well there isn't much to write in details. I've done the following: If you want to take the time to write up exactly what you've done with that wallet in the past 36 hours or so in detail, it might be possible to analyze your actions and make an educated guess which step led to these results. The most likely cause would be recovering a wallet.dat backup. If you did not recover a wallet.dat backup and you are not using this same wallet.dat elsewhere, then it seems likely that there is either a small bug in the the wallet's use of the address pool, or there is a small bug in the upgrade process (if you upgraded the wallet after the first transaction and before the second). 1) I've copied over my whole Bitcoin folder (it was on D:\Bitcoin , not my system drive) to a new external drive 2) I've removed the D:\ drive and renamed the external one to D:\ 3) Synced up the wallet 4) Sent the 0.12 to someone last night 5) Opened it up today to sync and generate a new address 6) Made a new thread. Just to make sure I understand you: So its a change address from a TX you did in the past (yesterday) and was now shown just recently (~1 hour ago) when you clicked "+ new" in the receiving address window? Yes. I didn't check the transaction that I had sent last night on blockchain.info. The address first appeared after clicking "+ new" ~1.3 hours agoWhat does "getwalletinfo" from the console return for "keypoolsize"? Bitcoin core pregenerates 100 addresses and tries to keep it that way, unless you changed this via the config file. https://i.imgur.com/JdVeHd6.png I didn't change anything via any config file. If you sent the bitcoins to another persons wallet and the coins on the wallet are the change then maybe you are right that bitcoin qt didn't realize that it already had this address as a change address. Can this be? Maybe a question to development subforum. So you sent 0.179 to the other and the spare 0.12 went to a change address that today is taken as a normal address by your wallet. Besides... you should reconsider using change addresses as long as you don't want your wallet addresses being easily find out. Title: Re: Bitcoin Core - Strange behavior Post by: Lauda on July 02, 2015, 01:18:35 PM If you sent the bitcoins to another persons wallet and the coins on the wallet are the change then maybe you are right that bitcoin qt didn't realize that it already had this address as a change address. Can this be? Maybe a question to development subforum. I've sent 0.12 to a person and the change which was 0.1799 went to an address that I didn't have at that time. The address that received the change wasn't generated until a day later.So you sent 0.179 to the other and the spare 0.12 went to a change address that today is taken as a normal address by your wallet. Besides... you should reconsider using change addresses as long as you don't want your wallet addresses being easily find out. I don't really care about that as this wallet is of low significance. As I've previously stated I didn't even realize that one of the addresses was mine until Danny asked (a bit embarrassing but still). I wouldn't have made a thread if I didn't suspect an address collision (which it is not). Title: Re: Bitcoin Core - Strange behavior Post by: bitcoinmasterlord on July 03, 2015, 11:53:12 AM If you sent the bitcoins to another persons wallet and the coins on the wallet are the change then maybe you are right that bitcoin qt didn't realize that it already had this address as a change address. Can this be? Maybe a question to development subforum. I've sent 0.12 to a person and the change which was 0.1799 went to an address that I didn't have at that time. The address that received the change wasn't generated until a day later.So you sent 0.179 to the other and the spare 0.12 went to a change address that today is taken as a normal address by your wallet. Besides... you should reconsider using change addresses as long as you don't want your wallet addresses being easily find out. I don't really care about that as this wallet is of low significance. As I've previously stated I didn't even realize that one of the addresses was mine until Danny asked (a bit embarrassing but still). I wouldn't have made a thread if I didn't suspect an address collision (which it is not). Sorry, i mixed that then. So the problem is you received change on an address that only was created later. Though the address had to exist before in your wallet, otherwise you wouldn't had get the change to it. I think since you copied the wallet.dat that something was happen on the way. I doubt it's a general problem. Title: Re: Bitcoin Core - Strange behavior Post by: Lauda on July 03, 2015, 12:05:48 PM Sorry, i mixed that then. Exactly. I generated the address a day later. That's what I concluded during the investigation and with the helps of others (especially Danny). So the problem is you received change on an address that only was created later. Though the address had to exist before in your wallet, otherwise you wouldn't had get the change to it. I think since you copied the wallet.dat that something was happen on the way. I doubt it's a general problem. No. The wallet.dat was just moved from disk 1 to disk 2 and then the software was automatically (on startup it asked for a location) pointed towards disk 2 and the first one was unplugged. Title: Re: Bitcoin Core - Strange behavior Post by: bitcoinmasterlord on July 03, 2015, 12:51:47 PM Sorry, i mixed that then. Exactly. I generated the address a day later. That's what I concluded during the investigation and with the helps of others (especially Danny). So the problem is you received change on an address that only was created later. Though the address had to exist before in your wallet, otherwise you wouldn't had get the change to it. I think since you copied the wallet.dat that something was happen on the way. I doubt it's a general problem. No. The wallet.dat was just moved from disk 1 to disk 2 and then the software was automatically (on startup it asked for a location) pointed towards disk 2 and the first one was unplugged. Maybe there are other files involved that trigger which addresses are shown or so. Maybe in your old place the transaction and wallet was seeable, then you moved, had other configuration files, and the address including transaction was not shown anymore. Then it was recreated. Only a guess. I don't know the inner workings of the client so good. Title: Re: Bitcoin Core - Strange behavior Post by: DannyHamilton on July 03, 2015, 01:24:53 PM - snip - The wallet.dat was just moved from disk 1 to disk 2 and then the software was automatically (on startup it asked for a location) pointed towards disk 2 and the first one was unplugged. We are comparing my "best guess" against your "best memory" here, so I really don't know which is more likely to be right. However... The only thing that I can think of that would cause this effect would be if you copied the wallet to disk 2, and THEN sent the transaction while the wallet was still using disk 1. Then after sending the transaction, the wallet was pointed towards disk 2, and disk 1 was unplugged. The behavior seen in this thread is EXACTLY what I would expect under those conditions. Title: Re: Bitcoin Core - Strange behavior Post by: Lauda on July 03, 2015, 01:45:36 PM We are comparing my "best guess" against your "best memory" here, so I really don't know which is more likely to be right. However... Well since the events happened recently my memory should be considered to be the truth. I didn't know about the other address because I've used it once and 2 months ago.The only thing that I can think of that would cause this effect would be if you copied the wallet to disk 2, and THEN sent the transaction while the wallet was still using disk 1. Then after sending the transaction, the wallet was pointed towards disk 2, and disk 1 was unplugged. The behavior seen in this thread is EXACTLY what I would expect under those conditions. That did not happen. I sent the transaction. The day after I copied over the Bitcoin folder and removed the HDD. Later that day I opened up Bitcoin Core and set the path to the new folder. |