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

     1  syntax = "proto3";
     2  
     3  package verrpc;
     4  
     5  option go_package = "github.com/decred/dcrlnd/lnrpc/verrpc";
     6  
     7  // Versioner is a service that can be used to get information about the version
     8  // and build information of the running daemon.
     9  service Versioner {
    10      /* lncli: `version`
    11      GetVersion returns the current version and build information of the running
    12      daemon.
    13      */
    14      rpc GetVersion (VersionRequest) returns (Version);
    15  }
    16  
    17  message VersionRequest {
    18  }
    19  
    20  message Version {
    21      // A verbose description of the daemon's commit.
    22      string commit = 1;
    23  
    24      // The SHA1 commit hash that the daemon is compiled with.
    25      string commit_hash = 2;
    26  
    27      // The semantic version.
    28      string version = 3;
    29  
    30      // The major application version.
    31      uint32 app_major = 4;
    32  
    33      // The minor application version.
    34      uint32 app_minor = 5;
    35  
    36      // The application patch number.
    37      uint32 app_patch = 6;
    38  
    39      // The application pre-release modifier, possibly empty.
    40      string app_pre_release = 7;
    41  
    42      // The list of build tags that were supplied during compilation.
    43      repeated string build_tags = 8;
    44  
    45      // The version of go that compiled the executable.
    46      string go_version = 9;
    47  }