How to have my bitcoin-cli connect to an outside fullnode

4

1

I don't want to run a full node in my laptop. I rather want to install bitcoin-cli only and configure it to connect to an external full node. Is that possible?

If so, two questions:

  1. where can I get a list of full nodes?
  2. where can I record a full node from the above step in my bitcoin-cli

This is just for a quick test of bitcoin-cli. If there is other way to do this without setting up a full node myself, that works as well

kee

Posted 2018-07-03T02:13:56.800

Reputation: 157

Will you be setting up your own bitcoind node in another computer and you want to connect to that?ooomid 2018-07-04T14:48:10.597

Answers

4

configure it to connect to an external full node. Is that possible?

Technically yes, but in practice, no. bitcoin-cli connects to a bitcoind via the RPC interface. This interface is typically not exposed to the internet nor are all IP addresses typically allowed to connect to it (specific IP addresses or CIDR blocks need to be explicitly allowed by the node operator). This connection limitation is because access to the RPC interface allows access to the wallet and can result in potential coin loss. Additionally, you will need to know the RPC username and password in order to connect.

So, in actuality, you probably won't find any bitcoinds with open RPC interfaces that you can connect to, and since the interface is authenticated, you probably won't be able to connect to any node. You will need to have explicit permission from the node operator.

Andrew Chow

Posted 2018-07-03T02:13:56.800

Reputation: 40 910