A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

1

The hsm_secret is used to derive keys for both onchain and offchain (channels commitments) transactions. On chain To retrieve on chain funds you can rescan the block chain for your utxos by using the --rescan startup option of lightningd. Off chain You can not re create the whole state of your channels just from the hsm_secret, which are stored in the ...


1

Hsm secret is only used to derive your keys but you need more than that - which is the state of your channels (meaning the most recent commitment transaction and revocstion secrets). This information can be found in your sql file in the .lightning directory. The problem is that this backup has to be made everytime the state of a channel changes (even failed ...


0

So there are a couple things to consider here: The database, it needs to be remotely available if you are going to failover your Lightning node. We talk about adding support to eclair for a remote database (postgres) in our blog post here Safely accessing the database. If you have two nodes writing to the database at the same time, it is possible that they ...


Top 50 recent answers are included