Running mainnet, testnet and signet Bitcoin Core full nodes on the same machine/same VM works fine.

Is running say a c-lightning mainnet node in parallel with a c-lightning signet node on the same machine/same VM something that should work?

What about a c-lightning mainnet node in parallel with say a lnd/eclair/rust-lightning mainnet node? Or a c-lightning mainnet node with say a lnd/eclair/rust-lightning signet node? I'm guessing not as the two Lightning implementations will be in competition for Bitcoin Core resources and would end up crashing it.

  • Have you tried? Aug 31, 2021 at 14:58
  • @PieterWuille: No not yet. Just trying to understand what should happen/if this is dumb to try before I do it. Aug 31, 2021 at 15:10

2 Answers 2


This was answered by individuals on IRC.

It is perfectly fine to run any number of c-lightning nodes for any combination of networks as long as you keep home directories (--lightning-dir) and (--bind-addr, --addr) bindings distinct. For different networks (i.e. mainnet, testnet, signet etc) c-lightning already has subdirectories so there is no need to specify those manually. But multiple nodes for the same network would conflict on the pid file and back out safely.

I think the alternative implementation question is dependent on which alternative implementation we are talking about and how they have been designed. There hasn't been much cross implementation testing and use of multiple implementations concurrently at the time of writing.

Openoms has been running Bitcoin Core mainnet, testnet, signet nodes with 5 Lightning instances (LND and c-lightning implementations). See his tweet or this GitHub issue for further details. For LND he states you need to be careful to specify the ZMQ ports so as not to mix the blockhashes of the networks (see his answer for more details).



It is absolutely possible, running parallel networks will be even added as a GUI option in the next RaspiBlitz release (FOSS bitcoin - lightning node package) which will also make C-lightning available.

See the issue about the parallel networks: https://github.com/rootzoll/raspiblitz/issues/2290

Here is a screenshot demonstrating running 5 LN nodes (3 C-lightning, 2 LND) on the three Bitcoin networks (mainnet, testnet and signet) on the same machine: https://twitter.com/openoms/status/1397187128136802326

For LND need to carefully specify the ZMQ ports to not mix the block hashes of the networks via:


and for example:


in the bitcoin.conf.

The Bitcoin Core, Lightningd and LND binaries can be the same, but - if using systemd - different services are the best to be used for the specific network instances. I found using one bitcoin.conf file is sufficient (as ports can be set with the network prefixes), but the LN implementations should have their dedicated config files per instance. As it was mentioned C-lightning makes this easy by having different directories for each network by default.

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.