lnrpc 0.14.3.1 → 0.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +1 -1
- data/examples.rb +18 -1
- data/generate-grpc-service-files.sh +1 -1
- data/lib/grpc_services/chainrpc/chainnotifier_services_pb.rb +5 -3
- data/lib/grpc_services/devrpc/dev_pb.rb +17 -0
- data/lib/grpc_services/devrpc/dev_services_pb.rb +25 -0
- data/lib/grpc_services/invoicesrpc/invoices_pb.rb +1 -1
- data/lib/grpc_services/{rpc_pb.rb → lightning_pb.rb} +215 -7
- data/lib/grpc_services/{rpc_services_pb.rb → lightning_services_pb.rb} +49 -5
- data/lib/grpc_services/neutrinorpc/neutrino_pb.rb +106 -0
- data/lib/grpc_services/neutrinorpc/neutrino_services_pb.rb +51 -0
- data/lib/grpc_services/peersrpc/peers_pb.rb +48 -0
- data/lib/grpc_services/peersrpc/peers_services_pb.rb +27 -0
- data/lib/grpc_services/routerrpc/router_pb.rb +5 -1
- data/lib/grpc_services/signrpc/signer_pb.rb +86 -0
- data/lib/grpc_services/signrpc/signer_services_pb.rb +67 -2
- data/lib/grpc_services/stateservice_pb.rb +35 -0
- data/lib/grpc_services/stateservice_services_pb.rb +46 -0
- data/lib/grpc_services/walletrpc/walletkit_pb.rb +13 -1
- data/lib/grpc_services/walletrpc/walletkit_services_pb.rb +8 -1
- data/lib/grpc_services/walletunlocker_pb.rb +1 -1
- data/lib/lnrpc/client.rb +2 -2
- data/lib/lnrpc/version.rb +1 -1
- metadata +16 -8
@@ -1,10 +1,24 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source:
|
2
|
+
# source: lightning.proto
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("
|
7
|
+
add_file("lightning.proto", :syntax => :proto3) do
|
8
|
+
add_message "lnrpc.SubscribeCustomMessagesRequest" do
|
9
|
+
end
|
10
|
+
add_message "lnrpc.CustomMessage" do
|
11
|
+
optional :peer, :bytes, 1
|
12
|
+
optional :type, :uint32, 2
|
13
|
+
optional :data, :bytes, 3
|
14
|
+
end
|
15
|
+
add_message "lnrpc.SendCustomMessageRequest" do
|
16
|
+
optional :peer, :bytes, 1
|
17
|
+
optional :type, :uint32, 2
|
18
|
+
optional :data, :bytes, 3
|
19
|
+
end
|
20
|
+
add_message "lnrpc.SendCustomMessageResponse" do
|
21
|
+
end
|
8
22
|
add_message "lnrpc.Utxo" do
|
9
23
|
optional :address_type, :enum, 1, "lnrpc.AddressType"
|
10
24
|
optional :address, :string, 2
|
@@ -13,6 +27,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
13
27
|
optional :outpoint, :message, 5, "lnrpc.OutPoint"
|
14
28
|
optional :confirmations, :int64, 6
|
15
29
|
end
|
30
|
+
add_message "lnrpc.OutputDetail" do
|
31
|
+
optional :output_type, :enum, 1, "lnrpc.OutputScriptType"
|
32
|
+
optional :address, :string, 2
|
33
|
+
optional :pk_script, :string, 3
|
34
|
+
optional :output_index, :int64, 4
|
35
|
+
optional :amount, :int64, 5
|
36
|
+
optional :is_our_address, :bool, 6
|
37
|
+
end
|
16
38
|
add_message "lnrpc.Transaction" do
|
17
39
|
optional :tx_hash, :string, 1
|
18
40
|
optional :amount, :int64, 2
|
@@ -22,8 +44,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
44
|
optional :time_stamp, :int64, 6
|
23
45
|
optional :total_fees, :int64, 7
|
24
46
|
repeated :dest_addresses, :string, 8
|
47
|
+
repeated :output_details, :message, 11, "lnrpc.OutputDetail"
|
25
48
|
optional :raw_tx_hex, :string, 9
|
26
49
|
optional :label, :string, 10
|
50
|
+
repeated :previous_outpoints, :message, 12, "lnrpc.PreviousOutPoint"
|
27
51
|
end
|
28
52
|
add_message "lnrpc.GetTransactionsRequest" do
|
29
53
|
optional :start_height, :int32, 1
|
@@ -83,6 +107,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
83
107
|
optional :csv_delay, :uint32, 11
|
84
108
|
optional :max_accepted_htlcs, :uint32, 12
|
85
109
|
optional :channel_flags, :uint32, 13
|
110
|
+
optional :commitment_type, :enum, 14, "lnrpc.CommitmentType"
|
111
|
+
optional :wants_zero_conf, :bool, 15
|
112
|
+
optional :wants_scid_alias, :bool, 16
|
86
113
|
end
|
87
114
|
add_message "lnrpc.ChannelAcceptResponse" do
|
88
115
|
optional :accept, :bool, 1
|
@@ -95,6 +122,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
95
122
|
optional :max_htlc_count, :uint32, 8
|
96
123
|
optional :min_htlc_in, :uint64, 9
|
97
124
|
optional :min_accept_depth, :uint32, 10
|
125
|
+
optional :zero_conf, :bool, 11
|
98
126
|
end
|
99
127
|
add_message "lnrpc.ChannelPoint" do
|
100
128
|
optional :output_index, :uint32, 3
|
@@ -108,6 +136,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
108
136
|
optional :txid_str, :string, 2
|
109
137
|
optional :output_index, :uint32, 3
|
110
138
|
end
|
139
|
+
add_message "lnrpc.PreviousOutPoint" do
|
140
|
+
optional :outpoint, :string, 1
|
141
|
+
optional :is_our_output, :bool, 2
|
142
|
+
end
|
111
143
|
add_message "lnrpc.LightningAddress" do
|
112
144
|
optional :pubkey, :string, 1
|
113
145
|
optional :host, :string, 2
|
@@ -166,6 +198,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
166
198
|
end
|
167
199
|
add_message "lnrpc.SignMessageRequest" do
|
168
200
|
optional :msg, :bytes, 1
|
201
|
+
optional :single_hash, :bool, 2
|
169
202
|
end
|
170
203
|
add_message "lnrpc.SignMessageResponse" do
|
171
204
|
optional :signature, :string, 1
|
@@ -238,6 +271,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
238
271
|
optional :thaw_height, :uint32, 28
|
239
272
|
optional :local_constraints, :message, 29, "lnrpc.ChannelConstraints"
|
240
273
|
optional :remote_constraints, :message, 30, "lnrpc.ChannelConstraints"
|
274
|
+
repeated :alias_scids, :uint64, 31
|
275
|
+
optional :zero_conf, :bool, 32
|
276
|
+
optional :zero_conf_confirmed_scid, :uint64, 33
|
241
277
|
end
|
242
278
|
add_message "lnrpc.ListChannelsRequest" do
|
243
279
|
optional :active_only, :bool, 1
|
@@ -249,6 +285,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
249
285
|
add_message "lnrpc.ListChannelsResponse" do
|
250
286
|
repeated :channels, :message, 11, "lnrpc.Channel"
|
251
287
|
end
|
288
|
+
add_message "lnrpc.AliasMap" do
|
289
|
+
optional :base_scid, :uint64, 1
|
290
|
+
repeated :aliases, :uint64, 2
|
291
|
+
end
|
292
|
+
add_message "lnrpc.ListAliasesRequest" do
|
293
|
+
end
|
294
|
+
add_message "lnrpc.ListAliasesResponse" do
|
295
|
+
repeated :alias_maps, :message, 1, "lnrpc.AliasMap"
|
296
|
+
end
|
252
297
|
add_message "lnrpc.ChannelCloseSummary" do
|
253
298
|
optional :channel_point, :string, 1
|
254
299
|
optional :chan_id, :uint64, 2
|
@@ -263,6 +308,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
263
308
|
optional :open_initiator, :enum, 11, "lnrpc.Initiator"
|
264
309
|
optional :close_initiator, :enum, 12, "lnrpc.Initiator"
|
265
310
|
repeated :resolutions, :message, 13, "lnrpc.Resolution"
|
311
|
+
repeated :alias_scids, :uint64, 14
|
312
|
+
optional :zero_conf_confirmed_scid, :uint64, 15
|
266
313
|
end
|
267
314
|
add_enum "lnrpc.ChannelCloseSummary.ClosureType" do
|
268
315
|
value :COOPERATIVE_CLOSE, 0
|
@@ -304,6 +351,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
304
351
|
repeated :errors, :message, 12, "lnrpc.TimestampedError"
|
305
352
|
optional :flap_count, :int32, 13
|
306
353
|
optional :last_flap_ns, :int64, 14
|
354
|
+
optional :last_ping_payload, :bytes, 15
|
307
355
|
end
|
308
356
|
add_enum "lnrpc.Peer.SyncType" do
|
309
357
|
value :UNKNOWN_SYNC, 0
|
@@ -352,6 +400,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
352
400
|
repeated :chains, :message, 16, "lnrpc.Chain"
|
353
401
|
repeated :uris, :string, 12
|
354
402
|
map :features, :uint32, :message, 19, "lnrpc.Feature"
|
403
|
+
optional :require_htlc_interceptor, :bool, 21
|
355
404
|
end
|
356
405
|
add_message "lnrpc.GetRecoveryInfoRequest" do
|
357
406
|
end
|
@@ -383,6 +432,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
383
432
|
optional :sat_per_byte, :int64, 4
|
384
433
|
optional :delivery_address, :string, 5
|
385
434
|
optional :sat_per_vbyte, :uint64, 6
|
435
|
+
optional :max_fee_per_vbyte, :uint64, 7
|
386
436
|
end
|
387
437
|
add_message "lnrpc.CloseStatusUpdate" do
|
388
438
|
oneof :update do
|
@@ -399,6 +449,28 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
399
449
|
optional :funding_amount, :int64, 2
|
400
450
|
optional :psbt, :bytes, 3
|
401
451
|
end
|
452
|
+
add_message "lnrpc.BatchOpenChannelRequest" do
|
453
|
+
repeated :channels, :message, 1, "lnrpc.BatchOpenChannel"
|
454
|
+
optional :target_conf, :int32, 2
|
455
|
+
optional :sat_per_vbyte, :int64, 3
|
456
|
+
optional :min_confs, :int32, 4
|
457
|
+
optional :spend_unconfirmed, :bool, 5
|
458
|
+
optional :label, :string, 6
|
459
|
+
end
|
460
|
+
add_message "lnrpc.BatchOpenChannel" do
|
461
|
+
optional :node_pubkey, :bytes, 1
|
462
|
+
optional :local_funding_amount, :int64, 2
|
463
|
+
optional :push_sat, :int64, 3
|
464
|
+
optional :private, :bool, 4
|
465
|
+
optional :min_htlc_msat, :int64, 5
|
466
|
+
optional :remote_csv_delay, :uint32, 6
|
467
|
+
optional :close_address, :string, 7
|
468
|
+
optional :pending_chan_id, :bytes, 8
|
469
|
+
optional :commitment_type, :enum, 9, "lnrpc.CommitmentType"
|
470
|
+
end
|
471
|
+
add_message "lnrpc.BatchOpenChannelResponse" do
|
472
|
+
repeated :pending_channels, :message, 1, "lnrpc.PendingUpdate"
|
473
|
+
end
|
402
474
|
add_message "lnrpc.OpenChannelRequest" do
|
403
475
|
optional :sat_per_vbyte, :uint64, 1
|
404
476
|
optional :node_pubkey, :bytes, 2
|
@@ -417,6 +489,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
417
489
|
optional :remote_max_value_in_flight_msat, :uint64, 15
|
418
490
|
optional :remote_max_htlcs, :uint32, 16
|
419
491
|
optional :max_local_csv, :uint32, 17
|
492
|
+
optional :commitment_type, :enum, 18, "lnrpc.CommitmentType"
|
493
|
+
optional :zero_conf, :bool, 19
|
494
|
+
optional :scid_alias, :bool, 20
|
420
495
|
end
|
421
496
|
add_message "lnrpc.OpenStatusUpdate" do
|
422
497
|
optional :pending_chan_id, :bytes, 4
|
@@ -459,6 +534,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
459
534
|
add_message "lnrpc.FundingPsbtVerify" do
|
460
535
|
optional :funded_psbt, :bytes, 1
|
461
536
|
optional :pending_chan_id, :bytes, 2
|
537
|
+
optional :skip_finalize, :bool, 3
|
462
538
|
end
|
463
539
|
add_message "lnrpc.FundingPsbtFinalize" do
|
464
540
|
optional :signed_psbt, :bytes, 1
|
@@ -502,10 +578,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
502
578
|
optional :remote_chan_reserve_sat, :int64, 7
|
503
579
|
optional :initiator, :enum, 8, "lnrpc.Initiator"
|
504
580
|
optional :commitment_type, :enum, 9, "lnrpc.CommitmentType"
|
581
|
+
optional :num_forwarding_packages, :int64, 10
|
582
|
+
optional :chan_status_flags, :string, 11
|
583
|
+
optional :private, :bool, 12
|
505
584
|
end
|
506
585
|
add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
|
507
586
|
optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
|
508
|
-
optional :confirmation_height, :uint32, 2
|
509
587
|
optional :commit_fee, :int64, 4
|
510
588
|
optional :commit_weight, :int64, 5
|
511
589
|
optional :fee_per_kw, :int64, 6
|
@@ -514,6 +592,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
514
592
|
optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
|
515
593
|
optional :limbo_balance, :int64, 2
|
516
594
|
optional :commitments, :message, 3, "lnrpc.PendingChannelsResponse.Commitments"
|
595
|
+
optional :closing_txid, :string, 4
|
517
596
|
end
|
518
597
|
add_message "lnrpc.PendingChannelsResponse.Commitments" do
|
519
598
|
optional :local_txid, :string, 1
|
@@ -552,6 +631,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
552
631
|
optional :active_channel, :message, 3, "lnrpc.ChannelPoint"
|
553
632
|
optional :inactive_channel, :message, 4, "lnrpc.ChannelPoint"
|
554
633
|
optional :pending_open_channel, :message, 6, "lnrpc.PendingUpdate"
|
634
|
+
optional :fully_resolved_channel, :message, 7, "lnrpc.ChannelPoint"
|
555
635
|
end
|
556
636
|
end
|
557
637
|
add_enum "lnrpc.ChannelEventUpdate.UpdateType" do
|
@@ -560,6 +640,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
560
640
|
value :ACTIVE_CHANNEL, 2
|
561
641
|
value :INACTIVE_CHANNEL, 3
|
562
642
|
value :PENDING_OPEN_CHANNEL, 4
|
643
|
+
value :FULLY_RESOLVED_CHANNEL, 5
|
563
644
|
end
|
564
645
|
add_message "lnrpc.WalletAccountBalance" do
|
565
646
|
optional :confirmed_balance, :int64, 1
|
@@ -571,6 +652,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
571
652
|
optional :total_balance, :int64, 1
|
572
653
|
optional :confirmed_balance, :int64, 2
|
573
654
|
optional :unconfirmed_balance, :int64, 3
|
655
|
+
optional :locked_balance, :int64, 5
|
656
|
+
optional :reserved_balance_anchor_chan, :int64, 6
|
574
657
|
map :account_balance, :string, :message, 4, "lnrpc.WalletAccountBalance"
|
575
658
|
end
|
576
659
|
add_message "lnrpc.Amount" do
|
@@ -606,6 +689,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
606
689
|
optional :last_hop_pubkey, :bytes, 15
|
607
690
|
repeated :route_hints, :message, 16, "lnrpc.RouteHint"
|
608
691
|
repeated :dest_features, :enum, 17, "lnrpc.FeatureBit"
|
692
|
+
optional :time_pref, :double, 18
|
609
693
|
end
|
610
694
|
add_message "lnrpc.NodePair" do
|
611
695
|
optional :from, :bytes, 1
|
@@ -632,6 +716,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
632
716
|
optional :mpp_record, :message, 10, "lnrpc.MPPRecord"
|
633
717
|
optional :amp_record, :message, 12, "lnrpc.AMPRecord"
|
634
718
|
map :custom_records, :uint64, :bytes, 11
|
719
|
+
optional :metadata, :bytes, 13
|
635
720
|
end
|
636
721
|
add_message "lnrpc.MPPRecord" do
|
637
722
|
optional :payment_addr, :bytes, 11
|
@@ -767,9 +852,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
767
852
|
optional :fee_proportional_millionths, :uint32, 4
|
768
853
|
optional :cltv_expiry_delta, :uint32, 5
|
769
854
|
end
|
855
|
+
add_message "lnrpc.SetID" do
|
856
|
+
optional :set_id, :bytes, 1
|
857
|
+
end
|
770
858
|
add_message "lnrpc.RouteHint" do
|
771
859
|
repeated :hop_hints, :message, 1, "lnrpc.HopHint"
|
772
860
|
end
|
861
|
+
add_message "lnrpc.AMPInvoiceState" do
|
862
|
+
optional :state, :enum, 1, "lnrpc.InvoiceHTLCState"
|
863
|
+
optional :settle_index, :uint64, 2
|
864
|
+
optional :settle_time, :int64, 3
|
865
|
+
optional :amt_paid_msat, :int64, 5
|
866
|
+
end
|
773
867
|
add_message "lnrpc.Invoice" do
|
774
868
|
optional :memo, :string, 1
|
775
869
|
optional :r_preimage, :bytes, 3
|
@@ -797,6 +891,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
797
891
|
optional :is_keysend, :bool, 25
|
798
892
|
optional :payment_addr, :bytes, 26
|
799
893
|
optional :is_amp, :bool, 27
|
894
|
+
map :amp_invoice_state, :string, :message, 28, "lnrpc.AMPInvoiceState"
|
800
895
|
end
|
801
896
|
add_enum "lnrpc.Invoice.InvoiceState" do
|
802
897
|
value :OPEN, 0
|
@@ -891,21 +986,30 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
891
986
|
optional :index_offset, :uint64, 2
|
892
987
|
optional :max_payments, :uint64, 3
|
893
988
|
optional :reversed, :bool, 4
|
989
|
+
optional :count_total_payments, :bool, 5
|
894
990
|
end
|
895
991
|
add_message "lnrpc.ListPaymentsResponse" do
|
896
992
|
repeated :payments, :message, 1, "lnrpc.Payment"
|
897
993
|
optional :first_index_offset, :uint64, 2
|
898
994
|
optional :last_index_offset, :uint64, 3
|
995
|
+
optional :total_num_payments, :uint64, 4
|
996
|
+
end
|
997
|
+
add_message "lnrpc.DeletePaymentRequest" do
|
998
|
+
optional :payment_hash, :bytes, 1
|
999
|
+
optional :failed_htlcs_only, :bool, 2
|
899
1000
|
end
|
900
1001
|
add_message "lnrpc.DeleteAllPaymentsRequest" do
|
901
1002
|
optional :failed_payments_only, :bool, 1
|
902
1003
|
optional :failed_htlcs_only, :bool, 2
|
903
1004
|
end
|
1005
|
+
add_message "lnrpc.DeletePaymentResponse" do
|
1006
|
+
end
|
904
1007
|
add_message "lnrpc.DeleteAllPaymentsResponse" do
|
905
1008
|
end
|
906
1009
|
add_message "lnrpc.AbandonChannelRequest" do
|
907
1010
|
optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
|
908
1011
|
optional :pending_funding_shim_only, :bool, 2
|
1012
|
+
optional :i_know_what_i_am_doing, :bool, 3
|
909
1013
|
end
|
910
1014
|
add_message "lnrpc.AbandonChannelResponse" do
|
911
1015
|
end
|
@@ -957,6 +1061,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
957
1061
|
add_message "lnrpc.PolicyUpdateRequest" do
|
958
1062
|
optional :base_fee_msat, :int64, 3
|
959
1063
|
optional :fee_rate, :double, 4
|
1064
|
+
optional :fee_rate_ppm, :uint32, 9
|
960
1065
|
optional :time_lock_delta, :uint32, 5
|
961
1066
|
optional :max_htlc_msat, :uint64, 6
|
962
1067
|
optional :min_htlc_msat, :uint64, 7
|
@@ -966,7 +1071,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
966
1071
|
optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
|
967
1072
|
end
|
968
1073
|
end
|
1074
|
+
add_message "lnrpc.FailedUpdate" do
|
1075
|
+
optional :outpoint, :message, 1, "lnrpc.OutPoint"
|
1076
|
+
optional :reason, :enum, 2, "lnrpc.UpdateFailure"
|
1077
|
+
optional :update_error, :string, 3
|
1078
|
+
end
|
969
1079
|
add_message "lnrpc.PolicyUpdateResponse" do
|
1080
|
+
repeated :failed_updates, :message, 1, "lnrpc.FailedUpdate"
|
970
1081
|
end
|
971
1082
|
add_message "lnrpc.ForwardingHistoryRequest" do
|
972
1083
|
optional :start_time, :uint64, 1
|
@@ -1029,6 +1140,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1029
1140
|
add_message "lnrpc.BakeMacaroonRequest" do
|
1030
1141
|
repeated :permissions, :message, 1, "lnrpc.MacaroonPermission"
|
1031
1142
|
optional :root_key_id, :uint64, 2
|
1143
|
+
optional :allow_external_permissions, :bool, 3
|
1032
1144
|
end
|
1033
1145
|
add_message "lnrpc.BakeMacaroonResponse" do
|
1034
1146
|
optional :macaroon, :string, 1
|
@@ -1115,17 +1227,79 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1115
1227
|
optional :entity, :string, 1
|
1116
1228
|
repeated :actions, :string, 2
|
1117
1229
|
end
|
1230
|
+
add_message "lnrpc.CheckMacPermRequest" do
|
1231
|
+
optional :macaroon, :bytes, 1
|
1232
|
+
repeated :permissions, :message, 2, "lnrpc.MacaroonPermission"
|
1233
|
+
optional :fullMethod, :string, 3
|
1234
|
+
end
|
1235
|
+
add_message "lnrpc.CheckMacPermResponse" do
|
1236
|
+
optional :valid, :bool, 1
|
1237
|
+
end
|
1238
|
+
add_message "lnrpc.RPCMiddlewareRequest" do
|
1239
|
+
optional :request_id, :uint64, 1
|
1240
|
+
optional :raw_macaroon, :bytes, 2
|
1241
|
+
optional :custom_caveat_condition, :string, 3
|
1242
|
+
optional :msg_id, :uint64, 7
|
1243
|
+
oneof :intercept_type do
|
1244
|
+
optional :stream_auth, :message, 4, "lnrpc.StreamAuth"
|
1245
|
+
optional :request, :message, 5, "lnrpc.RPCMessage"
|
1246
|
+
optional :response, :message, 6, "lnrpc.RPCMessage"
|
1247
|
+
optional :reg_complete, :bool, 8
|
1248
|
+
end
|
1249
|
+
end
|
1250
|
+
add_message "lnrpc.StreamAuth" do
|
1251
|
+
optional :method_full_uri, :string, 1
|
1252
|
+
end
|
1253
|
+
add_message "lnrpc.RPCMessage" do
|
1254
|
+
optional :method_full_uri, :string, 1
|
1255
|
+
optional :stream_rpc, :bool, 2
|
1256
|
+
optional :type_name, :string, 3
|
1257
|
+
optional :serialized, :bytes, 4
|
1258
|
+
optional :is_error, :bool, 5
|
1259
|
+
end
|
1260
|
+
add_message "lnrpc.RPCMiddlewareResponse" do
|
1261
|
+
optional :ref_msg_id, :uint64, 1
|
1262
|
+
oneof :middleware_message do
|
1263
|
+
optional :register, :message, 2, "lnrpc.MiddlewareRegistration"
|
1264
|
+
optional :feedback, :message, 3, "lnrpc.InterceptFeedback"
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
add_message "lnrpc.MiddlewareRegistration" do
|
1268
|
+
optional :middleware_name, :string, 1
|
1269
|
+
optional :custom_macaroon_caveat_name, :string, 2
|
1270
|
+
optional :read_only_mode, :bool, 3
|
1271
|
+
end
|
1272
|
+
add_message "lnrpc.InterceptFeedback" do
|
1273
|
+
optional :error, :string, 1
|
1274
|
+
optional :replace_response, :bool, 2
|
1275
|
+
optional :replacement_serialized, :bytes, 3
|
1276
|
+
end
|
1277
|
+
add_enum "lnrpc.OutputScriptType" do
|
1278
|
+
value :SCRIPT_TYPE_PUBKEY_HASH, 0
|
1279
|
+
value :SCRIPT_TYPE_SCRIPT_HASH, 1
|
1280
|
+
value :SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH, 2
|
1281
|
+
value :SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH, 3
|
1282
|
+
value :SCRIPT_TYPE_PUBKEY, 4
|
1283
|
+
value :SCRIPT_TYPE_MULTISIG, 5
|
1284
|
+
value :SCRIPT_TYPE_NULLDATA, 6
|
1285
|
+
value :SCRIPT_TYPE_NON_STANDARD, 7
|
1286
|
+
value :SCRIPT_TYPE_WITNESS_UNKNOWN, 8
|
1287
|
+
value :SCRIPT_TYPE_WITNESS_V1_TAPROOT, 9
|
1288
|
+
end
|
1118
1289
|
add_enum "lnrpc.AddressType" do
|
1119
1290
|
value :WITNESS_PUBKEY_HASH, 0
|
1120
1291
|
value :NESTED_PUBKEY_HASH, 1
|
1121
1292
|
value :UNUSED_WITNESS_PUBKEY_HASH, 2
|
1122
1293
|
value :UNUSED_NESTED_PUBKEY_HASH, 3
|
1294
|
+
value :TAPROOT_PUBKEY, 4
|
1295
|
+
value :UNUSED_TAPROOT_PUBKEY, 5
|
1123
1296
|
end
|
1124
1297
|
add_enum "lnrpc.CommitmentType" do
|
1125
|
-
value :
|
1126
|
-
value :
|
1127
|
-
value :
|
1128
|
-
value :
|
1298
|
+
value :UNKNOWN_COMMITMENT_TYPE, 0
|
1299
|
+
value :LEGACY, 1
|
1300
|
+
value :STATIC_REMOTE_KEY, 2
|
1301
|
+
value :ANCHORS, 3
|
1302
|
+
value :SCRIPT_ENFORCED_LEASE, 4
|
1129
1303
|
end
|
1130
1304
|
add_enum "lnrpc.Initiator" do
|
1131
1305
|
value :INITIATOR_UNKNOWN, 0
|
@@ -1192,11 +1366,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1192
1366
|
value :AMP_REQ, 30
|
1193
1367
|
value :AMP_OPT, 31
|
1194
1368
|
end
|
1369
|
+
add_enum "lnrpc.UpdateFailure" do
|
1370
|
+
value :UPDATE_FAILURE_UNKNOWN, 0
|
1371
|
+
value :UPDATE_FAILURE_PENDING, 1
|
1372
|
+
value :UPDATE_FAILURE_NOT_FOUND, 2
|
1373
|
+
value :UPDATE_FAILURE_INTERNAL_ERR, 3
|
1374
|
+
value :UPDATE_FAILURE_INVALID_PARAMETER, 4
|
1375
|
+
end
|
1195
1376
|
end
|
1196
1377
|
end
|
1197
1378
|
|
1198
1379
|
module Lnrpc
|
1380
|
+
SubscribeCustomMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SubscribeCustomMessagesRequest").msgclass
|
1381
|
+
CustomMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CustomMessage").msgclass
|
1382
|
+
SendCustomMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCustomMessageRequest").msgclass
|
1383
|
+
SendCustomMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCustomMessageResponse").msgclass
|
1199
1384
|
Utxo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Utxo").msgclass
|
1385
|
+
OutputDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OutputDetail").msgclass
|
1200
1386
|
Transaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Transaction").msgclass
|
1201
1387
|
GetTransactionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetTransactionsRequest").msgclass
|
1202
1388
|
TransactionDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TransactionDetails").msgclass
|
@@ -1208,6 +1394,7 @@ module Lnrpc
|
|
1208
1394
|
ChannelAcceptResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelAcceptResponse").msgclass
|
1209
1395
|
ChannelPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelPoint").msgclass
|
1210
1396
|
OutPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OutPoint").msgclass
|
1397
|
+
PreviousOutPoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PreviousOutPoint").msgclass
|
1211
1398
|
LightningAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningAddress").msgclass
|
1212
1399
|
EstimateFeeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EstimateFeeRequest").msgclass
|
1213
1400
|
EstimateFeeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EstimateFeeResponse").msgclass
|
@@ -1232,6 +1419,9 @@ module Lnrpc
|
|
1232
1419
|
Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Channel").msgclass
|
1233
1420
|
ListChannelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsRequest").msgclass
|
1234
1421
|
ListChannelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsResponse").msgclass
|
1422
|
+
AliasMap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AliasMap").msgclass
|
1423
|
+
ListAliasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListAliasesRequest").msgclass
|
1424
|
+
ListAliasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListAliasesResponse").msgclass
|
1235
1425
|
ChannelCloseSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary").msgclass
|
1236
1426
|
ChannelCloseSummary::ClosureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary.ClosureType").enummodule
|
1237
1427
|
Resolution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Resolution").msgclass
|
@@ -1257,6 +1447,9 @@ module Lnrpc
|
|
1257
1447
|
CloseStatusUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseStatusUpdate").msgclass
|
1258
1448
|
PendingUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
|
1259
1449
|
ReadyForPsbtFunding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ReadyForPsbtFunding").msgclass
|
1450
|
+
BatchOpenChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BatchOpenChannelRequest").msgclass
|
1451
|
+
BatchOpenChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BatchOpenChannel").msgclass
|
1452
|
+
BatchOpenChannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BatchOpenChannelResponse").msgclass
|
1260
1453
|
OpenChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
|
1261
1454
|
OpenStatusUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
|
1262
1455
|
KeyLocator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.KeyLocator").msgclass
|
@@ -1318,7 +1511,9 @@ module Lnrpc
|
|
1318
1511
|
ChannelEdgeUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdgeUpdate").msgclass
|
1319
1512
|
ClosedChannelUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelUpdate").msgclass
|
1320
1513
|
HopHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HopHint").msgclass
|
1514
|
+
SetID = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SetID").msgclass
|
1321
1515
|
RouteHint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RouteHint").msgclass
|
1516
|
+
AMPInvoiceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AMPInvoiceState").msgclass
|
1322
1517
|
Invoice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice").msgclass
|
1323
1518
|
Invoice::InvoiceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice.InvoiceState").enummodule
|
1324
1519
|
InvoiceHTLC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLC").msgclass
|
@@ -1334,7 +1529,9 @@ module Lnrpc
|
|
1334
1529
|
HTLCAttempt::HTLCStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLCAttempt.HTLCStatus").enummodule
|
1335
1530
|
ListPaymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
|
1336
1531
|
ListPaymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
|
1532
|
+
DeletePaymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeletePaymentRequest").msgclass
|
1337
1533
|
DeleteAllPaymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
|
1534
|
+
DeletePaymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeletePaymentResponse").msgclass
|
1338
1535
|
DeleteAllPaymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsResponse").msgclass
|
1339
1536
|
AbandonChannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelRequest").msgclass
|
1340
1537
|
AbandonChannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelResponse").msgclass
|
@@ -1347,6 +1544,7 @@ module Lnrpc
|
|
1347
1544
|
ChannelFeeReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
|
1348
1545
|
FeeReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
|
1349
1546
|
PolicyUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateRequest").msgclass
|
1547
|
+
FailedUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FailedUpdate").msgclass
|
1350
1548
|
PolicyUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateResponse").msgclass
|
1351
1549
|
ForwardingHistoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryRequest").msgclass
|
1352
1550
|
ForwardingEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingEvent").msgclass
|
@@ -1376,6 +1574,15 @@ module Lnrpc
|
|
1376
1574
|
ChannelUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelUpdate").msgclass
|
1377
1575
|
MacaroonId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MacaroonId").msgclass
|
1378
1576
|
Op = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Op").msgclass
|
1577
|
+
CheckMacPermRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CheckMacPermRequest").msgclass
|
1578
|
+
CheckMacPermResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CheckMacPermResponse").msgclass
|
1579
|
+
RPCMiddlewareRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RPCMiddlewareRequest").msgclass
|
1580
|
+
StreamAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StreamAuth").msgclass
|
1581
|
+
RPCMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RPCMessage").msgclass
|
1582
|
+
RPCMiddlewareResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RPCMiddlewareResponse").msgclass
|
1583
|
+
MiddlewareRegistration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MiddlewareRegistration").msgclass
|
1584
|
+
InterceptFeedback = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InterceptFeedback").msgclass
|
1585
|
+
OutputScriptType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OutputScriptType").enummodule
|
1379
1586
|
AddressType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddressType").enummodule
|
1380
1587
|
CommitmentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CommitmentType").enummodule
|
1381
1588
|
Initiator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Initiator").enummodule
|
@@ -1385,4 +1592,5 @@ module Lnrpc
|
|
1385
1592
|
InvoiceHTLCState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLCState").enummodule
|
1386
1593
|
PaymentFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentFailureReason").enummodule
|
1387
1594
|
FeatureBit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeatureBit").enummodule
|
1595
|
+
UpdateFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UpdateFailure").enummodule
|
1388
1596
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source:
|
2
|
+
# Source: lightning.proto for package 'lnrpc'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
require '
|
5
|
+
require 'lightning_pb'
|
6
6
|
|
7
7
|
module Lnrpc
|
8
8
|
module Lightning
|
@@ -159,6 +159,13 @@ module Lnrpc
|
|
159
159
|
# arguments specified in the OpenChannelRequest, this pending channel ID can
|
160
160
|
# then be used to manually progress the channel funding flow.
|
161
161
|
rpc :OpenChannel, ::Lnrpc::OpenChannelRequest, stream(::Lnrpc::OpenStatusUpdate)
|
162
|
+
# lncli: `batchopenchannel`
|
163
|
+
# BatchOpenChannel attempts to open multiple single-funded channels in a
|
164
|
+
# single transaction in an atomic way. This means either all channel open
|
165
|
+
# requests succeed at once or all attempts are aborted if any of them fail.
|
166
|
+
# This is the safer variant of using PSBTs to manually fund a batch of
|
167
|
+
# channels through the OpenChannel RPC.
|
168
|
+
rpc :BatchOpenChannel, ::Lnrpc::BatchOpenChannelRequest, ::Lnrpc::BatchOpenChannelResponse
|
162
169
|
#
|
163
170
|
# FundingStateStep is an advanced funding related call that allows the caller
|
164
171
|
# to either execute some preparatory steps for a funding workflow, or
|
@@ -256,7 +263,12 @@ module Lnrpc
|
|
256
263
|
# ListPayments returns a list of all outgoing payments.
|
257
264
|
rpc :ListPayments, ::Lnrpc::ListPaymentsRequest, ::Lnrpc::ListPaymentsResponse
|
258
265
|
#
|
259
|
-
#
|
266
|
+
# DeletePayment deletes an outgoing payment from DB. Note that it will not
|
267
|
+
# attempt to delete an In-Flight payment, since that would be unsafe.
|
268
|
+
rpc :DeletePayment, ::Lnrpc::DeletePaymentRequest, ::Lnrpc::DeletePaymentResponse
|
269
|
+
#
|
270
|
+
# DeleteAllPayments deletes all outgoing payments from DB. Note that it will
|
271
|
+
# not attempt to delete In-Flight payments, since that would be unsafe.
|
260
272
|
rpc :DeleteAllPayments, ::Lnrpc::DeleteAllPaymentsRequest, ::Lnrpc::DeleteAllPaymentsResponse
|
261
273
|
# lncli: `describegraph`
|
262
274
|
# DescribeGraph returns a description of the latest graph state from the
|
@@ -325,8 +337,9 @@ module Lnrpc
|
|
325
337
|
# lncli: `fwdinghistory`
|
326
338
|
# ForwardingHistory allows the caller to query the htlcswitch for a record of
|
327
339
|
# all HTLCs forwarded within the target time range, and integer offset
|
328
|
-
# within that time range
|
329
|
-
# of
|
340
|
+
# within that time range, for a maximum number of events. If no maximum number
|
341
|
+
# of events is specified, up to 100 events will be returned. If no time-range
|
342
|
+
# is specified, then events will be returned in the order that they occured.
|
330
343
|
#
|
331
344
|
# A list of forwarding events are returned. The size of each forwarding event
|
332
345
|
# is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
|
@@ -385,6 +398,37 @@ module Lnrpc
|
|
385
398
|
# ListPermissions lists all RPC method URIs and their required macaroon
|
386
399
|
# permissions to access them.
|
387
400
|
rpc :ListPermissions, ::Lnrpc::ListPermissionsRequest, ::Lnrpc::ListPermissionsResponse
|
401
|
+
#
|
402
|
+
# CheckMacaroonPermissions checks whether a request follows the constraints
|
403
|
+
# imposed on the macaroon and that the macaroon is authorized to follow the
|
404
|
+
# provided permissions.
|
405
|
+
rpc :CheckMacaroonPermissions, ::Lnrpc::CheckMacPermRequest, ::Lnrpc::CheckMacPermResponse
|
406
|
+
#
|
407
|
+
# RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain. A
|
408
|
+
# gRPC middleware is software component external to lnd that aims to add
|
409
|
+
# additional business logic to lnd by observing/intercepting/validating
|
410
|
+
# incoming gRPC client requests and (if needed) replacing/overwriting outgoing
|
411
|
+
# messages before they're sent to the client. When registering the middleware
|
412
|
+
# must identify itself and indicate what custom macaroon caveats it wants to
|
413
|
+
# be responsible for. Only requests that contain a macaroon with that specific
|
414
|
+
# custom caveat are then sent to the middleware for inspection. The other
|
415
|
+
# option is to register for the read-only mode in which all requests/responses
|
416
|
+
# are forwarded for interception to the middleware but the middleware is not
|
417
|
+
# allowed to modify any responses. As a security measure, _no_ middleware can
|
418
|
+
# modify responses for requests made with _unencumbered_ macaroons!
|
419
|
+
rpc :RegisterRPCMiddleware, stream(::Lnrpc::RPCMiddlewareResponse), stream(::Lnrpc::RPCMiddlewareRequest)
|
420
|
+
# lncli: `sendcustom`
|
421
|
+
# SendCustomMessage sends a custom peer message.
|
422
|
+
rpc :SendCustomMessage, ::Lnrpc::SendCustomMessageRequest, ::Lnrpc::SendCustomMessageResponse
|
423
|
+
# lncli: `subscribecustom`
|
424
|
+
# SubscribeCustomMessages subscribes to a stream of incoming custom peer
|
425
|
+
# messages.
|
426
|
+
rpc :SubscribeCustomMessages, ::Lnrpc::SubscribeCustomMessagesRequest, stream(::Lnrpc::CustomMessage)
|
427
|
+
# lncli: `listaliases`
|
428
|
+
# ListAliases returns the set of all aliases that have ever existed with
|
429
|
+
# their confirmed SCID (if it exists) and/or the base SCID (in the case of
|
430
|
+
# zero conf).
|
431
|
+
rpc :ListAliases, ::Lnrpc::ListAliasesRequest, ::Lnrpc::ListAliasesResponse
|
388
432
|
end
|
389
433
|
|
390
434
|
Stub = Service.rpc_stub_class
|