lnrpc 0.8.0 → 0.12.1

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 +14 -12
  6. data/generate-grpc-service-files.sh +30 -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 +233 -0
  15. data/lib/grpc_services/routerrpc/router_services_pb.rb +86 -0
  16. data/lib/grpc_services/rpc_pb.rb +1347 -0
  17. data/lib/{lnrpc → grpc_services}/rpc_services_pb.rb +185 -175
  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 +188 -0
  23. data/lib/grpc_services/walletrpc/walletkit_services_pb.rb +148 -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 +81 -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 -2580
  37. data/lib/lnrpc/rpc_pb.rb +0 -938
data/lib/lnrpc/rpc_pb.rb DELETED
@@ -1,938 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: rpc.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/annotations_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "lnrpc.GenSeedRequest" do
9
- optional :aezeed_passphrase, :bytes, 1
10
- optional :seed_entropy, :bytes, 2
11
- end
12
- add_message "lnrpc.GenSeedResponse" do
13
- repeated :cipher_seed_mnemonic, :string, 1
14
- optional :enciphered_seed, :bytes, 2
15
- end
16
- add_message "lnrpc.InitWalletRequest" do
17
- optional :wallet_password, :bytes, 1
18
- repeated :cipher_seed_mnemonic, :string, 2
19
- optional :aezeed_passphrase, :bytes, 3
20
- optional :recovery_window, :int32, 4
21
- optional :channel_backups, :message, 5, "lnrpc.ChanBackupSnapshot"
22
- end
23
- add_message "lnrpc.InitWalletResponse" do
24
- end
25
- add_message "lnrpc.UnlockWalletRequest" do
26
- optional :wallet_password, :bytes, 1
27
- optional :recovery_window, :int32, 2
28
- optional :channel_backups, :message, 3, "lnrpc.ChanBackupSnapshot"
29
- end
30
- add_message "lnrpc.UnlockWalletResponse" do
31
- end
32
- add_message "lnrpc.ChangePasswordRequest" do
33
- optional :current_password, :bytes, 1
34
- optional :new_password, :bytes, 2
35
- end
36
- add_message "lnrpc.ChangePasswordResponse" do
37
- end
38
- add_message "lnrpc.Utxo" do
39
- optional :type, :enum, 1, "lnrpc.AddressType"
40
- optional :address, :string, 2
41
- optional :amount_sat, :int64, 3
42
- optional :pk_script, :string, 4
43
- optional :outpoint, :message, 5, "lnrpc.OutPoint"
44
- optional :confirmations, :int64, 6
45
- end
46
- add_message "lnrpc.Transaction" do
47
- optional :tx_hash, :string, 1
48
- optional :amount, :int64, 2
49
- optional :num_confirmations, :int32, 3
50
- optional :block_hash, :string, 4
51
- optional :block_height, :int32, 5
52
- optional :time_stamp, :int64, 6
53
- optional :total_fees, :int64, 7
54
- repeated :dest_addresses, :string, 8
55
- optional :raw_tx_hex, :string, 9
56
- end
57
- add_message "lnrpc.GetTransactionsRequest" do
58
- end
59
- add_message "lnrpc.TransactionDetails" do
60
- repeated :transactions, :message, 1, "lnrpc.Transaction"
61
- end
62
- add_message "lnrpc.FeeLimit" do
63
- oneof :limit do
64
- optional :fixed, :int64, 1
65
- optional :percent, :int64, 2
66
- end
67
- end
68
- add_message "lnrpc.SendRequest" do
69
- optional :dest, :bytes, 1
70
- optional :dest_string, :string, 2
71
- optional :amt, :int64, 3
72
- optional :payment_hash, :bytes, 4
73
- optional :payment_hash_string, :string, 5
74
- optional :payment_request, :string, 6
75
- optional :final_cltv_delta, :int32, 7
76
- optional :fee_limit, :message, 8, "lnrpc.FeeLimit"
77
- optional :outgoing_chan_id, :uint64, 9
78
- optional :cltv_limit, :uint32, 10
79
- map :dest_tlv, :uint64, :bytes, 11
80
- end
81
- add_message "lnrpc.SendResponse" do
82
- optional :payment_error, :string, 1
83
- optional :payment_preimage, :bytes, 2
84
- optional :payment_route, :message, 3, "lnrpc.Route"
85
- optional :payment_hash, :bytes, 4
86
- end
87
- add_message "lnrpc.SendToRouteRequest" do
88
- optional :payment_hash, :bytes, 1
89
- optional :payment_hash_string, :string, 2
90
- optional :route, :message, 4, "lnrpc.Route"
91
- end
92
- add_message "lnrpc.ChannelAcceptRequest" do
93
- optional :node_pubkey, :bytes, 1
94
- optional :chain_hash, :bytes, 2
95
- optional :pending_chan_id, :bytes, 3
96
- optional :funding_amt, :uint64, 4
97
- optional :push_amt, :uint64, 5
98
- optional :dust_limit, :uint64, 6
99
- optional :max_value_in_flight, :uint64, 7
100
- optional :channel_reserve, :uint64, 8
101
- optional :min_htlc, :uint64, 9
102
- optional :fee_per_kw, :uint64, 10
103
- optional :csv_delay, :uint32, 11
104
- optional :max_accepted_htlcs, :uint32, 12
105
- optional :channel_flags, :uint32, 13
106
- end
107
- add_message "lnrpc.ChannelAcceptResponse" do
108
- optional :accept, :bool, 1
109
- optional :pending_chan_id, :bytes, 2
110
- end
111
- add_message "lnrpc.ChannelPoint" do
112
- optional :output_index, :uint32, 3
113
- oneof :funding_txid do
114
- optional :funding_txid_bytes, :bytes, 1
115
- optional :funding_txid_str, :string, 2
116
- end
117
- end
118
- add_message "lnrpc.OutPoint" do
119
- optional :txid_bytes, :bytes, 1
120
- optional :txid_str, :string, 2
121
- optional :output_index, :uint32, 3
122
- end
123
- add_message "lnrpc.LightningAddress" do
124
- optional :pubkey, :string, 1
125
- optional :host, :string, 2
126
- end
127
- add_message "lnrpc.EstimateFeeRequest" do
128
- map :AddrToAmount, :string, :int64, 1
129
- optional :target_conf, :int32, 2
130
- end
131
- add_message "lnrpc.EstimateFeeResponse" do
132
- optional :fee_sat, :int64, 1
133
- optional :feerate_sat_per_byte, :int64, 2
134
- end
135
- add_message "lnrpc.SendManyRequest" do
136
- map :AddrToAmount, :string, :int64, 1
137
- optional :target_conf, :int32, 3
138
- optional :sat_per_byte, :int64, 5
139
- end
140
- add_message "lnrpc.SendManyResponse" do
141
- optional :txid, :string, 1
142
- end
143
- add_message "lnrpc.SendCoinsRequest" do
144
- optional :addr, :string, 1
145
- optional :amount, :int64, 2
146
- optional :target_conf, :int32, 3
147
- optional :sat_per_byte, :int64, 5
148
- optional :send_all, :bool, 6
149
- end
150
- add_message "lnrpc.SendCoinsResponse" do
151
- optional :txid, :string, 1
152
- end
153
- add_message "lnrpc.ListUnspentRequest" do
154
- optional :min_confs, :int32, 1
155
- optional :max_confs, :int32, 2
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
- end
163
- add_message "lnrpc.NewAddressResponse" do
164
- optional :address, :string, 1
165
- end
166
- add_message "lnrpc.SignMessageRequest" do
167
- optional :msg, :bytes, 1
168
- end
169
- add_message "lnrpc.SignMessageResponse" do
170
- optional :signature, :string, 1
171
- end
172
- add_message "lnrpc.VerifyMessageRequest" do
173
- optional :msg, :bytes, 1
174
- optional :signature, :string, 2
175
- end
176
- add_message "lnrpc.VerifyMessageResponse" do
177
- optional :valid, :bool, 1
178
- optional :pubkey, :string, 2
179
- end
180
- add_message "lnrpc.ConnectPeerRequest" do
181
- optional :addr, :message, 1, "lnrpc.LightningAddress"
182
- optional :perm, :bool, 2
183
- end
184
- add_message "lnrpc.ConnectPeerResponse" do
185
- end
186
- add_message "lnrpc.DisconnectPeerRequest" do
187
- optional :pub_key, :string, 1
188
- end
189
- add_message "lnrpc.DisconnectPeerResponse" do
190
- end
191
- add_message "lnrpc.HTLC" do
192
- optional :incoming, :bool, 1
193
- optional :amount, :int64, 2
194
- optional :hash_lock, :bytes, 3
195
- optional :expiration_height, :uint32, 4
196
- end
197
- add_message "lnrpc.Channel" do
198
- optional :active, :bool, 1
199
- optional :remote_pubkey, :string, 2
200
- optional :channel_point, :string, 3
201
- optional :chan_id, :uint64, 4
202
- optional :capacity, :int64, 5
203
- optional :local_balance, :int64, 6
204
- optional :remote_balance, :int64, 7
205
- optional :commit_fee, :int64, 8
206
- optional :commit_weight, :int64, 9
207
- optional :fee_per_kw, :int64, 10
208
- optional :unsettled_balance, :int64, 11
209
- optional :total_satoshis_sent, :int64, 12
210
- optional :total_satoshis_received, :int64, 13
211
- optional :num_updates, :uint64, 14
212
- repeated :pending_htlcs, :message, 15, "lnrpc.HTLC"
213
- optional :csv_delay, :uint32, 16
214
- optional :private, :bool, 17
215
- optional :initiator, :bool, 18
216
- optional :chan_status_flags, :string, 19
217
- optional :local_chan_reserve_sat, :int64, 20
218
- optional :remote_chan_reserve_sat, :int64, 21
219
- optional :static_remote_key, :bool, 22
220
- end
221
- add_message "lnrpc.ListChannelsRequest" do
222
- optional :active_only, :bool, 1
223
- optional :inactive_only, :bool, 2
224
- optional :public_only, :bool, 3
225
- optional :private_only, :bool, 4
226
- end
227
- add_message "lnrpc.ListChannelsResponse" do
228
- repeated :channels, :message, 11, "lnrpc.Channel"
229
- end
230
- add_message "lnrpc.ChannelCloseSummary" do
231
- optional :channel_point, :string, 1
232
- optional :chan_id, :uint64, 2
233
- optional :chain_hash, :string, 3
234
- optional :closing_tx_hash, :string, 4
235
- optional :remote_pubkey, :string, 5
236
- optional :capacity, :int64, 6
237
- optional :close_height, :uint32, 7
238
- optional :settled_balance, :int64, 8
239
- optional :time_locked_balance, :int64, 9
240
- optional :close_type, :enum, 10, "lnrpc.ChannelCloseSummary.ClosureType"
241
- end
242
- add_enum "lnrpc.ChannelCloseSummary.ClosureType" do
243
- value :COOPERATIVE_CLOSE, 0
244
- value :LOCAL_FORCE_CLOSE, 1
245
- value :REMOTE_FORCE_CLOSE, 2
246
- value :BREACH_CLOSE, 3
247
- value :FUNDING_CANCELED, 4
248
- value :ABANDONED, 5
249
- end
250
- add_message "lnrpc.ClosedChannelsRequest" do
251
- optional :cooperative, :bool, 1
252
- optional :local_force, :bool, 2
253
- optional :remote_force, :bool, 3
254
- optional :breach, :bool, 4
255
- optional :funding_canceled, :bool, 5
256
- optional :abandoned, :bool, 6
257
- end
258
- add_message "lnrpc.ClosedChannelsResponse" do
259
- repeated :channels, :message, 1, "lnrpc.ChannelCloseSummary"
260
- end
261
- add_message "lnrpc.Peer" do
262
- optional :pub_key, :string, 1
263
- optional :address, :string, 3
264
- optional :bytes_sent, :uint64, 4
265
- optional :bytes_recv, :uint64, 5
266
- optional :sat_sent, :int64, 6
267
- optional :sat_recv, :int64, 7
268
- optional :inbound, :bool, 8
269
- optional :ping_time, :int64, 9
270
- optional :sync_type, :enum, 10, "lnrpc.Peer.SyncType"
271
- end
272
- add_enum "lnrpc.Peer.SyncType" do
273
- value :UNKNOWN_SYNC, 0
274
- value :ACTIVE_SYNC, 1
275
- value :PASSIVE_SYNC, 2
276
- end
277
- add_message "lnrpc.ListPeersRequest" do
278
- end
279
- add_message "lnrpc.ListPeersResponse" do
280
- repeated :peers, :message, 1, "lnrpc.Peer"
281
- end
282
- add_message "lnrpc.GetInfoRequest" do
283
- end
284
- add_message "lnrpc.GetInfoResponse" do
285
- optional :identity_pubkey, :string, 1
286
- optional :alias, :string, 2
287
- optional :num_pending_channels, :uint32, 3
288
- optional :num_active_channels, :uint32, 4
289
- optional :num_peers, :uint32, 5
290
- optional :block_height, :uint32, 6
291
- optional :block_hash, :string, 8
292
- optional :synced_to_chain, :bool, 9
293
- optional :testnet, :bool, 10
294
- repeated :uris, :string, 12
295
- optional :best_header_timestamp, :int64, 13
296
- optional :version, :string, 14
297
- optional :num_inactive_channels, :uint32, 15
298
- repeated :chains, :message, 16, "lnrpc.Chain"
299
- optional :color, :string, 17
300
- optional :synced_to_graph, :bool, 18
301
- end
302
- add_message "lnrpc.Chain" do
303
- optional :chain, :string, 1
304
- optional :network, :string, 2
305
- end
306
- add_message "lnrpc.ConfirmationUpdate" do
307
- optional :block_sha, :bytes, 1
308
- optional :block_height, :int32, 2
309
- optional :num_confs_left, :uint32, 3
310
- end
311
- add_message "lnrpc.ChannelOpenUpdate" do
312
- optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
313
- end
314
- add_message "lnrpc.ChannelCloseUpdate" do
315
- optional :closing_txid, :bytes, 1
316
- optional :success, :bool, 2
317
- end
318
- add_message "lnrpc.CloseChannelRequest" do
319
- optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
320
- optional :force, :bool, 2
321
- optional :target_conf, :int32, 3
322
- optional :sat_per_byte, :int64, 4
323
- end
324
- add_message "lnrpc.CloseStatusUpdate" do
325
- oneof :update do
326
- optional :close_pending, :message, 1, "lnrpc.PendingUpdate"
327
- optional :chan_close, :message, 3, "lnrpc.ChannelCloseUpdate"
328
- end
329
- end
330
- add_message "lnrpc.PendingUpdate" do
331
- optional :txid, :bytes, 1
332
- optional :output_index, :uint32, 2
333
- end
334
- add_message "lnrpc.OpenChannelRequest" do
335
- optional :node_pubkey, :bytes, 2
336
- optional :node_pubkey_string, :string, 3
337
- optional :local_funding_amount, :int64, 4
338
- optional :push_sat, :int64, 5
339
- optional :target_conf, :int32, 6
340
- optional :sat_per_byte, :int64, 7
341
- optional :private, :bool, 8
342
- optional :min_htlc_msat, :int64, 9
343
- optional :remote_csv_delay, :uint32, 10
344
- optional :min_confs, :int32, 11
345
- optional :spend_unconfirmed, :bool, 12
346
- end
347
- add_message "lnrpc.OpenStatusUpdate" do
348
- oneof :update do
349
- optional :chan_pending, :message, 1, "lnrpc.PendingUpdate"
350
- optional :chan_open, :message, 3, "lnrpc.ChannelOpenUpdate"
351
- end
352
- end
353
- add_message "lnrpc.PendingHTLC" do
354
- optional :incoming, :bool, 1
355
- optional :amount, :int64, 2
356
- optional :outpoint, :string, 3
357
- optional :maturity_height, :uint32, 4
358
- optional :blocks_til_maturity, :int32, 5
359
- optional :stage, :uint32, 6
360
- end
361
- add_message "lnrpc.PendingChannelsRequest" do
362
- end
363
- add_message "lnrpc.PendingChannelsResponse" do
364
- optional :total_limbo_balance, :int64, 1
365
- repeated :pending_open_channels, :message, 2, "lnrpc.PendingChannelsResponse.PendingOpenChannel"
366
- repeated :pending_closing_channels, :message, 3, "lnrpc.PendingChannelsResponse.ClosedChannel"
367
- repeated :pending_force_closing_channels, :message, 4, "lnrpc.PendingChannelsResponse.ForceClosedChannel"
368
- repeated :waiting_close_channels, :message, 5, "lnrpc.PendingChannelsResponse.WaitingCloseChannel"
369
- end
370
- add_message "lnrpc.PendingChannelsResponse.PendingChannel" do
371
- optional :remote_node_pub, :string, 1
372
- optional :channel_point, :string, 2
373
- optional :capacity, :int64, 3
374
- optional :local_balance, :int64, 4
375
- optional :remote_balance, :int64, 5
376
- optional :local_chan_reserve_sat, :int64, 6
377
- optional :remote_chan_reserve_sat, :int64, 7
378
- end
379
- add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
380
- optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
381
- optional :confirmation_height, :uint32, 2
382
- optional :commit_fee, :int64, 4
383
- optional :commit_weight, :int64, 5
384
- optional :fee_per_kw, :int64, 6
385
- end
386
- add_message "lnrpc.PendingChannelsResponse.WaitingCloseChannel" do
387
- optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
388
- optional :limbo_balance, :int64, 2
389
- end
390
- add_message "lnrpc.PendingChannelsResponse.ClosedChannel" do
391
- optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
392
- optional :closing_txid, :string, 2
393
- end
394
- add_message "lnrpc.PendingChannelsResponse.ForceClosedChannel" do
395
- optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
396
- optional :closing_txid, :string, 2
397
- optional :limbo_balance, :int64, 3
398
- optional :maturity_height, :uint32, 4
399
- optional :blocks_til_maturity, :int32, 5
400
- optional :recovered_balance, :int64, 6
401
- repeated :pending_htlcs, :message, 8, "lnrpc.PendingHTLC"
402
- end
403
- add_message "lnrpc.ChannelEventSubscription" do
404
- end
405
- add_message "lnrpc.ChannelEventUpdate" do
406
- optional :type, :enum, 5, "lnrpc.ChannelEventUpdate.UpdateType"
407
- oneof :channel do
408
- optional :open_channel, :message, 1, "lnrpc.Channel"
409
- optional :closed_channel, :message, 2, "lnrpc.ChannelCloseSummary"
410
- optional :active_channel, :message, 3, "lnrpc.ChannelPoint"
411
- optional :inactive_channel, :message, 4, "lnrpc.ChannelPoint"
412
- end
413
- end
414
- add_enum "lnrpc.ChannelEventUpdate.UpdateType" do
415
- value :OPEN_CHANNEL, 0
416
- value :CLOSED_CHANNEL, 1
417
- value :ACTIVE_CHANNEL, 2
418
- value :INACTIVE_CHANNEL, 3
419
- end
420
- add_message "lnrpc.WalletBalanceRequest" do
421
- end
422
- add_message "lnrpc.WalletBalanceResponse" do
423
- optional :total_balance, :int64, 1
424
- optional :confirmed_balance, :int64, 2
425
- optional :unconfirmed_balance, :int64, 3
426
- end
427
- add_message "lnrpc.ChannelBalanceRequest" do
428
- end
429
- add_message "lnrpc.ChannelBalanceResponse" do
430
- optional :balance, :int64, 1
431
- optional :pending_open_balance, :int64, 2
432
- end
433
- add_message "lnrpc.QueryRoutesRequest" do
434
- optional :pub_key, :string, 1
435
- optional :amt, :int64, 2
436
- optional :final_cltv_delta, :int32, 4
437
- optional :fee_limit, :message, 5, "lnrpc.FeeLimit"
438
- repeated :ignored_nodes, :bytes, 6
439
- repeated :ignored_edges, :message, 7, "lnrpc.EdgeLocator"
440
- optional :source_pub_key, :string, 8
441
- optional :use_mission_control, :bool, 9
442
- repeated :ignored_pairs, :message, 10, "lnrpc.NodePair"
443
- optional :cltv_limit, :uint32, 11
444
- end
445
- add_message "lnrpc.NodePair" do
446
- optional :from, :bytes, 1
447
- optional :to, :bytes, 2
448
- end
449
- add_message "lnrpc.EdgeLocator" do
450
- optional :channel_id, :uint64, 1
451
- optional :direction_reverse, :bool, 2
452
- end
453
- add_message "lnrpc.QueryRoutesResponse" do
454
- repeated :routes, :message, 1, "lnrpc.Route"
455
- optional :success_prob, :double, 2
456
- end
457
- add_message "lnrpc.Hop" do
458
- optional :chan_id, :uint64, 1
459
- optional :chan_capacity, :int64, 2
460
- optional :amt_to_forward, :int64, 3
461
- optional :fee, :int64, 4
462
- optional :expiry, :uint32, 5
463
- optional :amt_to_forward_msat, :int64, 6
464
- optional :fee_msat, :int64, 7
465
- optional :pub_key, :string, 8
466
- optional :tlv_payload, :bool, 9
467
- end
468
- add_message "lnrpc.Route" do
469
- optional :total_time_lock, :uint32, 1
470
- optional :total_fees, :int64, 2
471
- optional :total_amt, :int64, 3
472
- repeated :hops, :message, 4, "lnrpc.Hop"
473
- optional :total_fees_msat, :int64, 5
474
- optional :total_amt_msat, :int64, 6
475
- end
476
- add_message "lnrpc.NodeInfoRequest" do
477
- optional :pub_key, :string, 1
478
- optional :include_channels, :bool, 2
479
- end
480
- add_message "lnrpc.NodeInfo" do
481
- optional :node, :message, 1, "lnrpc.LightningNode"
482
- optional :num_channels, :uint32, 2
483
- optional :total_capacity, :int64, 3
484
- repeated :channels, :message, 4, "lnrpc.ChannelEdge"
485
- end
486
- add_message "lnrpc.LightningNode" do
487
- optional :last_update, :uint32, 1
488
- optional :pub_key, :string, 2
489
- optional :alias, :string, 3
490
- repeated :addresses, :message, 4, "lnrpc.NodeAddress"
491
- optional :color, :string, 5
492
- end
493
- add_message "lnrpc.NodeAddress" do
494
- optional :network, :string, 1
495
- optional :addr, :string, 2
496
- end
497
- add_message "lnrpc.RoutingPolicy" do
498
- optional :time_lock_delta, :uint32, 1
499
- optional :min_htlc, :int64, 2
500
- optional :fee_base_msat, :int64, 3
501
- optional :fee_rate_milli_msat, :int64, 4
502
- optional :disabled, :bool, 5
503
- optional :max_htlc_msat, :uint64, 6
504
- optional :last_update, :uint32, 7
505
- end
506
- add_message "lnrpc.ChannelEdge" do
507
- optional :channel_id, :uint64, 1
508
- optional :chan_point, :string, 2
509
- optional :last_update, :uint32, 3
510
- optional :node1_pub, :string, 4
511
- optional :node2_pub, :string, 5
512
- optional :capacity, :int64, 6
513
- optional :node1_policy, :message, 7, "lnrpc.RoutingPolicy"
514
- optional :node2_policy, :message, 8, "lnrpc.RoutingPolicy"
515
- end
516
- add_message "lnrpc.ChannelGraphRequest" do
517
- optional :include_unannounced, :bool, 1
518
- end
519
- add_message "lnrpc.ChannelGraph" do
520
- repeated :nodes, :message, 1, "lnrpc.LightningNode"
521
- repeated :edges, :message, 2, "lnrpc.ChannelEdge"
522
- end
523
- add_message "lnrpc.ChanInfoRequest" do
524
- optional :chan_id, :uint64, 1
525
- end
526
- add_message "lnrpc.NetworkInfoRequest" do
527
- end
528
- add_message "lnrpc.NetworkInfo" do
529
- optional :graph_diameter, :uint32, 1
530
- optional :avg_out_degree, :double, 2
531
- optional :max_out_degree, :uint32, 3
532
- optional :num_nodes, :uint32, 4
533
- optional :num_channels, :uint32, 5
534
- optional :total_network_capacity, :int64, 6
535
- optional :avg_channel_size, :double, 7
536
- optional :min_channel_size, :int64, 8
537
- optional :max_channel_size, :int64, 9
538
- optional :median_channel_size_sat, :int64, 10
539
- optional :num_zombie_chans, :uint64, 11
540
- end
541
- add_message "lnrpc.StopRequest" do
542
- end
543
- add_message "lnrpc.StopResponse" do
544
- end
545
- add_message "lnrpc.GraphTopologySubscription" do
546
- end
547
- add_message "lnrpc.GraphTopologyUpdate" do
548
- repeated :node_updates, :message, 1, "lnrpc.NodeUpdate"
549
- repeated :channel_updates, :message, 2, "lnrpc.ChannelEdgeUpdate"
550
- repeated :closed_chans, :message, 3, "lnrpc.ClosedChannelUpdate"
551
- end
552
- add_message "lnrpc.NodeUpdate" do
553
- repeated :addresses, :string, 1
554
- optional :identity_key, :string, 2
555
- optional :global_features, :bytes, 3
556
- optional :alias, :string, 4
557
- optional :color, :string, 5
558
- end
559
- add_message "lnrpc.ChannelEdgeUpdate" do
560
- optional :chan_id, :uint64, 1
561
- optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
562
- optional :capacity, :int64, 3
563
- optional :routing_policy, :message, 4, "lnrpc.RoutingPolicy"
564
- optional :advertising_node, :string, 5
565
- optional :connecting_node, :string, 6
566
- end
567
- add_message "lnrpc.ClosedChannelUpdate" do
568
- optional :chan_id, :uint64, 1
569
- optional :capacity, :int64, 2
570
- optional :closed_height, :uint32, 3
571
- optional :chan_point, :message, 4, "lnrpc.ChannelPoint"
572
- end
573
- add_message "lnrpc.HopHint" do
574
- optional :node_id, :string, 1
575
- optional :chan_id, :uint64, 2
576
- optional :fee_base_msat, :uint32, 3
577
- optional :fee_proportional_millionths, :uint32, 4
578
- optional :cltv_expiry_delta, :uint32, 5
579
- end
580
- add_message "lnrpc.RouteHint" do
581
- repeated :hop_hints, :message, 1, "lnrpc.HopHint"
582
- end
583
- add_message "lnrpc.Invoice" do
584
- optional :memo, :string, 1
585
- optional :receipt, :bytes, 2
586
- optional :r_preimage, :bytes, 3
587
- optional :r_hash, :bytes, 4
588
- optional :value, :int64, 5
589
- optional :settled, :bool, 6
590
- optional :creation_date, :int64, 7
591
- optional :settle_date, :int64, 8
592
- optional :payment_request, :string, 9
593
- optional :description_hash, :bytes, 10
594
- optional :expiry, :int64, 11
595
- optional :fallback_addr, :string, 12
596
- optional :cltv_expiry, :uint64, 13
597
- repeated :route_hints, :message, 14, "lnrpc.RouteHint"
598
- optional :private, :bool, 15
599
- optional :add_index, :uint64, 16
600
- optional :settle_index, :uint64, 17
601
- optional :amt_paid, :int64, 18
602
- optional :amt_paid_sat, :int64, 19
603
- optional :amt_paid_msat, :int64, 20
604
- optional :state, :enum, 21, "lnrpc.Invoice.InvoiceState"
605
- repeated :htlcs, :message, 22, "lnrpc.InvoiceHTLC"
606
- end
607
- add_enum "lnrpc.Invoice.InvoiceState" do
608
- value :OPEN, 0
609
- value :SETTLED, 1
610
- value :CANCELED, 2
611
- value :ACCEPTED, 3
612
- end
613
- add_message "lnrpc.InvoiceHTLC" do
614
- optional :chan_id, :uint64, 1
615
- optional :htlc_index, :uint64, 2
616
- optional :amt_msat, :uint64, 3
617
- optional :accept_height, :int32, 4
618
- optional :accept_time, :int64, 5
619
- optional :resolve_time, :int64, 6
620
- optional :expiry_height, :int32, 7
621
- optional :state, :enum, 8, "lnrpc.InvoiceHTLCState"
622
- end
623
- add_message "lnrpc.AddInvoiceResponse" do
624
- optional :r_hash, :bytes, 1
625
- optional :payment_request, :string, 2
626
- optional :add_index, :uint64, 16
627
- end
628
- add_message "lnrpc.PaymentHash" do
629
- optional :r_hash_str, :string, 1
630
- optional :r_hash, :bytes, 2
631
- end
632
- add_message "lnrpc.ListInvoiceRequest" do
633
- optional :pending_only, :bool, 1
634
- optional :index_offset, :uint64, 4
635
- optional :num_max_invoices, :uint64, 5
636
- optional :reversed, :bool, 6
637
- end
638
- add_message "lnrpc.ListInvoiceResponse" do
639
- repeated :invoices, :message, 1, "lnrpc.Invoice"
640
- optional :last_index_offset, :uint64, 2
641
- optional :first_index_offset, :uint64, 3
642
- end
643
- add_message "lnrpc.InvoiceSubscription" do
644
- optional :add_index, :uint64, 1
645
- optional :settle_index, :uint64, 2
646
- end
647
- add_message "lnrpc.Payment" do
648
- optional :payment_hash, :string, 1
649
- optional :value, :int64, 2
650
- optional :creation_date, :int64, 3
651
- repeated :path, :string, 4
652
- optional :fee, :int64, 5
653
- optional :payment_preimage, :string, 6
654
- optional :value_sat, :int64, 7
655
- optional :value_msat, :int64, 8
656
- optional :payment_request, :string, 9
657
- optional :status, :enum, 10, "lnrpc.Payment.PaymentStatus"
658
- optional :fee_sat, :int64, 11
659
- optional :fee_msat, :int64, 12
660
- end
661
- add_enum "lnrpc.Payment.PaymentStatus" do
662
- value :UNKNOWN, 0
663
- value :IN_FLIGHT, 1
664
- value :SUCCEEDED, 2
665
- value :FAILED, 3
666
- end
667
- add_message "lnrpc.ListPaymentsRequest" do
668
- optional :include_incomplete, :bool, 1
669
- end
670
- add_message "lnrpc.ListPaymentsResponse" do
671
- repeated :payments, :message, 1, "lnrpc.Payment"
672
- end
673
- add_message "lnrpc.DeleteAllPaymentsRequest" do
674
- end
675
- add_message "lnrpc.DeleteAllPaymentsResponse" do
676
- end
677
- add_message "lnrpc.AbandonChannelRequest" do
678
- optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
679
- end
680
- add_message "lnrpc.AbandonChannelResponse" do
681
- end
682
- add_message "lnrpc.DebugLevelRequest" do
683
- optional :show, :bool, 1
684
- optional :level_spec, :string, 2
685
- end
686
- add_message "lnrpc.DebugLevelResponse" do
687
- optional :sub_systems, :string, 1
688
- end
689
- add_message "lnrpc.PayReqString" do
690
- optional :pay_req, :string, 1
691
- end
692
- add_message "lnrpc.PayReq" do
693
- optional :destination, :string, 1
694
- optional :payment_hash, :string, 2
695
- optional :num_satoshis, :int64, 3
696
- optional :timestamp, :int64, 4
697
- optional :expiry, :int64, 5
698
- optional :description, :string, 6
699
- optional :description_hash, :string, 7
700
- optional :fallback_addr, :string, 8
701
- optional :cltv_expiry, :int64, 9
702
- repeated :route_hints, :message, 10, "lnrpc.RouteHint"
703
- end
704
- add_message "lnrpc.FeeReportRequest" do
705
- end
706
- add_message "lnrpc.ChannelFeeReport" do
707
- optional :chan_point, :string, 1
708
- optional :base_fee_msat, :int64, 2
709
- optional :fee_per_mil, :int64, 3
710
- optional :fee_rate, :double, 4
711
- end
712
- add_message "lnrpc.FeeReportResponse" do
713
- repeated :channel_fees, :message, 1, "lnrpc.ChannelFeeReport"
714
- optional :day_fee_sum, :uint64, 2
715
- optional :week_fee_sum, :uint64, 3
716
- optional :month_fee_sum, :uint64, 4
717
- end
718
- add_message "lnrpc.PolicyUpdateRequest" do
719
- optional :base_fee_msat, :int64, 3
720
- optional :fee_rate, :double, 4
721
- optional :time_lock_delta, :uint32, 5
722
- optional :max_htlc_msat, :uint64, 6
723
- oneof :scope do
724
- optional :global, :bool, 1
725
- optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
726
- end
727
- end
728
- add_message "lnrpc.PolicyUpdateResponse" do
729
- end
730
- add_message "lnrpc.ForwardingHistoryRequest" do
731
- optional :start_time, :uint64, 1
732
- optional :end_time, :uint64, 2
733
- optional :index_offset, :uint32, 3
734
- optional :num_max_events, :uint32, 4
735
- end
736
- add_message "lnrpc.ForwardingEvent" do
737
- optional :timestamp, :uint64, 1
738
- optional :chan_id_in, :uint64, 2
739
- optional :chan_id_out, :uint64, 4
740
- optional :amt_in, :uint64, 5
741
- optional :amt_out, :uint64, 6
742
- optional :fee, :uint64, 7
743
- optional :fee_msat, :uint64, 8
744
- end
745
- add_message "lnrpc.ForwardingHistoryResponse" do
746
- repeated :forwarding_events, :message, 1, "lnrpc.ForwardingEvent"
747
- optional :last_offset_index, :uint32, 2
748
- end
749
- add_message "lnrpc.ExportChannelBackupRequest" do
750
- optional :chan_point, :message, 1, "lnrpc.ChannelPoint"
751
- end
752
- add_message "lnrpc.ChannelBackup" do
753
- optional :chan_point, :message, 1, "lnrpc.ChannelPoint"
754
- optional :chan_backup, :bytes, 2
755
- end
756
- add_message "lnrpc.MultiChanBackup" do
757
- repeated :chan_points, :message, 1, "lnrpc.ChannelPoint"
758
- optional :multi_chan_backup, :bytes, 2
759
- end
760
- add_message "lnrpc.ChanBackupExportRequest" do
761
- end
762
- add_message "lnrpc.ChanBackupSnapshot" do
763
- optional :single_chan_backups, :message, 1, "lnrpc.ChannelBackups"
764
- optional :multi_chan_backup, :message, 2, "lnrpc.MultiChanBackup"
765
- end
766
- add_message "lnrpc.ChannelBackups" do
767
- repeated :chan_backups, :message, 1, "lnrpc.ChannelBackup"
768
- end
769
- add_message "lnrpc.RestoreChanBackupRequest" do
770
- oneof :backup do
771
- optional :chan_backups, :message, 1, "lnrpc.ChannelBackups"
772
- optional :multi_chan_backup, :bytes, 2
773
- end
774
- end
775
- add_message "lnrpc.RestoreBackupResponse" do
776
- end
777
- add_message "lnrpc.ChannelBackupSubscription" do
778
- end
779
- add_message "lnrpc.VerifyChanBackupResponse" do
780
- end
781
- add_enum "lnrpc.AddressType" do
782
- value :WITNESS_PUBKEY_HASH, 0
783
- value :NESTED_PUBKEY_HASH, 1
784
- value :UNUSED_WITNESS_PUBKEY_HASH, 2
785
- value :UNUSED_NESTED_PUBKEY_HASH, 3
786
- end
787
- add_enum "lnrpc.InvoiceHTLCState" do
788
- value :ACCEPTED, 0
789
- value :SETTLED, 1
790
- value :CANCELED, 2
791
- end
792
- end
793
-
794
- module Lnrpc
795
- GenSeedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedRequest").msgclass
796
- GenSeedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedResponse").msgclass
797
- InitWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletRequest").msgclass
798
- InitWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletResponse").msgclass
799
- UnlockWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletRequest").msgclass
800
- UnlockWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletResponse").msgclass
801
- ChangePasswordRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordRequest").msgclass
802
- ChangePasswordResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordResponse").msgclass
803
- Utxo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Utxo").msgclass
804
- Transaction = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Transaction").msgclass
805
- GetTransactionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetTransactionsRequest").msgclass
806
- TransactionDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TransactionDetails").msgclass
807
- FeeLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeLimit").msgclass
808
- SendRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendRequest").msgclass
809
- SendResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendResponse").msgclass
810
- SendToRouteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendToRouteRequest").msgclass
811
- ChannelAcceptRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelAcceptRequest").msgclass
812
- ChannelAcceptResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelAcceptResponse").msgclass
813
- ChannelPoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelPoint").msgclass
814
- OutPoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OutPoint").msgclass
815
- LightningAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningAddress").msgclass
816
- EstimateFeeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EstimateFeeRequest").msgclass
817
- EstimateFeeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EstimateFeeResponse").msgclass
818
- SendManyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyRequest").msgclass
819
- SendManyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyResponse").msgclass
820
- SendCoinsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsRequest").msgclass
821
- SendCoinsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsResponse").msgclass
822
- ListUnspentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListUnspentRequest").msgclass
823
- ListUnspentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListUnspentResponse").msgclass
824
- NewAddressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest").msgclass
825
- NewAddressResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressResponse").msgclass
826
- SignMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageRequest").msgclass
827
- SignMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageResponse").msgclass
828
- VerifyMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageRequest").msgclass
829
- VerifyMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageResponse").msgclass
830
- ConnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerRequest").msgclass
831
- ConnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerResponse").msgclass
832
- DisconnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerRequest").msgclass
833
- DisconnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerResponse").msgclass
834
- HTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLC").msgclass
835
- Channel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Channel").msgclass
836
- ListChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsRequest").msgclass
837
- ListChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsResponse").msgclass
838
- ChannelCloseSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary").msgclass
839
- ChannelCloseSummary::ClosureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary.ClosureType").enummodule
840
- ClosedChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsRequest").msgclass
841
- ClosedChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsResponse").msgclass
842
- Peer = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer").msgclass
843
- Peer::SyncType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer.SyncType").enummodule
844
- ListPeersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersRequest").msgclass
845
- ListPeersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersResponse").msgclass
846
- GetInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoRequest").msgclass
847
- GetInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoResponse").msgclass
848
- Chain = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Chain").msgclass
849
- ConfirmationUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConfirmationUpdate").msgclass
850
- ChannelOpenUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelOpenUpdate").msgclass
851
- ChannelCloseUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseUpdate").msgclass
852
- CloseChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseChannelRequest").msgclass
853
- CloseStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseStatusUpdate").msgclass
854
- PendingUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
855
- OpenChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
856
- OpenStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
857
- PendingHTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingHTLC").msgclass
858
- PendingChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsRequest").msgclass
859
- PendingChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse").msgclass
860
- PendingChannelsResponse::PendingChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingChannel").msgclass
861
- PendingChannelsResponse::PendingOpenChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingOpenChannel").msgclass
862
- PendingChannelsResponse::WaitingCloseChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.WaitingCloseChannel").msgclass
863
- PendingChannelsResponse::ClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ClosedChannel").msgclass
864
- PendingChannelsResponse::ForceClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ForceClosedChannel").msgclass
865
- ChannelEventSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEventSubscription").msgclass
866
- ChannelEventUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEventUpdate").msgclass
867
- ChannelEventUpdate::UpdateType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEventUpdate.UpdateType").enummodule
868
- WalletBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceRequest").msgclass
869
- WalletBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceResponse").msgclass
870
- ChannelBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceRequest").msgclass
871
- ChannelBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceResponse").msgclass
872
- QueryRoutesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesRequest").msgclass
873
- NodePair = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodePair").msgclass
874
- EdgeLocator = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EdgeLocator").msgclass
875
- QueryRoutesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesResponse").msgclass
876
- Hop = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Hop").msgclass
877
- Route = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Route").msgclass
878
- NodeInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfoRequest").msgclass
879
- NodeInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfo").msgclass
880
- LightningNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningNode").msgclass
881
- NodeAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeAddress").msgclass
882
- RoutingPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RoutingPolicy").msgclass
883
- ChannelEdge = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdge").msgclass
884
- ChannelGraphRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraphRequest").msgclass
885
- ChannelGraph = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraph").msgclass
886
- ChanInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanInfoRequest").msgclass
887
- NetworkInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfoRequest").msgclass
888
- NetworkInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfo").msgclass
889
- StopRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopRequest").msgclass
890
- StopResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopResponse").msgclass
891
- GraphTopologySubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologySubscription").msgclass
892
- GraphTopologyUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologyUpdate").msgclass
893
- NodeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeUpdate").msgclass
894
- ChannelEdgeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdgeUpdate").msgclass
895
- ClosedChannelUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelUpdate").msgclass
896
- HopHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HopHint").msgclass
897
- RouteHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RouteHint").msgclass
898
- Invoice = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice").msgclass
899
- Invoice::InvoiceState = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice.InvoiceState").enummodule
900
- InvoiceHTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLC").msgclass
901
- AddInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddInvoiceResponse").msgclass
902
- PaymentHash = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentHash").msgclass
903
- ListInvoiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceRequest").msgclass
904
- ListInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceResponse").msgclass
905
- InvoiceSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceSubscription").msgclass
906
- Payment = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment").msgclass
907
- Payment::PaymentStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment.PaymentStatus").enummodule
908
- ListPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
909
- ListPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
910
- DeleteAllPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
911
- DeleteAllPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsResponse").msgclass
912
- AbandonChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelRequest").msgclass
913
- AbandonChannelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelResponse").msgclass
914
- DebugLevelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelRequest").msgclass
915
- DebugLevelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelResponse").msgclass
916
- PayReqString = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReqString").msgclass
917
- PayReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReq").msgclass
918
- FeeReportRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportRequest").msgclass
919
- ChannelFeeReport = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
920
- FeeReportResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
921
- PolicyUpdateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateRequest").msgclass
922
- PolicyUpdateResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateResponse").msgclass
923
- ForwardingHistoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryRequest").msgclass
924
- ForwardingEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingEvent").msgclass
925
- ForwardingHistoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryResponse").msgclass
926
- ExportChannelBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ExportChannelBackupRequest").msgclass
927
- ChannelBackup = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackup").msgclass
928
- MultiChanBackup = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MultiChanBackup").msgclass
929
- ChanBackupExportRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanBackupExportRequest").msgclass
930
- ChanBackupSnapshot = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanBackupSnapshot").msgclass
931
- ChannelBackups = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackups").msgclass
932
- RestoreChanBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RestoreChanBackupRequest").msgclass
933
- RestoreBackupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RestoreBackupResponse").msgclass
934
- ChannelBackupSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackupSubscription").msgclass
935
- VerifyChanBackupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyChanBackupResponse").msgclass
936
- AddressType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddressType").enummodule
937
- InvoiceHTLCState = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLCState").enummodule
938
- end