1

I know that RPC stands for Remote Procedure Call. Does Bitcoin Core do RPCs with other nodes on the network?

1 Answer 1

3

No, Bitcoin Core speaks the Bitcoin P2P protocol with other nodes.

The RPC interface is specific to the Bitcoin Core software, and for communication with the (human) operator of the software (through the bitcoin-cli tool), or for other (local) software to interact with (e.g. instructing it to create addresses, send funds, compute statistics, ...). The same commands can also be given in the Debug window in bitcoin-qt.

You can find documentation about the various supported RPC calls on https://bitcoincore.org/en/doc/.

4
  • Why aren't these called 'Commands', rather than RPC's? You would think that they would more closely resemble commands to the system. I don't know much about RPC's, but why are they called RPC's?
    – Eoin
    Commented Aug 3, 2023 at 19:09
  • Probably because initially they were primarily intended for interaction with other software, possibly running on other machines, than for interaction with people. They do use a communication protocol called JSON-RPC (see jsonrpc.org), which may have inspired the name. What's in a name? Commented Aug 3, 2023 at 19:42
  • Are these [link]bitcoincore.org/en/doc all the possible commands which can be entered into the bitcoin-cli, or are there more?
    – Eoin
    Commented Aug 4, 2023 at 18:01
  • The website lists all documented RPC calls (up to version 24.0; it's not updated for 25.0 yet, though I don't think that much changed). There are a few undocumented RPC calls that are only intended for testing purposes; those are not listed on the website either. Commented Aug 4, 2023 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.