Versions in this module Expand all Collapse all v1 v1.4.0 Nov 11, 2022 Changes in this version + const ConsecutiveMissedBlocksPenalty + const DummyPk + const DummySk + const SignedBlocksThreshold + const TestHasher + const TestMarshalizer + func CreateDummyEconomicsConfig() config.EconomicsConfig + func CreateDummyRatingsConfig() config.RatingsConfig + func FillGasMapMetaChainSystemSCsCosts(value uint64) map[string]uint64 + func GetBootStrapFactoryArgs() bootstrapComp.BootstrapComponentsFactoryArgs + func GetConsensusArgs(shardCoordinator sharding.Coordinator) consensusComp.ConsensusComponentsFactoryArgs + func GetCoreArgs() coreComp.CoreComponentsFactoryArgs + func GetCoreComponents() factory.CoreComponentsHolder + func GetCryptoArgs(coreComponents factory.CoreComponentsHolder) cryptoComp.CryptoComponentsFactoryArgs + func GetCryptoComponents(coreComponents factory.CoreComponentsHolder) factory.CryptoComponentsHolder + func GetDataArgs(coreComponents factory.CoreComponentsHolder, ...) dataComp.DataComponentsFactoryArgs + func GetDataComponents(coreComponents factory.CoreComponentsHolder, ...) factory.DataComponentsHolder + func GetDefaultCoreComponents() *mock.CoreComponentsMock + func GetDefaultCryptoComponents() *mock.CryptoComponentsMock + func GetDefaultDataComponents() *mock.DataComponentsMock + func GetDefaultNetworkComponents() *mock.NetworkComponentsMock + func GetDefaultProcessComponents(shardCoordinator sharding.Coordinator) *mock.ProcessComponentsMock + func GetDefaultStateComponents() *testscommon.StateComponentsMock + func GetEpochStartConfig() config.EpochStartConfig + func GetGeneralConfig() config.Config + func GetNetworkComponents() factory.NetworkComponentsHolder + func GetNetworkFactoryArgs() networkComp.NetworkComponentsFactoryArgs + func GetProcessArgs(shardCoordinator sharding.Coordinator, ...) processComp.ProcessComponentsFactoryArgs + func GetProcessComponents(shardCoordinator sharding.Coordinator, ...) factory.ProcessComponentsHolder + func GetProcessComponentsFactoryArgs(shardCoordinator sharding.Coordinator) processComp.ProcessComponentsFactoryArgs + func GetStateComponents(coreComponents factory.CoreComponentsHolder, ...) factory.StateComponentsHolder + func GetStateFactoryArgs(coreComponents factory.CoreComponentsHolder, ...) stateComp.StateComponentsFactoryArgs + func GetStatusComponents(coreComponents factory.CoreComponentsHolder, ...) factory.StatusComponentsHandler + func GetStatusComponentsFactoryArgsAndProcessComponents(shardCoordinator sharding.Coordinator) (statusComp.StatusComponentsFactoryArgs, factory.ProcessComponentsHolder) + func GetStatusCoreArgs(coreComponents factory.CoreComponentsHolder) statusCore.StatusCoreComponentsFactoryArgs + func GetStatusCoreComponents() factory.StatusCoreComponentsHolder + func SetShardCoordinator(t *testing.T, bootstrapComponents factory.BootstrapComponentsHolder, ...) + type LoadKeysFunc func(string, int) ([]byte, string, error) + func DummyLoadSkPkFromPemFile(sk []byte, pk string, err error) LoadKeysFunc