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

Method handleDoubleSign

x/slashing/keeper.go:39–100  ·  view source on GitHub ↗

handle a validator signing two blocks at the same height power: power of the double-signing validator at the height of infraction

(ctx sdk.Context, addr crypto.Address, infractionHeight int64, timestamp time.Time, power int64)

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
MaxEvidenceAgeMethod · 0.95
capBySlashingPeriodMethod · 0.95
LoggerMethod · 0.80
BlockHeaderMethod · 0.80
ConsAddressMethod · 0.80
InfoMethod · 0.80
ValidatorByConsAddrMethod · 0.65

Tested by

no test coverage detected