mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
a73ee28e46
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). |
||
---|---|---|
.. | ||
backup_test.go | ||
backup.go | ||
backupfile_test.go | ||
backupfile.go | ||
crypto_test.go | ||
crypto.go | ||
log.go | ||
multi_test.go | ||
multi.go | ||
pubsub_test.go | ||
pubsub.go | ||
recover_test.go | ||
recover.go | ||
single_test.go | ||
single.go |