simulation

package
v0.8.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxSessionDuration          = 1 << 18
	MaxSessionBandwidthUpload   = math.MaxInt32
	MaxSessionBandwidthDownload = math.MaxInt32
)
View Source
const (
	MaxInactiveDuration = 1 << 18
)

Variables

View Source
var (
	OperationWeightMsgStartRequest  = "op_weight_" + types.TypeMsgStartRequest
	OperationWeightMsgUpdateRequest = "op_weight_" + types.TypeMsgUpdateRequest
	OperationWeightMsgEndRequest    = "op_weight_" + types.TypeMsgEndRequest
)

Functions

func NewStoreDecoder added in v0.8.0

func NewStoreDecoder(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string

func ParamChanges added in v0.8.0

func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange

func RandomizedGenesisState added in v0.4.0

func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState

func SimulateMsgEndRequest added in v0.8.0

func SimulateMsgStartRequest added in v0.8.0

func SimulateMsgUpdateRequest added in v0.8.0

func SimulateMsgUpdateRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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