lnrpc 0.9.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/Gemfile.lock +24 -24
  4. data/README.md +30 -16
  5. data/examples.rb +13 -6
  6. data/generate-grpc-service-files.sh +29 -0
  7. data/lib/grpc_services/autopilotrpc/autopilot_pb.rb +48 -0
  8. data/lib/grpc_services/autopilotrpc/autopilot_services_pb.rb +40 -0
  9. data/lib/grpc_services/chainrpc/chainnotifier_pb.rb +67 -0
  10. data/lib/grpc_services/chainrpc/chainnotifier_services_pb.rb +51 -0
  11. data/lib/grpc_services/invoicesrpc/invoices_pb.rb +48 -0
  12. data/lib/grpc_services/invoicesrpc/invoices_services_pb.rb +41 -0
  13. data/lib/grpc_services/lnclipb/lncli_pb.rb +18 -0
  14. data/lib/grpc_services/routerrpc/router_pb.rb +277 -0
  15. data/lib/grpc_services/routerrpc/router_services_pb.rb +105 -0
  16. data/lib/grpc_services/rpc_pb.rb +1388 -0
  17. data/lib/{lnrpc → grpc_services}/rpc_services_pb.rb +165 -178
  18. data/lib/grpc_services/signrpc/signer_pb.rb +84 -0
  19. data/lib/grpc_services/signrpc/signer_services_pb.rb +69 -0
  20. data/lib/grpc_services/verrpc/verrpc_pb.rb +27 -0
  21. data/lib/grpc_services/verrpc/verrpc_services_pb.rb +27 -0
  22. data/lib/grpc_services/walletrpc/walletkit_pb.rb +254 -0
  23. data/lib/grpc_services/walletrpc/walletkit_services_pb.rb +188 -0
  24. data/lib/grpc_services/walletunlocker_pb.rb +57 -0
  25. data/lib/grpc_services/walletunlocker_services_pb.rb +72 -0
  26. data/lib/grpc_services/watchtowerrpc/watchtower_pb.rb +21 -0
  27. data/lib/grpc_services/watchtowerrpc/watchtower_services_pb.rb +28 -0
  28. data/lib/grpc_services/wtclientrpc/wtclient_pb.rb +83 -0
  29. data/lib/grpc_services/wtclientrpc/wtclient_services_pb.rb +43 -0
  30. data/lib/lnrpc.rb +19 -3
  31. data/lib/lnrpc/client.rb +62 -46
  32. data/lib/lnrpc/grpc_wrapper.rb +43 -0
  33. data/lib/lnrpc/version.rb +1 -1
  34. data/lnrpc.gemspec +7 -5
  35. metadata +41 -17
  36. data/lib/lnrpc/rpc.proto +0 -3075
  37. data/lib/lnrpc/rpc_pb.rb +0 -1082
@@ -0,0 +1,1388 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: rpc.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("rpc.proto", :syntax => :proto3) do
8
+ add_message "lnrpc.Utxo" do
9
+ optional :address_type, :enum, 1, "lnrpc.AddressType"
10
+ optional :address, :string, 2
11
+ optional :amount_sat, :int64, 3
12
+ optional :pk_script, :string, 4
13
+ optional :outpoint, :message, 5, "lnrpc.OutPoint"
14
+ optional :confirmations, :int64, 6
15
+ end
16
+ add_message "lnrpc.Transaction" do
17
+ optional :tx_hash, :string, 1
18
+ optional :amount, :int64, 2
19
+ optional :num_confirmations, :int32, 3
20
+ optional :block_hash, :string, 4
21
+ optional :block_height, :int32, 5
22
+ optional :time_stamp, :int64, 6
23
+ optional :total_fees, :int64, 7
24
+ repeated :dest_addresses, :string, 8
25
+ optional :raw_tx_hex, :string, 9
26
+ optional :label, :string, 10
27
+ end
28
+ add_message "lnrpc.GetTransactionsRequest" do
29
+ optional :start_height, :int32, 1
30
+ optional :end_height, :int32, 2
31
+ optional :account, :string, 3
32
+ end
33
+ add_message "lnrpc.TransactionDetails" do
34
+ repeated :transactions, :message, 1, "lnrpc.Transaction"
35
+ end
36
+ add_message "lnrpc.FeeLimit" do
37
+ oneof :limit do
38
+ optional :fixed, :int64, 1
39
+ optional :fixed_msat, :int64, 3
40
+ optional :percent, :int64, 2
41
+ end
42
+ end
43
+ add_message "lnrpc.SendRequest" do
44
+ optional :dest, :bytes, 1
45
+ optional :dest_string, :string, 2
46
+ optional :amt, :int64, 3
47
+ optional :amt_msat, :int64, 12
48
+ optional :payment_hash, :bytes, 4
49
+ optional :payment_hash_string, :string, 5
50
+ optional :payment_request, :string, 6
51
+ optional :final_cltv_delta, :int32, 7
52
+ optional :fee_limit, :message, 8, "lnrpc.FeeLimit"
53
+ optional :outgoing_chan_id, :uint64, 9
54
+ optional :last_hop_pubkey, :bytes, 13
55
+ optional :cltv_limit, :uint32, 10
56
+ map :dest_custom_records, :uint64, :bytes, 11
57
+ optional :allow_self_payment, :bool, 14
58
+ repeated :dest_features, :enum, 15, "lnrpc.FeatureBit"
59
+ optional :payment_addr, :bytes, 16
60
+ end
61
+ add_message "lnrpc.SendResponse" do
62
+ optional :payment_error, :string, 1
63
+ optional :payment_preimage, :bytes, 2
64
+ optional :payment_route, :message, 3, "lnrpc.Route"
65
+ optional :payment_hash, :bytes, 4
66
+ end
67
+ add_message "lnrpc.SendToRouteRequest" do
68
+ optional :payment_hash, :bytes, 1
69
+ optional :payment_hash_string, :string, 2
70
+ optional :route, :message, 4, "lnrpc.Route"
71
+ end
72
+ add_message "lnrpc.ChannelAcceptRequest" do
73
+ optional :node_pubkey, :bytes, 1
74
+ optional :chain_hash, :bytes, 2
75
+ optional :pending_chan_id, :bytes, 3
76
+ optional :funding_amt, :uint64, 4
77
+ optional :push_amt, :uint64, 5
78
+ optional :dust_limit, :uint64, 6
79
+ optional :max_value_in_flight, :uint64, 7
80
+ optional :channel_reserve, :uint64, 8
81
+ optional :min_htlc, :uint64, 9
82
+ optional :fee_per_kw, :uint64, 10
83
+ optional :csv_delay, :uint32, 11
84
+ optional :max_accepted_htlcs, :uint32, 12
85
+ optional :channel_flags, :uint32, 13
86
+ end
87
+ add_message "lnrpc.ChannelAcceptResponse" do
88
+ optional :accept, :bool, 1
89
+ optional :pending_chan_id, :bytes, 2
90
+ optional :error, :string, 3
91
+ optional :upfront_shutdown, :string, 4
92
+ optional :csv_delay, :uint32, 5
93
+ optional :reserve_sat, :uint64, 6
94
+ optional :in_flight_max_msat, :uint64, 7
95
+ optional :max_htlc_count, :uint32, 8
96
+ optional :min_htlc_in, :uint64, 9
97
+ optional :min_accept_depth, :uint32, 10
98
+ end
99
+ add_message "lnrpc.ChannelPoint" do
100
+ optional :output_index, :uint32, 3
101
+ oneof :funding_txid do
102
+ optional :funding_txid_bytes, :bytes, 1
103
+ optional :funding_txid_str, :string, 2
104
+ end
105
+ end
106
+ add_message "lnrpc.OutPoint" do
107
+ optional :txid_bytes, :bytes, 1
108
+ optional :txid_str, :string, 2
109
+ optional :output_index, :uint32, 3
110
+ end
111
+ add_message "lnrpc.LightningAddress" do
112
+ optional :pubkey, :string, 1
113
+ optional :host, :string, 2
114
+ end
115
+ add_message "lnrpc.EstimateFeeRequest" do
116
+ map :AddrToAmount, :string, :int64, 1
117
+ optional :target_conf, :int32, 2
118
+ optional :min_confs, :int32, 3
119
+ optional :spend_unconfirmed, :bool, 4
120
+ end
121
+ add_message "lnrpc.EstimateFeeResponse" do
122
+ optional :fee_sat, :int64, 1
123
+ optional :feerate_sat_per_byte, :int64, 2
124
+ optional :sat_per_vbyte, :uint64, 3
125
+ end
126
+ add_message "lnrpc.SendManyRequest" do
127
+ map :AddrToAmount, :string, :int64, 1
128
+ optional :target_conf, :int32, 3
129
+ optional :sat_per_vbyte, :uint64, 4
130
+ optional :sat_per_byte, :int64, 5
131
+ optional :label, :string, 6
132
+ optional :min_confs, :int32, 7
133
+ optional :spend_unconfirmed, :bool, 8
134
+ end
135
+ add_message "lnrpc.SendManyResponse" do
136
+ optional :txid, :string, 1
137
+ end
138
+ add_message "lnrpc.SendCoinsRequest" do
139
+ optional :addr, :string, 1
140
+ optional :amount, :int64, 2
141
+ optional :target_conf, :int32, 3
142
+ optional :sat_per_vbyte, :uint64, 4
143
+ optional :sat_per_byte, :int64, 5
144
+ optional :send_all, :bool, 6
145
+ optional :label, :string, 7
146
+ optional :min_confs, :int32, 8
147
+ optional :spend_unconfirmed, :bool, 9
148
+ end
149
+ add_message "lnrpc.SendCoinsResponse" do
150
+ optional :txid, :string, 1
151
+ end
152
+ add_message "lnrpc.ListUnspentRequest" do
153
+ optional :min_confs, :int32, 1
154
+ optional :max_confs, :int32, 2
155
+ optional :account, :string, 3
156
+ end
157
+ add_message "lnrpc.ListUnspentResponse" do
158
+ repeated :utxos, :message, 1, "lnrpc.Utxo"
159
+ end
160
+ add_message "lnrpc.NewAddressRequest" do
161
+ optional :type, :enum, 1, "lnrpc.AddressType"
162
+ optional :account, :string, 2
163
+ end
164
+ add_message "lnrpc.NewAddressResponse" do
165
+ optional :address, :string, 1
166
+ end
167
+ add_message "lnrpc.SignMessageRequest" do
168
+ optional :msg, :bytes, 1
169
+ end
170
+ add_message "lnrpc.SignMessageResponse" do
171
+ optional :signature, :string, 1
172
+ end
173
+ add_message "lnrpc.VerifyMessageRequest" do
174
+ optional :msg, :bytes, 1
175
+ optional :signature, :string, 2
176
+ end
177
+ add_message "lnrpc.VerifyMessageResponse" do
178
+ optional :valid, :bool, 1
179
+ optional :pubkey, :string, 2
180
+ end
181
+ add_message "lnrpc.ConnectPeerRequest" do
182
+ optional :addr, :message, 1, "lnrpc.LightningAddress"
183
+ optional :perm, :bool, 2
184
+ optional :timeout, :uint64, 3
185
+ end
186
+ add_message "lnrpc.ConnectPeerResponse" do
187
+ end
188
+ add_message "lnrpc.DisconnectPeerRequest" do
189
+ optional :pub_key, :string, 1
190
+ end
191
+ add_message "lnrpc.DisconnectPeerResponse" do
192
+ end
193
+ add_message "lnrpc.HTLC" do
194
+ optional :incoming, :bool, 1
195
+ optional :amount, :int64, 2
196
+ optional :hash_lock, :bytes, 3
197
+ optional :expiration_height, :uint32, 4
198
+ optional :htlc_index, :uint64, 5
199
+ optional :forwarding_channel, :uint64, 6
200
+ optional :forwarding_htlc_index, :uint64, 7
201
+ end
202
+ add_message "lnrpc.ChannelConstraints" do
203
+ optional :csv_delay, :uint32, 1
204
+ optional :chan_reserve_sat, :uint64, 2
205
+ optional :dust_limit_sat, :uint64, 3
206
+ optional :max_pending_amt_msat, :uint64, 4
207
+ optional :min_htlc_msat, :uint64, 5
208
+ optional :max_accepted_htlcs, :uint32, 6
209
+ end
210
+ add_message "lnrpc.Channel" do
211
+ optional :active, :bool, 1
212
+ optional :remote_pubkey, :string, 2
213
+ optional :channel_point, :string, 3
214
+ optional :chan_id, :uint64, 4
215
+ optional :capacity, :int64, 5
216
+ optional :local_balance, :int64, 6
217
+ optional :remote_balance, :int64, 7
218
+ optional :commit_fee, :int64, 8
219
+ optional :commit_weight, :int64, 9
220
+ optional :fee_per_kw, :int64, 10
221
+ optional :unsettled_balance, :int64, 11
222
+ optional :total_satoshis_sent, :int64, 12
223
+ optional :total_satoshis_received, :int64, 13
224
+ optional :num_updates, :uint64, 14
225
+ repeated :pending_htlcs, :message, 15, "lnrpc.HTLC"
226
+ optional :csv_delay, :uint32, 16
227
+ optional :private, :bool, 17
228
+ optional :initiator, :bool, 18
229
+ optional :chan_status_flags, :string, 19
230
+ optional :local_chan_reserve_sat, :int64, 20
231
+ optional :remote_chan_reserve_sat, :int64, 21
232
+ optional :static_remote_key, :bool, 22
233
+ optional :commitment_type, :enum, 26, "lnrpc.CommitmentType"
234
+ optional :lifetime, :int64, 23
235
+ optional :uptime, :int64, 24
236
+ optional :close_address, :string, 25
237
+ optional :push_amount_sat, :uint64, 27
238
+ optional :thaw_height, :uint32, 28
239
+ optional :local_constraints, :message, 29, "lnrpc.ChannelConstraints"
240
+ optional :remote_constraints, :message, 30, "lnrpc.ChannelConstraints"
241
+ end
242
+ add_message "lnrpc.ListChannelsRequest" do
243
+ optional :active_only, :bool, 1
244
+ optional :inactive_only, :bool, 2
245
+ optional :public_only, :bool, 3
246
+ optional :private_only, :bool, 4
247
+ optional :peer, :bytes, 5
248
+ end
249
+ add_message "lnrpc.ListChannelsResponse" do
250
+ repeated :channels, :message, 11, "lnrpc.Channel"
251
+ end
252
+ add_message "lnrpc.ChannelCloseSummary" do
253
+ optional :channel_point, :string, 1
254
+ optional :chan_id, :uint64, 2
255
+ optional :chain_hash, :string, 3
256
+ optional :closing_tx_hash, :string, 4
257
+ optional :remote_pubkey, :string, 5
258
+ optional :capacity, :int64, 6
259
+ optional :close_height, :uint32, 7
260
+ optional :settled_balance, :int64, 8
261
+ optional :time_locked_balance, :int64, 9
262
+ optional :close_type, :enum, 10, "lnrpc.ChannelCloseSummary.ClosureType"
263
+ optional :open_initiator, :enum, 11, "lnrpc.Initiator"
264
+ optional :close_initiator, :enum, 12, "lnrpc.Initiator"
265
+ repeated :resolutions, :message, 13, "lnrpc.Resolution"
266
+ end
267
+ add_enum "lnrpc.ChannelCloseSummary.ClosureType" do
268
+ value :COOPERATIVE_CLOSE, 0
269
+ value :LOCAL_FORCE_CLOSE, 1
270
+ value :REMOTE_FORCE_CLOSE, 2
271
+ value :BREACH_CLOSE, 3
272
+ value :FUNDING_CANCELED, 4
273
+ value :ABANDONED, 5
274
+ end
275
+ add_message "lnrpc.Resolution" do
276
+ optional :resolution_type, :enum, 1, "lnrpc.ResolutionType"
277
+ optional :outcome, :enum, 2, "lnrpc.ResolutionOutcome"
278
+ optional :outpoint, :message, 3, "lnrpc.OutPoint"
279
+ optional :amount_sat, :uint64, 4
280
+ optional :sweep_txid, :string, 5
281
+ end
282
+ add_message "lnrpc.ClosedChannelsRequest" do
283
+ optional :cooperative, :bool, 1
284
+ optional :local_force, :bool, 2
285
+ optional :remote_force, :bool, 3
286
+ optional :breach, :bool, 4
287
+ optional :funding_canceled, :bool, 5
288
+ optional :abandoned, :bool, 6
289
+ end
290
+ add_message "lnrpc.ClosedChannelsResponse" do
291
+ repeated :channels, :message, 1, "lnrpc.ChannelCloseSummary"
292
+ end
293
+ add_message "lnrpc.Peer" do
294
+ optional :pub_key, :string, 1
295
+ optional :address, :string, 3
296
+ optional :bytes_sent, :uint64, 4
297
+ optional :bytes_recv, :uint64, 5
298
+ optional :sat_sent, :int64, 6
299
+ optional :sat_recv, :int64, 7
300
+ optional :inbound, :bool, 8
301
+ optional :ping_time, :int64, 9
302
+ optional :sync_type, :enum, 10, "lnrpc.Peer.SyncType"
303
+ map :features, :uint32, :message, 11, "lnrpc.Feature"
304
+ repeated :errors, :message, 12, "lnrpc.TimestampedError"
305
+ optional :flap_count, :int32, 13
306
+ optional :last_flap_ns, :int64, 14
307
+ end
308
+ add_enum "lnrpc.Peer.SyncType" do
309
+ value :UNKNOWN_SYNC, 0
310
+ value :ACTIVE_SYNC, 1
311
+ value :PASSIVE_SYNC, 2
312
+ value :PINNED_SYNC, 3
313
+ end
314
+ add_message "lnrpc.TimestampedError" do
315
+ optional :timestamp, :uint64, 1
316
+ optional :error, :string, 2
317
+ end
318
+ add_message "lnrpc.ListPeersRequest" do
319
+ optional :latest_error, :bool, 1
320
+ end
321
+ add_message "lnrpc.ListPeersResponse" do
322
+ repeated :peers, :message, 1, "lnrpc.Peer"
323
+ end
324
+ add_message "lnrpc.PeerEventSubscription" do
325
+ end
326
+ add_message "lnrpc.PeerEvent" do
327
+ optional :pub_key, :string, 1
328
+ optional :type, :enum, 2, "lnrpc.PeerEvent.EventType"
329
+ end
330
+ add_enum "lnrpc.PeerEvent.EventType" do
331
+ value :PEER_ONLINE, 0
332
+ value :PEER_OFFLINE, 1
333
+ end
334
+ add_message "lnrpc.GetInfoRequest" do
335
+ end
336
+ add_message "lnrpc.GetInfoResponse" do
337
+ optional :version, :string, 14
338
+ optional :commit_hash, :string, 20
339
+ optional :identity_pubkey, :string, 1
340
+ optional :alias, :string, 2
341
+ optional :color, :string, 17
342
+ optional :num_pending_channels, :uint32, 3
343
+ optional :num_active_channels, :uint32, 4
344
+ optional :num_inactive_channels, :uint32, 15
345
+ optional :num_peers, :uint32, 5
346
+ optional :block_height, :uint32, 6
347
+ optional :block_hash, :string, 8
348
+ optional :best_header_timestamp, :int64, 13
349
+ optional :synced_to_chain, :bool, 9
350
+ optional :synced_to_graph, :bool, 18
351
+ optional :testnet, :bool, 10
352
+ repeated :chains, :message, 16, "lnrpc.Chain"
353
+ repeated :uris, :string, 12
354
+ map :features, :uint32, :message, 19, "lnrpc.Feature"
355
+ end
356
+ add_message "lnrpc.GetRecoveryInfoRequest" do
357
+ end
358
+ add_message "lnrpc.GetRecoveryInfoResponse" do
359
+ optional :recovery_mode, :bool, 1
360
+ optional :recovery_finished, :bool, 2
361
+ optional :progress, :double, 3
362
+ end
363
+ add_message "lnrpc.Chain" do
364
+ optional :chain, :string, 1
365
+ optional :network, :string, 2
366
+ end
367
+ add_message "lnrpc.ConfirmationUpdate" do
368
+ optional :block_sha, :bytes, 1
369
+ optional :block_height, :int32, 2
370
+ optional :num_confs_left, :uint32, 3
371
+ end
372
+ add_message "lnrpc.ChannelOpenUpdate" do
373
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
374
+ end
375
+ add_message "lnrpc.ChannelCloseUpdate" do
376
+ optional :closing_txid, :bytes, 1
377
+ optional :success, :bool, 2
378
+ end
379
+ add_message "lnrpc.CloseChannelRequest" do
380
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
381
+ optional :force, :bool, 2
382
+ optional :target_conf, :int32, 3
383
+ optional :sat_per_byte, :int64, 4
384
+ optional :delivery_address, :string, 5
385
+ optional :sat_per_vbyte, :uint64, 6
386
+ end
387
+ add_message "lnrpc.CloseStatusUpdate" do
388
+ oneof :update do
389
+ optional :close_pending, :message, 1, "lnrpc.PendingUpdate"
390
+ optional :chan_close, :message, 3, "lnrpc.ChannelCloseUpdate"
391
+ end
392
+ end
393
+ add_message "lnrpc.PendingUpdate" do
394
+ optional :txid, :bytes, 1
395
+ optional :output_index, :uint32, 2
396
+ end
397
+ add_message "lnrpc.ReadyForPsbtFunding" do
398
+ optional :funding_address, :string, 1
399
+ optional :funding_amount, :int64, 2
400
+ optional :psbt, :bytes, 3
401
+ end
402
+ add_message "lnrpc.OpenChannelRequest" do
403
+ optional :sat_per_vbyte, :uint64, 1
404
+ optional :node_pubkey, :bytes, 2
405
+ optional :node_pubkey_string, :string, 3
406
+ optional :local_funding_amount, :int64, 4
407
+ optional :push_sat, :int64, 5
408
+ optional :target_conf, :int32, 6
409
+ optional :sat_per_byte, :int64, 7
410
+ optional :private, :bool, 8
411
+ optional :min_htlc_msat, :int64, 9
412
+ optional :remote_csv_delay, :uint32, 10
413
+ optional :min_confs, :int32, 11
414
+ optional :spend_unconfirmed, :bool, 12
415
+ optional :close_address, :string, 13
416
+ optional :funding_shim, :message, 14, "lnrpc.FundingShim"
417
+ optional :remote_max_value_in_flight_msat, :uint64, 15
418
+ optional :remote_max_htlcs, :uint32, 16
419
+ optional :max_local_csv, :uint32, 17
420
+ end
421
+ add_message "lnrpc.OpenStatusUpdate" do
422
+ optional :pending_chan_id, :bytes, 4
423
+ oneof :update do
424
+ optional :chan_pending, :message, 1, "lnrpc.PendingUpdate"
425
+ optional :chan_open, :message, 3, "lnrpc.ChannelOpenUpdate"
426
+ optional :psbt_fund, :message, 5, "lnrpc.ReadyForPsbtFunding"
427
+ end
428
+ end
429
+ add_message "lnrpc.KeyLocator" do
430
+ optional :key_family, :int32, 1
431
+ optional :key_index, :int32, 2
432
+ end
433
+ add_message "lnrpc.KeyDescriptor" do
434
+ optional :raw_key_bytes, :bytes, 1
435
+ optional :key_loc, :message, 2, "lnrpc.KeyLocator"
436
+ end
437
+ add_message "lnrpc.ChanPointShim" do
438
+ optional :amt, :int64, 1
439
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
440
+ optional :local_key, :message, 3, "lnrpc.KeyDescriptor"
441
+ optional :remote_key, :bytes, 4
442
+ optional :pending_chan_id, :bytes, 5
443
+ optional :thaw_height, :uint32, 6
444
+ end
445
+ add_message "lnrpc.PsbtShim" do
446
+ optional :pending_chan_id, :bytes, 1
447
+ optional :base_psbt, :bytes, 2
448
+ optional :no_publish, :bool, 3
449
+ end
450
+ add_message "lnrpc.FundingShim" do
451
+ oneof :shim do
452
+ optional :chan_point_shim, :message, 1, "lnrpc.ChanPointShim"
453
+ optional :psbt_shim, :message, 2, "lnrpc.PsbtShim"
454
+ end
455
+ end
456
+ add_message "lnrpc.FundingShimCancel" do
457
+ optional :pending_chan_id, :bytes, 1
458
+ end
459
+ add_message "lnrpc.FundingPsbtVerify" do
460
+ optional :funded_psbt, :bytes, 1
461
+ optional :pending_chan_id, :bytes, 2
462
+ end
463
+ add_message "lnrpc.FundingPsbtFinalize" do
464
+ optional :signed_psbt, :bytes, 1
465
+ optional :pending_chan_id, :bytes, 2
466
+ optional :final_raw_tx, :bytes, 3
467
+ end
468
+ add_message "lnrpc.FundingTransitionMsg" do
469
+ oneof :trigger do
470
+ optional :shim_register, :message, 1, "lnrpc.FundingShim"
471
+ optional :shim_cancel, :message, 2, "lnrpc.FundingShimCancel"
472
+ optional :psbt_verify, :message, 3, "lnrpc.FundingPsbtVerify"
473
+ optional :psbt_finalize, :message, 4, "lnrpc.FundingPsbtFinalize"
474
+ end
475
+ end
476
+ add_message "lnrpc.FundingStateStepResp" do
477
+ end
478
+ add_message "lnrpc.PendingHTLC" do
479
+ optional :incoming, :bool, 1
480
+ optional :amount, :int64, 2
481
+ optional :outpoint, :string, 3
482
+ optional :maturity_height, :uint32, 4
483
+ optional :blocks_til_maturity, :int32, 5
484
+ optional :stage, :uint32, 6
485
+ end
486
+ add_message "lnrpc.PendingChannelsRequest" do
487
+ end
488
+ add_message "lnrpc.PendingChannelsResponse" do
489
+ optional :total_limbo_balance, :int64, 1
490
+ repeated :pending_open_channels, :message, 2, "lnrpc.PendingChannelsResponse.PendingOpenChannel"
491
+ repeated :pending_closing_channels, :message, 3, "lnrpc.PendingChannelsResponse.ClosedChannel"
492
+ repeated :pending_force_closing_channels, :message, 4, "lnrpc.PendingChannelsResponse.ForceClosedChannel"
493
+ repeated :waiting_close_channels, :message, 5, "lnrpc.PendingChannelsResponse.WaitingCloseChannel"
494
+ end
495
+ add_message "lnrpc.PendingChannelsResponse.PendingChannel" do
496
+ optional :remote_node_pub, :string, 1
497
+ optional :channel_point, :string, 2
498
+ optional :capacity, :int64, 3
499
+ optional :local_balance, :int64, 4
500
+ optional :remote_balance, :int64, 5
501
+ optional :local_chan_reserve_sat, :int64, 6
502
+ optional :remote_chan_reserve_sat, :int64, 7
503
+ optional :initiator, :enum, 8, "lnrpc.Initiator"
504
+ optional :commitment_type, :enum, 9, "lnrpc.CommitmentType"
505
+ end
506
+ add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
507
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
508
+ optional :confirmation_height, :uint32, 2
509
+ optional :commit_fee, :int64, 4
510
+ optional :commit_weight, :int64, 5
511
+ optional :fee_per_kw, :int64, 6
512
+ end
513
+ add_message "lnrpc.PendingChannelsResponse.WaitingCloseChannel" do
514
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
515
+ optional :limbo_balance, :int64, 2
516
+ optional :commitments, :message, 3, "lnrpc.PendingChannelsResponse.Commitments"
517
+ end
518
+ add_message "lnrpc.PendingChannelsResponse.Commitments" do
519
+ optional :local_txid, :string, 1
520
+ optional :remote_txid, :string, 2
521
+ optional :remote_pending_txid, :string, 3
522
+ optional :local_commit_fee_sat, :uint64, 4
523
+ optional :remote_commit_fee_sat, :uint64, 5
524
+ optional :remote_pending_commit_fee_sat, :uint64, 6
525
+ end
526
+ add_message "lnrpc.PendingChannelsResponse.ClosedChannel" do
527
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
528
+ optional :closing_txid, :string, 2
529
+ end
530
+ add_message "lnrpc.PendingChannelsResponse.ForceClosedChannel" do
531
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
532
+ optional :closing_txid, :string, 2
533
+ optional :limbo_balance, :int64, 3
534
+ optional :maturity_height, :uint32, 4
535
+ optional :blocks_til_maturity, :int32, 5
536
+ optional :recovered_balance, :int64, 6
537
+ repeated :pending_htlcs, :message, 8, "lnrpc.PendingHTLC"
538
+ optional :anchor, :enum, 9, "lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState"
539
+ end
540
+ add_enum "lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState" do
541
+ value :LIMBO, 0
542
+ value :RECOVERED, 1
543
+ value :LOST, 2
544
+ end
545
+ add_message "lnrpc.ChannelEventSubscription" do
546
+ end
547
+ add_message "lnrpc.ChannelEventUpdate" do
548
+ optional :type, :enum, 5, "lnrpc.ChannelEventUpdate.UpdateType"
549
+ oneof :channel do
550
+ optional :open_channel, :message, 1, "lnrpc.Channel"
551
+ optional :closed_channel, :message, 2, "lnrpc.ChannelCloseSummary"
552
+ optional :active_channel, :message, 3, "lnrpc.ChannelPoint"
553
+ optional :inactive_channel, :message, 4, "lnrpc.ChannelPoint"
554
+ optional :pending_open_channel, :message, 6, "lnrpc.PendingUpdate"
555
+ end
556
+ end
557
+ add_enum "lnrpc.ChannelEventUpdate.UpdateType" do
558
+ value :OPEN_CHANNEL, 0
559
+ value :CLOSED_CHANNEL, 1
560
+ value :ACTIVE_CHANNEL, 2
561
+ value :INACTIVE_CHANNEL, 3
562
+ value :PENDING_OPEN_CHANNEL, 4
563
+ end
564
+ add_message "lnrpc.WalletAccountBalance" do
565
+ optional :confirmed_balance, :int64, 1
566
+ optional :unconfirmed_balance, :int64, 2
567
+ end
568
+ add_message "lnrpc.WalletBalanceRequest" do
569
+ end
570
+ add_message "lnrpc.WalletBalanceResponse" do
571
+ optional :total_balance, :int64, 1
572
+ optional :confirmed_balance, :int64, 2
573
+ optional :unconfirmed_balance, :int64, 3
574
+ map :account_balance, :string, :message, 4, "lnrpc.WalletAccountBalance"
575
+ end
576
+ add_message "lnrpc.Amount" do
577
+ optional :sat, :uint64, 1
578
+ optional :msat, :uint64, 2
579
+ end
580
+ add_message "lnrpc.ChannelBalanceRequest" do
581
+ end
582
+ add_message "lnrpc.ChannelBalanceResponse" do
583
+ optional :balance, :int64, 1
584
+ optional :pending_open_balance, :int64, 2
585
+ optional :local_balance, :message, 3, "lnrpc.Amount"
586
+ optional :remote_balance, :message, 4, "lnrpc.Amount"
587
+ optional :unsettled_local_balance, :message, 5, "lnrpc.Amount"
588
+ optional :unsettled_remote_balance, :message, 6, "lnrpc.Amount"
589
+ optional :pending_open_local_balance, :message, 7, "lnrpc.Amount"
590
+ optional :pending_open_remote_balance, :message, 8, "lnrpc.Amount"
591
+ end
592
+ add_message "lnrpc.QueryRoutesRequest" do
593
+ optional :pub_key, :string, 1
594
+ optional :amt, :int64, 2
595
+ optional :amt_msat, :int64, 12
596
+ optional :final_cltv_delta, :int32, 4
597
+ optional :fee_limit, :message, 5, "lnrpc.FeeLimit"
598
+ repeated :ignored_nodes, :bytes, 6
599
+ repeated :ignored_edges, :message, 7, "lnrpc.EdgeLocator"
600
+ optional :source_pub_key, :string, 8
601
+ optional :use_mission_control, :bool, 9
602
+ repeated :ignored_pairs, :message, 10, "lnrpc.NodePair"
603
+ optional :cltv_limit, :uint32, 11
604
+ map :dest_custom_records, :uint64, :bytes, 13
605
+ optional :outgoing_chan_id, :uint64, 14
606
+ optional :last_hop_pubkey, :bytes, 15
607
+ repeated :route_hints, :message, 16, "lnrpc.RouteHint"
608
+ repeated :dest_features, :enum, 17, "lnrpc.FeatureBit"
609
+ end
610
+ add_message "lnrpc.NodePair" do
611
+ optional :from, :bytes, 1
612
+ optional :to, :bytes, 2
613
+ end
614
+ add_message "lnrpc.EdgeLocator" do
615
+ optional :channel_id, :uint64, 1
616
+ optional :direction_reverse, :bool, 2
617
+ end
618
+ add_message "lnrpc.QueryRoutesResponse" do
619
+ repeated :routes, :message, 1, "lnrpc.Route"
620
+ optional :success_prob, :double, 2
621
+ end
622
+ add_message "lnrpc.Hop" do
623
+ optional :chan_id, :uint64, 1
624
+ optional :chan_capacity, :int64, 2
625
+ optional :amt_to_forward, :int64, 3
626
+ optional :fee, :int64, 4
627
+ optional :expiry, :uint32, 5
628
+ optional :amt_to_forward_msat, :int64, 6
629
+ optional :fee_msat, :int64, 7
630
+ optional :pub_key, :string, 8
631
+ optional :tlv_payload, :bool, 9
632
+ optional :mpp_record, :message, 10, "lnrpc.MPPRecord"
633
+ optional :amp_record, :message, 12, "lnrpc.AMPRecord"
634
+ map :custom_records, :uint64, :bytes, 11
635
+ end
636
+ add_message "lnrpc.MPPRecord" do
637
+ optional :payment_addr, :bytes, 11
638
+ optional :total_amt_msat, :int64, 10
639
+ end
640
+ add_message "lnrpc.AMPRecord" do
641
+ optional :root_share, :bytes, 1
642
+ optional :set_id, :bytes, 2
643
+ optional :child_index, :uint32, 3
644
+ end
645
+ add_message "lnrpc.Route" do
646
+ optional :total_time_lock, :uint32, 1
647
+ optional :total_fees, :int64, 2
648
+ optional :total_amt, :int64, 3
649
+ repeated :hops, :message, 4, "lnrpc.Hop"
650
+ optional :total_fees_msat, :int64, 5
651
+ optional :total_amt_msat, :int64, 6
652
+ end
653
+ add_message "lnrpc.NodeInfoRequest" do
654
+ optional :pub_key, :string, 1
655
+ optional :include_channels, :bool, 2
656
+ end
657
+ add_message "lnrpc.NodeInfo" do
658
+ optional :node, :message, 1, "lnrpc.LightningNode"
659
+ optional :num_channels, :uint32, 2
660
+ optional :total_capacity, :int64, 3
661
+ repeated :channels, :message, 4, "lnrpc.ChannelEdge"
662
+ end
663
+ add_message "lnrpc.LightningNode" do
664
+ optional :last_update, :uint32, 1
665
+ optional :pub_key, :string, 2
666
+ optional :alias, :string, 3
667
+ repeated :addresses, :message, 4, "lnrpc.NodeAddress"
668
+ optional :color, :string, 5
669
+ map :features, :uint32, :message, 6, "lnrpc.Feature"
670
+ end
671
+ add_message "lnrpc.NodeAddress" do
672
+ optional :network, :string, 1
673
+ optional :addr, :string, 2
674
+ end
675
+ add_message "lnrpc.RoutingPolicy" do
676
+ optional :time_lock_delta, :uint32, 1
677
+ optional :min_htlc, :int64, 2
678
+ optional :fee_base_msat, :int64, 3
679
+ optional :fee_rate_milli_msat, :int64, 4
680
+ optional :disabled, :bool, 5
681
+ optional :max_htlc_msat, :uint64, 6
682
+ optional :last_update, :uint32, 7
683
+ end
684
+ add_message "lnrpc.ChannelEdge" do
685
+ optional :channel_id, :uint64, 1
686
+ optional :chan_point, :string, 2
687
+ optional :last_update, :uint32, 3
688
+ optional :node1_pub, :string, 4
689
+ optional :node2_pub, :string, 5
690
+ optional :capacity, :int64, 6
691
+ optional :node1_policy, :message, 7, "lnrpc.RoutingPolicy"
692
+ optional :node2_policy, :message, 8, "lnrpc.RoutingPolicy"
693
+ end
694
+ add_message "lnrpc.ChannelGraphRequest" do
695
+ optional :include_unannounced, :bool, 1
696
+ end
697
+ add_message "lnrpc.ChannelGraph" do
698
+ repeated :nodes, :message, 1, "lnrpc.LightningNode"
699
+ repeated :edges, :message, 2, "lnrpc.ChannelEdge"
700
+ end
701
+ add_message "lnrpc.NodeMetricsRequest" do
702
+ repeated :types, :enum, 1, "lnrpc.NodeMetricType"
703
+ end
704
+ add_message "lnrpc.NodeMetricsResponse" do
705
+ map :betweenness_centrality, :string, :message, 1, "lnrpc.FloatMetric"
706
+ end
707
+ add_message "lnrpc.FloatMetric" do
708
+ optional :value, :double, 1
709
+ optional :normalized_value, :double, 2
710
+ end
711
+ add_message "lnrpc.ChanInfoRequest" do
712
+ optional :chan_id, :uint64, 1
713
+ end
714
+ add_message "lnrpc.NetworkInfoRequest" do
715
+ end
716
+ add_message "lnrpc.NetworkInfo" do
717
+ optional :graph_diameter, :uint32, 1
718
+ optional :avg_out_degree, :double, 2
719
+ optional :max_out_degree, :uint32, 3
720
+ optional :num_nodes, :uint32, 4
721
+ optional :num_channels, :uint32, 5
722
+ optional :total_network_capacity, :int64, 6
723
+ optional :avg_channel_size, :double, 7
724
+ optional :min_channel_size, :int64, 8
725
+ optional :max_channel_size, :int64, 9
726
+ optional :median_channel_size_sat, :int64, 10
727
+ optional :num_zombie_chans, :uint64, 11
728
+ end
729
+ add_message "lnrpc.StopRequest" do
730
+ end
731
+ add_message "lnrpc.StopResponse" do
732
+ end
733
+ add_message "lnrpc.GraphTopologySubscription" do
734
+ end
735
+ add_message "lnrpc.GraphTopologyUpdate" do
736
+ repeated :node_updates, :message, 1, "lnrpc.NodeUpdate"
737
+ repeated :channel_updates, :message, 2, "lnrpc.ChannelEdgeUpdate"
738
+ repeated :closed_chans, :message, 3, "lnrpc.ClosedChannelUpdate"
739
+ end
740
+ add_message "lnrpc.NodeUpdate" do
741
+ repeated :addresses, :string, 1
742
+ optional :identity_key, :string, 2
743
+ optional :global_features, :bytes, 3
744
+ optional :alias, :string, 4
745
+ optional :color, :string, 5
746
+ repeated :node_addresses, :message, 7, "lnrpc.NodeAddress"
747
+ map :features, :uint32, :message, 6, "lnrpc.Feature"
748
+ end
749
+ add_message "lnrpc.ChannelEdgeUpdate" do
750
+ optional :chan_id, :uint64, 1
751
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
752
+ optional :capacity, :int64, 3
753
+ optional :routing_policy, :message, 4, "lnrpc.RoutingPolicy"
754
+ optional :advertising_node, :string, 5
755
+ optional :connecting_node, :string, 6
756
+ end
757
+ add_message "lnrpc.ClosedChannelUpdate" do
758
+ optional :chan_id, :uint64, 1
759
+ optional :capacity, :int64, 2
760
+ optional :closed_height, :uint32, 3
761
+ optional :chan_point, :message, 4, "lnrpc.ChannelPoint"
762
+ end
763
+ add_message "lnrpc.HopHint" do
764
+ optional :node_id, :string, 1
765
+ optional :chan_id, :uint64, 2
766
+ optional :fee_base_msat, :uint32, 3
767
+ optional :fee_proportional_millionths, :uint32, 4
768
+ optional :cltv_expiry_delta, :uint32, 5
769
+ end
770
+ add_message "lnrpc.RouteHint" do
771
+ repeated :hop_hints, :message, 1, "lnrpc.HopHint"
772
+ end
773
+ add_message "lnrpc.Invoice" do
774
+ optional :memo, :string, 1
775
+ optional :r_preimage, :bytes, 3
776
+ optional :r_hash, :bytes, 4
777
+ optional :value, :int64, 5
778
+ optional :value_msat, :int64, 23
779
+ optional :settled, :bool, 6
780
+ optional :creation_date, :int64, 7
781
+ optional :settle_date, :int64, 8
782
+ optional :payment_request, :string, 9
783
+ optional :description_hash, :bytes, 10
784
+ optional :expiry, :int64, 11
785
+ optional :fallback_addr, :string, 12
786
+ optional :cltv_expiry, :uint64, 13
787
+ repeated :route_hints, :message, 14, "lnrpc.RouteHint"
788
+ optional :private, :bool, 15
789
+ optional :add_index, :uint64, 16
790
+ optional :settle_index, :uint64, 17
791
+ optional :amt_paid, :int64, 18
792
+ optional :amt_paid_sat, :int64, 19
793
+ optional :amt_paid_msat, :int64, 20
794
+ optional :state, :enum, 21, "lnrpc.Invoice.InvoiceState"
795
+ repeated :htlcs, :message, 22, "lnrpc.InvoiceHTLC"
796
+ map :features, :uint32, :message, 24, "lnrpc.Feature"
797
+ optional :is_keysend, :bool, 25
798
+ optional :payment_addr, :bytes, 26
799
+ optional :is_amp, :bool, 27
800
+ end
801
+ add_enum "lnrpc.Invoice.InvoiceState" do
802
+ value :OPEN, 0
803
+ value :SETTLED, 1
804
+ value :CANCELED, 2
805
+ value :ACCEPTED, 3
806
+ end
807
+ add_message "lnrpc.InvoiceHTLC" do
808
+ optional :chan_id, :uint64, 1
809
+ optional :htlc_index, :uint64, 2
810
+ optional :amt_msat, :uint64, 3
811
+ optional :accept_height, :int32, 4
812
+ optional :accept_time, :int64, 5
813
+ optional :resolve_time, :int64, 6
814
+ optional :expiry_height, :int32, 7
815
+ optional :state, :enum, 8, "lnrpc.InvoiceHTLCState"
816
+ map :custom_records, :uint64, :bytes, 9
817
+ optional :mpp_total_amt_msat, :uint64, 10
818
+ optional :amp, :message, 11, "lnrpc.AMP"
819
+ end
820
+ add_message "lnrpc.AMP" do
821
+ optional :root_share, :bytes, 1
822
+ optional :set_id, :bytes, 2
823
+ optional :child_index, :uint32, 3
824
+ optional :hash, :bytes, 4
825
+ optional :preimage, :bytes, 5
826
+ end
827
+ add_message "lnrpc.AddInvoiceResponse" do
828
+ optional :r_hash, :bytes, 1
829
+ optional :payment_request, :string, 2
830
+ optional :add_index, :uint64, 16
831
+ optional :payment_addr, :bytes, 17
832
+ end
833
+ add_message "lnrpc.PaymentHash" do
834
+ optional :r_hash_str, :string, 1
835
+ optional :r_hash, :bytes, 2
836
+ end
837
+ add_message "lnrpc.ListInvoiceRequest" do
838
+ optional :pending_only, :bool, 1
839
+ optional :index_offset, :uint64, 4
840
+ optional :num_max_invoices, :uint64, 5
841
+ optional :reversed, :bool, 6
842
+ end
843
+ add_message "lnrpc.ListInvoiceResponse" do
844
+ repeated :invoices, :message, 1, "lnrpc.Invoice"
845
+ optional :last_index_offset, :uint64, 2
846
+ optional :first_index_offset, :uint64, 3
847
+ end
848
+ add_message "lnrpc.InvoiceSubscription" do
849
+ optional :add_index, :uint64, 1
850
+ optional :settle_index, :uint64, 2
851
+ end
852
+ add_message "lnrpc.Payment" do
853
+ optional :payment_hash, :string, 1
854
+ optional :value, :int64, 2
855
+ optional :creation_date, :int64, 3
856
+ optional :fee, :int64, 5
857
+ optional :payment_preimage, :string, 6
858
+ optional :value_sat, :int64, 7
859
+ optional :value_msat, :int64, 8
860
+ optional :payment_request, :string, 9
861
+ optional :status, :enum, 10, "lnrpc.Payment.PaymentStatus"
862
+ optional :fee_sat, :int64, 11
863
+ optional :fee_msat, :int64, 12
864
+ optional :creation_time_ns, :int64, 13
865
+ repeated :htlcs, :message, 14, "lnrpc.HTLCAttempt"
866
+ optional :payment_index, :uint64, 15
867
+ optional :failure_reason, :enum, 16, "lnrpc.PaymentFailureReason"
868
+ end
869
+ add_enum "lnrpc.Payment.PaymentStatus" do
870
+ value :UNKNOWN, 0
871
+ value :IN_FLIGHT, 1
872
+ value :SUCCEEDED, 2
873
+ value :FAILED, 3
874
+ end
875
+ add_message "lnrpc.HTLCAttempt" do
876
+ optional :attempt_id, :uint64, 7
877
+ optional :status, :enum, 1, "lnrpc.HTLCAttempt.HTLCStatus"
878
+ optional :route, :message, 2, "lnrpc.Route"
879
+ optional :attempt_time_ns, :int64, 3
880
+ optional :resolve_time_ns, :int64, 4
881
+ optional :failure, :message, 5, "lnrpc.Failure"
882
+ optional :preimage, :bytes, 6
883
+ end
884
+ add_enum "lnrpc.HTLCAttempt.HTLCStatus" do
885
+ value :IN_FLIGHT, 0
886
+ value :SUCCEEDED, 1
887
+ value :FAILED, 2
888
+ end
889
+ add_message "lnrpc.ListPaymentsRequest" do
890
+ optional :include_incomplete, :bool, 1
891
+ optional :index_offset, :uint64, 2
892
+ optional :max_payments, :uint64, 3
893
+ optional :reversed, :bool, 4
894
+ end
895
+ add_message "lnrpc.ListPaymentsResponse" do
896
+ repeated :payments, :message, 1, "lnrpc.Payment"
897
+ optional :first_index_offset, :uint64, 2
898
+ optional :last_index_offset, :uint64, 3
899
+ end
900
+ add_message "lnrpc.DeleteAllPaymentsRequest" do
901
+ optional :failed_payments_only, :bool, 1
902
+ optional :failed_htlcs_only, :bool, 2
903
+ end
904
+ add_message "lnrpc.DeleteAllPaymentsResponse" do
905
+ end
906
+ add_message "lnrpc.AbandonChannelRequest" do
907
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
908
+ optional :pending_funding_shim_only, :bool, 2
909
+ end
910
+ add_message "lnrpc.AbandonChannelResponse" do
911
+ end
912
+ add_message "lnrpc.DebugLevelRequest" do
913
+ optional :show, :bool, 1
914
+ optional :level_spec, :string, 2
915
+ end
916
+ add_message "lnrpc.DebugLevelResponse" do
917
+ optional :sub_systems, :string, 1
918
+ end
919
+ add_message "lnrpc.PayReqString" do
920
+ optional :pay_req, :string, 1
921
+ end
922
+ add_message "lnrpc.PayReq" do
923
+ optional :destination, :string, 1
924
+ optional :payment_hash, :string, 2
925
+ optional :num_satoshis, :int64, 3
926
+ optional :timestamp, :int64, 4
927
+ optional :expiry, :int64, 5
928
+ optional :description, :string, 6
929
+ optional :description_hash, :string, 7
930
+ optional :fallback_addr, :string, 8
931
+ optional :cltv_expiry, :int64, 9
932
+ repeated :route_hints, :message, 10, "lnrpc.RouteHint"
933
+ optional :payment_addr, :bytes, 11
934
+ optional :num_msat, :int64, 12
935
+ map :features, :uint32, :message, 13, "lnrpc.Feature"
936
+ end
937
+ add_message "lnrpc.Feature" do
938
+ optional :name, :string, 2
939
+ optional :is_required, :bool, 3
940
+ optional :is_known, :bool, 4
941
+ end
942
+ add_message "lnrpc.FeeReportRequest" do
943
+ end
944
+ add_message "lnrpc.ChannelFeeReport" do
945
+ optional :chan_id, :uint64, 5
946
+ optional :channel_point, :string, 1
947
+ optional :base_fee_msat, :int64, 2
948
+ optional :fee_per_mil, :int64, 3
949
+ optional :fee_rate, :double, 4
950
+ end
951
+ add_message "lnrpc.FeeReportResponse" do
952
+ repeated :channel_fees, :message, 1, "lnrpc.ChannelFeeReport"
953
+ optional :day_fee_sum, :uint64, 2
954
+ optional :week_fee_sum, :uint64, 3
955
+ optional :month_fee_sum, :uint64, 4
956
+ end
957
+ add_message "lnrpc.PolicyUpdateRequest" do
958
+ optional :base_fee_msat, :int64, 3
959
+ optional :fee_rate, :double, 4
960
+ optional :time_lock_delta, :uint32, 5
961
+ optional :max_htlc_msat, :uint64, 6
962
+ optional :min_htlc_msat, :uint64, 7
963
+ optional :min_htlc_msat_specified, :bool, 8
964
+ oneof :scope do
965
+ optional :global, :bool, 1
966
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
967
+ end
968
+ end
969
+ add_message "lnrpc.PolicyUpdateResponse" do
970
+ end
971
+ add_message "lnrpc.ForwardingHistoryRequest" do
972
+ optional :start_time, :uint64, 1
973
+ optional :end_time, :uint64, 2
974
+ optional :index_offset, :uint32, 3
975
+ optional :num_max_events, :uint32, 4
976
+ end
977
+ add_message "lnrpc.ForwardingEvent" do
978
+ optional :timestamp, :uint64, 1
979
+ optional :chan_id_in, :uint64, 2
980
+ optional :chan_id_out, :uint64, 4
981
+ optional :amt_in, :uint64, 5
982
+ optional :amt_out, :uint64, 6
983
+ optional :fee, :uint64, 7
984
+ optional :fee_msat, :uint64, 8
985
+ optional :amt_in_msat, :uint64, 9
986
+ optional :amt_out_msat, :uint64, 10
987
+ optional :timestamp_ns, :uint64, 11
988
+ end
989
+ add_message "lnrpc.ForwardingHistoryResponse" do
990
+ repeated :forwarding_events, :message, 1, "lnrpc.ForwardingEvent"
991
+ optional :last_offset_index, :uint32, 2
992
+ end
993
+ add_message "lnrpc.ExportChannelBackupRequest" do
994
+ optional :chan_point, :message, 1, "lnrpc.ChannelPoint"
995
+ end
996
+ add_message "lnrpc.ChannelBackup" do
997
+ optional :chan_point, :message, 1, "lnrpc.ChannelPoint"
998
+ optional :chan_backup, :bytes, 2
999
+ end
1000
+ add_message "lnrpc.MultiChanBackup" do
1001
+ repeated :chan_points, :message, 1, "lnrpc.ChannelPoint"
1002
+ optional :multi_chan_backup, :bytes, 2
1003
+ end
1004
+ add_message "lnrpc.ChanBackupExportRequest" do
1005
+ end
1006
+ add_message "lnrpc.ChanBackupSnapshot" do
1007
+ optional :single_chan_backups, :message, 1, "lnrpc.ChannelBackups"
1008
+ optional :multi_chan_backup, :message, 2, "lnrpc.MultiChanBackup"
1009
+ end
1010
+ add_message "lnrpc.ChannelBackups" do
1011
+ repeated :chan_backups, :message, 1, "lnrpc.ChannelBackup"
1012
+ end
1013
+ add_message "lnrpc.RestoreChanBackupRequest" do
1014
+ oneof :backup do
1015
+ optional :chan_backups, :message, 1, "lnrpc.ChannelBackups"
1016
+ optional :multi_chan_backup, :bytes, 2
1017
+ end
1018
+ end
1019
+ add_message "lnrpc.RestoreBackupResponse" do
1020
+ end
1021
+ add_message "lnrpc.ChannelBackupSubscription" do
1022
+ end
1023
+ add_message "lnrpc.VerifyChanBackupResponse" do
1024
+ end
1025
+ add_message "lnrpc.MacaroonPermission" do
1026
+ optional :entity, :string, 1
1027
+ optional :action, :string, 2
1028
+ end
1029
+ add_message "lnrpc.BakeMacaroonRequest" do
1030
+ repeated :permissions, :message, 1, "lnrpc.MacaroonPermission"
1031
+ optional :root_key_id, :uint64, 2
1032
+ end
1033
+ add_message "lnrpc.BakeMacaroonResponse" do
1034
+ optional :macaroon, :string, 1
1035
+ end
1036
+ add_message "lnrpc.ListMacaroonIDsRequest" do
1037
+ end
1038
+ add_message "lnrpc.ListMacaroonIDsResponse" do
1039
+ repeated :root_key_ids, :uint64, 1
1040
+ end
1041
+ add_message "lnrpc.DeleteMacaroonIDRequest" do
1042
+ optional :root_key_id, :uint64, 1
1043
+ end
1044
+ add_message "lnrpc.DeleteMacaroonIDResponse" do
1045
+ optional :deleted, :bool, 1
1046
+ end
1047
+ add_message "lnrpc.MacaroonPermissionList" do
1048
+ repeated :permissions, :message, 1, "lnrpc.MacaroonPermission"
1049
+ end
1050
+ add_message "lnrpc.ListPermissionsRequest" do
1051
+ end
1052
+ add_message "lnrpc.ListPermissionsResponse" do
1053
+ map :method_permissions, :string, :message, 1, "lnrpc.MacaroonPermissionList"
1054
+ end
1055
+ add_message "lnrpc.Failure" do
1056
+ optional :code, :enum, 1, "lnrpc.Failure.FailureCode"
1057
+ optional :channel_update, :message, 3, "lnrpc.ChannelUpdate"
1058
+ optional :htlc_msat, :uint64, 4
1059
+ optional :onion_sha_256, :bytes, 5
1060
+ optional :cltv_expiry, :uint32, 6
1061
+ optional :flags, :uint32, 7
1062
+ optional :failure_source_index, :uint32, 8
1063
+ optional :height, :uint32, 9
1064
+ end
1065
+ add_enum "lnrpc.Failure.FailureCode" do
1066
+ value :RESERVED, 0
1067
+ value :INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS, 1
1068
+ value :INCORRECT_PAYMENT_AMOUNT, 2
1069
+ value :FINAL_INCORRECT_CLTV_EXPIRY, 3
1070
+ value :FINAL_INCORRECT_HTLC_AMOUNT, 4
1071
+ value :FINAL_EXPIRY_TOO_SOON, 5
1072
+ value :INVALID_REALM, 6
1073
+ value :EXPIRY_TOO_SOON, 7
1074
+ value :INVALID_ONION_VERSION, 8
1075
+ value :INVALID_ONION_HMAC, 9
1076
+ value :INVALID_ONION_KEY, 10
1077
+ value :AMOUNT_BELOW_MINIMUM, 11
1078
+ value :FEE_INSUFFICIENT, 12
1079
+ value :INCORRECT_CLTV_EXPIRY, 13
1080
+ value :CHANNEL_DISABLED, 14
1081
+ value :TEMPORARY_CHANNEL_FAILURE, 15
1082
+ value :REQUIRED_NODE_FEATURE_MISSING, 16
1083
+ value :REQUIRED_CHANNEL_FEATURE_MISSING, 17
1084
+ value :UNKNOWN_NEXT_PEER, 18
1085
+ value :TEMPORARY_NODE_FAILURE, 19
1086
+ value :PERMANENT_NODE_FAILURE, 20
1087
+ value :PERMANENT_CHANNEL_FAILURE, 21
1088
+ value :EXPIRY_TOO_FAR, 22
1089
+ value :MPP_TIMEOUT, 23
1090
+ value :INVALID_ONION_PAYLOAD, 24
1091
+ value :INTERNAL_FAILURE, 997
1092
+ value :UNKNOWN_FAILURE, 998
1093
+ value :UNREADABLE_FAILURE, 999
1094
+ end
1095
+ add_message "lnrpc.ChannelUpdate" do
1096
+ optional :signature, :bytes, 1
1097
+ optional :chain_hash, :bytes, 2
1098
+ optional :chan_id, :uint64, 3
1099
+ optional :timestamp, :uint32, 4
1100
+ optional :message_flags, :uint32, 10
1101
+ optional :channel_flags, :uint32, 5
1102
+ optional :time_lock_delta, :uint32, 6
1103
+ optional :htlc_minimum_msat, :uint64, 7
1104
+ optional :base_fee, :uint32, 8
1105
+ optional :fee_rate, :uint32, 9
1106
+ optional :htlc_maximum_msat, :uint64, 11
1107
+ optional :extra_opaque_data, :bytes, 12
1108
+ end
1109
+ add_message "lnrpc.MacaroonId" do
1110
+ optional :nonce, :bytes, 1
1111
+ optional :storageId, :bytes, 2
1112
+ repeated :ops, :message, 3, "lnrpc.Op"
1113
+ end
1114
+ add_message "lnrpc.Op" do
1115
+ optional :entity, :string, 1
1116
+ repeated :actions, :string, 2
1117
+ end
1118
+ add_enum "lnrpc.AddressType" do
1119
+ value :WITNESS_PUBKEY_HASH, 0
1120
+ value :NESTED_PUBKEY_HASH, 1
1121
+ value :UNUSED_WITNESS_PUBKEY_HASH, 2
1122
+ value :UNUSED_NESTED_PUBKEY_HASH, 3
1123
+ end
1124
+ add_enum "lnrpc.CommitmentType" do
1125
+ value :LEGACY, 0
1126
+ value :STATIC_REMOTE_KEY, 1
1127
+ value :ANCHORS, 2
1128
+ value :UNKNOWN_COMMITMENT_TYPE, 999
1129
+ end
1130
+ add_enum "lnrpc.Initiator" do
1131
+ value :INITIATOR_UNKNOWN, 0
1132
+ value :INITIATOR_LOCAL, 1
1133
+ value :INITIATOR_REMOTE, 2
1134
+ value :INITIATOR_BOTH, 3
1135
+ end
1136
+ add_enum "lnrpc.ResolutionType" do
1137
+ value :TYPE_UNKNOWN, 0
1138
+ value :ANCHOR, 1
1139
+ value :INCOMING_HTLC, 2
1140
+ value :OUTGOING_HTLC, 3
1141
+ value :COMMIT, 4
1142
+ end
1143
+ add_enum "lnrpc.ResolutionOutcome" do
1144
+ value :OUTCOME_UNKNOWN, 0
1145
+ value :CLAIMED, 1
1146
+ value :UNCLAIMED, 2
1147
+ value :ABANDONED, 3
1148
+ value :FIRST_STAGE, 4
1149
+ value :TIMEOUT, 5
1150
+ end
1151
+ add_enum "lnrpc.NodeMetricType" do
1152
+ value :UNKNOWN, 0
1153
+ value :BETWEENNESS_CENTRALITY, 1
1154
+ end
1155
+ add_enum "lnrpc.InvoiceHTLCState" do
1156
+ value :ACCEPTED, 0
1157
+ value :SETTLED, 1
1158
+ value :CANCELED, 2
1159
+ end
1160
+ add_enum "lnrpc.PaymentFailureReason" do
1161
+ value :FAILURE_REASON_NONE, 0
1162
+ value :FAILURE_REASON_TIMEOUT, 1
1163
+ value :FAILURE_REASON_NO_ROUTE, 2
1164
+ value :FAILURE_REASON_ERROR, 3
1165
+ value :FAILURE_REASON_INCORRECT_PAYMENT_DETAILS, 4
1166
+ value :FAILURE_REASON_INSUFFICIENT_BALANCE, 5
1167
+ end
1168
+ add_enum "lnrpc.FeatureBit" do
1169
+ value :DATALOSS_PROTECT_REQ, 0
1170
+ value :DATALOSS_PROTECT_OPT, 1
1171
+ value :INITIAL_ROUING_SYNC, 3
1172
+ value :UPFRONT_SHUTDOWN_SCRIPT_REQ, 4
1173
+ value :UPFRONT_SHUTDOWN_SCRIPT_OPT, 5
1174
+ value :GOSSIP_QUERIES_REQ, 6
1175
+ value :GOSSIP_QUERIES_OPT, 7
1176
+ value :TLV_ONION_REQ, 8
1177
+ value :TLV_ONION_OPT, 9
1178
+ value :EXT_GOSSIP_QUERIES_REQ, 10
1179
+ value :EXT_GOSSIP_QUERIES_OPT, 11
1180
+ value :STATIC_REMOTE_KEY_REQ, 12
1181
+ value :STATIC_REMOTE_KEY_OPT, 13
1182
+ value :PAYMENT_ADDR_REQ, 14
1183
+ value :PAYMENT_ADDR_OPT, 15
1184
+ value :MPP_REQ, 16
1185
+ value :MPP_OPT, 17
1186
+ value :WUMBO_CHANNELS_REQ, 18
1187
+ value :WUMBO_CHANNELS_OPT, 19
1188
+ value :ANCHORS_REQ, 20
1189
+ value :ANCHORS_OPT, 21
1190
+ value :ANCHORS_ZERO_FEE_HTLC_REQ, 22
1191
+ value :ANCHORS_ZERO_FEE_HTLC_OPT, 23
1192
+ value :AMP_REQ, 30
1193
+ value :AMP_OPT, 31
1194
+ end
1195
+ end
1196
+ end
1197
+
1198
+ module Lnrpc
1199
+ Utxo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Utxo").msgclass
1200
+ Transaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Transaction").msgclass
1201
+ GetTransactionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetTransactionsRequest").msgclass
1202
+ TransactionDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TransactionDetails").msgclass
1203
+ FeeLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeLimit").msgclass
1204
+ SendRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendRequest").msgclass
1205
+ SendResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendResponse").msgclass
1206
+ SendToRouteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendToRouteRequest").msgclass
1207
+ ChannelAcceptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelAcceptRequest").msgclass
1208
+ ChannelAcceptResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelAcceptResponse").msgclass
1209
+ ChannelPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelPoint").msgclass
1210
+ OutPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OutPoint").msgclass
1211
+ LightningAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningAddress").msgclass
1212
+ EstimateFeeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EstimateFeeRequest").msgclass
1213
+ EstimateFeeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EstimateFeeResponse").msgclass
1214
+ SendManyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyRequest").msgclass
1215
+ SendManyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyResponse").msgclass
1216
+ SendCoinsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsRequest").msgclass
1217
+ SendCoinsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsResponse").msgclass
1218
+ ListUnspentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListUnspentRequest").msgclass
1219
+ ListUnspentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListUnspentResponse").msgclass
1220
+ NewAddressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest").msgclass
1221
+ NewAddressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressResponse").msgclass
1222
+ SignMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageRequest").msgclass
1223
+ SignMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageResponse").msgclass
1224
+ VerifyMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageRequest").msgclass
1225
+ VerifyMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageResponse").msgclass
1226
+ ConnectPeerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerRequest").msgclass
1227
+ ConnectPeerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerResponse").msgclass
1228
+ DisconnectPeerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerRequest").msgclass
1229
+ DisconnectPeerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerResponse").msgclass
1230
+ HTLC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLC").msgclass
1231
+ ChannelConstraints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelConstraints").msgclass
1232
+ Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Channel").msgclass
1233
+ ListChannelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsRequest").msgclass
1234
+ ListChannelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsResponse").msgclass
1235
+ ChannelCloseSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary").msgclass
1236
+ ChannelCloseSummary::ClosureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary.ClosureType").enummodule
1237
+ Resolution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Resolution").msgclass
1238
+ ClosedChannelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsRequest").msgclass
1239
+ ClosedChannelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsResponse").msgclass
1240
+ Peer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer").msgclass
1241
+ Peer::SyncType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer.SyncType").enummodule
1242
+ TimestampedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TimestampedError").msgclass
1243
+ ListPeersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersRequest").msgclass
1244
+ ListPeersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersResponse").msgclass
1245
+ PeerEventSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PeerEventSubscription").msgclass
1246
+ PeerEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PeerEvent").msgclass
1247
+ PeerEvent::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PeerEvent.EventType").enummodule
1248
+ GetInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoRequest").msgclass
1249
+ GetInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoResponse").msgclass
1250
+ GetRecoveryInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetRecoveryInfoRequest").msgclass
1251
+ GetRecoveryInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetRecoveryInfoResponse").msgclass
1252
+ Chain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Chain").msgclass
1253
+ ConfirmationUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConfirmationUpdate").msgclass
1254
+ ChannelOpenUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelOpenUpdate").msgclass
1255
+ ChannelCloseUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseUpdate").msgclass
1256
+ CloseChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseChannelRequest").msgclass
1257
+ CloseStatusUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseStatusUpdate").msgclass
1258
+ PendingUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
1259
+ ReadyForPsbtFunding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ReadyForPsbtFunding").msgclass
1260
+ OpenChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
1261
+ OpenStatusUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
1262
+ KeyLocator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.KeyLocator").msgclass
1263
+ KeyDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.KeyDescriptor").msgclass
1264
+ ChanPointShim = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanPointShim").msgclass
1265
+ PsbtShim = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PsbtShim").msgclass
1266
+ FundingShim = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingShim").msgclass
1267
+ FundingShimCancel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingShimCancel").msgclass
1268
+ FundingPsbtVerify = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingPsbtVerify").msgclass
1269
+ FundingPsbtFinalize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingPsbtFinalize").msgclass
1270
+ FundingTransitionMsg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingTransitionMsg").msgclass
1271
+ FundingStateStepResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingStateStepResp").msgclass
1272
+ PendingHTLC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingHTLC").msgclass
1273
+ PendingChannelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsRequest").msgclass
1274
+ PendingChannelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse").msgclass
1275
+ PendingChannelsResponse::PendingChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingChannel").msgclass
1276
+ PendingChannelsResponse::PendingOpenChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingOpenChannel").msgclass
1277
+ PendingChannelsResponse::WaitingCloseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.WaitingCloseChannel").msgclass
1278
+ PendingChannelsResponse::Commitments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.Commitments").msgclass
1279
+ PendingChannelsResponse::ClosedChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ClosedChannel").msgclass
1280
+ PendingChannelsResponse::ForceClosedChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ForceClosedChannel").msgclass
1281
+ PendingChannelsResponse::ForceClosedChannel::AnchorState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState").enummodule
1282
+ ChannelEventSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEventSubscription").msgclass
1283
+ ChannelEventUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEventUpdate").msgclass
1284
+ ChannelEventUpdate::UpdateType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEventUpdate.UpdateType").enummodule
1285
+ WalletAccountBalance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletAccountBalance").msgclass
1286
+ WalletBalanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceRequest").msgclass
1287
+ WalletBalanceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceResponse").msgclass
1288
+ Amount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Amount").msgclass
1289
+ ChannelBalanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceRequest").msgclass
1290
+ ChannelBalanceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceResponse").msgclass
1291
+ QueryRoutesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesRequest").msgclass
1292
+ NodePair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodePair").msgclass
1293
+ EdgeLocator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EdgeLocator").msgclass
1294
+ QueryRoutesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesResponse").msgclass
1295
+ Hop = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Hop").msgclass
1296
+ MPPRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MPPRecord").msgclass
1297
+ AMPRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AMPRecord").msgclass
1298
+ Route = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Route").msgclass
1299
+ NodeInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfoRequest").msgclass
1300
+ NodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfo").msgclass
1301
+ LightningNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningNode").msgclass
1302
+ NodeAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeAddress").msgclass
1303
+ RoutingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RoutingPolicy").msgclass
1304
+ ChannelEdge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdge").msgclass
1305
+ ChannelGraphRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraphRequest").msgclass
1306
+ ChannelGraph = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraph").msgclass
1307
+ NodeMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeMetricsRequest").msgclass
1308
+ NodeMetricsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeMetricsResponse").msgclass
1309
+ FloatMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FloatMetric").msgclass
1310
+ ChanInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanInfoRequest").msgclass
1311
+ NetworkInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfoRequest").msgclass
1312
+ NetworkInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfo").msgclass
1313
+ StopRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopRequest").msgclass
1314
+ StopResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopResponse").msgclass
1315
+ GraphTopologySubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologySubscription").msgclass
1316
+ GraphTopologyUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologyUpdate").msgclass
1317
+ NodeUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeUpdate").msgclass
1318
+ ChannelEdgeUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdgeUpdate").msgclass
1319
+ ClosedChannelUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelUpdate").msgclass
1320
+ HopHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HopHint").msgclass
1321
+ RouteHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RouteHint").msgclass
1322
+ Invoice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice").msgclass
1323
+ Invoice::InvoiceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice.InvoiceState").enummodule
1324
+ InvoiceHTLC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLC").msgclass
1325
+ AMP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AMP").msgclass
1326
+ AddInvoiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddInvoiceResponse").msgclass
1327
+ PaymentHash = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentHash").msgclass
1328
+ ListInvoiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceRequest").msgclass
1329
+ ListInvoiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceResponse").msgclass
1330
+ InvoiceSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceSubscription").msgclass
1331
+ Payment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment").msgclass
1332
+ Payment::PaymentStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment.PaymentStatus").enummodule
1333
+ HTLCAttempt = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLCAttempt").msgclass
1334
+ HTLCAttempt::HTLCStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLCAttempt.HTLCStatus").enummodule
1335
+ ListPaymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
1336
+ ListPaymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
1337
+ DeleteAllPaymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
1338
+ DeleteAllPaymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsResponse").msgclass
1339
+ AbandonChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelRequest").msgclass
1340
+ AbandonChannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelResponse").msgclass
1341
+ DebugLevelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelRequest").msgclass
1342
+ DebugLevelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelResponse").msgclass
1343
+ PayReqString = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReqString").msgclass
1344
+ PayReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReq").msgclass
1345
+ Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Feature").msgclass
1346
+ FeeReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportRequest").msgclass
1347
+ ChannelFeeReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
1348
+ FeeReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
1349
+ PolicyUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateRequest").msgclass
1350
+ PolicyUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateResponse").msgclass
1351
+ ForwardingHistoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryRequest").msgclass
1352
+ ForwardingEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingEvent").msgclass
1353
+ ForwardingHistoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryResponse").msgclass
1354
+ ExportChannelBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ExportChannelBackupRequest").msgclass
1355
+ ChannelBackup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackup").msgclass
1356
+ MultiChanBackup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MultiChanBackup").msgclass
1357
+ ChanBackupExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanBackupExportRequest").msgclass
1358
+ ChanBackupSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanBackupSnapshot").msgclass
1359
+ ChannelBackups = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackups").msgclass
1360
+ RestoreChanBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RestoreChanBackupRequest").msgclass
1361
+ RestoreBackupResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RestoreBackupResponse").msgclass
1362
+ ChannelBackupSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackupSubscription").msgclass
1363
+ VerifyChanBackupResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyChanBackupResponse").msgclass
1364
+ MacaroonPermission = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MacaroonPermission").msgclass
1365
+ BakeMacaroonRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BakeMacaroonRequest").msgclass
1366
+ BakeMacaroonResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BakeMacaroonResponse").msgclass
1367
+ ListMacaroonIDsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListMacaroonIDsRequest").msgclass
1368
+ ListMacaroonIDsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListMacaroonIDsResponse").msgclass
1369
+ DeleteMacaroonIDRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteMacaroonIDRequest").msgclass
1370
+ DeleteMacaroonIDResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteMacaroonIDResponse").msgclass
1371
+ MacaroonPermissionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MacaroonPermissionList").msgclass
1372
+ ListPermissionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPermissionsRequest").msgclass
1373
+ ListPermissionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPermissionsResponse").msgclass
1374
+ Failure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Failure").msgclass
1375
+ Failure::FailureCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Failure.FailureCode").enummodule
1376
+ ChannelUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelUpdate").msgclass
1377
+ MacaroonId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MacaroonId").msgclass
1378
+ Op = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Op").msgclass
1379
+ AddressType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddressType").enummodule
1380
+ CommitmentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CommitmentType").enummodule
1381
+ Initiator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Initiator").enummodule
1382
+ ResolutionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ResolutionType").enummodule
1383
+ ResolutionOutcome = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ResolutionOutcome").enummodule
1384
+ NodeMetricType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeMetricType").enummodule
1385
+ InvoiceHTLCState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLCState").enummodule
1386
+ PaymentFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentFailureReason").enummodule
1387
+ FeatureBit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeatureBit").enummodule
1388
+ end