lightning_network 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rpc_pb.rb ADDED
@@ -0,0 +1,701 @@
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
+ end
22
+ add_message "lnrpc.InitWalletResponse" do
23
+ end
24
+ add_message "lnrpc.UnlockWalletRequest" do
25
+ optional :wallet_password, :bytes, 1
26
+ optional :recovery_window, :int32, 2
27
+ end
28
+ add_message "lnrpc.UnlockWalletResponse" do
29
+ end
30
+ add_message "lnrpc.ChangePasswordRequest" do
31
+ optional :current_password, :bytes, 1
32
+ optional :new_password, :bytes, 2
33
+ end
34
+ add_message "lnrpc.ChangePasswordResponse" do
35
+ end
36
+ add_message "lnrpc.Transaction" do
37
+ optional :tx_hash, :string, 1
38
+ optional :amount, :int64, 2
39
+ optional :num_confirmations, :int32, 3
40
+ optional :block_hash, :string, 4
41
+ optional :block_height, :int32, 5
42
+ optional :time_stamp, :int64, 6
43
+ optional :total_fees, :int64, 7
44
+ repeated :dest_addresses, :string, 8
45
+ end
46
+ add_message "lnrpc.GetTransactionsRequest" do
47
+ end
48
+ add_message "lnrpc.TransactionDetails" do
49
+ repeated :transactions, :message, 1, "lnrpc.Transaction"
50
+ end
51
+ add_message "lnrpc.FeeLimit" do
52
+ oneof :limit do
53
+ optional :fixed, :int64, 1
54
+ optional :percent, :int64, 2
55
+ end
56
+ end
57
+ add_message "lnrpc.SendRequest" do
58
+ optional :dest, :bytes, 1
59
+ optional :dest_string, :string, 2
60
+ optional :amt, :int64, 3
61
+ optional :payment_hash, :bytes, 4
62
+ optional :payment_hash_string, :string, 5
63
+ optional :payment_request, :string, 6
64
+ optional :final_cltv_delta, :int32, 7
65
+ optional :fee_limit, :message, 8, "lnrpc.FeeLimit"
66
+ end
67
+ add_message "lnrpc.SendResponse" do
68
+ optional :payment_error, :string, 1
69
+ optional :payment_preimage, :bytes, 2
70
+ optional :payment_route, :message, 3, "lnrpc.Route"
71
+ end
72
+ add_message "lnrpc.SendToRouteRequest" do
73
+ optional :payment_hash, :bytes, 1
74
+ optional :payment_hash_string, :string, 2
75
+ repeated :routes, :message, 3, "lnrpc.Route"
76
+ end
77
+ add_message "lnrpc.ChannelPoint" do
78
+ optional :output_index, :uint32, 3
79
+ oneof :funding_txid do
80
+ optional :funding_txid_bytes, :bytes, 1
81
+ optional :funding_txid_str, :string, 2
82
+ end
83
+ end
84
+ add_message "lnrpc.LightningAddress" do
85
+ optional :pubkey, :string, 1
86
+ optional :host, :string, 2
87
+ end
88
+ add_message "lnrpc.SendManyRequest" do
89
+ map :AddrToAmount, :string, :int64, 1
90
+ optional :target_conf, :int32, 3
91
+ optional :sat_per_byte, :int64, 5
92
+ end
93
+ add_message "lnrpc.SendManyResponse" do
94
+ optional :txid, :string, 1
95
+ end
96
+ add_message "lnrpc.SendCoinsRequest" do
97
+ optional :addr, :string, 1
98
+ optional :amount, :int64, 2
99
+ optional :target_conf, :int32, 3
100
+ optional :sat_per_byte, :int64, 5
101
+ end
102
+ add_message "lnrpc.SendCoinsResponse" do
103
+ optional :txid, :string, 1
104
+ end
105
+ add_message "lnrpc.NewAddressRequest" do
106
+ optional :type, :enum, 1, "lnrpc.NewAddressRequest.AddressType"
107
+ end
108
+ add_enum "lnrpc.NewAddressRequest.AddressType" do
109
+ value :WITNESS_PUBKEY_HASH, 0
110
+ value :NESTED_PUBKEY_HASH, 1
111
+ end
112
+ add_message "lnrpc.NewWitnessAddressRequest" do
113
+ end
114
+ add_message "lnrpc.NewAddressResponse" do
115
+ optional :address, :string, 1
116
+ end
117
+ add_message "lnrpc.SignMessageRequest" do
118
+ optional :msg, :bytes, 1
119
+ end
120
+ add_message "lnrpc.SignMessageResponse" do
121
+ optional :signature, :string, 1
122
+ end
123
+ add_message "lnrpc.VerifyMessageRequest" do
124
+ optional :msg, :bytes, 1
125
+ optional :signature, :string, 2
126
+ end
127
+ add_message "lnrpc.VerifyMessageResponse" do
128
+ optional :valid, :bool, 1
129
+ optional :pubkey, :string, 2
130
+ end
131
+ add_message "lnrpc.ConnectPeerRequest" do
132
+ optional :addr, :message, 1, "lnrpc.LightningAddress"
133
+ optional :perm, :bool, 2
134
+ end
135
+ add_message "lnrpc.ConnectPeerResponse" do
136
+ end
137
+ add_message "lnrpc.DisconnectPeerRequest" do
138
+ optional :pub_key, :string, 1
139
+ end
140
+ add_message "lnrpc.DisconnectPeerResponse" do
141
+ end
142
+ add_message "lnrpc.HTLC" do
143
+ optional :incoming, :bool, 1
144
+ optional :amount, :int64, 2
145
+ optional :hash_lock, :bytes, 3
146
+ optional :expiration_height, :uint32, 4
147
+ end
148
+ add_message "lnrpc.Channel" do
149
+ optional :active, :bool, 1
150
+ optional :remote_pubkey, :string, 2
151
+ optional :channel_point, :string, 3
152
+ optional :chan_id, :uint64, 4
153
+ optional :capacity, :int64, 5
154
+ optional :local_balance, :int64, 6
155
+ optional :remote_balance, :int64, 7
156
+ optional :commit_fee, :int64, 8
157
+ optional :commit_weight, :int64, 9
158
+ optional :fee_per_kw, :int64, 10
159
+ optional :unsettled_balance, :int64, 11
160
+ optional :total_satoshis_sent, :int64, 12
161
+ optional :total_satoshis_received, :int64, 13
162
+ optional :num_updates, :uint64, 14
163
+ repeated :pending_htlcs, :message, 15, "lnrpc.HTLC"
164
+ optional :csv_delay, :uint32, 16
165
+ optional :private, :bool, 17
166
+ end
167
+ add_message "lnrpc.ListChannelsRequest" do
168
+ optional :active_only, :bool, 1
169
+ optional :inactive_only, :bool, 2
170
+ optional :public_only, :bool, 3
171
+ optional :private_only, :bool, 4
172
+ end
173
+ add_message "lnrpc.ListChannelsResponse" do
174
+ repeated :channels, :message, 11, "lnrpc.Channel"
175
+ end
176
+ add_message "lnrpc.ChannelCloseSummary" do
177
+ optional :channel_point, :string, 1
178
+ optional :chan_id, :uint64, 2
179
+ optional :chain_hash, :string, 3
180
+ optional :closing_tx_hash, :string, 4
181
+ optional :remote_pubkey, :string, 5
182
+ optional :capacity, :int64, 6
183
+ optional :close_height, :uint32, 7
184
+ optional :settled_balance, :int64, 8
185
+ optional :time_locked_balance, :int64, 9
186
+ optional :close_type, :enum, 10, "lnrpc.ChannelCloseSummary.ClosureType"
187
+ end
188
+ add_enum "lnrpc.ChannelCloseSummary.ClosureType" do
189
+ value :COOPERATIVE_CLOSE, 0
190
+ value :LOCAL_FORCE_CLOSE, 1
191
+ value :REMOTE_FORCE_CLOSE, 2
192
+ value :BREACH_CLOSE, 3
193
+ value :FUNDING_CANCELED, 4
194
+ end
195
+ add_message "lnrpc.ClosedChannelsRequest" do
196
+ optional :cooperative, :bool, 1
197
+ optional :local_force, :bool, 2
198
+ optional :remote_force, :bool, 3
199
+ optional :breach, :bool, 4
200
+ optional :funding_canceled, :bool, 5
201
+ end
202
+ add_message "lnrpc.ClosedChannelsResponse" do
203
+ repeated :channels, :message, 1, "lnrpc.ChannelCloseSummary"
204
+ end
205
+ add_message "lnrpc.Peer" do
206
+ optional :pub_key, :string, 1
207
+ optional :address, :string, 3
208
+ optional :bytes_sent, :uint64, 4
209
+ optional :bytes_recv, :uint64, 5
210
+ optional :sat_sent, :int64, 6
211
+ optional :sat_recv, :int64, 7
212
+ optional :inbound, :bool, 8
213
+ optional :ping_time, :int64, 9
214
+ end
215
+ add_message "lnrpc.ListPeersRequest" do
216
+ end
217
+ add_message "lnrpc.ListPeersResponse" do
218
+ repeated :peers, :message, 1, "lnrpc.Peer"
219
+ end
220
+ add_message "lnrpc.GetInfoRequest" do
221
+ end
222
+ add_message "lnrpc.GetInfoResponse" do
223
+ optional :identity_pubkey, :string, 1
224
+ optional :alias, :string, 2
225
+ optional :num_pending_channels, :uint32, 3
226
+ optional :num_active_channels, :uint32, 4
227
+ optional :num_peers, :uint32, 5
228
+ optional :block_height, :uint32, 6
229
+ optional :block_hash, :string, 8
230
+ optional :synced_to_chain, :bool, 9
231
+ optional :testnet, :bool, 10
232
+ repeated :chains, :string, 11
233
+ repeated :uris, :string, 12
234
+ optional :best_header_timestamp, :int64, 13
235
+ optional :version, :string, 14
236
+ end
237
+ add_message "lnrpc.ConfirmationUpdate" do
238
+ optional :block_sha, :bytes, 1
239
+ optional :block_height, :int32, 2
240
+ optional :num_confs_left, :uint32, 3
241
+ end
242
+ add_message "lnrpc.ChannelOpenUpdate" do
243
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
244
+ end
245
+ add_message "lnrpc.ChannelCloseUpdate" do
246
+ optional :closing_txid, :bytes, 1
247
+ optional :success, :bool, 2
248
+ end
249
+ add_message "lnrpc.CloseChannelRequest" do
250
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
251
+ optional :force, :bool, 2
252
+ optional :target_conf, :int32, 3
253
+ optional :sat_per_byte, :int64, 4
254
+ end
255
+ add_message "lnrpc.CloseStatusUpdate" do
256
+ oneof :update do
257
+ optional :close_pending, :message, 1, "lnrpc.PendingUpdate"
258
+ optional :confirmation, :message, 2, "lnrpc.ConfirmationUpdate"
259
+ optional :chan_close, :message, 3, "lnrpc.ChannelCloseUpdate"
260
+ end
261
+ end
262
+ add_message "lnrpc.PendingUpdate" do
263
+ optional :txid, :bytes, 1
264
+ optional :output_index, :uint32, 2
265
+ end
266
+ add_message "lnrpc.OpenChannelRequest" do
267
+ optional :node_pubkey, :bytes, 2
268
+ optional :node_pubkey_string, :string, 3
269
+ optional :local_funding_amount, :int64, 4
270
+ optional :push_sat, :int64, 5
271
+ optional :target_conf, :int32, 6
272
+ optional :sat_per_byte, :int64, 7
273
+ optional :private, :bool, 8
274
+ optional :min_htlc_msat, :int64, 9
275
+ optional :remote_csv_delay, :uint32, 10
276
+ end
277
+ add_message "lnrpc.OpenStatusUpdate" do
278
+ oneof :update do
279
+ optional :chan_pending, :message, 1, "lnrpc.PendingUpdate"
280
+ optional :confirmation, :message, 2, "lnrpc.ConfirmationUpdate"
281
+ optional :chan_open, :message, 3, "lnrpc.ChannelOpenUpdate"
282
+ end
283
+ end
284
+ add_message "lnrpc.PendingHTLC" do
285
+ optional :incoming, :bool, 1
286
+ optional :amount, :int64, 2
287
+ optional :outpoint, :string, 3
288
+ optional :maturity_height, :uint32, 4
289
+ optional :blocks_til_maturity, :int32, 5
290
+ optional :stage, :uint32, 6
291
+ end
292
+ add_message "lnrpc.PendingChannelsRequest" do
293
+ end
294
+ add_message "lnrpc.PendingChannelsResponse" do
295
+ optional :total_limbo_balance, :int64, 1
296
+ repeated :pending_open_channels, :message, 2, "lnrpc.PendingChannelsResponse.PendingOpenChannel"
297
+ repeated :pending_closing_channels, :message, 3, "lnrpc.PendingChannelsResponse.ClosedChannel"
298
+ repeated :pending_force_closing_channels, :message, 4, "lnrpc.PendingChannelsResponse.ForceClosedChannel"
299
+ repeated :waiting_close_channels, :message, 5, "lnrpc.PendingChannelsResponse.WaitingCloseChannel"
300
+ end
301
+ add_message "lnrpc.PendingChannelsResponse.PendingChannel" do
302
+ optional :remote_node_pub, :string, 1
303
+ optional :channel_point, :string, 2
304
+ optional :capacity, :int64, 3
305
+ optional :local_balance, :int64, 4
306
+ optional :remote_balance, :int64, 5
307
+ end
308
+ add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
309
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
310
+ optional :confirmation_height, :uint32, 2
311
+ optional :commit_fee, :int64, 4
312
+ optional :commit_weight, :int64, 5
313
+ optional :fee_per_kw, :int64, 6
314
+ end
315
+ add_message "lnrpc.PendingChannelsResponse.WaitingCloseChannel" do
316
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
317
+ optional :limbo_balance, :int64, 2
318
+ end
319
+ add_message "lnrpc.PendingChannelsResponse.ClosedChannel" do
320
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
321
+ optional :closing_txid, :string, 2
322
+ end
323
+ add_message "lnrpc.PendingChannelsResponse.ForceClosedChannel" do
324
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
325
+ optional :closing_txid, :string, 2
326
+ optional :limbo_balance, :int64, 3
327
+ optional :maturity_height, :uint32, 4
328
+ optional :blocks_til_maturity, :int32, 5
329
+ optional :recovered_balance, :int64, 6
330
+ repeated :pending_htlcs, :message, 8, "lnrpc.PendingHTLC"
331
+ end
332
+ add_message "lnrpc.WalletBalanceRequest" do
333
+ end
334
+ add_message "lnrpc.WalletBalanceResponse" do
335
+ optional :total_balance, :int64, 1
336
+ optional :confirmed_balance, :int64, 2
337
+ optional :unconfirmed_balance, :int64, 3
338
+ end
339
+ add_message "lnrpc.ChannelBalanceRequest" do
340
+ end
341
+ add_message "lnrpc.ChannelBalanceResponse" do
342
+ optional :balance, :int64, 1
343
+ optional :pending_open_balance, :int64, 2
344
+ end
345
+ add_message "lnrpc.QueryRoutesRequest" do
346
+ optional :pub_key, :string, 1
347
+ optional :amt, :int64, 2
348
+ optional :num_routes, :int32, 3
349
+ optional :final_cltv_delta, :int32, 4
350
+ optional :fee_limit, :message, 5, "lnrpc.FeeLimit"
351
+ end
352
+ add_message "lnrpc.QueryRoutesResponse" do
353
+ repeated :routes, :message, 1, "lnrpc.Route"
354
+ end
355
+ add_message "lnrpc.Hop" do
356
+ optional :chan_id, :uint64, 1
357
+ optional :chan_capacity, :int64, 2
358
+ optional :amt_to_forward, :int64, 3
359
+ optional :fee, :int64, 4
360
+ optional :expiry, :uint32, 5
361
+ optional :amt_to_forward_msat, :int64, 6
362
+ optional :fee_msat, :int64, 7
363
+ end
364
+ add_message "lnrpc.Route" do
365
+ optional :total_time_lock, :uint32, 1
366
+ optional :total_fees, :int64, 2
367
+ optional :total_amt, :int64, 3
368
+ repeated :hops, :message, 4, "lnrpc.Hop"
369
+ optional :total_fees_msat, :int64, 5
370
+ optional :total_amt_msat, :int64, 6
371
+ end
372
+ add_message "lnrpc.NodeInfoRequest" do
373
+ optional :pub_key, :string, 1
374
+ end
375
+ add_message "lnrpc.NodeInfo" do
376
+ optional :node, :message, 1, "lnrpc.LightningNode"
377
+ optional :num_channels, :uint32, 2
378
+ optional :total_capacity, :int64, 3
379
+ end
380
+ add_message "lnrpc.LightningNode" do
381
+ optional :last_update, :uint32, 1
382
+ optional :pub_key, :string, 2
383
+ optional :alias, :string, 3
384
+ repeated :addresses, :message, 4, "lnrpc.NodeAddress"
385
+ optional :color, :string, 5
386
+ end
387
+ add_message "lnrpc.NodeAddress" do
388
+ optional :network, :string, 1
389
+ optional :addr, :string, 2
390
+ end
391
+ add_message "lnrpc.RoutingPolicy" do
392
+ optional :time_lock_delta, :uint32, 1
393
+ optional :min_htlc, :int64, 2
394
+ optional :fee_base_msat, :int64, 3
395
+ optional :fee_rate_milli_msat, :int64, 4
396
+ end
397
+ add_message "lnrpc.ChannelEdge" do
398
+ optional :channel_id, :uint64, 1
399
+ optional :chan_point, :string, 2
400
+ optional :last_update, :uint32, 3
401
+ optional :node1_pub, :string, 4
402
+ optional :node2_pub, :string, 5
403
+ optional :capacity, :int64, 6
404
+ optional :node1_policy, :message, 7, "lnrpc.RoutingPolicy"
405
+ optional :node2_policy, :message, 8, "lnrpc.RoutingPolicy"
406
+ end
407
+ add_message "lnrpc.ChannelGraphRequest" do
408
+ end
409
+ add_message "lnrpc.ChannelGraph" do
410
+ repeated :nodes, :message, 1, "lnrpc.LightningNode"
411
+ repeated :edges, :message, 2, "lnrpc.ChannelEdge"
412
+ end
413
+ add_message "lnrpc.ChanInfoRequest" do
414
+ optional :chan_id, :uint64, 1
415
+ end
416
+ add_message "lnrpc.NetworkInfoRequest" do
417
+ end
418
+ add_message "lnrpc.NetworkInfo" do
419
+ optional :graph_diameter, :uint32, 1
420
+ optional :avg_out_degree, :double, 2
421
+ optional :max_out_degree, :uint32, 3
422
+ optional :num_nodes, :uint32, 4
423
+ optional :num_channels, :uint32, 5
424
+ optional :total_network_capacity, :int64, 6
425
+ optional :avg_channel_size, :double, 7
426
+ optional :min_channel_size, :int64, 8
427
+ optional :max_channel_size, :int64, 9
428
+ end
429
+ add_message "lnrpc.StopRequest" do
430
+ end
431
+ add_message "lnrpc.StopResponse" do
432
+ end
433
+ add_message "lnrpc.GraphTopologySubscription" do
434
+ end
435
+ add_message "lnrpc.GraphTopologyUpdate" do
436
+ repeated :node_updates, :message, 1, "lnrpc.NodeUpdate"
437
+ repeated :channel_updates, :message, 2, "lnrpc.ChannelEdgeUpdate"
438
+ repeated :closed_chans, :message, 3, "lnrpc.ClosedChannelUpdate"
439
+ end
440
+ add_message "lnrpc.NodeUpdate" do
441
+ repeated :addresses, :string, 1
442
+ optional :identity_key, :string, 2
443
+ optional :global_features, :bytes, 3
444
+ optional :alias, :string, 4
445
+ end
446
+ add_message "lnrpc.ChannelEdgeUpdate" do
447
+ optional :chan_id, :uint64, 1
448
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
449
+ optional :capacity, :int64, 3
450
+ optional :routing_policy, :message, 4, "lnrpc.RoutingPolicy"
451
+ optional :advertising_node, :string, 5
452
+ optional :connecting_node, :string, 6
453
+ end
454
+ add_message "lnrpc.ClosedChannelUpdate" do
455
+ optional :chan_id, :uint64, 1
456
+ optional :capacity, :int64, 2
457
+ optional :closed_height, :uint32, 3
458
+ optional :chan_point, :message, 4, "lnrpc.ChannelPoint"
459
+ end
460
+ add_message "lnrpc.HopHint" do
461
+ optional :node_id, :string, 1
462
+ optional :chan_id, :uint64, 2
463
+ optional :fee_base_msat, :uint32, 3
464
+ optional :fee_proportional_millionths, :uint32, 4
465
+ optional :cltv_expiry_delta, :uint32, 5
466
+ end
467
+ add_message "lnrpc.RouteHint" do
468
+ repeated :hop_hints, :message, 1, "lnrpc.HopHint"
469
+ end
470
+ add_message "lnrpc.Invoice" do
471
+ optional :memo, :string, 1
472
+ optional :receipt, :bytes, 2
473
+ optional :r_preimage, :bytes, 3
474
+ optional :r_hash, :bytes, 4
475
+ optional :value, :int64, 5
476
+ optional :settled, :bool, 6
477
+ optional :creation_date, :int64, 7
478
+ optional :settle_date, :int64, 8
479
+ optional :payment_request, :string, 9
480
+ optional :description_hash, :bytes, 10
481
+ optional :expiry, :int64, 11
482
+ optional :fallback_addr, :string, 12
483
+ optional :cltv_expiry, :uint64, 13
484
+ repeated :route_hints, :message, 14, "lnrpc.RouteHint"
485
+ optional :private, :bool, 15
486
+ end
487
+ add_message "lnrpc.AddInvoiceResponse" do
488
+ optional :r_hash, :bytes, 1
489
+ optional :payment_request, :string, 2
490
+ end
491
+ add_message "lnrpc.PaymentHash" do
492
+ optional :r_hash_str, :string, 1
493
+ optional :r_hash, :bytes, 2
494
+ end
495
+ add_message "lnrpc.ListInvoiceRequest" do
496
+ optional :pending_only, :bool, 1
497
+ end
498
+ add_message "lnrpc.ListInvoiceResponse" do
499
+ repeated :invoices, :message, 1, "lnrpc.Invoice"
500
+ end
501
+ add_message "lnrpc.InvoiceSubscription" do
502
+ end
503
+ add_message "lnrpc.Payment" do
504
+ optional :payment_hash, :string, 1
505
+ optional :value, :int64, 2
506
+ optional :creation_date, :int64, 3
507
+ repeated :path, :string, 4
508
+ optional :fee, :int64, 5
509
+ optional :payment_preimage, :string, 6
510
+ end
511
+ add_message "lnrpc.ListPaymentsRequest" do
512
+ end
513
+ add_message "lnrpc.ListPaymentsResponse" do
514
+ repeated :payments, :message, 1, "lnrpc.Payment"
515
+ end
516
+ add_message "lnrpc.DeleteAllPaymentsRequest" do
517
+ end
518
+ add_message "lnrpc.DeleteAllPaymentsResponse" do
519
+ end
520
+ add_message "lnrpc.DebugLevelRequest" do
521
+ optional :show, :bool, 1
522
+ optional :level_spec, :string, 2
523
+ end
524
+ add_message "lnrpc.DebugLevelResponse" do
525
+ optional :sub_systems, :string, 1
526
+ end
527
+ add_message "lnrpc.PayReqString" do
528
+ optional :pay_req, :string, 1
529
+ end
530
+ add_message "lnrpc.PayReq" do
531
+ optional :destination, :string, 1
532
+ optional :payment_hash, :string, 2
533
+ optional :num_satoshis, :int64, 3
534
+ optional :timestamp, :int64, 4
535
+ optional :expiry, :int64, 5
536
+ optional :description, :string, 6
537
+ optional :description_hash, :string, 7
538
+ optional :fallback_addr, :string, 8
539
+ optional :cltv_expiry, :int64, 9
540
+ repeated :route_hints, :message, 10, "lnrpc.RouteHint"
541
+ end
542
+ add_message "lnrpc.FeeReportRequest" do
543
+ end
544
+ add_message "lnrpc.ChannelFeeReport" do
545
+ optional :chan_point, :string, 1
546
+ optional :base_fee_msat, :int64, 2
547
+ optional :fee_per_mil, :int64, 3
548
+ optional :fee_rate, :double, 4
549
+ end
550
+ add_message "lnrpc.FeeReportResponse" do
551
+ repeated :channel_fees, :message, 1, "lnrpc.ChannelFeeReport"
552
+ optional :day_fee_sum, :uint64, 2
553
+ optional :week_fee_sum, :uint64, 3
554
+ optional :month_fee_sum, :uint64, 4
555
+ end
556
+ add_message "lnrpc.PolicyUpdateRequest" do
557
+ optional :base_fee_msat, :int64, 3
558
+ optional :fee_rate, :double, 4
559
+ optional :time_lock_delta, :uint32, 5
560
+ oneof :scope do
561
+ optional :global, :bool, 1
562
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
563
+ end
564
+ end
565
+ add_message "lnrpc.PolicyUpdateResponse" do
566
+ end
567
+ add_message "lnrpc.ForwardingHistoryRequest" do
568
+ optional :start_time, :uint64, 1
569
+ optional :end_time, :uint64, 2
570
+ optional :index_offset, :uint32, 3
571
+ optional :num_max_events, :uint32, 4
572
+ end
573
+ add_message "lnrpc.ForwardingEvent" do
574
+ optional :timestamp, :uint64, 1
575
+ optional :chan_id_in, :uint64, 2
576
+ optional :chan_id_out, :uint64, 4
577
+ optional :amt_in, :uint64, 5
578
+ optional :amt_out, :uint64, 6
579
+ optional :fee, :uint64, 7
580
+ end
581
+ add_message "lnrpc.ForwardingHistoryResponse" do
582
+ repeated :forwarding_events, :message, 1, "lnrpc.ForwardingEvent"
583
+ optional :last_offset_index, :uint32, 2
584
+ end
585
+ end
586
+
587
+ module Lnrpc
588
+ GenSeedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedRequest").msgclass
589
+ GenSeedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedResponse").msgclass
590
+ InitWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletRequest").msgclass
591
+ InitWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletResponse").msgclass
592
+ UnlockWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletRequest").msgclass
593
+ UnlockWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletResponse").msgclass
594
+ ChangePasswordRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordRequest").msgclass
595
+ ChangePasswordResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordResponse").msgclass
596
+ Transaction = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Transaction").msgclass
597
+ GetTransactionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetTransactionsRequest").msgclass
598
+ TransactionDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TransactionDetails").msgclass
599
+ FeeLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeLimit").msgclass
600
+ SendRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendRequest").msgclass
601
+ SendResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendResponse").msgclass
602
+ SendToRouteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendToRouteRequest").msgclass
603
+ ChannelPoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelPoint").msgclass
604
+ LightningAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningAddress").msgclass
605
+ SendManyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyRequest").msgclass
606
+ SendManyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyResponse").msgclass
607
+ SendCoinsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsRequest").msgclass
608
+ SendCoinsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsResponse").msgclass
609
+ NewAddressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest").msgclass
610
+ NewAddressRequest::AddressType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest.AddressType").enummodule
611
+ NewWitnessAddressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewWitnessAddressRequest").msgclass
612
+ NewAddressResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressResponse").msgclass
613
+ SignMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageRequest").msgclass
614
+ SignMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageResponse").msgclass
615
+ VerifyMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageRequest").msgclass
616
+ VerifyMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageResponse").msgclass
617
+ ConnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerRequest").msgclass
618
+ ConnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerResponse").msgclass
619
+ DisconnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerRequest").msgclass
620
+ DisconnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerResponse").msgclass
621
+ HTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLC").msgclass
622
+ Channel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Channel").msgclass
623
+ ListChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsRequest").msgclass
624
+ ListChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsResponse").msgclass
625
+ ChannelCloseSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary").msgclass
626
+ ChannelCloseSummary::ClosureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary.ClosureType").enummodule
627
+ ClosedChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsRequest").msgclass
628
+ ClosedChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsResponse").msgclass
629
+ Peer = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer").msgclass
630
+ ListPeersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersRequest").msgclass
631
+ ListPeersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersResponse").msgclass
632
+ GetInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoRequest").msgclass
633
+ GetInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoResponse").msgclass
634
+ ConfirmationUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConfirmationUpdate").msgclass
635
+ ChannelOpenUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelOpenUpdate").msgclass
636
+ ChannelCloseUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseUpdate").msgclass
637
+ CloseChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseChannelRequest").msgclass
638
+ CloseStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseStatusUpdate").msgclass
639
+ PendingUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
640
+ OpenChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
641
+ OpenStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
642
+ PendingHTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingHTLC").msgclass
643
+ PendingChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsRequest").msgclass
644
+ PendingChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse").msgclass
645
+ PendingChannelsResponse::PendingChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingChannel").msgclass
646
+ PendingChannelsResponse::PendingOpenChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingOpenChannel").msgclass
647
+ PendingChannelsResponse::WaitingCloseChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.WaitingCloseChannel").msgclass
648
+ PendingChannelsResponse::ClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ClosedChannel").msgclass
649
+ PendingChannelsResponse::ForceClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ForceClosedChannel").msgclass
650
+ WalletBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceRequest").msgclass
651
+ WalletBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceResponse").msgclass
652
+ ChannelBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceRequest").msgclass
653
+ ChannelBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceResponse").msgclass
654
+ QueryRoutesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesRequest").msgclass
655
+ QueryRoutesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesResponse").msgclass
656
+ Hop = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Hop").msgclass
657
+ Route = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Route").msgclass
658
+ NodeInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfoRequest").msgclass
659
+ NodeInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfo").msgclass
660
+ LightningNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningNode").msgclass
661
+ NodeAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeAddress").msgclass
662
+ RoutingPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RoutingPolicy").msgclass
663
+ ChannelEdge = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdge").msgclass
664
+ ChannelGraphRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraphRequest").msgclass
665
+ ChannelGraph = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraph").msgclass
666
+ ChanInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanInfoRequest").msgclass
667
+ NetworkInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfoRequest").msgclass
668
+ NetworkInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfo").msgclass
669
+ StopRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopRequest").msgclass
670
+ StopResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopResponse").msgclass
671
+ GraphTopologySubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologySubscription").msgclass
672
+ GraphTopologyUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologyUpdate").msgclass
673
+ NodeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeUpdate").msgclass
674
+ ChannelEdgeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdgeUpdate").msgclass
675
+ ClosedChannelUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelUpdate").msgclass
676
+ HopHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HopHint").msgclass
677
+ RouteHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RouteHint").msgclass
678
+ Invoice = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice").msgclass
679
+ AddInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddInvoiceResponse").msgclass
680
+ PaymentHash = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentHash").msgclass
681
+ ListInvoiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceRequest").msgclass
682
+ ListInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceResponse").msgclass
683
+ InvoiceSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceSubscription").msgclass
684
+ Payment = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment").msgclass
685
+ ListPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
686
+ ListPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
687
+ DeleteAllPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
688
+ DeleteAllPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsResponse").msgclass
689
+ DebugLevelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelRequest").msgclass
690
+ DebugLevelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelResponse").msgclass
691
+ PayReqString = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReqString").msgclass
692
+ PayReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReq").msgclass
693
+ FeeReportRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportRequest").msgclass
694
+ ChannelFeeReport = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
695
+ FeeReportResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
696
+ PolicyUpdateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateRequest").msgclass
697
+ PolicyUpdateResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateResponse").msgclass
698
+ ForwardingHistoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryRequest").msgclass
699
+ ForwardingEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingEvent").msgclass
700
+ ForwardingHistoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryResponse").msgclass
701
+ end