mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 16:25:21 +00:00
75dec0d79c
* sync all third party proto definitions * update cosmos swagger for new imported third party protos
21 lines
833 B
Protocol Buffer
21 lines
833 B
Protocol Buffer
syntax = "proto3";
|
|
package cosmos.evidence.v1beta1;
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types";
|
|
option (gogoproto.equal_all) = true;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
// Equivocation implements the Evidence interface and defines evidence of double
|
|
// signing misbehavior.
|
|
message Equivocation {
|
|
option (gogoproto.goproto_stringer) = false;
|
|
option (gogoproto.goproto_getters) = false;
|
|
option (gogoproto.equal) = false;
|
|
|
|
int64 height = 1;
|
|
google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
|
|
int64 power = 3;
|
|
string consensus_address = 4 [(gogoproto.moretags) = "yaml:\"consensus_address\""];
|
|
} |