1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 02:27:32 +01:00
eclair/eclair-core
Fabrice Drouin 650c5049d5
Better handling of closed channels (#944)
* Remove closed channels when application starts

If the app is stopped just after a channel has transition from CLOSING to CLOSED, when the  application starts again if will be restored as CLOSING. This commit checks channel data and remove closed channels instead of restoring them.

* Channels Database: tag closed channels but don't delete them

Instead we add a new `closed` column that we check when we restore channels.

* Document how we check and remove closed channels on startup
2019-04-24 17:32:53 +02:00
..
src Better handling of closed channels (#944) 2019-04-24 17:32:53 +02:00
eclair-cli Add a proper payments database (#885) 2019-04-16 17:03:21 +02:00
pom.xml Live channel database backup (#951) 2019-04-19 22:35:12 +02:00