mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
channeldb: integrate ChannelConfig and ChannelConstraints into OpenChannel
This commit is the next phase in a rather major overhaul of the OpenChannel struct. With this commit we remove the old ours vs theirs semantics with channel related state variables, and instead encapsulate all local vs remote state into a ChannelConfig structure for each party within the channel.
This commit is contained in: