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