Bitcoin Forum
November 12, 2024, 07:24:25 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Sent some btc into a black hole  (Read 2991 times)
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652
Merit: 2301


Chief Scientist


View Profile WWW
November 16, 2011, 11:55:43 PM
 #21

D'oh!  I was running a -testnet bitcoind....

Never mind.

How often do you get the chance to work on a potentially world-changing project?
pirateat40
Avast Ye!
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


"Yes I am a pirate, 200 years too late."


View Profile WWW
November 17, 2011, 12:05:42 AM
 #22

D'oh!  I was running a -testnet bitcoind....

Never mind.

hehe, no worries you have enough on your plate.

Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
November 17, 2011, 12:56:20 AM
 #23

(...)

Seriously unlucky if true.

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

Correct: 1AYSPTVt8WytG12Kz9guUpXjwAMFZG9CJh
Incorrect: 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. Smiley
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.

ThomasV
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
November 17, 2011, 01:02:02 AM
 #24

my bad, the bug was in Electrum. I just fixed it and released a new version.

Electrum: the convenience of a web wallet, without the risks
Atheros
Sr. Member
****
Offline Offline

Activity: 249
Merit: 251



View Profile WWW
November 17, 2011, 02:52:02 AM
 #25

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?

BM-GteJMPqvHRUdUHHa1u7dtYnfDaH5ogeY
Bitmessage.org - Decentralized, trustless, encrypted, authenticated messaging protocol and client.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5376
Merit: 13410


View Profile
November 17, 2011, 04:50:15 AM
 #26

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

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 102

Bitcoin!


View Profile WWW
November 17, 2011, 11:51:09 PM
 #27

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. Smiley

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!