18 lines
400 B
Protocol Buffer
18 lines
400 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package tendermint.crypto;
|
||
|
|
||
|
option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto";
|
||
|
|
||
|
import "gogoproto/gogo.proto";
|
||
|
|
||
|
// PublicKey defines the keys available for use with Tendermint Validators
|
||
|
message PublicKey {
|
||
|
option (gogoproto.compare) = true;
|
||
|
option (gogoproto.equal) = true;
|
||
|
|
||
|
oneof sum {
|
||
|
bytes ed25519 = 1;
|
||
|
bytes secp256k1 = 2;
|
||
|
}
|
||
|
}
|