mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
rpc: add new commitment_type field to OpenChannelRequest
This field will be examined later down the stack along with the set of feature bits to determine if explicit channel commitment type negotiation is possible or not.
This commit is contained in:
@@ -240,6 +240,11 @@ type InitFundingMsg struct {
|
||||
// protocol.
|
||||
PendingChanID [32]byte
|
||||
|
||||
// ChannelType allows the caller to use an explicit channel type for the
|
||||
// funding negotiation. This type will only be observed if BOTH sides
|
||||
// support explicit channel type negotiation.
|
||||
ChannelType *lnwire.ChannelType
|
||||
|
||||
// Updates is a channel which updates to the opening status of the channel
|
||||
// are sent on.
|
||||
Updates chan *lnrpc.OpenStatusUpdate
|
||||
|
Reference in New Issue
Block a user