Author

Topic: Wrong bitcoin address (Read 2783 times)

legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 24, 2013, 06:21:51 AM
#10
I understand for valid address coins are gone

For invalid address coins wont go through right ? Will the transaction fail in that case ?
The client will tell you the address is invalid and will do nothing
Similar to what happens if you try to send an email to
Quote
và"(ç@fzà"oé"*'$@"_ézf!e:;/.23!"é''(

If you are using a poorly written third party wallet, and it doesn't validate addresses, will nodes refuse to relay a transaction that attempts to use an invalid address?

Rather unlikely that an implementation would not validate the address, since validation is simple.

There is no way to recognize "wrong" address at the protocol level, at that level it is no longer a string with checksum but just uninterpreted data, therefore the transaction will be relayed and coins lost.

As I said just above the coins aren't necessarily lost. ~15% of typing errors don't change the recipient.
hero member
Activity: 836
Merit: 1030
bits of proof
September 24, 2013, 12:43:56 AM
#9
I understand for valid address coins are gone

For invalid address coins wont go through right ? Will the transaction fail in that case ?
The client will tell you the address is invalid and will do nothing
Similar to what happens if you try to send an email to
Quote
và"(ç@fzà"oé"*'$@"_ézf!e:;/.23!"é''(

If you are using a poorly written third party wallet, and it doesn't validate addresses, will nodes refuse to relay a transaction that attempts to use an invalid address?

Rather unlikely that an implementation would not validate the address, since validation is simple.

There is no way to recognize "wrong" address at the protocol level, at that level it is no longer a string with checksum but just uninterpreted data, therefore the transaction will be relayed and coins lost.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 23, 2013, 01:32:14 PM
#8
I understand for valid address coins are gone

For invalid address coins wont go through right ? Will the transaction fail in that case ?
The client will tell you the address is invalid and will do nothing
Similar to what happens if you try to send an email to
Quote
và"(ç@fzà"oé"*'$@"_ézf!e:;/.23!"é''(

If you are using a poorly written third party wallet, and it doesn't validate addresses, will nodes refuse to relay a transaction that attempts to use an invalid address?

A Bitcoin address is the base58 of this:
Quote
aaaaaaaaaaaaaaaasssss
Where red is the receiving "account" (it's all you need to send money) and blue the hash of red (blue is totally useless in the protocol, it is only used in clients, it never goes to other nodes)
E.g. red of 171vsZ2rd9xXafKiyCdcjZoad9BkXCE4B is 0123456789012345678901234567890123456789
If a third party client doesn't check that blue is indeed the hash of red, then two cases:
  • If the error is in the red part, then the money doesn't go to the right person
  • If the error is in the blue part, then the money goes to the right person because the coordinates are only contained in the red part

Let's assume that your client is broken/doesn't check the hash and that you want to send money to 171vsZ2rd9xXafKiyCdcjZoad9BkXCE4B
If you type 172vsZ2rd9xXafKiyCdcjZoad9BkXCE4B, then the money goes to an unknown person
If you type 171vsZ2rd9xXafKiyCdcjZoad9BkXCE4C, then the money goes to the correct recipient


Edit:
Quote
Bitcoin address                                      Recipient                                                         Hash
171vsZ2rd9xXafKiyCdcjZoad9BkXCE4B   0123456789012345678901234567890123456789fe995d84
172vsZ2rd9xXafKiyCdcjZoad9BkXCE4B   01241b1a3ba38145d4e3396b31bc154840300ee83e995d84
171vsZ2rd9xXafKiyCdcjZoad9BkXCE4C   0123456789012345678901234567890123456789fe995d85

Edit2:
For the sake of simplicity I ignored the leading \x00
legendary
Activity: 3472
Merit: 4801
September 23, 2013, 01:10:03 PM
#7
I understand for valid address coins are gone

For invalid address coins wont go through right ? Will the transaction fail in that case ?
The client will tell you the address is invalid and will do nothing
Similar to what happens if you try to send an email to
Quote
và"(ç@fzà"oé"*'$@"_ézf!e:;/.23!"é''(

If you are using a poorly written third party wallet, and it doesn't validate addresses, will nodes refuse to relay a transaction that attempts to use an invalid address?
full member
Activity: 196
Merit: 100
September 23, 2013, 07:05:10 AM
#6
Thats great
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 23, 2013, 07:01:08 AM
#5
I understand for valid address coins are gone

For invalid address coins wont go through right ? Will the transaction fail in that case ?
The client will tell you the address is invalid and will do nothing
Similar to what happens if you try to send an email to
Quote
và"(ç@fzà"oé"*'$@"_ézf!e:;/.23!"é''(
full member
Activity: 196
Merit: 100
September 23, 2013, 06:50:26 AM
#4
I understand for valid address coins are gone

For invalid address coins wont go through right ? Will the transaction fail in that case ?
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
September 23, 2013, 05:56:22 AM
#3
If you were so lucky or unlucky, and type a valid but wrong address, then sent the transaction, you just lost your coins.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
September 23, 2013, 05:15:47 AM
#2
https://en.bitcoin.it/wiki/Address#Addresses_are_case_sensitive_and_exact
Quote
Bitcoin addresses are case-sensitive. Bitcoin addresses should be copied and pasted using the computer's clipboard wherever possible. If you hand-key a Bitcoin address, and each character is not transcribed exactly - including capitalization - the incorrect address will most likely be rejected by the Bitcoin software. You will have to check your entry and try again.

The probability that a mistyped address is accepted as being valid is 1 in 2^32, that is, approximately 1 in 4.29 billion.
full member
Activity: 196
Merit: 100
September 23, 2013, 04:26:26 AM
#1
Say someone typed incorrect btc address

Whats the scenario in that case ?

If the btc address donot belong to anyone will he get those btc back or are they lost ?
Jump to: