Interpret a Cosmos validator’s missed-signature counter

An incident alert needs the chain’s signing window and minimum participation along with a validator’s missed-block count. A bare count has no universal threshold.

Use the consensus address

Set CONS to the validator consensus address in the chain’s accepted format and GRPC to a TLS gRPC endpoint with reflection. Read missedBlocksCounter, jailedUntil and tombstoned along with the slashing parameters.

grpcurl -d "{\"consAddress\":\"$CONS\"}" "$GRPC" cosmos.slashing.v1beta1.Query/SigningInfo
grpcurl -d '{}' "$GRPC" cosmos.slashing.v1beta1.Query/Params

For a window of 1,000 with minimum signing fraction 0.95, the allowance is about 50 missed positions. Compare the counter with the chain’s actual integer threshold and take account of the initial observation window.

Investigate changes over the window

The counter can fall as old misses roll out. Track successive heights and inspect individual commit participation when diagnosing a burst. A tombstoned validator and a validator jailed for downtime need different operational responses. github.com Cosmos SDK Query API