mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-29 01:35:18 +00:00
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;
|
||
|
}
|
||
|
}
|