lnd.xprv/chanbackup
Olaoluwa Osuntokun 496e29d02e
chanbackup: refuse to start the SubSwapper if we can't read the SCB file
In this commit, we add an additional defense against starting up with an
invalid SCB state. With this commit, we'll now fail to start up if we're
unable to update or read the existing SCB state from disk. This will
prevent an lnd node from starting up with an invalid SCB file, an SCB
file it can't decrypt, or an SCB left over from another node.
2020-06-17 17:44:57 -07:00
..
backup_test.go chanbackup: add functionality to allow external callers to backup channels 2019-01-23 18:11:28 -08:00
backup.go chanbackup: add SCB support for new anchor commitments 2020-03-16 17:07:03 -07:00
backupfile_test.go chanbackup: add new MultiFile struct for storing+updating Multis on disk 2019-01-23 18:11:31 -08:00
backupfile.go chanbackup: close temp SCB file before rename 2019-05-27 15:36:55 -07:00
crypto_test.go chanbackup: implement crypto operations for serialized static channel baackups 2019-01-23 18:11:21 -08:00
crypto.go chanbackup: implement crypto operations for serialized static channel baackups 2019-01-23 18:11:21 -08:00
log.go chanbackup: add logger 2019-01-23 18:11:25 -08:00
multi_test.go chanbackup: introduce Multi, a multi-channel backup 2019-01-23 18:11:27 -08:00
multi.go chanbackup: add new NilMultiSizePacked constant 2019-03-28 17:53:37 -07:00
pubsub_test.go chanbackup: refuse to start the SubSwapper if we can't read the SCB file 2020-06-17 17:44:57 -07:00
pubsub.go chanbackup: refuse to start the SubSwapper if we can't read the SCB file 2020-06-17 17:44:57 -07:00
recover_test.go chanbackup: add functions to allow recovery of existing channel backups 2019-01-23 18:11:29 -08:00
recover.go chanbackup: continue recovery if channel already exists 2019-11-18 10:51:23 +01:00
single_test.go chanbackup: add SCB support for new anchor commitments 2020-03-16 17:07:03 -07:00
single.go chanbackup: add SCB support for new anchor commitments 2020-03-16 17:07:03 -07:00