1
0
mirror of https://github.com/bumi/lnrpc synced 2026-02-14 15:27:50 +00:00

grpc files for v0.12.1-beta

This commit is contained in:
2021-07-09 21:19:28 +02:00
parent 0ceddc872b
commit 641b8113f2
17 changed files with 313 additions and 127 deletions

View File

@@ -11,7 +11,7 @@ module Autopilotrpc
# that can be used when deciding where to open channels.
class Service
include GRPC::GenericService
include ::GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
@@ -19,20 +19,20 @@ module Autopilotrpc
#
# Status returns whether the daemon's autopilot agent is active.
rpc :Status, StatusRequest, StatusResponse
rpc :Status, ::Autopilotrpc::StatusRequest, ::Autopilotrpc::StatusResponse
#
# ModifyStatus is used to modify the status of the autopilot agent, like
# enabling or disabling it.
rpc :ModifyStatus, ModifyStatusRequest, ModifyStatusResponse
rpc :ModifyStatus, ::Autopilotrpc::ModifyStatusRequest, ::Autopilotrpc::ModifyStatusResponse
#
# QueryScores queries all available autopilot heuristics, in addition to any
# active combination of these heruristics, for the scores they would give to
# the given nodes.
rpc :QueryScores, QueryScoresRequest, QueryScoresResponse
rpc :QueryScores, ::Autopilotrpc::QueryScoresRequest, ::Autopilotrpc::QueryScoresResponse
#
# SetScores attempts to set the scores used by the running autopilot agent,
# if the external scoring heuristic is enabled.
rpc :SetScores, SetScoresRequest, SetScoresResponse
rpc :SetScores, ::Autopilotrpc::SetScoresRequest, ::Autopilotrpc::SetScoresResponse
end
Stub = Service.rpc_stub_class