json rpc – Multiple bitcoind nodes – how to specify to which send RPC commands via bitcoin-cli?

0
13


I am currently running two regtest nodes on the same PC as described here:
how to run multiple bitcoind node on one server?

Now I want to use the following bitcoin-cli command as seen in the example from the docs:

bitcoin-cli -regtest generatetoaddress 101 $(bitcoin-cli -regtest getnewaddress)

But how to specify a node if I want to choose a specific one?



Source link

Leave a reply