Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: Ryland R. Taylor-Almanza on November 16, 2011, 10:16:25 PM



Title: Sent some btc into a black hole
Post by: Ryland R. Taylor-Almanza on November 16, 2011, 10:16:25 PM
Well, I guess it was bound to happen sooner or later. I was trying to send some btc to a newly generated address so that I could memorize the private key, and then have my BTC in my brain. My clients copy paste function wasn't working correctly, so I decided to type the address in manually. I was lazy, so I didn't double check the address. at least it was only .25 BTC. Just thought I'd share my story with you guys. :) Moral: If you ever manually type an address, double check it.


Title: Re: Sent some btc into a black hole
Post by: pirateat40 on November 16, 2011, 10:18:07 PM
I would say you were lucky, getting an address just right takes talent. :)


Title: Re: Sent some btc into a black hole
Post by: FreeMoney on November 16, 2011, 10:19:15 PM
Well, I guess it was bound to happen sooner or later. I was trying to send some btc to a newly generated address so that I could memorize the private key, and then have my BTC in my brain. My clients copy paste function wasn't working correctly, so I decided to type the address in manually. I was lazy, so I didn't double check the address. at least it was only .25 BTC. Just thought I'd share my story with you guys. :) Moral: If you ever manually type an address, double check it.

Seriously unlucky if true.

Please share the correct and incorrect address.


Title: Re: Sent some btc into a black hole
Post by: adamstgBit on November 16, 2011, 10:21:30 PM
omg 0.25BTC... you'll be kicking yourself in 2 years :P

in the beginning, people did lost of stupid mistakes like that... but with 100's of coins.

i hope in the future they will Re-mine the coins lost in the black hole


Title: Re: Sent some btc into a black hole
Post by: Ryland R. Taylor-Almanza on November 16, 2011, 10:42:16 PM
(...)

Seriously unlucky if true.

Please share the correct and incorrect address.
Seriously unlucky? Why's that?

Correct: 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh)
Incorrect: 1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K)

After looking thorougly at both addresses, looks like I accidentally took the end of one address in my addressbook, and used it in the end of the incorrect address. Silly me. :)


Title: Re: Sent some btc into a black hole
Post by: pirateat40 on November 16, 2011, 10:44:21 PM
(...)

Seriously unlucky if true.

Please share the correct and incorrect address.
Seriously unlucky? Why's that?

Correct: 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh)
Incorrect: 1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K)

After looking thorougly at both addresses, looks like I accidentally took the end of one address in my addressbook, and used it in the end of the incorrect address. Silly me. :)

wow, that was way off.


Title: Re: Sent some btc into a black hole
Post by: speeder on November 16, 2011, 10:44:35 PM
Seriously unlucky because the way the adresses are generated, means that a random error being valid is VERY, VERY, VERY unlikely.

Even if you mashup 2 adresses at a random point, this is unlikely. You have a ungodly amount of bad luck...


Title: Re: Sent some btc into a black hole
Post by: bbit on November 16, 2011, 10:46:29 PM
Well, I guess it was bound to happen sooner or later. I was trying to send some btc to a newly generated address so that I could memorize the private key, and then have my BTC in my brain. My clients copy paste function wasn't working correctly, so I decided to type the address in manually. I was lazy, so I didn't double check the address. at least it was only .25 BTC. Just thought I'd share my story with you guys. :) Moral: If you ever manually type an address, double check it.

lol sorry had to giggle


Title: Re: Sent some btc into a black hole
Post by: Ryland R. Taylor-Almanza on November 16, 2011, 10:46:55 PM
Seriously unlucky because the way the adresses are generated, means that a random error being valid is VERY, VERY, VERY unlikely.

Even if you mashup 2 adresses at a random point, this is unlikely. You have a ungodly amount of bad luck...
Really? I wasn't aware of that. Wow.


Title: Re: Sent some btc into a black hole
Post by: adamstgBit on November 16, 2011, 10:47:13 PM
Seriously unlucky because the way the adresses are generated, means that a random error being valid is VERY, VERY, VERY unlikely.

Even if you mashup 2 adresses at a random point, this is unlikely. You have a ungodly amount of bad luck...

LMAO ya man.. WOW, quick Spock compute the odds!


Title: Re: Sent some btc into a black hole
Post by: pirateat40 on November 16, 2011, 10:50:34 PM
Im standing with my "Lucky" comment.  Go buy a lotto ticket. :)


Title: Re: Sent some btc into a black hole
Post by: Ryland R. Taylor-Almanza on November 16, 2011, 10:51:22 PM
(...)

Seriously unlucky if true.

Please share the correct and incorrect address.
Seriously unlucky? Why's that?

Correct: 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh)
Incorrect: 1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K)

After looking thorougly at both addresses, looks like I accidentally took the end of one address in my addressbook, and used it in the end of the incorrect address. Silly me. :)
Wait a second. Just figured something out. I'm absolutely sure I typed in that last part correct now that I think back. I remember typing in 9CJh at the end. I think I messed up where the "e" is supposed to be a "w" and my client must've tried to correct it! I'm using the electrum client. I'll talk to the developer about this.


Title: Re: Sent some btc into a black hole
Post by: nmat on November 16, 2011, 10:51:45 PM
Im standing with my "Lucky" comment.  Go buy a lotto ticket. :)

i.e.: turn on solo mining for a while ;)


Title: Re: Sent some btc into a black hole
Post by: Matthew N. Wright on November 16, 2011, 10:52:02 PM
Quote
Sent some btc into a black hole

You sent bitcoins to http://rochellehub.co.cc/donate.html ? ???


Title: Re: Sent some btc into a black hole
Post by: Gavin Andresen on November 16, 2011, 10:52:15 PM
Neither of those addresses are valid according to my bitcoind:

Code:
$ bitcoind validateaddress 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh
{
    "isvalid" : false
}
$ bitcoind validateaddress 1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K
{
    "isvalid" : false
}

The checksum in addresses is 4 bytes, so there is a one-in-four-billion chance that a random typo would get you a valid address.


Title: Re: Sent some btc into a black hole
Post by: pirateat40 on November 16, 2011, 10:54:14 PM
Well if this is true, that's not good.


Title: Re: Sent some btc into a black hole
Post by: Ryland R. Taylor-Almanza on November 16, 2011, 10:56:31 PM
Neither of those addresses are valid according to my bitcoind:

Code:
$ bitcoind validateaddress 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh
{
    "isvalid" : false
}
$ bitcoind validateaddress 1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K
{
    "isvalid" : false
}

The checksum in addresses is 4 bytes, so there is a one-in-four-billion chance that a random typo would get you a valid address.

Not sure I understand. If they aren't valid, why are they in the block explorer?


Title: Re: Sent some btc into a black hole
Post by: Explodicle on November 16, 2011, 11:07:29 PM
omg 0.25BTC... you'll be kicking yourself in 2 years :P

in the beginning, people did lost of stupid mistakes like that... but with 100's of coins.

i hope in the future they will Re-mine the coins lost in the black hole

Someone mentioned this idea a little while back:
https://bitcointalk.org/index.php?topic=44511.0


Title: Re: Sent some btc into a black hole
Post by: Mushroomized on November 16, 2011, 11:17:51 PM
I want bitcoins in my brain, brb memorizing privikeys


Title: Re: Sent some btc into a black hole
Post by: theymos on November 16, 2011, 11:43:08 PM
Neither of those addresses are valid according to my bitcoind:

My client (version 0.3.15) says they're valid.

Bytecoin has mentioned that the checksum doesn't work as well as you would expect.


Title: Re: Sent some btc into a black hole
Post by: Gavin Andresen on November 16, 2011, 11:55:43 PM
D'oh!  I was running a -testnet bitcoind....

Never mind.


Title: Re: Sent some btc into a black hole
Post by: pirateat40 on November 17, 2011, 12:05:42 AM
D'oh!  I was running a -testnet bitcoind....

Never mind.

hehe, no worries you have enough on your plate.


Title: Re: Sent some btc into a black hole
Post by: Maged on November 17, 2011, 12:56:20 AM
(...)

Seriously unlucky if true.

Please share the correct and incorrect address.
Seriously unlucky? Why's that?

Correct: 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh)
Incorrect: 1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K (http://blockexplorer.com/address/1AYSPTVt8WytG12Kz9guUpXjeAMFb7AX2K)

After looking thorougly at both addresses, looks like I accidentally took the end of one address in my addressbook, and used it in the end of the incorrect address. Silly me. :)
Wait a second. Just figured something out. I'm absolutely sure I typed in that last part correct now that I think back. I remember typing in 9CJh at the end. I think I messed up where the "e" is supposed to be a "w" and my client must've tried to correct it! I'm using the electrum client. I'll talk to the developer about this.
There's your problem:
Code:
def bc_address_to_hash_160(addr):
    bytes = b58decode(addr, 25)
    return bytes[1:21]

What's terrible about this is that the checking code is already implemented in DecodeBase58Check. I suspect that this was a simple oversight, since it'd take only a few minutes to fix this.


Title: Re: Sent some btc into a black hole
Post by: ThomasV on November 17, 2011, 01:02:02 AM
my bad, the bug was in Electrum. I just fixed it and released a new version.


Title: Re: Sent some btc into a black hole
Post by: Atheros on November 17, 2011, 02:52:02 AM
Bytecoin has mentioned that the checksum doesn't work as well as you would expect.

How could it not?

https://en.bitcoin.it/w/images/en/9/9b/PubKeyToAddr.png
If one screws up the base58 address at all, wouldn't that mean that the 25-byte binary address is different?


Title: Re: Sent some btc into a black hole
Post by: theymos on November 17, 2011, 04:50:15 AM
How could it not?

https://en.bitcoin.it/w/images/en/9/9b/PubKeyToAddr.png
If one screws up the base58 address at all, wouldn't that mean that the 25-byte binary address is different?

I'm not familiar with the details, but here's a quote:
This may be an appropriate thread to mention that the the "checksum" at the end of an address does not effectively prevent single character errors or transpositions.

For instance https://blockexplorer.com/search/1ByteCoin shows that
Code:
1ByteCoinAddressesMatch1kpCWNXmHKW
1ByteCoinAddressesMatch1kpCxNXmHKW
are both valid addresses even though they only differ by one character.

Similarly, the valid addresses
Code:
1ByteCoinAddressesMatchcNN781jjwLY
1ByteCoinAddressesMatchcNN718jjwLY
only differ by one transposition.

ByteCoin


Title: Re: Sent some btc into a black hole
Post by: btc_artist on November 17, 2011, 11:51:09 PM
i hope in the future they will Re-mine the coins lost in the black hole
Maybe if they were categorically proven to be invalid addresses. :)