MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / ValidateBasic

Method ValidateBasic

types/evidence.go:29–29  ·  view source on GitHub ↗

time of the infraction

()

Source from the content-addressed store, hash-verified

27 String() string // string format of the evidence
28 Time() time.Time // time of the infraction
29 ValidateBasic() error // basic consistency check
30}
31
32//--------------------------------------------------------------------------------------

Callers 15

BlockMetaFromProtoFunction · 0.65
ValidateBasicMethod · 0.65
TestPartValidateBasicFunction · 0.65
ValidateBasicMethod · 0.65
ValidatorSetFromProtoFunction · 0.65
ValidateBasicMethod · 0.65
ValidateBasicMethod · 0.65
ValidateBasicMethod · 0.65
VoteFromProtoFunction · 0.65

Implementers 2

DuplicateVoteEvidencetypes/evidence.go
LightClientAttackEvidencetypes/evidence.go

Calls

no outgoing calls

Tested by 15

TestPartValidateBasicFunction · 0.52
TestVoteSet_MakeCommitFunction · 0.52
TestBlockValidateBasicFunction · 0.52
TestCommitValidateBasicFunction · 0.52
TestVoteValidateBasicFunction · 0.52
TestBlock_HeaderFunction · 0.52
TestValidateTrustOptionsFunction · 0.52