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

Function calcValidatorsKey

state/store.go:28–30  ·  view source on GitHub ↗

------------------------------------------------------------------------

(height int64)

Source from the content-addressed store, hash-verified

26//------------------------------------------------------------------------
27
28func calcValidatorsKey(height int64) []byte {
29 return []byte(fmt.Sprintf("validatorsKey:%v", height))
30}
31
32func calcConsensusParamsKey(height int64) []byte {
33 return []byte(fmt.Sprintf("consensusParamsKey:%v", height))

Callers 3

PruneStatesMethod · 0.85
loadValidatorsInfoFunction · 0.85
saveValidatorsInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected