simulation

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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

func GenRandMilestone(start uint64, sprintLength uint64) (milestone types.Milestone, err error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL