github.com/franono/tendermint@v0.32.2-0.20200527150959-749313264ce9/proto/crypto/keys/types.proto (about) 1 syntax = "proto3"; 2 package tendermint.proto.crypto.keys; 3 4 option go_package = "github.com/franono/tendermint/proto/crypto/keys"; 5 6 import "third_party/proto/gogoproto/gogo.proto"; 7 8 // PublicKey defines the keys available for use with Tendermint Validators 9 message PublicKey { 10 option (gogoproto.compare) = true; 11 option (gogoproto.equal) = true; 12 13 oneof sum { 14 bytes ed25519 = 1; 15 } 16 } 17 18 // PrivateKey defines the keys available for use with Tendermint Validators 19 // WARNING PrivateKey is used for internal purposes only 20 message PrivateKey { 21 oneof sum { 22 bytes ed25519 = 1; 23 } 24 }