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:
Olaoluwa Osuntokun committed 2017-07-30 17:48:16 -07:00
1 parent 5780992f8d
commit 9811b404e4
1 file changed
+291 -454
+291 -454
View File
File diff suppressed because it is too large. Load diff