MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / handleValidatorSignature

Method handleValidatorSignature

x/slashing/keeper.go:104–172  ·  view source on GitHub ↗

handle a validator signature, must be called once per validator per block TODO refactor to take in a consensus address, additionally should maybe just take in the pubkey too

(ctx sdk.Context, addr crypto.Address, power int64, signed bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BeginBlockerFunction · 0.80

Calls 15

getPubkeyMethod · 0.95
SignedBlocksWindowMethod · 0.95
MinSignedPerWindowMethod · 0.95
SlashFractionDowntimeMethod · 0.95
LoggerMethod · 0.80
BlockHeightMethod · 0.80

Tested by

no test coverage detected