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

Method RemoveValidator

x/stake/keeper/validator.go:187–210  ·  view source on GitHub ↗

remove the validator record and associated indexes except for the bonded validator index which is only handled in ApplyAndReturnTendermintUpdates

(ctx sdk.Context, address sdk.ValAddress)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

unbondMethod · 0.95

Calls 9

GetValidatorMethod · 0.95
GetPoolMethod · 0.95
GetValidatorKeyFunction · 0.85
KVStoreMethod · 0.80
ConsAddressMethod · 0.80
DeleteMethod · 0.65
OnValidatorRemovedMethod · 0.65

Tested by

no test coverage detected