2019-06-21 02:53:09 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package watchtowerrpc;
|
|
|
|
|
|
|
|
option go_package = "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc";
|
|
|
|
|
|
|
|
service Watchtower {
|
2020-02-11 16:05:42 +03:00
|
|
|
/** lncli: tower info
|
|
|
|
GetInfo returns general information concerning the companion watchtower
|
|
|
|
including it's public key and URIs where the server is currently
|
|
|
|
listening for clients.
|
|
|
|
*/
|
|
|
|
rpc GetInfo (GetInfoRequest) returns (GetInfoResponse);
|
2019-06-21 02:53:09 +03:00
|
|
|
}
|
|
|
|
|
2020-02-11 16:05:42 +03:00
|
|
|
message GetInfoRequest {
|
2019-06-21 02:53:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetInfoResponse {
|
2020-02-11 16:05:42 +03:00
|
|
|
/// The public key of the watchtower.
|
|
|
|
bytes pubkey = 1;
|
2019-06-21 02:53:09 +03:00
|
|
|
|
2020-02-11 16:05:42 +03:00
|
|
|
/// The listening addresses of the watchtower.
|
|
|
|
repeated string listeners = 2;
|
2019-06-21 02:53:09 +03:00
|
|
|
|
2020-02-11 16:05:42 +03:00
|
|
|
/// The URIs of the watchtower.
|
|
|
|
repeated string uris = 3;
|
2019-06-21 02:53:09 +03:00
|
|
|
}
|