Is it possible to run two nodes with the same public key on the Lightning network? The reason is reliability -- two different servers run different instances of node software with the same setup (incl keys) -- if one fails -- the other one continue serving. Possible?

thank you.

2 Answers 2


With reliability, I assume you mean protecting channel balances against server failure (Not being able to close the channel correctly following an error).

You can reproduce the wallet in both nodes, but that doesn't contribute to securing a payment channel's balance in the case of a failure. It simply just means both node instances have identical wallet keys.

In other words, the two node instances may be signing with the same wallet keys, but they cannot be operating as a single peer for a given channel.

Since it is the individual payment channel balance (unbroadcasted, signed commitment transactions) which is at risk, it would be necessary to secure the commitment transaction data of a single node instance to protect your balance in case of a server failure.


No, because channels are very stateful, and each node MUST have the up-to-date state to be able to sign and revoke commitments. Any node which has out-of-date state will potentially cause loss of all funds in channels.

If you do need to migrate your node due to server downtime, you should ensure that you have replicated the most recent state onto your new server before attempting to reconnect to the network. Even if you have an automated replication strategy in place, if a server goes down, you can not be sure whether the most recent state was replicated to your new server until you can recover the state of the node which went down.

Clients will only keep a record of the most up-to-date gossip messages from a given node id, so broadcasting a new IP address will replace the old view of the IP address for other participants. Each client will probably use the node's public key as the primary key for indexing the node in its database.

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.