github.com/vipernet-xyz/tendermint-core@v0.32.0/proto/privval/types.proto (about)

     1  syntax = "proto3";
     2  package tendermint.proto.privval;
     3  
     4  option go_package = "github.com/tendermint/tendermint/proto/privval";
     5  
     6  import "third_party/proto/gogoproto/gogo.proto";
     7  import "proto/crypto/keys/types.proto";
     8  
     9  // FilePVKey stores the immutable part of PrivValidator.
    10  message FilePVKey {
    11    bytes                                   address  = 1;
    12    tendermint.proto.crypto.keys.PublicKey  pub_key  = 2 [(gogoproto.nullable) = false];
    13    tendermint.proto.crypto.keys.PrivateKey priv_key = 3 [(gogoproto.nullable) = false];
    14  
    15    string file_path = 4;
    16  }
    17  
    18  // FilePVLastSignState stores the mutable part of PrivValidator.
    19  message FilePVLastSignState {
    20    int64 height     = 1;
    21    int64 round      = 2;
    22    int32 step       = 3;
    23    bytes signature  = 4;
    24    bytes sign_bytes = 5;
    25  
    26    string file_path = 6;
    27  }