lnrpc 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
62
  add_message "lnrpc.FeeLimit" do
63
63
  oneof :limit do
64
64
  optional :fixed, :int64, 1
65
+ optional :fixed_msat, :int64, 3
65
66
  optional :percent, :int64, 2
66
67
  end
67
68
  end
@@ -69,14 +70,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
69
70
  optional :dest, :bytes, 1
70
71
  optional :dest_string, :string, 2
71
72
  optional :amt, :int64, 3
73
+ optional :amt_msat, :int64, 12
72
74
  optional :payment_hash, :bytes, 4
73
75
  optional :payment_hash_string, :string, 5
74
76
  optional :payment_request, :string, 6
75
77
  optional :final_cltv_delta, :int32, 7
76
78
  optional :fee_limit, :message, 8, "lnrpc.FeeLimit"
77
79
  optional :outgoing_chan_id, :uint64, 9
80
+ optional :last_hop_pubkey, :bytes, 13
78
81
  optional :cltv_limit, :uint32, 10
79
- map :dest_tlv, :uint64, :bytes, 11
82
+ map :dest_custom_records, :uint64, :bytes, 11
83
+ optional :allow_self_payment, :bool, 14
84
+ repeated :dest_features, :enum, 15, "lnrpc.FeatureBit"
80
85
  end
81
86
  add_message "lnrpc.SendResponse" do
82
87
  optional :payment_error, :string, 1
@@ -217,6 +222,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
217
222
  optional :local_chan_reserve_sat, :int64, 20
218
223
  optional :remote_chan_reserve_sat, :int64, 21
219
224
  optional :static_remote_key, :bool, 22
225
+ optional :lifetime, :int64, 23
226
+ optional :uptime, :int64, 24
227
+ optional :close_address, :string, 25
220
228
  end
221
229
  add_message "lnrpc.ListChannelsRequest" do
222
230
  optional :active_only, :bool, 1
@@ -268,6 +276,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
268
276
  optional :inbound, :bool, 8
269
277
  optional :ping_time, :int64, 9
270
278
  optional :sync_type, :enum, 10, "lnrpc.Peer.SyncType"
279
+ map :features, :uint32, :message, 11, "lnrpc.Feature"
271
280
  end
272
281
  add_enum "lnrpc.Peer.SyncType" do
273
282
  value :UNKNOWN_SYNC, 0
@@ -279,25 +288,36 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
279
288
  add_message "lnrpc.ListPeersResponse" do
280
289
  repeated :peers, :message, 1, "lnrpc.Peer"
281
290
  end
291
+ add_message "lnrpc.PeerEventSubscription" do
292
+ end
293
+ add_message "lnrpc.PeerEvent" do
294
+ optional :pub_key, :string, 1
295
+ optional :type, :enum, 2, "lnrpc.PeerEvent.EventType"
296
+ end
297
+ add_enum "lnrpc.PeerEvent.EventType" do
298
+ value :PEER_ONLINE, 0
299
+ value :PEER_OFFLINE, 1
300
+ end
282
301
  add_message "lnrpc.GetInfoRequest" do
283
302
  end
284
303
  add_message "lnrpc.GetInfoResponse" do
304
+ optional :version, :string, 14
285
305
  optional :identity_pubkey, :string, 1
286
306
  optional :alias, :string, 2
307
+ optional :color, :string, 17
287
308
  optional :num_pending_channels, :uint32, 3
288
309
  optional :num_active_channels, :uint32, 4
310
+ optional :num_inactive_channels, :uint32, 15
289
311
  optional :num_peers, :uint32, 5
290
312
  optional :block_height, :uint32, 6
291
313
  optional :block_hash, :string, 8
314
+ optional :best_header_timestamp, :int64, 13
292
315
  optional :synced_to_chain, :bool, 9
316
+ optional :synced_to_graph, :bool, 18
293
317
  optional :testnet, :bool, 10
294
- repeated :uris, :string, 12
295
- optional :best_header_timestamp, :int64, 13
296
- optional :version, :string, 14
297
- optional :num_inactive_channels, :uint32, 15
298
318
  repeated :chains, :message, 16, "lnrpc.Chain"
299
- optional :color, :string, 17
300
- optional :synced_to_graph, :bool, 18
319
+ repeated :uris, :string, 12
320
+ map :features, :uint32, :message, 19, "lnrpc.Feature"
301
321
  end
302
322
  add_message "lnrpc.Chain" do
303
323
  optional :chain, :string, 1
@@ -320,6 +340,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
320
340
  optional :force, :bool, 2
321
341
  optional :target_conf, :int32, 3
322
342
  optional :sat_per_byte, :int64, 4
343
+ optional :delivery_address, :string, 5
323
344
  end
324
345
  add_message "lnrpc.CloseStatusUpdate" do
325
346
  oneof :update do
@@ -343,13 +364,47 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
343
364
  optional :remote_csv_delay, :uint32, 10
344
365
  optional :min_confs, :int32, 11
345
366
  optional :spend_unconfirmed, :bool, 12
367
+ optional :close_address, :string, 13
368
+ optional :funding_shim, :message, 14, "lnrpc.FundingShim"
346
369
  end
347
370
  add_message "lnrpc.OpenStatusUpdate" do
371
+ optional :pending_chan_id, :bytes, 4
348
372
  oneof :update do
349
373
  optional :chan_pending, :message, 1, "lnrpc.PendingUpdate"
350
374
  optional :chan_open, :message, 3, "lnrpc.ChannelOpenUpdate"
351
375
  end
352
376
  end
377
+ add_message "lnrpc.KeyLocator" do
378
+ optional :key_family, :int32, 1
379
+ optional :key_index, :int32, 2
380
+ end
381
+ add_message "lnrpc.KeyDescriptor" do
382
+ optional :raw_key_bytes, :bytes, 1
383
+ optional :key_loc, :message, 2, "lnrpc.KeyLocator"
384
+ end
385
+ add_message "lnrpc.ChanPointShim" do
386
+ optional :amt, :int64, 1
387
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
388
+ optional :local_key, :message, 3, "lnrpc.KeyDescriptor"
389
+ optional :remote_key, :bytes, 4
390
+ optional :pending_chan_id, :bytes, 5
391
+ end
392
+ add_message "lnrpc.FundingShim" do
393
+ oneof :shim do
394
+ optional :chan_point_shim, :message, 1, "lnrpc.ChanPointShim"
395
+ end
396
+ end
397
+ add_message "lnrpc.FundingShimCancel" do
398
+ optional :pending_chan_id, :bytes, 1
399
+ end
400
+ add_message "lnrpc.FundingTransitionMsg" do
401
+ oneof :trigger do
402
+ optional :shim_register, :message, 1, "lnrpc.FundingShim"
403
+ optional :shim_cancel, :message, 2, "lnrpc.FundingShimCancel"
404
+ end
405
+ end
406
+ add_message "lnrpc.FundingStateStepResp" do
407
+ end
353
408
  add_message "lnrpc.PendingHTLC" do
354
409
  optional :incoming, :bool, 1
355
410
  optional :amount, :int64, 2
@@ -433,6 +488,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
433
488
  add_message "lnrpc.QueryRoutesRequest" do
434
489
  optional :pub_key, :string, 1
435
490
  optional :amt, :int64, 2
491
+ optional :amt_msat, :int64, 12
436
492
  optional :final_cltv_delta, :int32, 4
437
493
  optional :fee_limit, :message, 5, "lnrpc.FeeLimit"
438
494
  repeated :ignored_nodes, :bytes, 6
@@ -441,6 +497,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
441
497
  optional :use_mission_control, :bool, 9
442
498
  repeated :ignored_pairs, :message, 10, "lnrpc.NodePair"
443
499
  optional :cltv_limit, :uint32, 11
500
+ map :dest_custom_records, :uint64, :bytes, 13
501
+ optional :outgoing_chan_id, :uint64, 14
502
+ optional :last_hop_pubkey, :bytes, 15
503
+ repeated :route_hints, :message, 16, "lnrpc.RouteHint"
504
+ repeated :dest_features, :enum, 17, "lnrpc.FeatureBit"
444
505
  end
445
506
  add_message "lnrpc.NodePair" do
446
507
  optional :from, :bytes, 1
@@ -464,6 +525,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
464
525
  optional :fee_msat, :int64, 7
465
526
  optional :pub_key, :string, 8
466
527
  optional :tlv_payload, :bool, 9
528
+ optional :mpp_record, :message, 10, "lnrpc.MPPRecord"
529
+ map :custom_records, :uint64, :bytes, 11
530
+ end
531
+ add_message "lnrpc.MPPRecord" do
532
+ optional :payment_addr, :bytes, 11
533
+ optional :total_amt_msat, :int64, 10
467
534
  end
468
535
  add_message "lnrpc.Route" do
469
536
  optional :total_time_lock, :uint32, 1
@@ -489,6 +556,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
489
556
  optional :alias, :string, 3
490
557
  repeated :addresses, :message, 4, "lnrpc.NodeAddress"
491
558
  optional :color, :string, 5
559
+ map :features, :uint32, :message, 6, "lnrpc.Feature"
492
560
  end
493
561
  add_message "lnrpc.NodeAddress" do
494
562
  optional :network, :string, 1
@@ -582,10 +650,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
582
650
  end
583
651
  add_message "lnrpc.Invoice" do
584
652
  optional :memo, :string, 1
585
- optional :receipt, :bytes, 2
586
653
  optional :r_preimage, :bytes, 3
587
654
  optional :r_hash, :bytes, 4
588
655
  optional :value, :int64, 5
656
+ optional :value_msat, :int64, 23
589
657
  optional :settled, :bool, 6
590
658
  optional :creation_date, :int64, 7
591
659
  optional :settle_date, :int64, 8
@@ -603,6 +671,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
603
671
  optional :amt_paid_msat, :int64, 20
604
672
  optional :state, :enum, 21, "lnrpc.Invoice.InvoiceState"
605
673
  repeated :htlcs, :message, 22, "lnrpc.InvoiceHTLC"
674
+ map :features, :uint32, :message, 24, "lnrpc.Feature"
675
+ optional :is_keysend, :bool, 25
606
676
  end
607
677
  add_enum "lnrpc.Invoice.InvoiceState" do
608
678
  value :OPEN, 0
@@ -619,6 +689,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
619
689
  optional :resolve_time, :int64, 6
620
690
  optional :expiry_height, :int32, 7
621
691
  optional :state, :enum, 8, "lnrpc.InvoiceHTLCState"
692
+ map :custom_records, :uint64, :bytes, 9
693
+ optional :mpp_total_amt_msat, :uint64, 10
622
694
  end
623
695
  add_message "lnrpc.AddInvoiceResponse" do
624
696
  optional :r_hash, :bytes, 1
@@ -657,6 +729,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
657
729
  optional :status, :enum, 10, "lnrpc.Payment.PaymentStatus"
658
730
  optional :fee_sat, :int64, 11
659
731
  optional :fee_msat, :int64, 12
732
+ optional :creation_time_ns, :int64, 13
733
+ repeated :htlcs, :message, 14, "lnrpc.HTLCAttempt"
660
734
  end
661
735
  add_enum "lnrpc.Payment.PaymentStatus" do
662
736
  value :UNKNOWN, 0
@@ -664,6 +738,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
664
738
  value :SUCCEEDED, 2
665
739
  value :FAILED, 3
666
740
  end
741
+ add_message "lnrpc.HTLCAttempt" do
742
+ optional :status, :enum, 1, "lnrpc.HTLCAttempt.HTLCStatus"
743
+ optional :route, :message, 2, "lnrpc.Route"
744
+ optional :attempt_time_ns, :int64, 3
745
+ optional :resolve_time_ns, :int64, 4
746
+ end
747
+ add_enum "lnrpc.HTLCAttempt.HTLCStatus" do
748
+ value :IN_FLIGHT, 0
749
+ value :SUCCEEDED, 1
750
+ value :FAILED, 2
751
+ end
667
752
  add_message "lnrpc.ListPaymentsRequest" do
668
753
  optional :include_incomplete, :bool, 1
669
754
  end
@@ -700,6 +785,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
700
785
  optional :fallback_addr, :string, 8
701
786
  optional :cltv_expiry, :int64, 9
702
787
  repeated :route_hints, :message, 10, "lnrpc.RouteHint"
788
+ optional :payment_addr, :bytes, 11
789
+ optional :num_msat, :int64, 12
790
+ map :features, :uint32, :message, 13, "lnrpc.Feature"
791
+ end
792
+ add_message "lnrpc.Feature" do
793
+ optional :name, :string, 2
794
+ optional :is_required, :bool, 3
795
+ optional :is_known, :bool, 4
703
796
  end
704
797
  add_message "lnrpc.FeeReportRequest" do
705
798
  end
@@ -720,6 +813,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
720
813
  optional :fee_rate, :double, 4
721
814
  optional :time_lock_delta, :uint32, 5
722
815
  optional :max_htlc_msat, :uint64, 6
816
+ optional :min_htlc_msat, :uint64, 7
817
+ optional :min_htlc_msat_specified, :bool, 8
723
818
  oneof :scope do
724
819
  optional :global, :bool, 1
725
820
  optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
@@ -741,6 +836,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
741
836
  optional :amt_out, :uint64, 6
742
837
  optional :fee, :uint64, 7
743
838
  optional :fee_msat, :uint64, 8
839
+ optional :amt_in_msat, :uint64, 9
840
+ optional :amt_out_msat, :uint64, 10
744
841
  end
745
842
  add_message "lnrpc.ForwardingHistoryResponse" do
746
843
  repeated :forwarding_events, :message, 1, "lnrpc.ForwardingEvent"
@@ -778,6 +875,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
778
875
  end
779
876
  add_message "lnrpc.VerifyChanBackupResponse" do
780
877
  end
878
+ add_message "lnrpc.MacaroonPermission" do
879
+ optional :entity, :string, 1
880
+ optional :action, :string, 2
881
+ end
882
+ add_message "lnrpc.BakeMacaroonRequest" do
883
+ repeated :permissions, :message, 1, "lnrpc.MacaroonPermission"
884
+ end
885
+ add_message "lnrpc.BakeMacaroonResponse" do
886
+ optional :macaroon, :string, 1
887
+ end
781
888
  add_enum "lnrpc.AddressType" do
782
889
  value :WITNESS_PUBKEY_HASH, 0
783
890
  value :NESTED_PUBKEY_HASH, 1
@@ -789,6 +896,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
789
896
  value :SETTLED, 1
790
897
  value :CANCELED, 2
791
898
  end
899
+ add_enum "lnrpc.FeatureBit" do
900
+ value :DATALOSS_PROTECT_REQ, 0
901
+ value :DATALOSS_PROTECT_OPT, 1
902
+ value :INITIAL_ROUING_SYNC, 3
903
+ value :UPFRONT_SHUTDOWN_SCRIPT_REQ, 4
904
+ value :UPFRONT_SHUTDOWN_SCRIPT_OPT, 5
905
+ value :GOSSIP_QUERIES_REQ, 6
906
+ value :GOSSIP_QUERIES_OPT, 7
907
+ value :TLV_ONION_REQ, 8
908
+ value :TLV_ONION_OPT, 9
909
+ value :EXT_GOSSIP_QUERIES_REQ, 10
910
+ value :EXT_GOSSIP_QUERIES_OPT, 11
911
+ value :STATIC_REMOTE_KEY_REQ, 12
912
+ value :STATIC_REMOTE_KEY_OPT, 13
913
+ value :PAYMENT_ADDR_REQ, 14
914
+ value :PAYMENT_ADDR_OPT, 15
915
+ value :MPP_REQ, 16
916
+ value :MPP_OPT, 17
917
+ end
792
918
  end
793
919
 
794
920
  module Lnrpc
@@ -843,6 +969,9 @@ module Lnrpc
843
969
  Peer::SyncType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer.SyncType").enummodule
844
970
  ListPeersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersRequest").msgclass
845
971
  ListPeersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersResponse").msgclass
972
+ PeerEventSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PeerEventSubscription").msgclass
973
+ PeerEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PeerEvent").msgclass
974
+ PeerEvent::EventType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PeerEvent.EventType").enummodule
846
975
  GetInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoRequest").msgclass
847
976
  GetInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoResponse").msgclass
848
977
  Chain = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Chain").msgclass
@@ -854,6 +983,13 @@ module Lnrpc
854
983
  PendingUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
855
984
  OpenChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
856
985
  OpenStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
986
+ KeyLocator = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.KeyLocator").msgclass
987
+ KeyDescriptor = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.KeyDescriptor").msgclass
988
+ ChanPointShim = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanPointShim").msgclass
989
+ FundingShim = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingShim").msgclass
990
+ FundingShimCancel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingShimCancel").msgclass
991
+ FundingTransitionMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingTransitionMsg").msgclass
992
+ FundingStateStepResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FundingStateStepResp").msgclass
857
993
  PendingHTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingHTLC").msgclass
858
994
  PendingChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsRequest").msgclass
859
995
  PendingChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse").msgclass
@@ -874,6 +1010,7 @@ module Lnrpc
874
1010
  EdgeLocator = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.EdgeLocator").msgclass
875
1011
  QueryRoutesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesResponse").msgclass
876
1012
  Hop = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Hop").msgclass
1013
+ MPPRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MPPRecord").msgclass
877
1014
  Route = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Route").msgclass
878
1015
  NodeInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfoRequest").msgclass
879
1016
  NodeInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfo").msgclass
@@ -905,6 +1042,8 @@ module Lnrpc
905
1042
  InvoiceSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceSubscription").msgclass
906
1043
  Payment = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment").msgclass
907
1044
  Payment::PaymentStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment.PaymentStatus").enummodule
1045
+ HTLCAttempt = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLCAttempt").msgclass
1046
+ HTLCAttempt::HTLCStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLCAttempt.HTLCStatus").enummodule
908
1047
  ListPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
909
1048
  ListPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
910
1049
  DeleteAllPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
@@ -915,6 +1054,7 @@ module Lnrpc
915
1054
  DebugLevelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelResponse").msgclass
916
1055
  PayReqString = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReqString").msgclass
917
1056
  PayReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReq").msgclass
1057
+ Feature = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Feature").msgclass
918
1058
  FeeReportRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportRequest").msgclass
919
1059
  ChannelFeeReport = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
920
1060
  FeeReportResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
@@ -933,6 +1073,10 @@ module Lnrpc
933
1073
  RestoreBackupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RestoreBackupResponse").msgclass
934
1074
  ChannelBackupSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBackupSubscription").msgclass
935
1075
  VerifyChanBackupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyChanBackupResponse").msgclass
1076
+ MacaroonPermission = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.MacaroonPermission").msgclass
1077
+ BakeMacaroonRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BakeMacaroonRequest").msgclass
1078
+ BakeMacaroonResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.BakeMacaroonResponse").msgclass
936
1079
  AddressType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddressType").enummodule
937
1080
  InvoiceHTLCState = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceHTLCState").enummodule
1081
+ FeatureBit = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeatureBit").enummodule
938
1082
  end
@@ -148,6 +148,11 @@ module Lnrpc
148
148
  # * lncli: `listpeers`
149
149
  # ListPeers returns a verbose listing of all currently active peers.
150
150
  rpc :ListPeers, ListPeersRequest, ListPeersResponse
151
+ # *
152
+ # SubscribePeerEvents creates a uni-directional stream from the server to
153
+ # the client in which any events relevant to the state of peers are sent
154
+ # over. Events include peers going online and offline.
155
+ rpc :SubscribePeerEvents, PeerEventSubscription, stream(PeerEvent)
151
156
  # * lncli: `getinfo`
152
157
  # GetInfo returns general information concerning the lightning node including
153
158
  # it's identity pubkey, alias, the chains it is connected to, and information
@@ -186,9 +191,22 @@ module Lnrpc
186
191
  # request to a remote peer. Users are able to specify a target number of
187
192
  # blocks that the funding transaction should be confirmed in, or a manual fee
188
193
  # rate to us for the funding transaction. If neither are specified, then a
189
- # lax block confirmation target is used.
194
+ # lax block confirmation target is used. Each OpenStatusUpdate will return
195
+ # the pending channel ID of the in-progress channel. Depending on the
196
+ # arguments specified in the OpenChannelRequest, this pending channel ID can
197
+ # then be used to manually progress the channel funding flow.
190
198
  rpc :OpenChannel, OpenChannelRequest, stream(OpenStatusUpdate)
191
199
  # *
200
+ # FundingStateStep is an advanced funding related call that allows the caller
201
+ # to either execute some preparatory steps for a funding workflow, or
202
+ # manually progress a funding workflow. The primary way a funding flow is
203
+ # identified is via its pending channel ID. As an example, this method can be
204
+ # used to specify that we're expecting a funding flow for a particular
205
+ # pending channel ID, for which we need to use specific parameters.
206
+ # Alternatively, this can be used to interactively drive PSBT signing for
207
+ # funding for partially complete funding transactions.
208
+ rpc :FundingStateStep, FundingTransitionMsg, FundingStateStepResp
209
+ # *
192
210
  # ChannelAcceptor dispatches a bi-directional streaming RPC in which
193
211
  # OpenChannel requests are sent to the client and the client responds with
194
212
  # a boolean that tells LND whether or not to accept the channel. This allows
@@ -256,9 +274,9 @@ module Lnrpc
256
274
  # notifying the client of newly added/settled invoices. The caller can
257
275
  # optionally specify the add_index and/or the settle_index. If the add_index
258
276
  # is specified, then we'll first start by sending add invoice events for all
259
- # invoices with an add_index greater than the specified value. If the
277
+ # invoices with an add_index greater than the specified value. If the
260
278
  # settle_index is specified, the next, we'll send out all settle events for
261
- # invoices with a settle_index greater than the specified value. One or both
279
+ # invoices with a settle_index greater than the specified value. One or both
262
280
  # of these fields can be set. If no fields are set, then we'll only send out
263
281
  # the latest add/settle events.
264
282
  rpc :SubscribeInvoices, InvoiceSubscription, stream(Invoice)
@@ -277,7 +295,7 @@ module Lnrpc
277
295
  # DescribeGraph returns a description of the latest graph state from the
278
296
  # point of view of the node. The graph information is partitioned into two
279
297
  # components: all the nodes/vertexes, and all the edges that connect the
280
- # vertexes themselves. As this is a directed graph, the edges also contain
298
+ # vertexes themselves. As this is a directed graph, the edges also contain
281
299
  # the node directional specific routing policy which includes: the time lock
282
300
  # delta, fee information, etc.
283
301
  rpc :DescribeGraph, ChannelGraphRequest, ChannelGraph
@@ -336,7 +354,7 @@ module Lnrpc
336
354
  #
337
355
  # A list of forwarding events are returned. The size of each forwarding event
338
356
  # is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
339
- # As a result each message can only contain 50k entries. Each response has
357
+ # As a result each message can only contain 50k entries. Each response has
340
358
  # the index offset of the last entry. The index offset can be provided to the
341
359
  # request to allow the caller to skip a series of records.
342
360
  rpc :ForwardingHistory, ForwardingHistoryRequest, ForwardingHistoryResponse
@@ -375,6 +393,11 @@ module Lnrpc
375
393
  # ups, but the updated set of encrypted multi-chan backups with the closed
376
394
  # channel(s) removed.
377
395
  rpc :SubscribeChannelBackups, ChannelBackupSubscription, stream(ChanBackupSnapshot)
396
+ # * lncli: `bakemacaroon`
397
+ # BakeMacaroon allows the creation of a new macaroon with custom read and
398
+ # write permissions. No first-party caveats are added since this can be done
399
+ # offline.
400
+ rpc :BakeMacaroon, BakeMacaroonRequest, BakeMacaroonResponse
378
401
  end
379
402
 
380
403
  Stub = Service.rpc_stub_class
@@ -1,3 +1,3 @@
1
1
  module Lnrpc
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lnrpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bumann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
11
+ date: 2020-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler