mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-13 03:25:20 +00:00
20 lines
560 B
Protocol Buffer
20 lines
560 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package ethermint.crypto.v1.ethsecp256k1;
|
||
|
|
||
|
import "gogoproto/gogo.proto";
|
||
|
|
||
|
option go_package = "github.com/tharsis/ethermint/crypto/ethsecp256k1";
|
||
|
|
||
|
// PubKey defines a type alias for an ecdsa.PublicKey that implements
|
||
|
// Tendermint's PubKey interface. It represents the 33-byte compressed public
|
||
|
// key format.
|
||
|
message PubKey {
|
||
|
option (gogoproto.goproto_stringer) = false;
|
||
|
|
||
|
bytes key = 1;
|
||
|
}
|
||
|
|
||
|
// PrivKey defines a type alias for an ecdsa.PrivateKey that implements
|
||
|
// Tendermint's PrivateKey interface.
|
||
|
message PrivKey { bytes key = 1; }
|