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

Struct LightBlock

types/light.go:13–16  ·  view source on GitHub ↗

LightBlock is a SignedHeader and a ValidatorSet. It is the basis of the light client

Source from the content-addressed store, hash-verified

11// LightBlock is a SignedHeader and a ValidatorSet.
12// It is the basis of the light client
13type LightBlock struct {
14 *SignedHeader `json:"signed_header"`
15 ValidatorSet *ValidatorSet `json:"validator_set"`
16}
17
18// ValidateBasic checks that the data is correct and consistent
19//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected