lnd.xprv/chanbackup
Olaoluwa Osuntokun a73ee28e46
multi: convert the existing channeldb.ChannelType uint8 into a bit field
In this commit, we convert the existing `channeldb.ChannelType` type
into a _bit field_. This doesn't require us to change the current
serialization or interpretation or the type as it is, since all the
current defined values us a distinct bit. This PR lays the ground work
for any future changes that may introduce new channel types (like anchor
outputs), and also any changes that may modify the existing invariants
around channels (if we're the initiator, we always have the funding
transaction).
2019-10-31 16:34:37 -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 functionality to allow external callers to backup channels 2019-01-23 18:11:28 -08: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: add new updateBackupFile method, write fresh backup on startup 2019-03-28 17:53:30 -07:00
pubsub.go multi: replace manual CAS with sync.Once in component start/stop 2019-05-30 17:14:04 -03:00
recover_test.go chanbackup: add functions to allow recovery of existing channel backups 2019-01-23 18:11:29 -08:00
recover.go utxonursery+chanbackup: fix range loop binding bugs 2019-05-16 20:37:30 -07:00
single_test.go multi: convert the existing channeldb.ChannelType uint8 into a bit field 2019-10-31 16:34:37 -07:00
single.go chanbackup: create new Single version for tweakless commitment chans 2019-09-25 18:26:20 -07:00