1
0
mirror of https://github.com/bumi/lnrpc synced 2026-02-22 18:27:49 +00:00

Add support for v0.11 GRPC services

This also refactors the client GRPC wrapper to dynamically load the
request objects.
All GRPC generated client files now live under lib/grpc_services
This commit is contained in:
2020-08-28 14:09:57 +02:00
parent 579fc423ea
commit 404ed3b99e
31 changed files with 2758 additions and 5878 deletions

View File

@@ -0,0 +1,21 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: watchtowerrpc/watchtower.proto
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("watchtowerrpc/watchtower.proto", :syntax => :proto3) do
add_message "watchtowerrpc.GetInfoRequest" do
end
add_message "watchtowerrpc.GetInfoResponse" do
optional :pubkey, :bytes, 1
repeated :listeners, :string, 2
repeated :uris, :string, 3
end
end
end
module Watchtowerrpc
GetInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("watchtowerrpc.GetInfoRequest").msgclass
GetInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("watchtowerrpc.GetInfoResponse").msgclass
end