How do I see the IP address that someone used to send or receive bitcoins with? Is it stored in the blockchain?
4 Answers
No, IP addresses are not stored in the blockchain.
But Gavin Andreson indeed notes that
Unless you are very careful in the way you use Bitcoin (and you have the technical know-how to use it with other anonymizing technologies like Tor or i2p), you should assume that a persistent, motivated attacker will be able to associate your IP address with your bitcoin transactions.
One way to do this is to simply run bitcoin peer-to-peer clients that connect to a large fraction of the active nodes. It's not as hard as you might think. See Dan Kaminsky's Black Hat 2011 talk, starting at slide 21, for more. (Thanks to kirian for reminding me of the link). Then see An Analysis of Anonymity in the Bitcoin System 2011-07-22 by Fergal Reid, Martin Harrigan for how to link together the various bitcoin addresses that each user uses.
Some related background is outlined by Craig Reading: Bitcoin Theft – The Top Ten Threats | Genesys Guru Blog
-
2Also see this presentation by Dan Kaminsky at the Black Hat USA 2011 conference for more details about associating IP addresses with bitcoin transactions.– kirianCommented Sep 1, 2011 at 0:37
-
How connecting to all nodes will help you to obtain IP of a client who sent the transaction? You will only get IP of a node. Commented Oct 2, 2017 at 16:09
The blockchain doesn't store IP addresses. In order to obtain the IP address of someone sending or receiving bitcoins, you would have either observe the activity of the network very carefully, or track them down by some other means. Keep in mind that, for example, someone could receive bitcoins without ever being connected to the internet.
If the transaction was made through a third party website (such as en e-wallet or an exchange), you could try to contact the website owner and ask for the logs, if there are any.
The Bitcoin protocol does not record this information by itself.
-
This seems to be a huge concern when it comes to preserving anonymity. Is there a way to find out whether someone is using an e-wallet or exchange (and which one)? Do coin laundering services have the same vulnerability (i.e. a hack or subpoena could potentially make transactions public)?– JSiderisCommented Oct 25, 2015 at 18:49
-
if a mixing service was logging ips, that would be something only they know. no way to find out if they are doing it. just use tor. Commented May 31, 2016 at 21:27
The IP information you can obtain monitoring the network traffic. Block-chain doesn't contain any useful information to garner IP addresses, but if the user isn't careful with their activities or using a bitcoin mixer, tracking their block-chain info to ascertain habits won't be challenging, and you can use that to confirm an IP.
Now, onto bitcoin mixers. If you use a clearnet mixer, those sites are subject to governmental regulation (which varies by government) and can be required to give up their records. Darknet mixers on I2P and Tor are not subject to the same controls and don't typically record any information about their users. Since there's no user data to surrender and the hash data from the block-chain is all scrambled, it's useless to LEOs.