Documentation ¶
Index ¶
- func GenRandCheckpoint(start uint64, headerSize uint64, maxCheckpointLenght uint64) (headerBlock types.Checkpoint, err error)
- func GenRandMilestone(start uint64, sprintLength uint64) (milestone types.Milestone, err error)
- func LoadValidatorSet(t *testing.T, count int, keeper staking.Keeper, ctx sdk.Context, ...) types.ValidatorSet
- func RandomizedGenState(simState *module.SimulationState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRandCheckpoint ¶
func GenRandCheckpoint(start uint64, headerSize uint64, maxCheckpointLenght uint64) (headerBlock types.Checkpoint, err error)
GenRandCheckpoint return headers
func GenRandMilestone ¶ added in v1.0.1
GenRandMilestone return headers
func LoadValidatorSet ¶
func LoadValidatorSet(t *testing.T, count int, keeper staking.Keeper, ctx sdk.Context, randomise bool, timeAlive int) types.ValidatorSet
LoadValidatorSet loads validator set
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState return dummy genesis
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.