IP transaction: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Sgornick (talk | contribs)
Add references section.
Wumpus (talk | contribs)
add PR number for removing "send to IP address"
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Sending bitcoins to an IP address is just a convenient way of sending bitcoins to a Bitcoin address along with additional information.
Sending bitcoins to an IP address was a convenient way of sending bitcoins to a Bitcoin address along with additional information.


* You contact the IP address to find out if they're actually running Bitcoin and accepting IP transactions. If not, no transaction occurs.
* Your client contacts the IP address to find out if they're actually running Bitcoin and accepting IP transactions. If not, no transaction occurs.
* Your additional information ("from", "message", etc.) is exchanged with the server.
* Your additional information ("from", "message", etc.) is exchanged with the server.
* The server generates a brand new Bitcoin address and sends it to you.
* The server generates a brand new Bitcoin public key and sends it to your client.
* You send coins to this [[address]] in the normal way
* Your client sends coins to this public key.


Unfortunately, the current implementation provides no authentication, so any "man in the middle" can intercept your Bitcoins during the transaction. When they see that you're sending a Bitcoin payment by IP address, they pretend to be the actual destination and send back ''their'' Bitcoin address. You end up sending Bitcoins to the wrong person. It's therefore not a good idea to send Bitcoins in this way, ''especially'' if you're using a proxy.
Unfortunately, the implementation provided no authentication, so any "man in the middle" could have intercepted your bitcoins during the transaction. When they see that you're sending a Bitcoin payment by IP address, they pretend to be the actual destination and send back ''their'' Bitcoin address. You end up sending bitcoins to the wrong person. It's therefore no longer a good idea to send bitcoins in this way, ''especially'' if you're using a proxy.


==Status===
==Status==
Receiving transactions by IP address is disabled by default with the classic Bitcoin client. You can enable it by running Bitcoin with the ''-allowreceivebyip'' switch.  This feature may ultimately get removed from the classic Bitcoin client<ref>[http://bitcointalk.org/index.php?topic=9334.0 Remove send to IP address and IP transactions support]</ref>
This feature has been removed from Bitcoin Core as-of v0.8.0<ref>[http://bitcointalk.org/index.php?topic=9334.0 Remove send to IP address and IP transactions support] in [https://github.com/bitcoin/bitcoin/pull/1904 PR #1904]</ref>.


==References==
==References==

Latest revision as of 07:55, 23 October 2019

Sending bitcoins to an IP address was a convenient way of sending bitcoins to a Bitcoin address along with additional information.

  • Your client contacts the IP address to find out if they're actually running Bitcoin and accepting IP transactions. If not, no transaction occurs.
  • Your additional information ("from", "message", etc.) is exchanged with the server.
  • The server generates a brand new Bitcoin public key and sends it to your client.
  • Your client sends coins to this public key.

Unfortunately, the implementation provided no authentication, so any "man in the middle" could have intercepted your bitcoins during the transaction. When they see that you're sending a Bitcoin payment by IP address, they pretend to be the actual destination and send back their Bitcoin address. You end up sending bitcoins to the wrong person. It's therefore no longer a good idea to send bitcoins in this way, especially if you're using a proxy.

Status

This feature has been removed from Bitcoin Core as-of v0.8.0[1].

References