3

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

1 Answer 1

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. Commented May 14, 2020 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
    Commented May 14, 2020 at 19:51

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.