You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
792 B

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