github.com/adoriasoft/tendermint@v0.34.0-dev1.0.20200722151356-96d84601a75a/proto/tendermint/crypto/keys.proto (about) 1 syntax = "proto3"; 2 package tendermint.crypto; 3 4 option go_package = "github.com/adoriasoft/tendermint/proto/tendermint/crypto"; 5 6 import "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 }