mirror of
https://github.com/bumi/lnrpc
synced 2026-03-06 15:32:59 +00:00
update GRPC files for v0.15.5-beta
This commit is contained in:
27
lib/grpc_services/peersrpc/peers_services_pb.rb
Normal file
27
lib/grpc_services/peersrpc/peers_services_pb.rb
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# Source: peersrpc/peers.proto for package 'peersrpc'
|
||||
|
||||
require 'grpc'
|
||||
require 'peersrpc/peers_pb'
|
||||
|
||||
module Peersrpc
|
||||
module Peers
|
||||
# Peers is a service that can be used to get information and interact
|
||||
# with the other nodes of the newtwork.
|
||||
class Service
|
||||
|
||||
include ::GRPC::GenericService
|
||||
|
||||
self.marshal_class_method = :encode
|
||||
self.unmarshal_class_method = :decode
|
||||
self.service_name = 'peersrpc.Peers'
|
||||
|
||||
# lncli: peers updatenodeannouncement
|
||||
# UpdateNodeAnnouncement allows the caller to update the node parameters
|
||||
# and broadcasts a new version of the node announcement to its peers.
|
||||
rpc :UpdateNodeAnnouncement, ::Peersrpc::NodeAnnouncementUpdateRequest, ::Peersrpc::NodeAnnouncementUpdateResponse
|
||||
end
|
||||
|
||||
Stub = Service.rpc_stub_class
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user