lnrpc 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,726 @@
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.NewAddressResponse" do
113
+ optional :address, :string, 1
114
+ end
115
+ add_message "lnrpc.SignMessageRequest" do
116
+ optional :msg, :bytes, 1
117
+ end
118
+ add_message "lnrpc.SignMessageResponse" do
119
+ optional :signature, :string, 1
120
+ end
121
+ add_message "lnrpc.VerifyMessageRequest" do
122
+ optional :msg, :bytes, 1
123
+ optional :signature, :string, 2
124
+ end
125
+ add_message "lnrpc.VerifyMessageResponse" do
126
+ optional :valid, :bool, 1
127
+ optional :pubkey, :string, 2
128
+ end
129
+ add_message "lnrpc.ConnectPeerRequest" do
130
+ optional :addr, :message, 1, "lnrpc.LightningAddress"
131
+ optional :perm, :bool, 2
132
+ end
133
+ add_message "lnrpc.ConnectPeerResponse" do
134
+ end
135
+ add_message "lnrpc.DisconnectPeerRequest" do
136
+ optional :pub_key, :string, 1
137
+ end
138
+ add_message "lnrpc.DisconnectPeerResponse" do
139
+ end
140
+ add_message "lnrpc.HTLC" do
141
+ optional :incoming, :bool, 1
142
+ optional :amount, :int64, 2
143
+ optional :hash_lock, :bytes, 3
144
+ optional :expiration_height, :uint32, 4
145
+ end
146
+ add_message "lnrpc.Channel" do
147
+ optional :active, :bool, 1
148
+ optional :remote_pubkey, :string, 2
149
+ optional :channel_point, :string, 3
150
+ optional :chan_id, :uint64, 4
151
+ optional :capacity, :int64, 5
152
+ optional :local_balance, :int64, 6
153
+ optional :remote_balance, :int64, 7
154
+ optional :commit_fee, :int64, 8
155
+ optional :commit_weight, :int64, 9
156
+ optional :fee_per_kw, :int64, 10
157
+ optional :unsettled_balance, :int64, 11
158
+ optional :total_satoshis_sent, :int64, 12
159
+ optional :total_satoshis_received, :int64, 13
160
+ optional :num_updates, :uint64, 14
161
+ repeated :pending_htlcs, :message, 15, "lnrpc.HTLC"
162
+ optional :csv_delay, :uint32, 16
163
+ optional :private, :bool, 17
164
+ end
165
+ add_message "lnrpc.ListChannelsRequest" do
166
+ optional :active_only, :bool, 1
167
+ optional :inactive_only, :bool, 2
168
+ optional :public_only, :bool, 3
169
+ optional :private_only, :bool, 4
170
+ end
171
+ add_message "lnrpc.ListChannelsResponse" do
172
+ repeated :channels, :message, 11, "lnrpc.Channel"
173
+ end
174
+ add_message "lnrpc.ChannelCloseSummary" do
175
+ optional :channel_point, :string, 1
176
+ optional :chan_id, :uint64, 2
177
+ optional :chain_hash, :string, 3
178
+ optional :closing_tx_hash, :string, 4
179
+ optional :remote_pubkey, :string, 5
180
+ optional :capacity, :int64, 6
181
+ optional :close_height, :uint32, 7
182
+ optional :settled_balance, :int64, 8
183
+ optional :time_locked_balance, :int64, 9
184
+ optional :close_type, :enum, 10, "lnrpc.ChannelCloseSummary.ClosureType"
185
+ end
186
+ add_enum "lnrpc.ChannelCloseSummary.ClosureType" do
187
+ value :COOPERATIVE_CLOSE, 0
188
+ value :LOCAL_FORCE_CLOSE, 1
189
+ value :REMOTE_FORCE_CLOSE, 2
190
+ value :BREACH_CLOSE, 3
191
+ value :FUNDING_CANCELED, 4
192
+ value :ABANDONED, 5
193
+ end
194
+ add_message "lnrpc.ClosedChannelsRequest" do
195
+ optional :cooperative, :bool, 1
196
+ optional :local_force, :bool, 2
197
+ optional :remote_force, :bool, 3
198
+ optional :breach, :bool, 4
199
+ optional :funding_canceled, :bool, 5
200
+ optional :abandoned, :bool, 6
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
+ optional :min_confs, :int32, 11
277
+ optional :spend_unconfirmed, :bool, 12
278
+ end
279
+ add_message "lnrpc.OpenStatusUpdate" do
280
+ oneof :update do
281
+ optional :chan_pending, :message, 1, "lnrpc.PendingUpdate"
282
+ optional :confirmation, :message, 2, "lnrpc.ConfirmationUpdate"
283
+ optional :chan_open, :message, 3, "lnrpc.ChannelOpenUpdate"
284
+ end
285
+ end
286
+ add_message "lnrpc.PendingHTLC" do
287
+ optional :incoming, :bool, 1
288
+ optional :amount, :int64, 2
289
+ optional :outpoint, :string, 3
290
+ optional :maturity_height, :uint32, 4
291
+ optional :blocks_til_maturity, :int32, 5
292
+ optional :stage, :uint32, 6
293
+ end
294
+ add_message "lnrpc.PendingChannelsRequest" do
295
+ end
296
+ add_message "lnrpc.PendingChannelsResponse" do
297
+ optional :total_limbo_balance, :int64, 1
298
+ repeated :pending_open_channels, :message, 2, "lnrpc.PendingChannelsResponse.PendingOpenChannel"
299
+ repeated :pending_closing_channels, :message, 3, "lnrpc.PendingChannelsResponse.ClosedChannel"
300
+ repeated :pending_force_closing_channels, :message, 4, "lnrpc.PendingChannelsResponse.ForceClosedChannel"
301
+ repeated :waiting_close_channels, :message, 5, "lnrpc.PendingChannelsResponse.WaitingCloseChannel"
302
+ end
303
+ add_message "lnrpc.PendingChannelsResponse.PendingChannel" do
304
+ optional :remote_node_pub, :string, 1
305
+ optional :channel_point, :string, 2
306
+ optional :capacity, :int64, 3
307
+ optional :local_balance, :int64, 4
308
+ optional :remote_balance, :int64, 5
309
+ end
310
+ add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
311
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
312
+ optional :confirmation_height, :uint32, 2
313
+ optional :commit_fee, :int64, 4
314
+ optional :commit_weight, :int64, 5
315
+ optional :fee_per_kw, :int64, 6
316
+ end
317
+ add_message "lnrpc.PendingChannelsResponse.WaitingCloseChannel" do
318
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
319
+ optional :limbo_balance, :int64, 2
320
+ end
321
+ add_message "lnrpc.PendingChannelsResponse.ClosedChannel" do
322
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
323
+ optional :closing_txid, :string, 2
324
+ end
325
+ add_message "lnrpc.PendingChannelsResponse.ForceClosedChannel" do
326
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
327
+ optional :closing_txid, :string, 2
328
+ optional :limbo_balance, :int64, 3
329
+ optional :maturity_height, :uint32, 4
330
+ optional :blocks_til_maturity, :int32, 5
331
+ optional :recovered_balance, :int64, 6
332
+ repeated :pending_htlcs, :message, 8, "lnrpc.PendingHTLC"
333
+ end
334
+ add_message "lnrpc.WalletBalanceRequest" do
335
+ end
336
+ add_message "lnrpc.WalletBalanceResponse" do
337
+ optional :total_balance, :int64, 1
338
+ optional :confirmed_balance, :int64, 2
339
+ optional :unconfirmed_balance, :int64, 3
340
+ end
341
+ add_message "lnrpc.ChannelBalanceRequest" do
342
+ end
343
+ add_message "lnrpc.ChannelBalanceResponse" do
344
+ optional :balance, :int64, 1
345
+ optional :pending_open_balance, :int64, 2
346
+ end
347
+ add_message "lnrpc.QueryRoutesRequest" do
348
+ optional :pub_key, :string, 1
349
+ optional :amt, :int64, 2
350
+ optional :num_routes, :int32, 3
351
+ optional :final_cltv_delta, :int32, 4
352
+ optional :fee_limit, :message, 5, "lnrpc.FeeLimit"
353
+ end
354
+ add_message "lnrpc.QueryRoutesResponse" do
355
+ repeated :routes, :message, 1, "lnrpc.Route"
356
+ end
357
+ add_message "lnrpc.Hop" do
358
+ optional :chan_id, :uint64, 1
359
+ optional :chan_capacity, :int64, 2
360
+ optional :amt_to_forward, :int64, 3
361
+ optional :fee, :int64, 4
362
+ optional :expiry, :uint32, 5
363
+ optional :amt_to_forward_msat, :int64, 6
364
+ optional :fee_msat, :int64, 7
365
+ end
366
+ add_message "lnrpc.Route" do
367
+ optional :total_time_lock, :uint32, 1
368
+ optional :total_fees, :int64, 2
369
+ optional :total_amt, :int64, 3
370
+ repeated :hops, :message, 4, "lnrpc.Hop"
371
+ optional :total_fees_msat, :int64, 5
372
+ optional :total_amt_msat, :int64, 6
373
+ end
374
+ add_message "lnrpc.NodeInfoRequest" do
375
+ optional :pub_key, :string, 1
376
+ end
377
+ add_message "lnrpc.NodeInfo" do
378
+ optional :node, :message, 1, "lnrpc.LightningNode"
379
+ optional :num_channels, :uint32, 2
380
+ optional :total_capacity, :int64, 3
381
+ end
382
+ add_message "lnrpc.LightningNode" do
383
+ optional :last_update, :uint32, 1
384
+ optional :pub_key, :string, 2
385
+ optional :alias, :string, 3
386
+ repeated :addresses, :message, 4, "lnrpc.NodeAddress"
387
+ optional :color, :string, 5
388
+ end
389
+ add_message "lnrpc.NodeAddress" do
390
+ optional :network, :string, 1
391
+ optional :addr, :string, 2
392
+ end
393
+ add_message "lnrpc.RoutingPolicy" do
394
+ optional :time_lock_delta, :uint32, 1
395
+ optional :min_htlc, :int64, 2
396
+ optional :fee_base_msat, :int64, 3
397
+ optional :fee_rate_milli_msat, :int64, 4
398
+ optional :disabled, :bool, 5
399
+ end
400
+ add_message "lnrpc.ChannelEdge" do
401
+ optional :channel_id, :uint64, 1
402
+ optional :chan_point, :string, 2
403
+ optional :last_update, :uint32, 3
404
+ optional :node1_pub, :string, 4
405
+ optional :node2_pub, :string, 5
406
+ optional :capacity, :int64, 6
407
+ optional :node1_policy, :message, 7, "lnrpc.RoutingPolicy"
408
+ optional :node2_policy, :message, 8, "lnrpc.RoutingPolicy"
409
+ end
410
+ add_message "lnrpc.ChannelGraphRequest" do
411
+ optional :include_unannounced, :bool, 1
412
+ end
413
+ add_message "lnrpc.ChannelGraph" do
414
+ repeated :nodes, :message, 1, "lnrpc.LightningNode"
415
+ repeated :edges, :message, 2, "lnrpc.ChannelEdge"
416
+ end
417
+ add_message "lnrpc.ChanInfoRequest" do
418
+ optional :chan_id, :uint64, 1
419
+ end
420
+ add_message "lnrpc.NetworkInfoRequest" do
421
+ end
422
+ add_message "lnrpc.NetworkInfo" do
423
+ optional :graph_diameter, :uint32, 1
424
+ optional :avg_out_degree, :double, 2
425
+ optional :max_out_degree, :uint32, 3
426
+ optional :num_nodes, :uint32, 4
427
+ optional :num_channels, :uint32, 5
428
+ optional :total_network_capacity, :int64, 6
429
+ optional :avg_channel_size, :double, 7
430
+ optional :min_channel_size, :int64, 8
431
+ optional :max_channel_size, :int64, 9
432
+ end
433
+ add_message "lnrpc.StopRequest" do
434
+ end
435
+ add_message "lnrpc.StopResponse" do
436
+ end
437
+ add_message "lnrpc.GraphTopologySubscription" do
438
+ end
439
+ add_message "lnrpc.GraphTopologyUpdate" do
440
+ repeated :node_updates, :message, 1, "lnrpc.NodeUpdate"
441
+ repeated :channel_updates, :message, 2, "lnrpc.ChannelEdgeUpdate"
442
+ repeated :closed_chans, :message, 3, "lnrpc.ClosedChannelUpdate"
443
+ end
444
+ add_message "lnrpc.NodeUpdate" do
445
+ repeated :addresses, :string, 1
446
+ optional :identity_key, :string, 2
447
+ optional :global_features, :bytes, 3
448
+ optional :alias, :string, 4
449
+ end
450
+ add_message "lnrpc.ChannelEdgeUpdate" do
451
+ optional :chan_id, :uint64, 1
452
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
453
+ optional :capacity, :int64, 3
454
+ optional :routing_policy, :message, 4, "lnrpc.RoutingPolicy"
455
+ optional :advertising_node, :string, 5
456
+ optional :connecting_node, :string, 6
457
+ end
458
+ add_message "lnrpc.ClosedChannelUpdate" do
459
+ optional :chan_id, :uint64, 1
460
+ optional :capacity, :int64, 2
461
+ optional :closed_height, :uint32, 3
462
+ optional :chan_point, :message, 4, "lnrpc.ChannelPoint"
463
+ end
464
+ add_message "lnrpc.HopHint" do
465
+ optional :node_id, :string, 1
466
+ optional :chan_id, :uint64, 2
467
+ optional :fee_base_msat, :uint32, 3
468
+ optional :fee_proportional_millionths, :uint32, 4
469
+ optional :cltv_expiry_delta, :uint32, 5
470
+ end
471
+ add_message "lnrpc.RouteHint" do
472
+ repeated :hop_hints, :message, 1, "lnrpc.HopHint"
473
+ end
474
+ add_message "lnrpc.Invoice" do
475
+ optional :memo, :string, 1
476
+ optional :receipt, :bytes, 2
477
+ optional :r_preimage, :bytes, 3
478
+ optional :r_hash, :bytes, 4
479
+ optional :value, :int64, 5
480
+ optional :settled, :bool, 6
481
+ optional :creation_date, :int64, 7
482
+ optional :settle_date, :int64, 8
483
+ optional :payment_request, :string, 9
484
+ optional :description_hash, :bytes, 10
485
+ optional :expiry, :int64, 11
486
+ optional :fallback_addr, :string, 12
487
+ optional :cltv_expiry, :uint64, 13
488
+ repeated :route_hints, :message, 14, "lnrpc.RouteHint"
489
+ optional :private, :bool, 15
490
+ optional :add_index, :uint64, 16
491
+ optional :settle_index, :uint64, 17
492
+ optional :amt_paid, :int64, 18
493
+ optional :amt_paid_sat, :int64, 19
494
+ optional :amt_paid_msat, :int64, 20
495
+ end
496
+ add_message "lnrpc.AddInvoiceResponse" do
497
+ optional :r_hash, :bytes, 1
498
+ optional :payment_request, :string, 2
499
+ optional :add_index, :uint64, 16
500
+ end
501
+ add_message "lnrpc.PaymentHash" do
502
+ optional :r_hash_str, :string, 1
503
+ optional :r_hash, :bytes, 2
504
+ end
505
+ add_message "lnrpc.ListInvoiceRequest" do
506
+ optional :pending_only, :bool, 1
507
+ optional :index_offset, :uint64, 4
508
+ optional :num_max_invoices, :uint64, 5
509
+ optional :reversed, :bool, 6
510
+ end
511
+ add_message "lnrpc.ListInvoiceResponse" do
512
+ repeated :invoices, :message, 1, "lnrpc.Invoice"
513
+ optional :last_index_offset, :uint64, 2
514
+ optional :first_index_offset, :uint64, 3
515
+ end
516
+ add_message "lnrpc.InvoiceSubscription" do
517
+ optional :add_index, :uint64, 1
518
+ optional :settle_index, :uint64, 2
519
+ end
520
+ add_message "lnrpc.Payment" do
521
+ optional :payment_hash, :string, 1
522
+ optional :value, :int64, 2
523
+ optional :creation_date, :int64, 3
524
+ repeated :path, :string, 4
525
+ optional :fee, :int64, 5
526
+ optional :payment_preimage, :string, 6
527
+ optional :value_sat, :int64, 7
528
+ optional :value_msat, :int64, 8
529
+ end
530
+ add_message "lnrpc.ListPaymentsRequest" do
531
+ end
532
+ add_message "lnrpc.ListPaymentsResponse" do
533
+ repeated :payments, :message, 1, "lnrpc.Payment"
534
+ end
535
+ add_message "lnrpc.DeleteAllPaymentsRequest" do
536
+ end
537
+ add_message "lnrpc.DeleteAllPaymentsResponse" do
538
+ end
539
+ add_message "lnrpc.AbandonChannelRequest" do
540
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
541
+ end
542
+ add_message "lnrpc.AbandonChannelResponse" do
543
+ end
544
+ add_message "lnrpc.DebugLevelRequest" do
545
+ optional :show, :bool, 1
546
+ optional :level_spec, :string, 2
547
+ end
548
+ add_message "lnrpc.DebugLevelResponse" do
549
+ optional :sub_systems, :string, 1
550
+ end
551
+ add_message "lnrpc.PayReqString" do
552
+ optional :pay_req, :string, 1
553
+ end
554
+ add_message "lnrpc.PayReq" do
555
+ optional :destination, :string, 1
556
+ optional :payment_hash, :string, 2
557
+ optional :num_satoshis, :int64, 3
558
+ optional :timestamp, :int64, 4
559
+ optional :expiry, :int64, 5
560
+ optional :description, :string, 6
561
+ optional :description_hash, :string, 7
562
+ optional :fallback_addr, :string, 8
563
+ optional :cltv_expiry, :int64, 9
564
+ repeated :route_hints, :message, 10, "lnrpc.RouteHint"
565
+ end
566
+ add_message "lnrpc.FeeReportRequest" do
567
+ end
568
+ add_message "lnrpc.ChannelFeeReport" do
569
+ optional :chan_point, :string, 1
570
+ optional :base_fee_msat, :int64, 2
571
+ optional :fee_per_mil, :int64, 3
572
+ optional :fee_rate, :double, 4
573
+ end
574
+ add_message "lnrpc.FeeReportResponse" do
575
+ repeated :channel_fees, :message, 1, "lnrpc.ChannelFeeReport"
576
+ optional :day_fee_sum, :uint64, 2
577
+ optional :week_fee_sum, :uint64, 3
578
+ optional :month_fee_sum, :uint64, 4
579
+ end
580
+ add_message "lnrpc.PolicyUpdateRequest" do
581
+ optional :base_fee_msat, :int64, 3
582
+ optional :fee_rate, :double, 4
583
+ optional :time_lock_delta, :uint32, 5
584
+ oneof :scope do
585
+ optional :global, :bool, 1
586
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
587
+ end
588
+ end
589
+ add_message "lnrpc.PolicyUpdateResponse" do
590
+ end
591
+ add_message "lnrpc.ForwardingHistoryRequest" do
592
+ optional :start_time, :uint64, 1
593
+ optional :end_time, :uint64, 2
594
+ optional :index_offset, :uint32, 3
595
+ optional :num_max_events, :uint32, 4
596
+ end
597
+ add_message "lnrpc.ForwardingEvent" do
598
+ optional :timestamp, :uint64, 1
599
+ optional :chan_id_in, :uint64, 2
600
+ optional :chan_id_out, :uint64, 4
601
+ optional :amt_in, :uint64, 5
602
+ optional :amt_out, :uint64, 6
603
+ optional :fee, :uint64, 7
604
+ end
605
+ add_message "lnrpc.ForwardingHistoryResponse" do
606
+ repeated :forwarding_events, :message, 1, "lnrpc.ForwardingEvent"
607
+ optional :last_offset_index, :uint32, 2
608
+ end
609
+ end
610
+
611
+ module Lnrpc
612
+ GenSeedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedRequest").msgclass
613
+ GenSeedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedResponse").msgclass
614
+ InitWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletRequest").msgclass
615
+ InitWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletResponse").msgclass
616
+ UnlockWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletRequest").msgclass
617
+ UnlockWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletResponse").msgclass
618
+ ChangePasswordRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordRequest").msgclass
619
+ ChangePasswordResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordResponse").msgclass
620
+ Transaction = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Transaction").msgclass
621
+ GetTransactionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetTransactionsRequest").msgclass
622
+ TransactionDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TransactionDetails").msgclass
623
+ FeeLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeLimit").msgclass
624
+ SendRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendRequest").msgclass
625
+ SendResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendResponse").msgclass
626
+ SendToRouteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendToRouteRequest").msgclass
627
+ ChannelPoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelPoint").msgclass
628
+ LightningAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningAddress").msgclass
629
+ SendManyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyRequest").msgclass
630
+ SendManyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyResponse").msgclass
631
+ SendCoinsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsRequest").msgclass
632
+ SendCoinsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsResponse").msgclass
633
+ NewAddressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest").msgclass
634
+ NewAddressRequest::AddressType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest.AddressType").enummodule
635
+ NewAddressResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressResponse").msgclass
636
+ SignMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageRequest").msgclass
637
+ SignMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageResponse").msgclass
638
+ VerifyMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageRequest").msgclass
639
+ VerifyMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageResponse").msgclass
640
+ ConnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerRequest").msgclass
641
+ ConnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerResponse").msgclass
642
+ DisconnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerRequest").msgclass
643
+ DisconnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerResponse").msgclass
644
+ HTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLC").msgclass
645
+ Channel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Channel").msgclass
646
+ ListChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsRequest").msgclass
647
+ ListChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsResponse").msgclass
648
+ ChannelCloseSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary").msgclass
649
+ ChannelCloseSummary::ClosureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary.ClosureType").enummodule
650
+ ClosedChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsRequest").msgclass
651
+ ClosedChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsResponse").msgclass
652
+ Peer = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer").msgclass
653
+ ListPeersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersRequest").msgclass
654
+ ListPeersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersResponse").msgclass
655
+ GetInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoRequest").msgclass
656
+ GetInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoResponse").msgclass
657
+ ConfirmationUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConfirmationUpdate").msgclass
658
+ ChannelOpenUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelOpenUpdate").msgclass
659
+ ChannelCloseUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseUpdate").msgclass
660
+ CloseChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseChannelRequest").msgclass
661
+ CloseStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseStatusUpdate").msgclass
662
+ PendingUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
663
+ OpenChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
664
+ OpenStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
665
+ PendingHTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingHTLC").msgclass
666
+ PendingChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsRequest").msgclass
667
+ PendingChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse").msgclass
668
+ PendingChannelsResponse::PendingChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingChannel").msgclass
669
+ PendingChannelsResponse::PendingOpenChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingOpenChannel").msgclass
670
+ PendingChannelsResponse::WaitingCloseChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.WaitingCloseChannel").msgclass
671
+ PendingChannelsResponse::ClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ClosedChannel").msgclass
672
+ PendingChannelsResponse::ForceClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ForceClosedChannel").msgclass
673
+ WalletBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceRequest").msgclass
674
+ WalletBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceResponse").msgclass
675
+ ChannelBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceRequest").msgclass
676
+ ChannelBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceResponse").msgclass
677
+ QueryRoutesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesRequest").msgclass
678
+ QueryRoutesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesResponse").msgclass
679
+ Hop = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Hop").msgclass
680
+ Route = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Route").msgclass
681
+ NodeInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfoRequest").msgclass
682
+ NodeInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfo").msgclass
683
+ LightningNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningNode").msgclass
684
+ NodeAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeAddress").msgclass
685
+ RoutingPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RoutingPolicy").msgclass
686
+ ChannelEdge = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdge").msgclass
687
+ ChannelGraphRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraphRequest").msgclass
688
+ ChannelGraph = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraph").msgclass
689
+ ChanInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanInfoRequest").msgclass
690
+ NetworkInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfoRequest").msgclass
691
+ NetworkInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfo").msgclass
692
+ StopRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopRequest").msgclass
693
+ StopResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopResponse").msgclass
694
+ GraphTopologySubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologySubscription").msgclass
695
+ GraphTopologyUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologyUpdate").msgclass
696
+ NodeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeUpdate").msgclass
697
+ ChannelEdgeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdgeUpdate").msgclass
698
+ ClosedChannelUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelUpdate").msgclass
699
+ HopHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HopHint").msgclass
700
+ RouteHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RouteHint").msgclass
701
+ Invoice = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice").msgclass
702
+ AddInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddInvoiceResponse").msgclass
703
+ PaymentHash = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentHash").msgclass
704
+ ListInvoiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceRequest").msgclass
705
+ ListInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceResponse").msgclass
706
+ InvoiceSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceSubscription").msgclass
707
+ Payment = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment").msgclass
708
+ ListPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
709
+ ListPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
710
+ DeleteAllPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
711
+ DeleteAllPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsResponse").msgclass
712
+ AbandonChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelRequest").msgclass
713
+ AbandonChannelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelResponse").msgclass
714
+ DebugLevelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelRequest").msgclass
715
+ DebugLevelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelResponse").msgclass
716
+ PayReqString = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReqString").msgclass
717
+ PayReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReq").msgclass
718
+ FeeReportRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportRequest").msgclass
719
+ ChannelFeeReport = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
720
+ FeeReportResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
721
+ PolicyUpdateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateRequest").msgclass
722
+ PolicyUpdateResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateResponse").msgclass
723
+ ForwardingHistoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryRequest").msgclass
724
+ ForwardingEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingEvent").msgclass
725
+ ForwardingHistoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryResponse").msgclass
726
+ end