3

I am trying to set up 2 clients with both using the same block directory is this possible?

1

bitcoin-cli simply acts as a convenience interface to the JSON-RPC api of bitcoind - as long as you only have one instance of bitcoind using a given datadir, you can safely use multiple bitcoin-cli calls at the same time.

2
  • 3
    Right, though beware of the maximum number of concurrent calls (4 by default, adjustable with-rpcthreads). bitcoind will ignore any calls made above this limit. – darosior May 14 '20 at 10:05
  • Does this mean that by default only 4 bitcoin-cli can ever use the same blocksdir or only 4 at a time? – Harmalarm May 14 '20 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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