github.com/MetalBlockchain/metalgo@v1.11.9/proto/keystore/keystore.proto (about)

     1  syntax = "proto3";
     2  
     3  package keystore;
     4  
     5  option go_package = "github.com/ava-labs/avalanchego/proto/pb/keystore";
     6  
     7  service Keystore {
     8    rpc GetDatabase(GetDatabaseRequest) returns (GetDatabaseResponse);
     9  }
    10  
    11  message GetDatabaseRequest {
    12    string username = 1;
    13    string password = 2;
    14  }
    15  
    16  message GetDatabaseResponse {
    17    // reserved for backward compatibility
    18    // avalanchego <=v1.7.9 used the field "1" as an id to identify the gRPC server
    19    // address which served the Database service via the now removed service broker
    20    reserved 1;
    21    // server_addr is the address of the gRPC server hosting the Database service
    22    string server_addr = 2;
    23  }