mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-19 07:15:03 +00:00
@@ -2936,11 +2936,14 @@ func (m *VoteInfo) GetSignedLastBlock() bool {
|
||||
}
|
||||
|
||||
type Evidence struct {
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
|
||||
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
||||
Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
|
||||
TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
|
||||
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
||||
Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
|
||||
// Total voting power of the validator set in case the ABCI application does
|
||||
// not store historical validators.
|
||||
// https://github.com/tendermint/tendermint/issues/4581
|
||||
TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Evidence) Reset() { *m = Evidence{} }
|
||||
|
||||
@@ -352,6 +352,9 @@ message Evidence {
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.stdtime) = true
|
||||
];
|
||||
// Total voting power of the validator set in case the ABCI application does
|
||||
// not store historical validators.
|
||||
// https://github.com/tendermint/tendermint/issues/4581
|
||||
int64 total_voting_power = 5;
|
||||
}
|
||||
|
||||
|
||||
@@ -369,9 +369,7 @@ func init() {
|
||||
proto.RegisterType((*TimedWALMessage)(nil), "tendermint.consensus.TimedWALMessage")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("tendermint/consensus/walmsgs.proto", fileDescriptor_ba295fe8d98f7e98)
|
||||
}
|
||||
func init() { proto.RegisterFile("tendermint/consensus/walmsgs.proto", fileDescriptor_ba295fe8d98f7e98) }
|
||||
|
||||
var fileDescriptor_ba295fe8d98f7e98 = []byte{
|
||||
// 542 bytes of a gzipped FileDescriptorProto
|
||||
|
||||
@@ -178,9 +178,7 @@ func init() {
|
||||
proto.RegisterType((*PrivateKey)(nil), "tendermint.crypto.keys.PrivateKey")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("tendermint/crypto/keys/types.proto", fileDescriptor_6e4a90a3275dcf41)
|
||||
}
|
||||
func init() { proto.RegisterFile("tendermint/crypto/keys/types.proto", fileDescriptor_6e4a90a3275dcf41) }
|
||||
|
||||
var fileDescriptor_6e4a90a3275dcf41 = []byte{
|
||||
// 205 bytes of a gzipped FileDescriptorProto
|
||||
|
||||
Reference in New Issue
Block a user