I know how to query the blockchain stored on my machine programmatically using bitcoind commands. Is it possible to do the same on a public node?
For example, is it possible to send “getblockcount” over the internet to bitcoinstats.com, hard-coded in the bitcoin source, or to inductivesoul.us, found in the bitcoin.it wiki? What are the steps to do so?
Edit
The quick answer is:
- No, you cannot use bitcoind commands.
- You have to communicate with a remote node using TCP.
- You have to use a different set of commands found in the Protocol Specification.