github.com/decred/dcrlnd@v0.7.6/lnrpc/watchtowerrpc/watchtower.proto (about)

     1  syntax = "proto3";
     2  
     3  package watchtowerrpc;
     4  
     5  option go_package = "github.com/decred/dcrlnd/lnrpc/watchtowerrpc";
     6  
     7  // Watchtower is a service that grants access to the watchtower server
     8  // functionality of the daemon.
     9  service Watchtower {
    10      /* lncli: tower info
    11      GetInfo returns general information concerning the companion watchtower
    12      including its public key and URIs where the server is currently
    13      listening for clients.
    14      */
    15      rpc GetInfo (GetInfoRequest) returns (GetInfoResponse);
    16  }
    17  
    18  message GetInfoRequest {
    19  }
    20  
    21  message GetInfoResponse {
    22      // The public key of the watchtower.
    23      bytes pubkey = 1;
    24  
    25      // The listening addresses of the watchtower.
    26      repeated string listeners = 2;
    27  
    28      // The URIs of the watchtower.
    29      repeated string uris = 3;
    30  }