hodl-lnd_grpc 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d88819ad26911471599eb1bc2be88cfe53fa640572f7ad55623e3e52dd7b5546
4
+ data.tar.gz: 7342aeaf79dd16a2d756e7e432097ac2eee0e10093afd7740054a9c1913bd2a1
5
+ SHA512:
6
+ metadata.gz: 8a5e7490a65cac7f304fa9a933d1d118bbb94168a387524ea227ccae778075f0bab2f6ca114afda062e4d8b5a7c610a20f037da5f6a844059373240facbdb435
7
+ data.tar.gz: db00aa334c8704d29b72178e00a8f33b4cf042fd5494587898c429a7a33fc7bed01824d463b5e3006be55978e81029348a774646e4d387d806caad324e6afbfc
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .rspec_status
10
+ /lib/.DS_Store
11
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ gemspec
@@ -0,0 +1,42 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ hodl-lnd_grpc (0.2.0)
5
+ grpc (~> 1.22)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.3)
11
+ google-protobuf (3.9.0)
12
+ googleapis-common-protos-types (1.0.4)
13
+ google-protobuf (~> 3.0)
14
+ grpc (1.22.0)
15
+ google-protobuf (~> 3.8)
16
+ googleapis-common-protos-types (~> 1.0)
17
+ rake (10.5.0)
18
+ rspec (3.8.0)
19
+ rspec-core (~> 3.8.0)
20
+ rspec-expectations (~> 3.8.0)
21
+ rspec-mocks (~> 3.8.0)
22
+ rspec-core (3.8.0)
23
+ rspec-support (~> 3.8.0)
24
+ rspec-expectations (3.8.2)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.8.0)
27
+ rspec-mocks (3.8.0)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.8.0)
30
+ rspec-support (3.8.0)
31
+
32
+ PLATFORMS
33
+ ruby
34
+
35
+ DEPENDENCIES
36
+ bundler (~> 1.16)
37
+ hodl-lnd_grpc!
38
+ rake (~> 10.0)
39
+ rspec (~> 3.0)
40
+
41
+ BUNDLED WITH
42
+ 1.17.0
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 dsalamau
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+ ## Installation
2
+
3
+ Add this line to your application's Gemfile:
4
+
5
+ ```ruby
6
+ gem 'hodl-lnd_grpc'
7
+ ```
8
+
9
+ And then execute:
10
+
11
+ $ bundle
12
+
13
+ Or install it yourself as:
14
+
15
+ $ gem install hodl-lnd_grpc
16
+
17
+ ## Usage
18
+
19
+ You would need to require `lnd_grpc_services_pb.rb`:
20
+
21
+ ```ruby
22
+ require "lnd_grpc_services_pb"
23
+ ```
24
+
25
+ ## Development
26
+
27
+ After checking out the repo, run `bin/setup` to install dependencies.
28
+
29
+ To install this gem onto your local machine, run `bundle exec rake install`.
30
+
31
+ ## License
32
+
33
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
@@ -0,0 +1,34 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "hodl-lnd_grpc"
8
+ spec.version = Hodl::LndGrpc::VERSION
9
+ spec.authors = ["dsalamau"]
10
+ spec.email = ["salamaudavid@gmail.com"]
11
+
12
+ spec.summary = %q{Ruby gRPC interface for Lightning Network Daemon}
13
+ spec.license = "MIT"
14
+
15
+ if spec.respond_to?(:metadata)
16
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
+ else
18
+ raise "RubyGems 2.0 or newer is required to protect against " \
19
+ "public gem pushes."
20
+ end
21
+
22
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib","vendor"]
28
+
29
+ spec.add_dependency "grpc", "~> 1.22"
30
+
31
+ spec.add_development_dependency "bundler", "~> 1.16"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rspec", "~> 3.0"
34
+ end
@@ -0,0 +1,757 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: lnd.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.Utxo" do
37
+ optional :type, :enum, 1, "lnrpc.AddressType"
38
+ optional :address, :string, 2
39
+ optional :amount_sat, :int64, 3
40
+ optional :script_pubkey, :string, 4
41
+ optional :outpoint, :message, 5, "lnrpc.ChannelPoint"
42
+ optional :confirmations, :int64, 6
43
+ end
44
+ add_message "lnrpc.Transaction" do
45
+ optional :tx_hash, :string, 1
46
+ optional :amount, :int64, 2
47
+ optional :num_confirmations, :int32, 3
48
+ optional :block_hash, :string, 4
49
+ optional :block_height, :int32, 5
50
+ optional :time_stamp, :int64, 6
51
+ optional :total_fees, :int64, 7
52
+ repeated :dest_addresses, :string, 8
53
+ end
54
+ add_message "lnrpc.GetTransactionsRequest" do
55
+ end
56
+ add_message "lnrpc.TransactionDetails" do
57
+ repeated :transactions, :message, 1, "lnrpc.Transaction"
58
+ end
59
+ add_message "lnrpc.FeeLimit" do
60
+ oneof :limit do
61
+ optional :fixed, :int64, 1
62
+ optional :percent, :int64, 2
63
+ end
64
+ end
65
+ add_message "lnrpc.SendRequest" do
66
+ optional :dest, :bytes, 1
67
+ optional :dest_string, :string, 2
68
+ optional :amt, :int64, 3
69
+ optional :payment_hash, :bytes, 4
70
+ optional :payment_hash_string, :string, 5
71
+ optional :payment_request, :string, 6
72
+ optional :final_cltv_delta, :int32, 7
73
+ optional :fee_limit, :message, 8, "lnrpc.FeeLimit"
74
+ end
75
+ add_message "lnrpc.SendResponse" do
76
+ optional :payment_error, :string, 1
77
+ optional :payment_preimage, :bytes, 2
78
+ optional :payment_route, :message, 3, "lnrpc.Route"
79
+ optional :payment_hash, :bytes, 4
80
+ end
81
+ add_message "lnrpc.SendToRouteRequest" do
82
+ optional :payment_hash, :bytes, 1
83
+ optional :payment_hash_string, :string, 2
84
+ repeated :routes, :message, 3, "lnrpc.Route"
85
+ end
86
+ add_message "lnrpc.ChannelPoint" do
87
+ optional :output_index, :uint32, 3
88
+ oneof :funding_txid do
89
+ optional :funding_txid_bytes, :bytes, 1
90
+ optional :funding_txid_str, :string, 2
91
+ end
92
+ end
93
+ add_message "lnrpc.LightningAddress" do
94
+ optional :pubkey, :string, 1
95
+ optional :host, :string, 2
96
+ end
97
+ add_message "lnrpc.SendManyRequest" do
98
+ map :AddrToAmount, :string, :int64, 1
99
+ optional :target_conf, :int32, 3
100
+ optional :sat_per_byte, :int64, 5
101
+ end
102
+ add_message "lnrpc.SendManyResponse" do
103
+ optional :txid, :string, 1
104
+ end
105
+ add_message "lnrpc.SendCoinsRequest" do
106
+ optional :addr, :string, 1
107
+ optional :amount, :int64, 2
108
+ optional :target_conf, :int32, 3
109
+ optional :sat_per_byte, :int64, 5
110
+ end
111
+ add_message "lnrpc.SendCoinsResponse" do
112
+ optional :txid, :string, 1
113
+ end
114
+ add_message "lnrpc.ListUnspentRequest" do
115
+ optional :min_confs, :int32, 1
116
+ optional :max_confs, :int32, 2
117
+ end
118
+ add_message "lnrpc.ListUnspentResponse" do
119
+ repeated :utxos, :message, 1, "lnrpc.Utxo"
120
+ end
121
+ add_message "lnrpc.NewAddressRequest" do
122
+ optional :type, :enum, 1, "lnrpc.AddressType"
123
+ end
124
+ add_message "lnrpc.NewAddressResponse" do
125
+ optional :address, :string, 1
126
+ end
127
+ add_message "lnrpc.SignMessageRequest" do
128
+ optional :msg, :bytes, 1
129
+ end
130
+ add_message "lnrpc.SignMessageResponse" do
131
+ optional :signature, :string, 1
132
+ end
133
+ add_message "lnrpc.VerifyMessageRequest" do
134
+ optional :msg, :bytes, 1
135
+ optional :signature, :string, 2
136
+ end
137
+ add_message "lnrpc.VerifyMessageResponse" do
138
+ optional :valid, :bool, 1
139
+ optional :pubkey, :string, 2
140
+ end
141
+ add_message "lnrpc.ConnectPeerRequest" do
142
+ optional :addr, :message, 1, "lnrpc.LightningAddress"
143
+ optional :perm, :bool, 2
144
+ end
145
+ add_message "lnrpc.ConnectPeerResponse" do
146
+ end
147
+ add_message "lnrpc.DisconnectPeerRequest" do
148
+ optional :pub_key, :string, 1
149
+ end
150
+ add_message "lnrpc.DisconnectPeerResponse" do
151
+ end
152
+ add_message "lnrpc.HTLC" do
153
+ optional :incoming, :bool, 1
154
+ optional :amount, :int64, 2
155
+ optional :hash_lock, :bytes, 3
156
+ optional :expiration_height, :uint32, 4
157
+ end
158
+ add_message "lnrpc.Channel" do
159
+ optional :active, :bool, 1
160
+ optional :remote_pubkey, :string, 2
161
+ optional :channel_point, :string, 3
162
+ optional :chan_id, :uint64, 4
163
+ optional :capacity, :int64, 5
164
+ optional :local_balance, :int64, 6
165
+ optional :remote_balance, :int64, 7
166
+ optional :commit_fee, :int64, 8
167
+ optional :commit_weight, :int64, 9
168
+ optional :fee_per_kw, :int64, 10
169
+ optional :unsettled_balance, :int64, 11
170
+ optional :total_satoshis_sent, :int64, 12
171
+ optional :total_satoshis_received, :int64, 13
172
+ optional :num_updates, :uint64, 14
173
+ repeated :pending_htlcs, :message, 15, "lnrpc.HTLC"
174
+ optional :csv_delay, :uint32, 16
175
+ optional :private, :bool, 17
176
+ end
177
+ add_message "lnrpc.ListChannelsRequest" do
178
+ optional :active_only, :bool, 1
179
+ optional :inactive_only, :bool, 2
180
+ optional :public_only, :bool, 3
181
+ optional :private_only, :bool, 4
182
+ end
183
+ add_message "lnrpc.ListChannelsResponse" do
184
+ repeated :channels, :message, 11, "lnrpc.Channel"
185
+ end
186
+ add_message "lnrpc.ChannelCloseSummary" do
187
+ optional :channel_point, :string, 1
188
+ optional :chan_id, :uint64, 2
189
+ optional :chain_hash, :string, 3
190
+ optional :closing_tx_hash, :string, 4
191
+ optional :remote_pubkey, :string, 5
192
+ optional :capacity, :int64, 6
193
+ optional :close_height, :uint32, 7
194
+ optional :settled_balance, :int64, 8
195
+ optional :time_locked_balance, :int64, 9
196
+ optional :close_type, :enum, 10, "lnrpc.ChannelCloseSummary.ClosureType"
197
+ end
198
+ add_enum "lnrpc.ChannelCloseSummary.ClosureType" do
199
+ value :COOPERATIVE_CLOSE, 0
200
+ value :LOCAL_FORCE_CLOSE, 1
201
+ value :REMOTE_FORCE_CLOSE, 2
202
+ value :BREACH_CLOSE, 3
203
+ value :FUNDING_CANCELED, 4
204
+ value :ABANDONED, 5
205
+ end
206
+ add_message "lnrpc.ClosedChannelsRequest" do
207
+ optional :cooperative, :bool, 1
208
+ optional :local_force, :bool, 2
209
+ optional :remote_force, :bool, 3
210
+ optional :breach, :bool, 4
211
+ optional :funding_canceled, :bool, 5
212
+ optional :abandoned, :bool, 6
213
+ end
214
+ add_message "lnrpc.ClosedChannelsResponse" do
215
+ repeated :channels, :message, 1, "lnrpc.ChannelCloseSummary"
216
+ end
217
+ add_message "lnrpc.Peer" do
218
+ optional :pub_key, :string, 1
219
+ optional :address, :string, 3
220
+ optional :bytes_sent, :uint64, 4
221
+ optional :bytes_recv, :uint64, 5
222
+ optional :sat_sent, :int64, 6
223
+ optional :sat_recv, :int64, 7
224
+ optional :inbound, :bool, 8
225
+ optional :ping_time, :int64, 9
226
+ end
227
+ add_message "lnrpc.ListPeersRequest" do
228
+ end
229
+ add_message "lnrpc.ListPeersResponse" do
230
+ repeated :peers, :message, 1, "lnrpc.Peer"
231
+ end
232
+ add_message "lnrpc.GetInfoRequest" do
233
+ end
234
+ add_message "lnrpc.GetInfoResponse" do
235
+ optional :identity_pubkey, :string, 1
236
+ optional :alias, :string, 2
237
+ optional :num_pending_channels, :uint32, 3
238
+ optional :num_active_channels, :uint32, 4
239
+ optional :num_peers, :uint32, 5
240
+ optional :block_height, :uint32, 6
241
+ optional :block_hash, :string, 8
242
+ optional :synced_to_chain, :bool, 9
243
+ optional :testnet, :bool, 10
244
+ repeated :uris, :string, 12
245
+ optional :best_header_timestamp, :int64, 13
246
+ optional :version, :string, 14
247
+ optional :num_inactive_channels, :uint32, 15
248
+ repeated :chains, :message, 16, "lnrpc.Chain"
249
+ end
250
+ add_message "lnrpc.Chain" do
251
+ optional :chain, :string, 1
252
+ optional :network, :string, 2
253
+ end
254
+ add_message "lnrpc.ConfirmationUpdate" do
255
+ optional :block_sha, :bytes, 1
256
+ optional :block_height, :int32, 2
257
+ optional :num_confs_left, :uint32, 3
258
+ end
259
+ add_message "lnrpc.ChannelOpenUpdate" do
260
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
261
+ end
262
+ add_message "lnrpc.ChannelCloseUpdate" do
263
+ optional :closing_txid, :bytes, 1
264
+ optional :success, :bool, 2
265
+ end
266
+ add_message "lnrpc.CloseChannelRequest" do
267
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
268
+ optional :force, :bool, 2
269
+ optional :target_conf, :int32, 3
270
+ optional :sat_per_byte, :int64, 4
271
+ end
272
+ add_message "lnrpc.CloseStatusUpdate" do
273
+ oneof :update do
274
+ optional :close_pending, :message, 1, "lnrpc.PendingUpdate"
275
+ optional :chan_close, :message, 3, "lnrpc.ChannelCloseUpdate"
276
+ end
277
+ end
278
+ add_message "lnrpc.PendingUpdate" do
279
+ optional :txid, :bytes, 1
280
+ optional :output_index, :uint32, 2
281
+ end
282
+ add_message "lnrpc.OpenChannelRequest" do
283
+ optional :node_pubkey, :bytes, 2
284
+ optional :node_pubkey_string, :string, 3
285
+ optional :local_funding_amount, :int64, 4
286
+ optional :push_sat, :int64, 5
287
+ optional :target_conf, :int32, 6
288
+ optional :sat_per_byte, :int64, 7
289
+ optional :private, :bool, 8
290
+ optional :min_htlc_msat, :int64, 9
291
+ optional :remote_csv_delay, :uint32, 10
292
+ optional :min_confs, :int32, 11
293
+ optional :spend_unconfirmed, :bool, 12
294
+ end
295
+ add_message "lnrpc.OpenStatusUpdate" do
296
+ oneof :update do
297
+ optional :chan_pending, :message, 1, "lnrpc.PendingUpdate"
298
+ optional :chan_open, :message, 3, "lnrpc.ChannelOpenUpdate"
299
+ end
300
+ end
301
+ add_message "lnrpc.PendingHTLC" do
302
+ optional :incoming, :bool, 1
303
+ optional :amount, :int64, 2
304
+ optional :outpoint, :string, 3
305
+ optional :maturity_height, :uint32, 4
306
+ optional :blocks_til_maturity, :int32, 5
307
+ optional :stage, :uint32, 6
308
+ end
309
+ add_message "lnrpc.PendingChannelsRequest" do
310
+ end
311
+ add_message "lnrpc.PendingChannelsResponse" do
312
+ optional :total_limbo_balance, :int64, 1
313
+ repeated :pending_open_channels, :message, 2, "lnrpc.PendingChannelsResponse.PendingOpenChannel"
314
+ repeated :pending_closing_channels, :message, 3, "lnrpc.PendingChannelsResponse.ClosedChannel"
315
+ repeated :pending_force_closing_channels, :message, 4, "lnrpc.PendingChannelsResponse.ForceClosedChannel"
316
+ repeated :waiting_close_channels, :message, 5, "lnrpc.PendingChannelsResponse.WaitingCloseChannel"
317
+ end
318
+ add_message "lnrpc.PendingChannelsResponse.PendingChannel" do
319
+ optional :remote_node_pub, :string, 1
320
+ optional :channel_point, :string, 2
321
+ optional :capacity, :int64, 3
322
+ optional :local_balance, :int64, 4
323
+ optional :remote_balance, :int64, 5
324
+ end
325
+ add_message "lnrpc.PendingChannelsResponse.PendingOpenChannel" do
326
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
327
+ optional :confirmation_height, :uint32, 2
328
+ optional :commit_fee, :int64, 4
329
+ optional :commit_weight, :int64, 5
330
+ optional :fee_per_kw, :int64, 6
331
+ end
332
+ add_message "lnrpc.PendingChannelsResponse.WaitingCloseChannel" do
333
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
334
+ optional :limbo_balance, :int64, 2
335
+ end
336
+ add_message "lnrpc.PendingChannelsResponse.ClosedChannel" do
337
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
338
+ optional :closing_txid, :string, 2
339
+ end
340
+ add_message "lnrpc.PendingChannelsResponse.ForceClosedChannel" do
341
+ optional :channel, :message, 1, "lnrpc.PendingChannelsResponse.PendingChannel"
342
+ optional :closing_txid, :string, 2
343
+ optional :limbo_balance, :int64, 3
344
+ optional :maturity_height, :uint32, 4
345
+ optional :blocks_til_maturity, :int32, 5
346
+ optional :recovered_balance, :int64, 6
347
+ repeated :pending_htlcs, :message, 8, "lnrpc.PendingHTLC"
348
+ end
349
+ add_message "lnrpc.WalletBalanceRequest" do
350
+ end
351
+ add_message "lnrpc.WalletBalanceResponse" do
352
+ optional :total_balance, :int64, 1
353
+ optional :confirmed_balance, :int64, 2
354
+ optional :unconfirmed_balance, :int64, 3
355
+ end
356
+ add_message "lnrpc.ChannelBalanceRequest" do
357
+ end
358
+ add_message "lnrpc.ChannelBalanceResponse" do
359
+ optional :balance, :int64, 1
360
+ optional :pending_open_balance, :int64, 2
361
+ end
362
+ add_message "lnrpc.QueryRoutesRequest" do
363
+ optional :pub_key, :string, 1
364
+ optional :amt, :int64, 2
365
+ optional :num_routes, :int32, 3
366
+ optional :final_cltv_delta, :int32, 4
367
+ optional :fee_limit, :message, 5, "lnrpc.FeeLimit"
368
+ end
369
+ add_message "lnrpc.QueryRoutesResponse" do
370
+ repeated :routes, :message, 1, "lnrpc.Route"
371
+ end
372
+ add_message "lnrpc.Hop" do
373
+ optional :chan_id, :uint64, 1
374
+ optional :chan_capacity, :int64, 2
375
+ optional :amt_to_forward, :int64, 3
376
+ optional :fee, :int64, 4
377
+ optional :expiry, :uint32, 5
378
+ optional :amt_to_forward_msat, :int64, 6
379
+ optional :fee_msat, :int64, 7
380
+ optional :pub_key, :string, 8
381
+ end
382
+ add_message "lnrpc.Route" do
383
+ optional :total_time_lock, :uint32, 1
384
+ optional :total_fees, :int64, 2
385
+ optional :total_amt, :int64, 3
386
+ repeated :hops, :message, 4, "lnrpc.Hop"
387
+ optional :total_fees_msat, :int64, 5
388
+ optional :total_amt_msat, :int64, 6
389
+ end
390
+ add_message "lnrpc.NodeInfoRequest" do
391
+ optional :pub_key, :string, 1
392
+ end
393
+ add_message "lnrpc.NodeInfo" do
394
+ optional :node, :message, 1, "lnrpc.LightningNode"
395
+ optional :num_channels, :uint32, 2
396
+ optional :total_capacity, :int64, 3
397
+ end
398
+ add_message "lnrpc.LightningNode" do
399
+ optional :last_update, :uint32, 1
400
+ optional :pub_key, :string, 2
401
+ optional :alias, :string, 3
402
+ repeated :addresses, :message, 4, "lnrpc.NodeAddress"
403
+ optional :color, :string, 5
404
+ end
405
+ add_message "lnrpc.NodeAddress" do
406
+ optional :network, :string, 1
407
+ optional :addr, :string, 2
408
+ end
409
+ add_message "lnrpc.RoutingPolicy" do
410
+ optional :time_lock_delta, :uint32, 1
411
+ optional :min_htlc, :int64, 2
412
+ optional :fee_base_msat, :int64, 3
413
+ optional :fee_rate_milli_msat, :int64, 4
414
+ optional :disabled, :bool, 5
415
+ end
416
+ add_message "lnrpc.ChannelEdge" do
417
+ optional :channel_id, :uint64, 1
418
+ optional :chan_point, :string, 2
419
+ optional :last_update, :uint32, 3
420
+ optional :node1_pub, :string, 4
421
+ optional :node2_pub, :string, 5
422
+ optional :capacity, :int64, 6
423
+ optional :node1_policy, :message, 7, "lnrpc.RoutingPolicy"
424
+ optional :node2_policy, :message, 8, "lnrpc.RoutingPolicy"
425
+ end
426
+ add_message "lnrpc.ChannelGraphRequest" do
427
+ optional :include_unannounced, :bool, 1
428
+ end
429
+ add_message "lnrpc.ChannelGraph" do
430
+ repeated :nodes, :message, 1, "lnrpc.LightningNode"
431
+ repeated :edges, :message, 2, "lnrpc.ChannelEdge"
432
+ end
433
+ add_message "lnrpc.ChanInfoRequest" do
434
+ optional :chan_id, :uint64, 1
435
+ end
436
+ add_message "lnrpc.NetworkInfoRequest" do
437
+ end
438
+ add_message "lnrpc.NetworkInfo" do
439
+ optional :graph_diameter, :uint32, 1
440
+ optional :avg_out_degree, :double, 2
441
+ optional :max_out_degree, :uint32, 3
442
+ optional :num_nodes, :uint32, 4
443
+ optional :num_channels, :uint32, 5
444
+ optional :total_network_capacity, :int64, 6
445
+ optional :avg_channel_size, :double, 7
446
+ optional :min_channel_size, :int64, 8
447
+ optional :max_channel_size, :int64, 9
448
+ end
449
+ add_message "lnrpc.StopRequest" do
450
+ end
451
+ add_message "lnrpc.StopResponse" do
452
+ end
453
+ add_message "lnrpc.GraphTopologySubscription" do
454
+ end
455
+ add_message "lnrpc.GraphTopologyUpdate" do
456
+ repeated :node_updates, :message, 1, "lnrpc.NodeUpdate"
457
+ repeated :channel_updates, :message, 2, "lnrpc.ChannelEdgeUpdate"
458
+ repeated :closed_chans, :message, 3, "lnrpc.ClosedChannelUpdate"
459
+ end
460
+ add_message "lnrpc.NodeUpdate" do
461
+ repeated :addresses, :string, 1
462
+ optional :identity_key, :string, 2
463
+ optional :global_features, :bytes, 3
464
+ optional :alias, :string, 4
465
+ end
466
+ add_message "lnrpc.ChannelEdgeUpdate" do
467
+ optional :chan_id, :uint64, 1
468
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
469
+ optional :capacity, :int64, 3
470
+ optional :routing_policy, :message, 4, "lnrpc.RoutingPolicy"
471
+ optional :advertising_node, :string, 5
472
+ optional :connecting_node, :string, 6
473
+ end
474
+ add_message "lnrpc.ClosedChannelUpdate" do
475
+ optional :chan_id, :uint64, 1
476
+ optional :capacity, :int64, 2
477
+ optional :closed_height, :uint32, 3
478
+ optional :chan_point, :message, 4, "lnrpc.ChannelPoint"
479
+ end
480
+ add_message "lnrpc.HopHint" do
481
+ optional :node_id, :string, 1
482
+ optional :chan_id, :uint64, 2
483
+ optional :fee_base_msat, :uint32, 3
484
+ optional :fee_proportional_millionths, :uint32, 4
485
+ optional :cltv_expiry_delta, :uint32, 5
486
+ end
487
+ add_message "lnrpc.RouteHint" do
488
+ repeated :hop_hints, :message, 1, "lnrpc.HopHint"
489
+ end
490
+ add_message "lnrpc.Invoice" do
491
+ optional :memo, :string, 1
492
+ optional :receipt, :bytes, 2
493
+ optional :r_preimage, :bytes, 3
494
+ optional :r_hash, :bytes, 4
495
+ optional :value, :int64, 5
496
+ optional :settled, :bool, 6
497
+ optional :creation_date, :int64, 7
498
+ optional :settle_date, :int64, 8
499
+ optional :payment_request, :string, 9
500
+ optional :description_hash, :bytes, 10
501
+ optional :expiry, :int64, 11
502
+ optional :fallback_addr, :string, 12
503
+ optional :cltv_expiry, :uint64, 13
504
+ repeated :route_hints, :message, 14, "lnrpc.RouteHint"
505
+ optional :private, :bool, 15
506
+ optional :add_index, :uint64, 16
507
+ optional :settle_index, :uint64, 17
508
+ optional :amt_paid, :int64, 18
509
+ optional :amt_paid_sat, :int64, 19
510
+ optional :amt_paid_msat, :int64, 20
511
+ optional :state, :enum, 21, "lnrpc.Invoice.InvoiceState"
512
+ end
513
+ add_enum "lnrpc.Invoice.InvoiceState" do
514
+ value :OPEN, 0
515
+ value :SETTLED, 1
516
+ end
517
+ add_message "lnrpc.AddInvoiceResponse" do
518
+ optional :r_hash, :bytes, 1
519
+ optional :payment_request, :string, 2
520
+ optional :add_index, :uint64, 16
521
+ end
522
+ add_message "lnrpc.PaymentHash" do
523
+ optional :r_hash_str, :string, 1
524
+ optional :r_hash, :bytes, 2
525
+ end
526
+ add_message "lnrpc.ListInvoiceRequest" do
527
+ optional :pending_only, :bool, 1
528
+ optional :index_offset, :uint64, 4
529
+ optional :num_max_invoices, :uint64, 5
530
+ optional :reversed, :bool, 6
531
+ end
532
+ add_message "lnrpc.ListInvoiceResponse" do
533
+ repeated :invoices, :message, 1, "lnrpc.Invoice"
534
+ optional :last_index_offset, :uint64, 2
535
+ optional :first_index_offset, :uint64, 3
536
+ end
537
+ add_message "lnrpc.InvoiceSubscription" do
538
+ optional :add_index, :uint64, 1
539
+ optional :settle_index, :uint64, 2
540
+ end
541
+ add_message "lnrpc.Payment" do
542
+ optional :payment_hash, :string, 1
543
+ optional :value, :int64, 2
544
+ optional :creation_date, :int64, 3
545
+ repeated :path, :string, 4
546
+ optional :fee, :int64, 5
547
+ optional :payment_preimage, :string, 6
548
+ optional :value_sat, :int64, 7
549
+ optional :value_msat, :int64, 8
550
+ end
551
+ add_message "lnrpc.ListPaymentsRequest" do
552
+ end
553
+ add_message "lnrpc.ListPaymentsResponse" do
554
+ repeated :payments, :message, 1, "lnrpc.Payment"
555
+ end
556
+ add_message "lnrpc.DeleteAllPaymentsRequest" do
557
+ end
558
+ add_message "lnrpc.DeleteAllPaymentsResponse" do
559
+ end
560
+ add_message "lnrpc.AbandonChannelRequest" do
561
+ optional :channel_point, :message, 1, "lnrpc.ChannelPoint"
562
+ end
563
+ add_message "lnrpc.AbandonChannelResponse" do
564
+ end
565
+ add_message "lnrpc.DebugLevelRequest" do
566
+ optional :show, :bool, 1
567
+ optional :level_spec, :string, 2
568
+ end
569
+ add_message "lnrpc.DebugLevelResponse" do
570
+ optional :sub_systems, :string, 1
571
+ end
572
+ add_message "lnrpc.PayReqString" do
573
+ optional :pay_req, :string, 1
574
+ end
575
+ add_message "lnrpc.PayReq" do
576
+ optional :destination, :string, 1
577
+ optional :payment_hash, :string, 2
578
+ optional :num_satoshis, :int64, 3
579
+ optional :timestamp, :int64, 4
580
+ optional :expiry, :int64, 5
581
+ optional :description, :string, 6
582
+ optional :description_hash, :string, 7
583
+ optional :fallback_addr, :string, 8
584
+ optional :cltv_expiry, :int64, 9
585
+ repeated :route_hints, :message, 10, "lnrpc.RouteHint"
586
+ end
587
+ add_message "lnrpc.FeeReportRequest" do
588
+ end
589
+ add_message "lnrpc.ChannelFeeReport" do
590
+ optional :chan_point, :string, 1
591
+ optional :base_fee_msat, :int64, 2
592
+ optional :fee_per_mil, :int64, 3
593
+ optional :fee_rate, :double, 4
594
+ end
595
+ add_message "lnrpc.FeeReportResponse" do
596
+ repeated :channel_fees, :message, 1, "lnrpc.ChannelFeeReport"
597
+ optional :day_fee_sum, :uint64, 2
598
+ optional :week_fee_sum, :uint64, 3
599
+ optional :month_fee_sum, :uint64, 4
600
+ end
601
+ add_message "lnrpc.PolicyUpdateRequest" do
602
+ optional :base_fee_msat, :int64, 3
603
+ optional :fee_rate, :double, 4
604
+ optional :time_lock_delta, :uint32, 5
605
+ oneof :scope do
606
+ optional :global, :bool, 1
607
+ optional :chan_point, :message, 2, "lnrpc.ChannelPoint"
608
+ end
609
+ end
610
+ add_message "lnrpc.PolicyUpdateResponse" do
611
+ end
612
+ add_message "lnrpc.ForwardingHistoryRequest" do
613
+ optional :start_time, :uint64, 1
614
+ optional :end_time, :uint64, 2
615
+ optional :index_offset, :uint32, 3
616
+ optional :num_max_events, :uint32, 4
617
+ end
618
+ add_message "lnrpc.ForwardingEvent" do
619
+ optional :timestamp, :uint64, 1
620
+ optional :chan_id_in, :uint64, 2
621
+ optional :chan_id_out, :uint64, 4
622
+ optional :amt_in, :uint64, 5
623
+ optional :amt_out, :uint64, 6
624
+ optional :fee, :uint64, 7
625
+ optional :fee_msat, :uint64, 8
626
+ end
627
+ add_message "lnrpc.ForwardingHistoryResponse" do
628
+ repeated :forwarding_events, :message, 1, "lnrpc.ForwardingEvent"
629
+ optional :last_offset_index, :uint32, 2
630
+ end
631
+ add_enum "lnrpc.AddressType" do
632
+ value :WITNESS_PUBKEY_HASH, 0
633
+ value :NESTED_PUBKEY_HASH, 1
634
+ end
635
+ end
636
+
637
+ module Lnrpc
638
+ GenSeedRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedRequest").msgclass
639
+ GenSeedResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GenSeedResponse").msgclass
640
+ InitWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletRequest").msgclass
641
+ InitWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InitWalletResponse").msgclass
642
+ UnlockWalletRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletRequest").msgclass
643
+ UnlockWalletResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.UnlockWalletResponse").msgclass
644
+ ChangePasswordRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordRequest").msgclass
645
+ ChangePasswordResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChangePasswordResponse").msgclass
646
+ Utxo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Utxo").msgclass
647
+ Transaction = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Transaction").msgclass
648
+ GetTransactionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetTransactionsRequest").msgclass
649
+ TransactionDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.TransactionDetails").msgclass
650
+ FeeLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeLimit").msgclass
651
+ SendRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendRequest").msgclass
652
+ SendResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendResponse").msgclass
653
+ SendToRouteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendToRouteRequest").msgclass
654
+ ChannelPoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelPoint").msgclass
655
+ LightningAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningAddress").msgclass
656
+ SendManyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyRequest").msgclass
657
+ SendManyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendManyResponse").msgclass
658
+ SendCoinsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsRequest").msgclass
659
+ SendCoinsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SendCoinsResponse").msgclass
660
+ ListUnspentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListUnspentRequest").msgclass
661
+ ListUnspentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListUnspentResponse").msgclass
662
+ NewAddressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressRequest").msgclass
663
+ NewAddressResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NewAddressResponse").msgclass
664
+ SignMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageRequest").msgclass
665
+ SignMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.SignMessageResponse").msgclass
666
+ VerifyMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageRequest").msgclass
667
+ VerifyMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.VerifyMessageResponse").msgclass
668
+ ConnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerRequest").msgclass
669
+ ConnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConnectPeerResponse").msgclass
670
+ DisconnectPeerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerRequest").msgclass
671
+ DisconnectPeerResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DisconnectPeerResponse").msgclass
672
+ HTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HTLC").msgclass
673
+ Channel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Channel").msgclass
674
+ ListChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsRequest").msgclass
675
+ ListChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListChannelsResponse").msgclass
676
+ ChannelCloseSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary").msgclass
677
+ ChannelCloseSummary::ClosureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseSummary.ClosureType").enummodule
678
+ ClosedChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsRequest").msgclass
679
+ ClosedChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelsResponse").msgclass
680
+ Peer = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Peer").msgclass
681
+ ListPeersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersRequest").msgclass
682
+ ListPeersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPeersResponse").msgclass
683
+ GetInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoRequest").msgclass
684
+ GetInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GetInfoResponse").msgclass
685
+ Chain = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Chain").msgclass
686
+ ConfirmationUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ConfirmationUpdate").msgclass
687
+ ChannelOpenUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelOpenUpdate").msgclass
688
+ ChannelCloseUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelCloseUpdate").msgclass
689
+ CloseChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseChannelRequest").msgclass
690
+ CloseStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.CloseStatusUpdate").msgclass
691
+ PendingUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingUpdate").msgclass
692
+ OpenChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenChannelRequest").msgclass
693
+ OpenStatusUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.OpenStatusUpdate").msgclass
694
+ PendingHTLC = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingHTLC").msgclass
695
+ PendingChannelsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsRequest").msgclass
696
+ PendingChannelsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse").msgclass
697
+ PendingChannelsResponse::PendingChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingChannel").msgclass
698
+ PendingChannelsResponse::PendingOpenChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.PendingOpenChannel").msgclass
699
+ PendingChannelsResponse::WaitingCloseChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.WaitingCloseChannel").msgclass
700
+ PendingChannelsResponse::ClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ClosedChannel").msgclass
701
+ PendingChannelsResponse::ForceClosedChannel = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PendingChannelsResponse.ForceClosedChannel").msgclass
702
+ WalletBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceRequest").msgclass
703
+ WalletBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.WalletBalanceResponse").msgclass
704
+ ChannelBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceRequest").msgclass
705
+ ChannelBalanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelBalanceResponse").msgclass
706
+ QueryRoutesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesRequest").msgclass
707
+ QueryRoutesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.QueryRoutesResponse").msgclass
708
+ Hop = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Hop").msgclass
709
+ Route = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Route").msgclass
710
+ NodeInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfoRequest").msgclass
711
+ NodeInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeInfo").msgclass
712
+ LightningNode = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.LightningNode").msgclass
713
+ NodeAddress = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeAddress").msgclass
714
+ RoutingPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RoutingPolicy").msgclass
715
+ ChannelEdge = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdge").msgclass
716
+ ChannelGraphRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraphRequest").msgclass
717
+ ChannelGraph = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelGraph").msgclass
718
+ ChanInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChanInfoRequest").msgclass
719
+ NetworkInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfoRequest").msgclass
720
+ NetworkInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NetworkInfo").msgclass
721
+ StopRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopRequest").msgclass
722
+ StopResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.StopResponse").msgclass
723
+ GraphTopologySubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologySubscription").msgclass
724
+ GraphTopologyUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.GraphTopologyUpdate").msgclass
725
+ NodeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.NodeUpdate").msgclass
726
+ ChannelEdgeUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelEdgeUpdate").msgclass
727
+ ClosedChannelUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ClosedChannelUpdate").msgclass
728
+ HopHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.HopHint").msgclass
729
+ RouteHint = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.RouteHint").msgclass
730
+ Invoice = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice").msgclass
731
+ Invoice::InvoiceState = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Invoice.InvoiceState").enummodule
732
+ AddInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddInvoiceResponse").msgclass
733
+ PaymentHash = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PaymentHash").msgclass
734
+ ListInvoiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceRequest").msgclass
735
+ ListInvoiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListInvoiceResponse").msgclass
736
+ InvoiceSubscription = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.InvoiceSubscription").msgclass
737
+ Payment = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.Payment").msgclass
738
+ ListPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsRequest").msgclass
739
+ ListPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ListPaymentsResponse").msgclass
740
+ DeleteAllPaymentsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsRequest").msgclass
741
+ DeleteAllPaymentsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DeleteAllPaymentsResponse").msgclass
742
+ AbandonChannelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelRequest").msgclass
743
+ AbandonChannelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AbandonChannelResponse").msgclass
744
+ DebugLevelRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelRequest").msgclass
745
+ DebugLevelResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.DebugLevelResponse").msgclass
746
+ PayReqString = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReqString").msgclass
747
+ PayReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PayReq").msgclass
748
+ FeeReportRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportRequest").msgclass
749
+ ChannelFeeReport = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ChannelFeeReport").msgclass
750
+ FeeReportResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.FeeReportResponse").msgclass
751
+ PolicyUpdateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateRequest").msgclass
752
+ PolicyUpdateResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.PolicyUpdateResponse").msgclass
753
+ ForwardingHistoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryRequest").msgclass
754
+ ForwardingEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingEvent").msgclass
755
+ ForwardingHistoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.ForwardingHistoryResponse").msgclass
756
+ AddressType = Google::Protobuf::DescriptorPool.generated_pool.lookup("lnrpc.AddressType").enummodule
757
+ end