chanacceptor: include commitment type in channel acceptor requests

This commit is contained in:
Wilmer Paulino 2021-07-14 17:21:51 -07:00 committed by Olaoluwa Osuntokun
parent c9f6d788e2
commit e15ad026d4
No known key found for this signature in database
GPG key ID: 3BBD59E99B280306
4 changed files with 350 additions and 292 deletions

View file

@ -256,6 +256,42 @@ func (r *RPCAcceptor) sendAcceptRequests(errChan chan error,
req := newRequest.request req := newRequest.request
pendingChanID := req.OpenChanMsg.PendingChannelID pendingChanID := req.OpenChanMsg.PendingChannelID
// Map the channel commitment type to its RPC
// counterpart.
var commitmentType lnrpc.CommitmentType
if req.OpenChanMsg.ChannelType != nil {
channelFeatures := lnwire.RawFeatureVector(
*req.OpenChanMsg.ChannelType,
)
switch {
case channelFeatures.OnlyContains(
lnwire.ScriptEnforcedLeaseRequired,
lnwire.AnchorsZeroFeeHtlcTxRequired,
lnwire.StaticRemoteKeyRequired,
):
commitmentType = lnrpc.CommitmentType_SCRIPT_ENFORCED_LEASE
case channelFeatures.OnlyContains(
lnwire.AnchorsZeroFeeHtlcTxRequired,
lnwire.StaticRemoteKeyRequired,
):
commitmentType = lnrpc.CommitmentType_ANCHORS
case channelFeatures.OnlyContains(
lnwire.StaticRemoteKeyRequired,
):
commitmentType = lnrpc.CommitmentType_STATIC_REMOTE_KEY
case channelFeatures.OnlyContains():
commitmentType = lnrpc.CommitmentType_LEGACY
default:
log.Warnf("Unhandled commitment type "+
"in channel acceptor request: %v",
req.OpenChanMsg.ChannelType)
}
}
acceptRequests[pendingChanID] = newRequest acceptRequests[pendingChanID] = newRequest
// A ChannelAcceptRequest has been received, send it to the client. // A ChannelAcceptRequest has been received, send it to the client.
@ -273,6 +309,7 @@ func (r *RPCAcceptor) sendAcceptRequests(errChan chan error,
CsvDelay: uint32(req.OpenChanMsg.CsvDelay), CsvDelay: uint32(req.OpenChanMsg.CsvDelay),
MaxAcceptedHtlcs: uint32(req.OpenChanMsg.MaxAcceptedHTLCs), MaxAcceptedHtlcs: uint32(req.OpenChanMsg.MaxAcceptedHTLCs),
ChannelFlags: uint32(req.OpenChanMsg.ChannelFlags), ChannelFlags: uint32(req.OpenChanMsg.ChannelFlags),
CommitmentType: commitmentType,
} }
if err := r.send(chanAcceptReq); err != nil { if err := r.send(chanAcceptReq); err != nil {

View file

@ -2301,6 +2301,8 @@ type ChannelAcceptRequest struct {
// A bit-field which the initiator uses to specify proposed channel // A bit-field which the initiator uses to specify proposed channel
// behavior. // behavior.
ChannelFlags uint32 `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"` ChannelFlags uint32 `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
// The commitment type the initiator wishes to use for the proposed channel.
CommitmentType CommitmentType `protobuf:"varint,14,opt,name=commitment_type,json=commitmentType,proto3,enum=lnrpc.CommitmentType" json:"commitment_type,omitempty"`
} }
func (x *ChannelAcceptRequest) Reset() { func (x *ChannelAcceptRequest) Reset() {
@ -2426,6 +2428,13 @@ func (x *ChannelAcceptRequest) GetChannelFlags() uint32 {
return 0 return 0
} }
func (x *ChannelAcceptRequest) GetCommitmentType() CommitmentType {
if x != nil {
return x.CommitmentType
}
return CommitmentType_UNKNOWN_COMMITMENT_TYPE
}
type ChannelAcceptResponse struct { type ChannelAcceptResponse struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -16415,7 +16424,7 @@ var file_lightning_proto_rawDesc = []byte{
0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x22, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x22,
0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75,
0x74, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xda, 0x03, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x74, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x9a, 0x04, 0x0a, 0x14, 0x43, 0x68, 0x61,
0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6b,
@ -16445,7 +16454,11 @@ var file_lightning_proto_rawDesc = []byte{
0x6d, 0x61, 0x78, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x6d, 0x61, 0x78, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x73,
0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67,
0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
0x46, 0x6c, 0x61, 0x67, 0x73, 0x22, 0xf3, 0x02, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d,
0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15,
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e,
0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e,
0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xf3, 0x02, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x16, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x06, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x06, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69,
@ -19163,296 +19176,297 @@ var file_lightning_proto_depIdxs = []int32{
8, // 5: lnrpc.SendRequest.dest_features:type_name -> lnrpc.FeatureBit 8, // 5: lnrpc.SendRequest.dest_features:type_name -> lnrpc.FeatureBit
114, // 6: lnrpc.SendResponse.payment_route:type_name -> lnrpc.Route 114, // 6: lnrpc.SendResponse.payment_route:type_name -> lnrpc.Route
114, // 7: lnrpc.SendToRouteRequest.route:type_name -> lnrpc.Route 114, // 7: lnrpc.SendToRouteRequest.route:type_name -> lnrpc.Route
203, // 8: lnrpc.EstimateFeeRequest.AddrToAmount:type_name -> lnrpc.EstimateFeeRequest.AddrToAmountEntry 1, // 8: lnrpc.ChannelAcceptRequest.commitment_type:type_name -> lnrpc.CommitmentType
204, // 9: lnrpc.SendManyRequest.AddrToAmount:type_name -> lnrpc.SendManyRequest.AddrToAmountEntry 203, // 9: lnrpc.EstimateFeeRequest.AddrToAmount:type_name -> lnrpc.EstimateFeeRequest.AddrToAmountEntry
23, // 10: lnrpc.ListUnspentResponse.utxos:type_name -> lnrpc.Utxo 204, // 10: lnrpc.SendManyRequest.AddrToAmount:type_name -> lnrpc.SendManyRequest.AddrToAmountEntry
0, // 11: lnrpc.NewAddressRequest.type:type_name -> lnrpc.AddressType 23, // 11: lnrpc.ListUnspentResponse.utxos:type_name -> lnrpc.Utxo
35, // 12: lnrpc.ConnectPeerRequest.addr:type_name -> lnrpc.LightningAddress 0, // 12: lnrpc.NewAddressRequest.type:type_name -> lnrpc.AddressType
54, // 13: lnrpc.Channel.pending_htlcs:type_name -> lnrpc.HTLC 35, // 13: lnrpc.ConnectPeerRequest.addr:type_name -> lnrpc.LightningAddress
1, // 14: lnrpc.Channel.commitment_type:type_name -> lnrpc.CommitmentType 54, // 14: lnrpc.Channel.pending_htlcs:type_name -> lnrpc.HTLC
55, // 15: lnrpc.Channel.local_constraints:type_name -> lnrpc.ChannelConstraints 1, // 15: lnrpc.Channel.commitment_type:type_name -> lnrpc.CommitmentType
55, // 16: lnrpc.Channel.remote_constraints:type_name -> lnrpc.ChannelConstraints 55, // 16: lnrpc.Channel.local_constraints:type_name -> lnrpc.ChannelConstraints
56, // 17: lnrpc.ListChannelsResponse.channels:type_name -> lnrpc.Channel 55, // 17: lnrpc.Channel.remote_constraints:type_name -> lnrpc.ChannelConstraints
10, // 18: lnrpc.ChannelCloseSummary.close_type:type_name -> lnrpc.ChannelCloseSummary.ClosureType 56, // 18: lnrpc.ListChannelsResponse.channels:type_name -> lnrpc.Channel
2, // 19: lnrpc.ChannelCloseSummary.open_initiator:type_name -> lnrpc.Initiator 10, // 19: lnrpc.ChannelCloseSummary.close_type:type_name -> lnrpc.ChannelCloseSummary.ClosureType
2, // 20: lnrpc.ChannelCloseSummary.close_initiator:type_name -> lnrpc.Initiator 2, // 20: lnrpc.ChannelCloseSummary.open_initiator:type_name -> lnrpc.Initiator
60, // 21: lnrpc.ChannelCloseSummary.resolutions:type_name -> lnrpc.Resolution 2, // 21: lnrpc.ChannelCloseSummary.close_initiator:type_name -> lnrpc.Initiator
3, // 22: lnrpc.Resolution.resolution_type:type_name -> lnrpc.ResolutionType 60, // 22: lnrpc.ChannelCloseSummary.resolutions:type_name -> lnrpc.Resolution
4, // 23: lnrpc.Resolution.outcome:type_name -> lnrpc.ResolutionOutcome 3, // 23: lnrpc.Resolution.resolution_type:type_name -> lnrpc.ResolutionType
34, // 24: lnrpc.Resolution.outpoint:type_name -> lnrpc.OutPoint 4, // 24: lnrpc.Resolution.outcome:type_name -> lnrpc.ResolutionOutcome
59, // 25: lnrpc.ClosedChannelsResponse.channels:type_name -> lnrpc.ChannelCloseSummary 34, // 25: lnrpc.Resolution.outpoint:type_name -> lnrpc.OutPoint
11, // 26: lnrpc.Peer.sync_type:type_name -> lnrpc.Peer.SyncType 59, // 26: lnrpc.ClosedChannelsResponse.channels:type_name -> lnrpc.ChannelCloseSummary
205, // 27: lnrpc.Peer.features:type_name -> lnrpc.Peer.FeaturesEntry 11, // 27: lnrpc.Peer.sync_type:type_name -> lnrpc.Peer.SyncType
64, // 28: lnrpc.Peer.errors:type_name -> lnrpc.TimestampedError 205, // 28: lnrpc.Peer.features:type_name -> lnrpc.Peer.FeaturesEntry
63, // 29: lnrpc.ListPeersResponse.peers:type_name -> lnrpc.Peer 64, // 29: lnrpc.Peer.errors:type_name -> lnrpc.TimestampedError
12, // 30: lnrpc.PeerEvent.type:type_name -> lnrpc.PeerEvent.EventType 63, // 30: lnrpc.ListPeersResponse.peers:type_name -> lnrpc.Peer
73, // 31: lnrpc.GetInfoResponse.chains:type_name -> lnrpc.Chain 12, // 31: lnrpc.PeerEvent.type:type_name -> lnrpc.PeerEvent.EventType
206, // 32: lnrpc.GetInfoResponse.features:type_name -> lnrpc.GetInfoResponse.FeaturesEntry 73, // 32: lnrpc.GetInfoResponse.chains:type_name -> lnrpc.Chain
33, // 33: lnrpc.ChannelOpenUpdate.channel_point:type_name -> lnrpc.ChannelPoint 206, // 33: lnrpc.GetInfoResponse.features:type_name -> lnrpc.GetInfoResponse.FeaturesEntry
33, // 34: lnrpc.CloseChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint 33, // 34: lnrpc.ChannelOpenUpdate.channel_point:type_name -> lnrpc.ChannelPoint
79, // 35: lnrpc.CloseStatusUpdate.close_pending:type_name -> lnrpc.PendingUpdate 33, // 35: lnrpc.CloseChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint
76, // 36: lnrpc.CloseStatusUpdate.chan_close:type_name -> lnrpc.ChannelCloseUpdate 79, // 36: lnrpc.CloseStatusUpdate.close_pending:type_name -> lnrpc.PendingUpdate
82, // 37: lnrpc.BatchOpenChannelRequest.channels:type_name -> lnrpc.BatchOpenChannel 76, // 37: lnrpc.CloseStatusUpdate.chan_close:type_name -> lnrpc.ChannelCloseUpdate
1, // 38: lnrpc.BatchOpenChannel.commitment_type:type_name -> lnrpc.CommitmentType 82, // 38: lnrpc.BatchOpenChannelRequest.channels:type_name -> lnrpc.BatchOpenChannel
79, // 39: lnrpc.BatchOpenChannelResponse.pending_channels:type_name -> lnrpc.PendingUpdate 1, // 39: lnrpc.BatchOpenChannel.commitment_type:type_name -> lnrpc.CommitmentType
90, // 40: lnrpc.OpenChannelRequest.funding_shim:type_name -> lnrpc.FundingShim 79, // 40: lnrpc.BatchOpenChannelResponse.pending_channels:type_name -> lnrpc.PendingUpdate
1, // 41: lnrpc.OpenChannelRequest.commitment_type:type_name -> lnrpc.CommitmentType 90, // 41: lnrpc.OpenChannelRequest.funding_shim:type_name -> lnrpc.FundingShim
79, // 42: lnrpc.OpenStatusUpdate.chan_pending:type_name -> lnrpc.PendingUpdate 1, // 42: lnrpc.OpenChannelRequest.commitment_type:type_name -> lnrpc.CommitmentType
75, // 43: lnrpc.OpenStatusUpdate.chan_open:type_name -> lnrpc.ChannelOpenUpdate 79, // 43: lnrpc.OpenStatusUpdate.chan_pending:type_name -> lnrpc.PendingUpdate
80, // 44: lnrpc.OpenStatusUpdate.psbt_fund:type_name -> lnrpc.ReadyForPsbtFunding 75, // 44: lnrpc.OpenStatusUpdate.chan_open:type_name -> lnrpc.ChannelOpenUpdate
86, // 45: lnrpc.KeyDescriptor.key_loc:type_name -> lnrpc.KeyLocator 80, // 45: lnrpc.OpenStatusUpdate.psbt_fund:type_name -> lnrpc.ReadyForPsbtFunding
33, // 46: lnrpc.ChanPointShim.chan_point:type_name -> lnrpc.ChannelPoint 86, // 46: lnrpc.KeyDescriptor.key_loc:type_name -> lnrpc.KeyLocator
87, // 47: lnrpc.ChanPointShim.local_key:type_name -> lnrpc.KeyDescriptor 33, // 47: lnrpc.ChanPointShim.chan_point:type_name -> lnrpc.ChannelPoint
88, // 48: lnrpc.FundingShim.chan_point_shim:type_name -> lnrpc.ChanPointShim 87, // 48: lnrpc.ChanPointShim.local_key:type_name -> lnrpc.KeyDescriptor
89, // 49: lnrpc.FundingShim.psbt_shim:type_name -> lnrpc.PsbtShim 88, // 49: lnrpc.FundingShim.chan_point_shim:type_name -> lnrpc.ChanPointShim
90, // 50: lnrpc.FundingTransitionMsg.shim_register:type_name -> lnrpc.FundingShim 89, // 50: lnrpc.FundingShim.psbt_shim:type_name -> lnrpc.PsbtShim
91, // 51: lnrpc.FundingTransitionMsg.shim_cancel:type_name -> lnrpc.FundingShimCancel 90, // 51: lnrpc.FundingTransitionMsg.shim_register:type_name -> lnrpc.FundingShim
92, // 52: lnrpc.FundingTransitionMsg.psbt_verify:type_name -> lnrpc.FundingPsbtVerify 91, // 52: lnrpc.FundingTransitionMsg.shim_cancel:type_name -> lnrpc.FundingShimCancel
93, // 53: lnrpc.FundingTransitionMsg.psbt_finalize:type_name -> lnrpc.FundingPsbtFinalize 92, // 53: lnrpc.FundingTransitionMsg.psbt_verify:type_name -> lnrpc.FundingPsbtVerify
208, // 54: lnrpc.PendingChannelsResponse.pending_open_channels:type_name -> lnrpc.PendingChannelsResponse.PendingOpenChannel 93, // 54: lnrpc.FundingTransitionMsg.psbt_finalize:type_name -> lnrpc.FundingPsbtFinalize
211, // 55: lnrpc.PendingChannelsResponse.pending_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ClosedChannel 208, // 55: lnrpc.PendingChannelsResponse.pending_open_channels:type_name -> lnrpc.PendingChannelsResponse.PendingOpenChannel
212, // 56: lnrpc.PendingChannelsResponse.pending_force_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel 211, // 56: lnrpc.PendingChannelsResponse.pending_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ClosedChannel
209, // 57: lnrpc.PendingChannelsResponse.waiting_close_channels:type_name -> lnrpc.PendingChannelsResponse.WaitingCloseChannel 212, // 57: lnrpc.PendingChannelsResponse.pending_force_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel
56, // 58: lnrpc.ChannelEventUpdate.open_channel:type_name -> lnrpc.Channel 209, // 58: lnrpc.PendingChannelsResponse.waiting_close_channels:type_name -> lnrpc.PendingChannelsResponse.WaitingCloseChannel
59, // 59: lnrpc.ChannelEventUpdate.closed_channel:type_name -> lnrpc.ChannelCloseSummary 56, // 59: lnrpc.ChannelEventUpdate.open_channel:type_name -> lnrpc.Channel
33, // 60: lnrpc.ChannelEventUpdate.active_channel:type_name -> lnrpc.ChannelPoint 59, // 60: lnrpc.ChannelEventUpdate.closed_channel:type_name -> lnrpc.ChannelCloseSummary
33, // 61: lnrpc.ChannelEventUpdate.inactive_channel:type_name -> lnrpc.ChannelPoint 33, // 61: lnrpc.ChannelEventUpdate.active_channel:type_name -> lnrpc.ChannelPoint
79, // 62: lnrpc.ChannelEventUpdate.pending_open_channel:type_name -> lnrpc.PendingUpdate 33, // 62: lnrpc.ChannelEventUpdate.inactive_channel:type_name -> lnrpc.ChannelPoint
33, // 63: lnrpc.ChannelEventUpdate.fully_resolved_channel:type_name -> lnrpc.ChannelPoint 79, // 63: lnrpc.ChannelEventUpdate.pending_open_channel:type_name -> lnrpc.PendingUpdate
14, // 64: lnrpc.ChannelEventUpdate.type:type_name -> lnrpc.ChannelEventUpdate.UpdateType 33, // 64: lnrpc.ChannelEventUpdate.fully_resolved_channel:type_name -> lnrpc.ChannelPoint
213, // 65: lnrpc.WalletBalanceResponse.account_balance:type_name -> lnrpc.WalletBalanceResponse.AccountBalanceEntry 14, // 65: lnrpc.ChannelEventUpdate.type:type_name -> lnrpc.ChannelEventUpdate.UpdateType
104, // 66: lnrpc.ChannelBalanceResponse.local_balance:type_name -> lnrpc.Amount 213, // 66: lnrpc.WalletBalanceResponse.account_balance:type_name -> lnrpc.WalletBalanceResponse.AccountBalanceEntry
104, // 67: lnrpc.ChannelBalanceResponse.remote_balance:type_name -> lnrpc.Amount 104, // 67: lnrpc.ChannelBalanceResponse.local_balance:type_name -> lnrpc.Amount
104, // 68: lnrpc.ChannelBalanceResponse.unsettled_local_balance:type_name -> lnrpc.Amount 104, // 68: lnrpc.ChannelBalanceResponse.remote_balance:type_name -> lnrpc.Amount
104, // 69: lnrpc.ChannelBalanceResponse.unsettled_remote_balance:type_name -> lnrpc.Amount 104, // 69: lnrpc.ChannelBalanceResponse.unsettled_local_balance:type_name -> lnrpc.Amount
104, // 70: lnrpc.ChannelBalanceResponse.pending_open_local_balance:type_name -> lnrpc.Amount 104, // 70: lnrpc.ChannelBalanceResponse.unsettled_remote_balance:type_name -> lnrpc.Amount
104, // 71: lnrpc.ChannelBalanceResponse.pending_open_remote_balance:type_name -> lnrpc.Amount 104, // 71: lnrpc.ChannelBalanceResponse.pending_open_local_balance:type_name -> lnrpc.Amount
27, // 72: lnrpc.QueryRoutesRequest.fee_limit:type_name -> lnrpc.FeeLimit 104, // 72: lnrpc.ChannelBalanceResponse.pending_open_remote_balance:type_name -> lnrpc.Amount
109, // 73: lnrpc.QueryRoutesRequest.ignored_edges:type_name -> lnrpc.EdgeLocator 27, // 73: lnrpc.QueryRoutesRequest.fee_limit:type_name -> lnrpc.FeeLimit
108, // 74: lnrpc.QueryRoutesRequest.ignored_pairs:type_name -> lnrpc.NodePair 109, // 74: lnrpc.QueryRoutesRequest.ignored_edges:type_name -> lnrpc.EdgeLocator
214, // 75: lnrpc.QueryRoutesRequest.dest_custom_records:type_name -> lnrpc.QueryRoutesRequest.DestCustomRecordsEntry 108, // 75: lnrpc.QueryRoutesRequest.ignored_pairs:type_name -> lnrpc.NodePair
137, // 76: lnrpc.QueryRoutesRequest.route_hints:type_name -> lnrpc.RouteHint 214, // 76: lnrpc.QueryRoutesRequest.dest_custom_records:type_name -> lnrpc.QueryRoutesRequest.DestCustomRecordsEntry
8, // 77: lnrpc.QueryRoutesRequest.dest_features:type_name -> lnrpc.FeatureBit 137, // 77: lnrpc.QueryRoutesRequest.route_hints:type_name -> lnrpc.RouteHint
114, // 78: lnrpc.QueryRoutesResponse.routes:type_name -> lnrpc.Route 8, // 78: lnrpc.QueryRoutesRequest.dest_features:type_name -> lnrpc.FeatureBit
112, // 79: lnrpc.Hop.mpp_record:type_name -> lnrpc.MPPRecord 114, // 79: lnrpc.QueryRoutesResponse.routes:type_name -> lnrpc.Route
113, // 80: lnrpc.Hop.amp_record:type_name -> lnrpc.AMPRecord 112, // 80: lnrpc.Hop.mpp_record:type_name -> lnrpc.MPPRecord
215, // 81: lnrpc.Hop.custom_records:type_name -> lnrpc.Hop.CustomRecordsEntry 113, // 81: lnrpc.Hop.amp_record:type_name -> lnrpc.AMPRecord
111, // 82: lnrpc.Route.hops:type_name -> lnrpc.Hop 215, // 82: lnrpc.Hop.custom_records:type_name -> lnrpc.Hop.CustomRecordsEntry
117, // 83: lnrpc.NodeInfo.node:type_name -> lnrpc.LightningNode 111, // 83: lnrpc.Route.hops:type_name -> lnrpc.Hop
120, // 84: lnrpc.NodeInfo.channels:type_name -> lnrpc.ChannelEdge 117, // 84: lnrpc.NodeInfo.node:type_name -> lnrpc.LightningNode
118, // 85: lnrpc.LightningNode.addresses:type_name -> lnrpc.NodeAddress 120, // 85: lnrpc.NodeInfo.channels:type_name -> lnrpc.ChannelEdge
216, // 86: lnrpc.LightningNode.features:type_name -> lnrpc.LightningNode.FeaturesEntry 118, // 86: lnrpc.LightningNode.addresses:type_name -> lnrpc.NodeAddress
119, // 87: lnrpc.ChannelEdge.node1_policy:type_name -> lnrpc.RoutingPolicy 216, // 87: lnrpc.LightningNode.features:type_name -> lnrpc.LightningNode.FeaturesEntry
119, // 88: lnrpc.ChannelEdge.node2_policy:type_name -> lnrpc.RoutingPolicy 119, // 88: lnrpc.ChannelEdge.node1_policy:type_name -> lnrpc.RoutingPolicy
117, // 89: lnrpc.ChannelGraph.nodes:type_name -> lnrpc.LightningNode 119, // 89: lnrpc.ChannelEdge.node2_policy:type_name -> lnrpc.RoutingPolicy
120, // 90: lnrpc.ChannelGraph.edges:type_name -> lnrpc.ChannelEdge 117, // 90: lnrpc.ChannelGraph.nodes:type_name -> lnrpc.LightningNode
5, // 91: lnrpc.NodeMetricsRequest.types:type_name -> lnrpc.NodeMetricType 120, // 91: lnrpc.ChannelGraph.edges:type_name -> lnrpc.ChannelEdge
217, // 92: lnrpc.NodeMetricsResponse.betweenness_centrality:type_name -> lnrpc.NodeMetricsResponse.BetweennessCentralityEntry 5, // 92: lnrpc.NodeMetricsRequest.types:type_name -> lnrpc.NodeMetricType
133, // 93: lnrpc.GraphTopologyUpdate.node_updates:type_name -> lnrpc.NodeUpdate 217, // 93: lnrpc.NodeMetricsResponse.betweenness_centrality:type_name -> lnrpc.NodeMetricsResponse.BetweennessCentralityEntry
134, // 94: lnrpc.GraphTopologyUpdate.channel_updates:type_name -> lnrpc.ChannelEdgeUpdate 133, // 94: lnrpc.GraphTopologyUpdate.node_updates:type_name -> lnrpc.NodeUpdate
135, // 95: lnrpc.GraphTopologyUpdate.closed_chans:type_name -> lnrpc.ClosedChannelUpdate 134, // 95: lnrpc.GraphTopologyUpdate.channel_updates:type_name -> lnrpc.ChannelEdgeUpdate
118, // 96: lnrpc.NodeUpdate.node_addresses:type_name -> lnrpc.NodeAddress 135, // 96: lnrpc.GraphTopologyUpdate.closed_chans:type_name -> lnrpc.ClosedChannelUpdate
218, // 97: lnrpc.NodeUpdate.features:type_name -> lnrpc.NodeUpdate.FeaturesEntry 118, // 97: lnrpc.NodeUpdate.node_addresses:type_name -> lnrpc.NodeAddress
33, // 98: lnrpc.ChannelEdgeUpdate.chan_point:type_name -> lnrpc.ChannelPoint 218, // 98: lnrpc.NodeUpdate.features:type_name -> lnrpc.NodeUpdate.FeaturesEntry
119, // 99: lnrpc.ChannelEdgeUpdate.routing_policy:type_name -> lnrpc.RoutingPolicy 33, // 99: lnrpc.ChannelEdgeUpdate.chan_point:type_name -> lnrpc.ChannelPoint
33, // 100: lnrpc.ClosedChannelUpdate.chan_point:type_name -> lnrpc.ChannelPoint 119, // 100: lnrpc.ChannelEdgeUpdate.routing_policy:type_name -> lnrpc.RoutingPolicy
136, // 101: lnrpc.RouteHint.hop_hints:type_name -> lnrpc.HopHint 33, // 101: lnrpc.ClosedChannelUpdate.chan_point:type_name -> lnrpc.ChannelPoint
137, // 102: lnrpc.Invoice.route_hints:type_name -> lnrpc.RouteHint 136, // 102: lnrpc.RouteHint.hop_hints:type_name -> lnrpc.HopHint
15, // 103: lnrpc.Invoice.state:type_name -> lnrpc.Invoice.InvoiceState 137, // 103: lnrpc.Invoice.route_hints:type_name -> lnrpc.RouteHint
139, // 104: lnrpc.Invoice.htlcs:type_name -> lnrpc.InvoiceHTLC 15, // 104: lnrpc.Invoice.state:type_name -> lnrpc.Invoice.InvoiceState
219, // 105: lnrpc.Invoice.features:type_name -> lnrpc.Invoice.FeaturesEntry 139, // 105: lnrpc.Invoice.htlcs:type_name -> lnrpc.InvoiceHTLC
6, // 106: lnrpc.InvoiceHTLC.state:type_name -> lnrpc.InvoiceHTLCState 219, // 106: lnrpc.Invoice.features:type_name -> lnrpc.Invoice.FeaturesEntry
220, // 107: lnrpc.InvoiceHTLC.custom_records:type_name -> lnrpc.InvoiceHTLC.CustomRecordsEntry 6, // 107: lnrpc.InvoiceHTLC.state:type_name -> lnrpc.InvoiceHTLCState
140, // 108: lnrpc.InvoiceHTLC.amp:type_name -> lnrpc.AMP 220, // 108: lnrpc.InvoiceHTLC.custom_records:type_name -> lnrpc.InvoiceHTLC.CustomRecordsEntry
138, // 109: lnrpc.ListInvoiceResponse.invoices:type_name -> lnrpc.Invoice 140, // 109: lnrpc.InvoiceHTLC.amp:type_name -> lnrpc.AMP
16, // 110: lnrpc.Payment.status:type_name -> lnrpc.Payment.PaymentStatus 138, // 110: lnrpc.ListInvoiceResponse.invoices:type_name -> lnrpc.Invoice
147, // 111: lnrpc.Payment.htlcs:type_name -> lnrpc.HTLCAttempt 16, // 111: lnrpc.Payment.status:type_name -> lnrpc.Payment.PaymentStatus
7, // 112: lnrpc.Payment.failure_reason:type_name -> lnrpc.PaymentFailureReason 147, // 112: lnrpc.Payment.htlcs:type_name -> lnrpc.HTLCAttempt
17, // 113: lnrpc.HTLCAttempt.status:type_name -> lnrpc.HTLCAttempt.HTLCStatus 7, // 113: lnrpc.Payment.failure_reason:type_name -> lnrpc.PaymentFailureReason
114, // 114: lnrpc.HTLCAttempt.route:type_name -> lnrpc.Route 17, // 114: lnrpc.HTLCAttempt.status:type_name -> lnrpc.HTLCAttempt.HTLCStatus
190, // 115: lnrpc.HTLCAttempt.failure:type_name -> lnrpc.Failure 114, // 115: lnrpc.HTLCAttempt.route:type_name -> lnrpc.Route
146, // 116: lnrpc.ListPaymentsResponse.payments:type_name -> lnrpc.Payment 190, // 116: lnrpc.HTLCAttempt.failure:type_name -> lnrpc.Failure
33, // 117: lnrpc.AbandonChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint 146, // 117: lnrpc.ListPaymentsResponse.payments:type_name -> lnrpc.Payment
137, // 118: lnrpc.PayReq.route_hints:type_name -> lnrpc.RouteHint 33, // 118: lnrpc.AbandonChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint
221, // 119: lnrpc.PayReq.features:type_name -> lnrpc.PayReq.FeaturesEntry 137, // 119: lnrpc.PayReq.route_hints:type_name -> lnrpc.RouteHint
162, // 120: lnrpc.FeeReportResponse.channel_fees:type_name -> lnrpc.ChannelFeeReport 221, // 120: lnrpc.PayReq.features:type_name -> lnrpc.PayReq.FeaturesEntry
33, // 121: lnrpc.PolicyUpdateRequest.chan_point:type_name -> lnrpc.ChannelPoint 162, // 121: lnrpc.FeeReportResponse.channel_fees:type_name -> lnrpc.ChannelFeeReport
34, // 122: lnrpc.FailedUpdate.outpoint:type_name -> lnrpc.OutPoint 33, // 122: lnrpc.PolicyUpdateRequest.chan_point:type_name -> lnrpc.ChannelPoint
9, // 123: lnrpc.FailedUpdate.reason:type_name -> lnrpc.UpdateFailure 34, // 123: lnrpc.FailedUpdate.outpoint:type_name -> lnrpc.OutPoint
165, // 124: lnrpc.PolicyUpdateResponse.failed_updates:type_name -> lnrpc.FailedUpdate 9, // 124: lnrpc.FailedUpdate.reason:type_name -> lnrpc.UpdateFailure
168, // 125: lnrpc.ForwardingHistoryResponse.forwarding_events:type_name -> lnrpc.ForwardingEvent 165, // 125: lnrpc.PolicyUpdateResponse.failed_updates:type_name -> lnrpc.FailedUpdate
33, // 126: lnrpc.ExportChannelBackupRequest.chan_point:type_name -> lnrpc.ChannelPoint 168, // 126: lnrpc.ForwardingHistoryResponse.forwarding_events:type_name -> lnrpc.ForwardingEvent
33, // 127: lnrpc.ChannelBackup.chan_point:type_name -> lnrpc.ChannelPoint 33, // 127: lnrpc.ExportChannelBackupRequest.chan_point:type_name -> lnrpc.ChannelPoint
33, // 128: lnrpc.MultiChanBackup.chan_points:type_name -> lnrpc.ChannelPoint 33, // 128: lnrpc.ChannelBackup.chan_point:type_name -> lnrpc.ChannelPoint
175, // 129: lnrpc.ChanBackupSnapshot.single_chan_backups:type_name -> lnrpc.ChannelBackups 33, // 129: lnrpc.MultiChanBackup.chan_points:type_name -> lnrpc.ChannelPoint
172, // 130: lnrpc.ChanBackupSnapshot.multi_chan_backup:type_name -> lnrpc.MultiChanBackup 175, // 130: lnrpc.ChanBackupSnapshot.single_chan_backups:type_name -> lnrpc.ChannelBackups
171, // 131: lnrpc.ChannelBackups.chan_backups:type_name -> lnrpc.ChannelBackup 172, // 131: lnrpc.ChanBackupSnapshot.multi_chan_backup:type_name -> lnrpc.MultiChanBackup
175, // 132: lnrpc.RestoreChanBackupRequest.chan_backups:type_name -> lnrpc.ChannelBackups 171, // 132: lnrpc.ChannelBackups.chan_backups:type_name -> lnrpc.ChannelBackup
180, // 133: lnrpc.BakeMacaroonRequest.permissions:type_name -> lnrpc.MacaroonPermission 175, // 133: lnrpc.RestoreChanBackupRequest.chan_backups:type_name -> lnrpc.ChannelBackups
180, // 134: lnrpc.MacaroonPermissionList.permissions:type_name -> lnrpc.MacaroonPermission 180, // 134: lnrpc.BakeMacaroonRequest.permissions:type_name -> lnrpc.MacaroonPermission
222, // 135: lnrpc.ListPermissionsResponse.method_permissions:type_name -> lnrpc.ListPermissionsResponse.MethodPermissionsEntry 180, // 135: lnrpc.MacaroonPermissionList.permissions:type_name -> lnrpc.MacaroonPermission
18, // 136: lnrpc.Failure.code:type_name -> lnrpc.Failure.FailureCode 222, // 136: lnrpc.ListPermissionsResponse.method_permissions:type_name -> lnrpc.ListPermissionsResponse.MethodPermissionsEntry
191, // 137: lnrpc.Failure.channel_update:type_name -> lnrpc.ChannelUpdate 18, // 137: lnrpc.Failure.code:type_name -> lnrpc.Failure.FailureCode
193, // 138: lnrpc.MacaroonId.ops:type_name -> lnrpc.Op 191, // 138: lnrpc.Failure.channel_update:type_name -> lnrpc.ChannelUpdate
180, // 139: lnrpc.CheckMacPermRequest.permissions:type_name -> lnrpc.MacaroonPermission 193, // 139: lnrpc.MacaroonId.ops:type_name -> lnrpc.Op
197, // 140: lnrpc.RPCMiddlewareRequest.stream_auth:type_name -> lnrpc.StreamAuth 180, // 140: lnrpc.CheckMacPermRequest.permissions:type_name -> lnrpc.MacaroonPermission
198, // 141: lnrpc.RPCMiddlewareRequest.request:type_name -> lnrpc.RPCMessage 197, // 141: lnrpc.RPCMiddlewareRequest.stream_auth:type_name -> lnrpc.StreamAuth
198, // 142: lnrpc.RPCMiddlewareRequest.response:type_name -> lnrpc.RPCMessage 198, // 142: lnrpc.RPCMiddlewareRequest.request:type_name -> lnrpc.RPCMessage
200, // 143: lnrpc.RPCMiddlewareResponse.register:type_name -> lnrpc.MiddlewareRegistration 198, // 143: lnrpc.RPCMiddlewareRequest.response:type_name -> lnrpc.RPCMessage
201, // 144: lnrpc.RPCMiddlewareResponse.feedback:type_name -> lnrpc.InterceptFeedback 200, // 144: lnrpc.RPCMiddlewareResponse.register:type_name -> lnrpc.MiddlewareRegistration
160, // 145: lnrpc.Peer.FeaturesEntry.value:type_name -> lnrpc.Feature 201, // 145: lnrpc.RPCMiddlewareResponse.feedback:type_name -> lnrpc.InterceptFeedback
160, // 146: lnrpc.GetInfoResponse.FeaturesEntry.value:type_name -> lnrpc.Feature 160, // 146: lnrpc.Peer.FeaturesEntry.value:type_name -> lnrpc.Feature
2, // 147: lnrpc.PendingChannelsResponse.PendingChannel.initiator:type_name -> lnrpc.Initiator 160, // 147: lnrpc.GetInfoResponse.FeaturesEntry.value:type_name -> lnrpc.Feature
1, // 148: lnrpc.PendingChannelsResponse.PendingChannel.commitment_type:type_name -> lnrpc.CommitmentType 2, // 148: lnrpc.PendingChannelsResponse.PendingChannel.initiator:type_name -> lnrpc.Initiator
207, // 149: lnrpc.PendingChannelsResponse.PendingOpenChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel 1, // 149: lnrpc.PendingChannelsResponse.PendingChannel.commitment_type:type_name -> lnrpc.CommitmentType
207, // 150: lnrpc.PendingChannelsResponse.WaitingCloseChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel 207, // 150: lnrpc.PendingChannelsResponse.PendingOpenChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
210, // 151: lnrpc.PendingChannelsResponse.WaitingCloseChannel.commitments:type_name -> lnrpc.PendingChannelsResponse.Commitments 207, // 151: lnrpc.PendingChannelsResponse.WaitingCloseChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
207, // 152: lnrpc.PendingChannelsResponse.ClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel 210, // 152: lnrpc.PendingChannelsResponse.WaitingCloseChannel.commitments:type_name -> lnrpc.PendingChannelsResponse.Commitments
207, // 153: lnrpc.PendingChannelsResponse.ForceClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel 207, // 153: lnrpc.PendingChannelsResponse.ClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
96, // 154: lnrpc.PendingChannelsResponse.ForceClosedChannel.pending_htlcs:type_name -> lnrpc.PendingHTLC 207, // 154: lnrpc.PendingChannelsResponse.ForceClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
13, // 155: lnrpc.PendingChannelsResponse.ForceClosedChannel.anchor:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState 96, // 155: lnrpc.PendingChannelsResponse.ForceClosedChannel.pending_htlcs:type_name -> lnrpc.PendingHTLC
101, // 156: lnrpc.WalletBalanceResponse.AccountBalanceEntry.value:type_name -> lnrpc.WalletAccountBalance 13, // 156: lnrpc.PendingChannelsResponse.ForceClosedChannel.anchor:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState
160, // 157: lnrpc.LightningNode.FeaturesEntry.value:type_name -> lnrpc.Feature 101, // 157: lnrpc.WalletBalanceResponse.AccountBalanceEntry.value:type_name -> lnrpc.WalletAccountBalance
125, // 158: lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.value:type_name -> lnrpc.FloatMetric 160, // 158: lnrpc.LightningNode.FeaturesEntry.value:type_name -> lnrpc.Feature
160, // 159: lnrpc.NodeUpdate.FeaturesEntry.value:type_name -> lnrpc.Feature 125, // 159: lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.value:type_name -> lnrpc.FloatMetric
160, // 160: lnrpc.Invoice.FeaturesEntry.value:type_name -> lnrpc.Feature 160, // 160: lnrpc.NodeUpdate.FeaturesEntry.value:type_name -> lnrpc.Feature
160, // 161: lnrpc.PayReq.FeaturesEntry.value:type_name -> lnrpc.Feature 160, // 161: lnrpc.Invoice.FeaturesEntry.value:type_name -> lnrpc.Feature
187, // 162: lnrpc.ListPermissionsResponse.MethodPermissionsEntry.value:type_name -> lnrpc.MacaroonPermissionList 160, // 162: lnrpc.PayReq.FeaturesEntry.value:type_name -> lnrpc.Feature
102, // 163: lnrpc.Lightning.WalletBalance:input_type -> lnrpc.WalletBalanceRequest 187, // 163: lnrpc.ListPermissionsResponse.MethodPermissionsEntry.value:type_name -> lnrpc.MacaroonPermissionList
105, // 164: lnrpc.Lightning.ChannelBalance:input_type -> lnrpc.ChannelBalanceRequest 102, // 164: lnrpc.Lightning.WalletBalance:input_type -> lnrpc.WalletBalanceRequest
25, // 165: lnrpc.Lightning.GetTransactions:input_type -> lnrpc.GetTransactionsRequest 105, // 165: lnrpc.Lightning.ChannelBalance:input_type -> lnrpc.ChannelBalanceRequest
36, // 166: lnrpc.Lightning.EstimateFee:input_type -> lnrpc.EstimateFeeRequest 25, // 166: lnrpc.Lightning.GetTransactions:input_type -> lnrpc.GetTransactionsRequest
40, // 167: lnrpc.Lightning.SendCoins:input_type -> lnrpc.SendCoinsRequest 36, // 167: lnrpc.Lightning.EstimateFee:input_type -> lnrpc.EstimateFeeRequest
42, // 168: lnrpc.Lightning.ListUnspent:input_type -> lnrpc.ListUnspentRequest 40, // 168: lnrpc.Lightning.SendCoins:input_type -> lnrpc.SendCoinsRequest
25, // 169: lnrpc.Lightning.SubscribeTransactions:input_type -> lnrpc.GetTransactionsRequest 42, // 169: lnrpc.Lightning.ListUnspent:input_type -> lnrpc.ListUnspentRequest
38, // 170: lnrpc.Lightning.SendMany:input_type -> lnrpc.SendManyRequest 25, // 170: lnrpc.Lightning.SubscribeTransactions:input_type -> lnrpc.GetTransactionsRequest
44, // 171: lnrpc.Lightning.NewAddress:input_type -> lnrpc.NewAddressRequest 38, // 171: lnrpc.Lightning.SendMany:input_type -> lnrpc.SendManyRequest
46, // 172: lnrpc.Lightning.SignMessage:input_type -> lnrpc.SignMessageRequest 44, // 172: lnrpc.Lightning.NewAddress:input_type -> lnrpc.NewAddressRequest
48, // 173: lnrpc.Lightning.VerifyMessage:input_type -> lnrpc.VerifyMessageRequest 46, // 173: lnrpc.Lightning.SignMessage:input_type -> lnrpc.SignMessageRequest
50, // 174: lnrpc.Lightning.ConnectPeer:input_type -> lnrpc.ConnectPeerRequest 48, // 174: lnrpc.Lightning.VerifyMessage:input_type -> lnrpc.VerifyMessageRequest
52, // 175: lnrpc.Lightning.DisconnectPeer:input_type -> lnrpc.DisconnectPeerRequest 50, // 175: lnrpc.Lightning.ConnectPeer:input_type -> lnrpc.ConnectPeerRequest
65, // 176: lnrpc.Lightning.ListPeers:input_type -> lnrpc.ListPeersRequest 52, // 176: lnrpc.Lightning.DisconnectPeer:input_type -> lnrpc.DisconnectPeerRequest
67, // 177: lnrpc.Lightning.SubscribePeerEvents:input_type -> lnrpc.PeerEventSubscription 65, // 177: lnrpc.Lightning.ListPeers:input_type -> lnrpc.ListPeersRequest
69, // 178: lnrpc.Lightning.GetInfo:input_type -> lnrpc.GetInfoRequest 67, // 178: lnrpc.Lightning.SubscribePeerEvents:input_type -> lnrpc.PeerEventSubscription
71, // 179: lnrpc.Lightning.GetRecoveryInfo:input_type -> lnrpc.GetRecoveryInfoRequest 69, // 179: lnrpc.Lightning.GetInfo:input_type -> lnrpc.GetInfoRequest
97, // 180: lnrpc.Lightning.PendingChannels:input_type -> lnrpc.PendingChannelsRequest 71, // 180: lnrpc.Lightning.GetRecoveryInfo:input_type -> lnrpc.GetRecoveryInfoRequest
57, // 181: lnrpc.Lightning.ListChannels:input_type -> lnrpc.ListChannelsRequest 97, // 181: lnrpc.Lightning.PendingChannels:input_type -> lnrpc.PendingChannelsRequest
99, // 182: lnrpc.Lightning.SubscribeChannelEvents:input_type -> lnrpc.ChannelEventSubscription 57, // 182: lnrpc.Lightning.ListChannels:input_type -> lnrpc.ListChannelsRequest
61, // 183: lnrpc.Lightning.ClosedChannels:input_type -> lnrpc.ClosedChannelsRequest 99, // 183: lnrpc.Lightning.SubscribeChannelEvents:input_type -> lnrpc.ChannelEventSubscription
84, // 184: lnrpc.Lightning.OpenChannelSync:input_type -> lnrpc.OpenChannelRequest 61, // 184: lnrpc.Lightning.ClosedChannels:input_type -> lnrpc.ClosedChannelsRequest
84, // 185: lnrpc.Lightning.OpenChannel:input_type -> lnrpc.OpenChannelRequest 84, // 185: lnrpc.Lightning.OpenChannelSync:input_type -> lnrpc.OpenChannelRequest
81, // 186: lnrpc.Lightning.BatchOpenChannel:input_type -> lnrpc.BatchOpenChannelRequest 84, // 186: lnrpc.Lightning.OpenChannel:input_type -> lnrpc.OpenChannelRequest
94, // 187: lnrpc.Lightning.FundingStateStep:input_type -> lnrpc.FundingTransitionMsg 81, // 187: lnrpc.Lightning.BatchOpenChannel:input_type -> lnrpc.BatchOpenChannelRequest
32, // 188: lnrpc.Lightning.ChannelAcceptor:input_type -> lnrpc.ChannelAcceptResponse 94, // 188: lnrpc.Lightning.FundingStateStep:input_type -> lnrpc.FundingTransitionMsg
77, // 189: lnrpc.Lightning.CloseChannel:input_type -> lnrpc.CloseChannelRequest 32, // 189: lnrpc.Lightning.ChannelAcceptor:input_type -> lnrpc.ChannelAcceptResponse
154, // 190: lnrpc.Lightning.AbandonChannel:input_type -> lnrpc.AbandonChannelRequest 77, // 190: lnrpc.Lightning.CloseChannel:input_type -> lnrpc.CloseChannelRequest
28, // 191: lnrpc.Lightning.SendPayment:input_type -> lnrpc.SendRequest 154, // 191: lnrpc.Lightning.AbandonChannel:input_type -> lnrpc.AbandonChannelRequest
28, // 192: lnrpc.Lightning.SendPaymentSync:input_type -> lnrpc.SendRequest 28, // 192: lnrpc.Lightning.SendPayment:input_type -> lnrpc.SendRequest
30, // 193: lnrpc.Lightning.SendToRoute:input_type -> lnrpc.SendToRouteRequest 28, // 193: lnrpc.Lightning.SendPaymentSync:input_type -> lnrpc.SendRequest
30, // 194: lnrpc.Lightning.SendToRouteSync:input_type -> lnrpc.SendToRouteRequest 30, // 194: lnrpc.Lightning.SendToRoute:input_type -> lnrpc.SendToRouteRequest
138, // 195: lnrpc.Lightning.AddInvoice:input_type -> lnrpc.Invoice 30, // 195: lnrpc.Lightning.SendToRouteSync:input_type -> lnrpc.SendToRouteRequest
143, // 196: lnrpc.Lightning.ListInvoices:input_type -> lnrpc.ListInvoiceRequest 138, // 196: lnrpc.Lightning.AddInvoice:input_type -> lnrpc.Invoice
142, // 197: lnrpc.Lightning.LookupInvoice:input_type -> lnrpc.PaymentHash 143, // 197: lnrpc.Lightning.ListInvoices:input_type -> lnrpc.ListInvoiceRequest
145, // 198: lnrpc.Lightning.SubscribeInvoices:input_type -> lnrpc.InvoiceSubscription 142, // 198: lnrpc.Lightning.LookupInvoice:input_type -> lnrpc.PaymentHash
158, // 199: lnrpc.Lightning.DecodePayReq:input_type -> lnrpc.PayReqString 145, // 199: lnrpc.Lightning.SubscribeInvoices:input_type -> lnrpc.InvoiceSubscription
148, // 200: lnrpc.Lightning.ListPayments:input_type -> lnrpc.ListPaymentsRequest 158, // 200: lnrpc.Lightning.DecodePayReq:input_type -> lnrpc.PayReqString
150, // 201: lnrpc.Lightning.DeletePayment:input_type -> lnrpc.DeletePaymentRequest 148, // 201: lnrpc.Lightning.ListPayments:input_type -> lnrpc.ListPaymentsRequest
151, // 202: lnrpc.Lightning.DeleteAllPayments:input_type -> lnrpc.DeleteAllPaymentsRequest 150, // 202: lnrpc.Lightning.DeletePayment:input_type -> lnrpc.DeletePaymentRequest
121, // 203: lnrpc.Lightning.DescribeGraph:input_type -> lnrpc.ChannelGraphRequest 151, // 203: lnrpc.Lightning.DeleteAllPayments:input_type -> lnrpc.DeleteAllPaymentsRequest
123, // 204: lnrpc.Lightning.GetNodeMetrics:input_type -> lnrpc.NodeMetricsRequest 121, // 204: lnrpc.Lightning.DescribeGraph:input_type -> lnrpc.ChannelGraphRequest
126, // 205: lnrpc.Lightning.GetChanInfo:input_type -> lnrpc.ChanInfoRequest 123, // 205: lnrpc.Lightning.GetNodeMetrics:input_type -> lnrpc.NodeMetricsRequest
115, // 206: lnrpc.Lightning.GetNodeInfo:input_type -> lnrpc.NodeInfoRequest 126, // 206: lnrpc.Lightning.GetChanInfo:input_type -> lnrpc.ChanInfoRequest
107, // 207: lnrpc.Lightning.QueryRoutes:input_type -> lnrpc.QueryRoutesRequest 115, // 207: lnrpc.Lightning.GetNodeInfo:input_type -> lnrpc.NodeInfoRequest
127, // 208: lnrpc.Lightning.GetNetworkInfo:input_type -> lnrpc.NetworkInfoRequest 107, // 208: lnrpc.Lightning.QueryRoutes:input_type -> lnrpc.QueryRoutesRequest
129, // 209: lnrpc.Lightning.StopDaemon:input_type -> lnrpc.StopRequest 127, // 209: lnrpc.Lightning.GetNetworkInfo:input_type -> lnrpc.NetworkInfoRequest
131, // 210: lnrpc.Lightning.SubscribeChannelGraph:input_type -> lnrpc.GraphTopologySubscription 129, // 210: lnrpc.Lightning.StopDaemon:input_type -> lnrpc.StopRequest
156, // 211: lnrpc.Lightning.DebugLevel:input_type -> lnrpc.DebugLevelRequest 131, // 211: lnrpc.Lightning.SubscribeChannelGraph:input_type -> lnrpc.GraphTopologySubscription
161, // 212: lnrpc.Lightning.FeeReport:input_type -> lnrpc.FeeReportRequest 156, // 212: lnrpc.Lightning.DebugLevel:input_type -> lnrpc.DebugLevelRequest
164, // 213: lnrpc.Lightning.UpdateChannelPolicy:input_type -> lnrpc.PolicyUpdateRequest 161, // 213: lnrpc.Lightning.FeeReport:input_type -> lnrpc.FeeReportRequest
167, // 214: lnrpc.Lightning.ForwardingHistory:input_type -> lnrpc.ForwardingHistoryRequest 164, // 214: lnrpc.Lightning.UpdateChannelPolicy:input_type -> lnrpc.PolicyUpdateRequest
170, // 215: lnrpc.Lightning.ExportChannelBackup:input_type -> lnrpc.ExportChannelBackupRequest 167, // 215: lnrpc.Lightning.ForwardingHistory:input_type -> lnrpc.ForwardingHistoryRequest
173, // 216: lnrpc.Lightning.ExportAllChannelBackups:input_type -> lnrpc.ChanBackupExportRequest 170, // 216: lnrpc.Lightning.ExportChannelBackup:input_type -> lnrpc.ExportChannelBackupRequest
174, // 217: lnrpc.Lightning.VerifyChanBackup:input_type -> lnrpc.ChanBackupSnapshot 173, // 217: lnrpc.Lightning.ExportAllChannelBackups:input_type -> lnrpc.ChanBackupExportRequest
176, // 218: lnrpc.Lightning.RestoreChannelBackups:input_type -> lnrpc.RestoreChanBackupRequest 174, // 218: lnrpc.Lightning.VerifyChanBackup:input_type -> lnrpc.ChanBackupSnapshot
178, // 219: lnrpc.Lightning.SubscribeChannelBackups:input_type -> lnrpc.ChannelBackupSubscription 176, // 219: lnrpc.Lightning.RestoreChannelBackups:input_type -> lnrpc.RestoreChanBackupRequest
181, // 220: lnrpc.Lightning.BakeMacaroon:input_type -> lnrpc.BakeMacaroonRequest 178, // 220: lnrpc.Lightning.SubscribeChannelBackups:input_type -> lnrpc.ChannelBackupSubscription
183, // 221: lnrpc.Lightning.ListMacaroonIDs:input_type -> lnrpc.ListMacaroonIDsRequest 181, // 221: lnrpc.Lightning.BakeMacaroon:input_type -> lnrpc.BakeMacaroonRequest
185, // 222: lnrpc.Lightning.DeleteMacaroonID:input_type -> lnrpc.DeleteMacaroonIDRequest 183, // 222: lnrpc.Lightning.ListMacaroonIDs:input_type -> lnrpc.ListMacaroonIDsRequest
188, // 223: lnrpc.Lightning.ListPermissions:input_type -> lnrpc.ListPermissionsRequest 185, // 223: lnrpc.Lightning.DeleteMacaroonID:input_type -> lnrpc.DeleteMacaroonIDRequest
194, // 224: lnrpc.Lightning.CheckMacaroonPermissions:input_type -> lnrpc.CheckMacPermRequest 188, // 224: lnrpc.Lightning.ListPermissions:input_type -> lnrpc.ListPermissionsRequest
199, // 225: lnrpc.Lightning.RegisterRPCMiddleware:input_type -> lnrpc.RPCMiddlewareResponse 194, // 225: lnrpc.Lightning.CheckMacaroonPermissions:input_type -> lnrpc.CheckMacPermRequest
21, // 226: lnrpc.Lightning.SendCustomMessage:input_type -> lnrpc.SendCustomMessageRequest 199, // 226: lnrpc.Lightning.RegisterRPCMiddleware:input_type -> lnrpc.RPCMiddlewareResponse
19, // 227: lnrpc.Lightning.SubscribeCustomMessages:input_type -> lnrpc.SubscribeCustomMessagesRequest 21, // 227: lnrpc.Lightning.SendCustomMessage:input_type -> lnrpc.SendCustomMessageRequest
103, // 228: lnrpc.Lightning.WalletBalance:output_type -> lnrpc.WalletBalanceResponse 19, // 228: lnrpc.Lightning.SubscribeCustomMessages:input_type -> lnrpc.SubscribeCustomMessagesRequest
106, // 229: lnrpc.Lightning.ChannelBalance:output_type -> lnrpc.ChannelBalanceResponse 103, // 229: lnrpc.Lightning.WalletBalance:output_type -> lnrpc.WalletBalanceResponse
26, // 230: lnrpc.Lightning.GetTransactions:output_type -> lnrpc.TransactionDetails 106, // 230: lnrpc.Lightning.ChannelBalance:output_type -> lnrpc.ChannelBalanceResponse
37, // 231: lnrpc.Lightning.EstimateFee:output_type -> lnrpc.EstimateFeeResponse 26, // 231: lnrpc.Lightning.GetTransactions:output_type -> lnrpc.TransactionDetails
41, // 232: lnrpc.Lightning.SendCoins:output_type -> lnrpc.SendCoinsResponse 37, // 232: lnrpc.Lightning.EstimateFee:output_type -> lnrpc.EstimateFeeResponse
43, // 233: lnrpc.Lightning.ListUnspent:output_type -> lnrpc.ListUnspentResponse 41, // 233: lnrpc.Lightning.SendCoins:output_type -> lnrpc.SendCoinsResponse
24, // 234: lnrpc.Lightning.SubscribeTransactions:output_type -> lnrpc.Transaction 43, // 234: lnrpc.Lightning.ListUnspent:output_type -> lnrpc.ListUnspentResponse
39, // 235: lnrpc.Lightning.SendMany:output_type -> lnrpc.SendManyResponse 24, // 235: lnrpc.Lightning.SubscribeTransactions:output_type -> lnrpc.Transaction
45, // 236: lnrpc.Lightning.NewAddress:output_type -> lnrpc.NewAddressResponse 39, // 236: lnrpc.Lightning.SendMany:output_type -> lnrpc.SendManyResponse
47, // 237: lnrpc.Lightning.SignMessage:output_type -> lnrpc.SignMessageResponse 45, // 237: lnrpc.Lightning.NewAddress:output_type -> lnrpc.NewAddressResponse
49, // 238: lnrpc.Lightning.VerifyMessage:output_type -> lnrpc.VerifyMessageResponse 47, // 238: lnrpc.Lightning.SignMessage:output_type -> lnrpc.SignMessageResponse
51, // 239: lnrpc.Lightning.ConnectPeer:output_type -> lnrpc.ConnectPeerResponse 49, // 239: lnrpc.Lightning.VerifyMessage:output_type -> lnrpc.VerifyMessageResponse
53, // 240: lnrpc.Lightning.DisconnectPeer:output_type -> lnrpc.DisconnectPeerResponse 51, // 240: lnrpc.Lightning.ConnectPeer:output_type -> lnrpc.ConnectPeerResponse
66, // 241: lnrpc.Lightning.ListPeers:output_type -> lnrpc.ListPeersResponse 53, // 241: lnrpc.Lightning.DisconnectPeer:output_type -> lnrpc.DisconnectPeerResponse
68, // 242: lnrpc.Lightning.SubscribePeerEvents:output_type -> lnrpc.PeerEvent 66, // 242: lnrpc.Lightning.ListPeers:output_type -> lnrpc.ListPeersResponse
70, // 243: lnrpc.Lightning.GetInfo:output_type -> lnrpc.GetInfoResponse 68, // 243: lnrpc.Lightning.SubscribePeerEvents:output_type -> lnrpc.PeerEvent
72, // 244: lnrpc.Lightning.GetRecoveryInfo:output_type -> lnrpc.GetRecoveryInfoResponse 70, // 244: lnrpc.Lightning.GetInfo:output_type -> lnrpc.GetInfoResponse
98, // 245: lnrpc.Lightning.PendingChannels:output_type -> lnrpc.PendingChannelsResponse 72, // 245: lnrpc.Lightning.GetRecoveryInfo:output_type -> lnrpc.GetRecoveryInfoResponse
58, // 246: lnrpc.Lightning.ListChannels:output_type -> lnrpc.ListChannelsResponse 98, // 246: lnrpc.Lightning.PendingChannels:output_type -> lnrpc.PendingChannelsResponse
100, // 247: lnrpc.Lightning.SubscribeChannelEvents:output_type -> lnrpc.ChannelEventUpdate 58, // 247: lnrpc.Lightning.ListChannels:output_type -> lnrpc.ListChannelsResponse
62, // 248: lnrpc.Lightning.ClosedChannels:output_type -> lnrpc.ClosedChannelsResponse 100, // 248: lnrpc.Lightning.SubscribeChannelEvents:output_type -> lnrpc.ChannelEventUpdate
33, // 249: lnrpc.Lightning.OpenChannelSync:output_type -> lnrpc.ChannelPoint 62, // 249: lnrpc.Lightning.ClosedChannels:output_type -> lnrpc.ClosedChannelsResponse
85, // 250: lnrpc.Lightning.OpenChannel:output_type -> lnrpc.OpenStatusUpdate 33, // 250: lnrpc.Lightning.OpenChannelSync:output_type -> lnrpc.ChannelPoint
83, // 251: lnrpc.Lightning.BatchOpenChannel:output_type -> lnrpc.BatchOpenChannelResponse 85, // 251: lnrpc.Lightning.OpenChannel:output_type -> lnrpc.OpenStatusUpdate
95, // 252: lnrpc.Lightning.FundingStateStep:output_type -> lnrpc.FundingStateStepResp 83, // 252: lnrpc.Lightning.BatchOpenChannel:output_type -> lnrpc.BatchOpenChannelResponse
31, // 253: lnrpc.Lightning.ChannelAcceptor:output_type -> lnrpc.ChannelAcceptRequest 95, // 253: lnrpc.Lightning.FundingStateStep:output_type -> lnrpc.FundingStateStepResp
78, // 254: lnrpc.Lightning.CloseChannel:output_type -> lnrpc.CloseStatusUpdate 31, // 254: lnrpc.Lightning.ChannelAcceptor:output_type -> lnrpc.ChannelAcceptRequest
155, // 255: lnrpc.Lightning.AbandonChannel:output_type -> lnrpc.AbandonChannelResponse 78, // 255: lnrpc.Lightning.CloseChannel:output_type -> lnrpc.CloseStatusUpdate
29, // 256: lnrpc.Lightning.SendPayment:output_type -> lnrpc.SendResponse 155, // 256: lnrpc.Lightning.AbandonChannel:output_type -> lnrpc.AbandonChannelResponse
29, // 257: lnrpc.Lightning.SendPaymentSync:output_type -> lnrpc.SendResponse 29, // 257: lnrpc.Lightning.SendPayment:output_type -> lnrpc.SendResponse
29, // 258: lnrpc.Lightning.SendToRoute:output_type -> lnrpc.SendResponse 29, // 258: lnrpc.Lightning.SendPaymentSync:output_type -> lnrpc.SendResponse
29, // 259: lnrpc.Lightning.SendToRouteSync:output_type -> lnrpc.SendResponse 29, // 259: lnrpc.Lightning.SendToRoute:output_type -> lnrpc.SendResponse
141, // 260: lnrpc.Lightning.AddInvoice:output_type -> lnrpc.AddInvoiceResponse 29, // 260: lnrpc.Lightning.SendToRouteSync:output_type -> lnrpc.SendResponse
144, // 261: lnrpc.Lightning.ListInvoices:output_type -> lnrpc.ListInvoiceResponse 141, // 261: lnrpc.Lightning.AddInvoice:output_type -> lnrpc.AddInvoiceResponse
138, // 262: lnrpc.Lightning.LookupInvoice:output_type -> lnrpc.Invoice 144, // 262: lnrpc.Lightning.ListInvoices:output_type -> lnrpc.ListInvoiceResponse
138, // 263: lnrpc.Lightning.SubscribeInvoices:output_type -> lnrpc.Invoice 138, // 263: lnrpc.Lightning.LookupInvoice:output_type -> lnrpc.Invoice
159, // 264: lnrpc.Lightning.DecodePayReq:output_type -> lnrpc.PayReq 138, // 264: lnrpc.Lightning.SubscribeInvoices:output_type -> lnrpc.Invoice
149, // 265: lnrpc.Lightning.ListPayments:output_type -> lnrpc.ListPaymentsResponse 159, // 265: lnrpc.Lightning.DecodePayReq:output_type -> lnrpc.PayReq
152, // 266: lnrpc.Lightning.DeletePayment:output_type -> lnrpc.DeletePaymentResponse 149, // 266: lnrpc.Lightning.ListPayments:output_type -> lnrpc.ListPaymentsResponse
153, // 267: lnrpc.Lightning.DeleteAllPayments:output_type -> lnrpc.DeleteAllPaymentsResponse 152, // 267: lnrpc.Lightning.DeletePayment:output_type -> lnrpc.DeletePaymentResponse
122, // 268: lnrpc.Lightning.DescribeGraph:output_type -> lnrpc.ChannelGraph 153, // 268: lnrpc.Lightning.DeleteAllPayments:output_type -> lnrpc.DeleteAllPaymentsResponse
124, // 269: lnrpc.Lightning.GetNodeMetrics:output_type -> lnrpc.NodeMetricsResponse 122, // 269: lnrpc.Lightning.DescribeGraph:output_type -> lnrpc.ChannelGraph
120, // 270: lnrpc.Lightning.GetChanInfo:output_type -> lnrpc.ChannelEdge 124, // 270: lnrpc.Lightning.GetNodeMetrics:output_type -> lnrpc.NodeMetricsResponse
116, // 271: lnrpc.Lightning.GetNodeInfo:output_type -> lnrpc.NodeInfo 120, // 271: lnrpc.Lightning.GetChanInfo:output_type -> lnrpc.ChannelEdge
110, // 272: lnrpc.Lightning.QueryRoutes:output_type -> lnrpc.QueryRoutesResponse 116, // 272: lnrpc.Lightning.GetNodeInfo:output_type -> lnrpc.NodeInfo
128, // 273: lnrpc.Lightning.GetNetworkInfo:output_type -> lnrpc.NetworkInfo 110, // 273: lnrpc.Lightning.QueryRoutes:output_type -> lnrpc.QueryRoutesResponse
130, // 274: lnrpc.Lightning.StopDaemon:output_type -> lnrpc.StopResponse 128, // 274: lnrpc.Lightning.GetNetworkInfo:output_type -> lnrpc.NetworkInfo
132, // 275: lnrpc.Lightning.SubscribeChannelGraph:output_type -> lnrpc.GraphTopologyUpdate 130, // 275: lnrpc.Lightning.StopDaemon:output_type -> lnrpc.StopResponse
157, // 276: lnrpc.Lightning.DebugLevel:output_type -> lnrpc.DebugLevelResponse 132, // 276: lnrpc.Lightning.SubscribeChannelGraph:output_type -> lnrpc.GraphTopologyUpdate
163, // 277: lnrpc.Lightning.FeeReport:output_type -> lnrpc.FeeReportResponse 157, // 277: lnrpc.Lightning.DebugLevel:output_type -> lnrpc.DebugLevelResponse
166, // 278: lnrpc.Lightning.UpdateChannelPolicy:output_type -> lnrpc.PolicyUpdateResponse 163, // 278: lnrpc.Lightning.FeeReport:output_type -> lnrpc.FeeReportResponse
169, // 279: lnrpc.Lightning.ForwardingHistory:output_type -> lnrpc.ForwardingHistoryResponse 166, // 279: lnrpc.Lightning.UpdateChannelPolicy:output_type -> lnrpc.PolicyUpdateResponse
171, // 280: lnrpc.Lightning.ExportChannelBackup:output_type -> lnrpc.ChannelBackup 169, // 280: lnrpc.Lightning.ForwardingHistory:output_type -> lnrpc.ForwardingHistoryResponse
174, // 281: lnrpc.Lightning.ExportAllChannelBackups:output_type -> lnrpc.ChanBackupSnapshot 171, // 281: lnrpc.Lightning.ExportChannelBackup:output_type -> lnrpc.ChannelBackup
179, // 282: lnrpc.Lightning.VerifyChanBackup:output_type -> lnrpc.VerifyChanBackupResponse 174, // 282: lnrpc.Lightning.ExportAllChannelBackups:output_type -> lnrpc.ChanBackupSnapshot
177, // 283: lnrpc.Lightning.RestoreChannelBackups:output_type -> lnrpc.RestoreBackupResponse 179, // 283: lnrpc.Lightning.VerifyChanBackup:output_type -> lnrpc.VerifyChanBackupResponse
174, // 284: lnrpc.Lightning.SubscribeChannelBackups:output_type -> lnrpc.ChanBackupSnapshot 177, // 284: lnrpc.Lightning.RestoreChannelBackups:output_type -> lnrpc.RestoreBackupResponse
182, // 285: lnrpc.Lightning.BakeMacaroon:output_type -> lnrpc.BakeMacaroonResponse 174, // 285: lnrpc.Lightning.SubscribeChannelBackups:output_type -> lnrpc.ChanBackupSnapshot
184, // 286: lnrpc.Lightning.ListMacaroonIDs:output_type -> lnrpc.ListMacaroonIDsResponse 182, // 286: lnrpc.Lightning.BakeMacaroon:output_type -> lnrpc.BakeMacaroonResponse
186, // 287: lnrpc.Lightning.DeleteMacaroonID:output_type -> lnrpc.DeleteMacaroonIDResponse 184, // 287: lnrpc.Lightning.ListMacaroonIDs:output_type -> lnrpc.ListMacaroonIDsResponse
189, // 288: lnrpc.Lightning.ListPermissions:output_type -> lnrpc.ListPermissionsResponse 186, // 288: lnrpc.Lightning.DeleteMacaroonID:output_type -> lnrpc.DeleteMacaroonIDResponse
195, // 289: lnrpc.Lightning.CheckMacaroonPermissions:output_type -> lnrpc.CheckMacPermResponse 189, // 289: lnrpc.Lightning.ListPermissions:output_type -> lnrpc.ListPermissionsResponse
196, // 290: lnrpc.Lightning.RegisterRPCMiddleware:output_type -> lnrpc.RPCMiddlewareRequest 195, // 290: lnrpc.Lightning.CheckMacaroonPermissions:output_type -> lnrpc.CheckMacPermResponse
22, // 291: lnrpc.Lightning.SendCustomMessage:output_type -> lnrpc.SendCustomMessageResponse 196, // 291: lnrpc.Lightning.RegisterRPCMiddleware:output_type -> lnrpc.RPCMiddlewareRequest
20, // 292: lnrpc.Lightning.SubscribeCustomMessages:output_type -> lnrpc.CustomMessage 22, // 292: lnrpc.Lightning.SendCustomMessage:output_type -> lnrpc.SendCustomMessageResponse
228, // [228:293] is the sub-list for method output_type 20, // 293: lnrpc.Lightning.SubscribeCustomMessages:output_type -> lnrpc.CustomMessage
163, // [163:228] is the sub-list for method input_type 229, // [229:294] is the sub-list for method output_type
163, // [163:163] is the sub-list for extension type_name 164, // [164:229] is the sub-list for method input_type
163, // [163:163] is the sub-list for extension extendee 164, // [164:164] is the sub-list for extension type_name
0, // [0:163] is the sub-list for field type_name 164, // [164:164] is the sub-list for extension extendee
0, // [0:164] is the sub-list for field type_name
} }
func init() { file_lightning_proto_init() } func init() { file_lightning_proto_init() }

View file

@ -875,6 +875,9 @@ message ChannelAcceptRequest {
// A bit-field which the initiator uses to specify proposed channel // A bit-field which the initiator uses to specify proposed channel
// behavior. // behavior.
uint32 channel_flags = 13; uint32 channel_flags = 13;
// The commitment type the initiator wishes to use for the proposed channel.
CommitmentType commitment_type = 14;
} }
message ChannelAcceptResponse { message ChannelAcceptResponse {

View file

@ -3303,6 +3303,10 @@
"type": "integer", "type": "integer",
"format": "int64", "format": "int64",
"description": "A bit-field which the initiator uses to specify proposed channel\nbehavior." "description": "A bit-field which the initiator uses to specify proposed channel\nbehavior."
},
"commitment_type": {
"$ref": "#/definitions/lnrpcCommitmentType",
"description": "The commitment type the initiator wishes to use for the proposed channel."
} }
} }
}, },