Documentation ¶
Index ¶
- func NewMultipleShardsCoordinatorFake(numOfShards uint32, currentShard uint32) *multipleShardsCoordinatorFake
- type EnableEpochsHandlerMock
- func (mock *EnableEpochsHandlerMock) BalanceWaitingListsEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) BlockGasAndFeesReCheckEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) CheckExecuteReadOnlyEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) CreateNFTThroughExecByCallerEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) DisableExecByCallerEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) FixFailExecutionOnErrorEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) FixOOGReturnCodeEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) IsAddFailedRelayedTxToInvalidMBsFlag() bool
- func (mock *EnableEpochsHandlerMock) IsAddTokensToDelegationFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsAheadOfTimeGasUsageFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsBackwardCompSaveKeyValueFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsBalanceWaitingListsFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsBelowSignedThresholdFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsBuiltInFunctionOnMetaFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsBuiltInFunctionsFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsChangeDelegationOwnerFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCheckCorrectTokenIDForTransferRoleFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCheckExecuteOnReadOnlyFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCheckFrozenCollectionFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCheckFunctionArgumentFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCheckTransferFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCleanUpInformativeSCRsFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsComputeRewardCheckpointFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCorrectFirstQueuedFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCorrectJailedNotUnStakedEmptyQueueFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCorrectLastUnJailedFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsCorrectLastUnJailedFlagEnabledForCurrentEpoch() bool
- func (mock *EnableEpochsHandlerMock) IsCreateNFTThroughExecByCallerFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsDelegationManagerFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsDelegationSmartContractFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsDelegationSmartContractFlagEnabledForCurrentEpoch() bool
- func (mock *EnableEpochsHandlerMock) IsDeleteDelegatorAfterClaimRewardsFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsDisableExecByCallerFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsDoNotReturnOldBlockInBlockchainHookFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsDoubleKeyProtectionFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTFlagEnabledForCurrentEpoch() bool
- func (mock *EnableEpochsHandlerMock) IsESDTMetadataContinuousCleanupFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTMultiTransferFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTNFTCreateOnMultiShardFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTNFTImprovementV1FlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTRegisterAndSetAllRolesFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsESDTTransferRoleFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsFailExecutionOnEveryAPIErrorFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsFixAsyncCallBackArgsListFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsFixAsyncCallbackCheckFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsFixOOGReturnCodeFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsFixOldTokenLiquidityEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsFrontRunningProtectionFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsGasPriceModifierFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsGlobalMintBurnFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsGovernanceFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsGovernanceFlagEnabledForCurrentEpoch() bool
- func (mock *EnableEpochsHandlerMock) IsIncrementSCRNonceInMultiTransferFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsInterfaceNil() bool
- func (mock *EnableEpochsHandlerMock) IsManagedCryptoAPIsFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsMetaESDTSetFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsMetaProtectionFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsMiniBlockPartialExecutionFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsMultiESDTTransferFixOnCallBackFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsOptimizeGasUsedInCrossMiniBlocksFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsOptimizeNFTStoreFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsPayableBySCFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsPenalizedTooMuchGasFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsReDelegateBelowMinCheckFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsRefactorContextFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsRefactorPeersMiniBlocksFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsRelayedTransactionsFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsRelayedTransactionsV2FlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsRemoveNonUpdatedStorageFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsRepairCallbackFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsReturnDataToLastTransferFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSCDeployFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSCRSizeInvariantCheckFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSCRSizeInvariantOnBuiltInResultFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSaveJailedAlwaysFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSaveToSystemAccountFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsScheduledMiniBlocksFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSendAlwaysFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSenderInOutTransferFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSetSenderInEeiOutputTransferFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsStakeFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsStakingV2FlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsStakingV2FlagEnabledForActivationEpochCompleted() bool
- func (mock *EnableEpochsHandlerMock) IsStakingV2OwnerFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsStopDecreasingValidatorRatingWhenStuckFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsStorageAPICostOptimizationFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSwitchHysteresisForMinNodesFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsSwitchHysteresisForMinNodesFlagEnabledForCurrentEpoch() bool
- func (mock *EnableEpochsHandlerMock) IsSwitchJailWaitingFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsTransactionSignedWithTxHashFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsTransferToMetaFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsUnBondTokensV2FlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsValidatorToDelegationFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsValueLengthCheckFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) IsWaitingListFixFlagEnabled() bool
- func (mock *EnableEpochsHandlerMock) ManagedCryptoAPIEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) MiniBlockPartialExecutionEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) MultiESDTTransferAsyncCallBackEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) RefactorContextEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) RefactorPeersMiniBlocksEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) RemoveNonUpdatedStorageEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) ResetPenalizedTooMuchGasFlag()
- func (mock *EnableEpochsHandlerMock) ScheduledMiniBlocksEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) StakingV2EnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) StorageAPICostOptimizationEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) SwitchJailWaitingEnableEpoch() uint32
- func (mock *EnableEpochsHandlerMock) WaitingListFixEnableEpoch() uint32
- type EpochHandlerMock
- type EpochHandlerStub
- type EpochStartNotifierStub
- func (esnm *EpochStartNotifierStub) IsInterfaceNil() bool
- func (esnm *EpochStartNotifierStub) NotifyAll(hdr data.HeaderHandler)
- func (esnm *EpochStartNotifierStub) NotifyAllPrepare(metaHdr data.HeaderHandler, body data.BodyHandler, ...)
- func (esnm *EpochStartNotifierStub) RegisterHandler(handler epochStart.ActionHandler)
- func (esnm *EpochStartNotifierStub) UnregisterHandler(handler epochStart.ActionHandler)
- type HasherStub
- type ListIndexUpdaterStub
- type MarshalizerMock
- type NodesCoordinatorCacheMock
- type PubkeyConverterMock
- type RaterMock
- type ShuffledOutHandlerStub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMultipleShardsCoordinatorFake ¶
func NewMultipleShardsCoordinatorFake(numOfShards uint32, currentShard uint32) *multipleShardsCoordinatorFake
NewMultipleShardsCoordinatorFake -
Types ¶
type EnableEpochsHandlerMock ¶ added in v1.4.0
type EnableEpochsHandlerMock struct { WaitingListFixEnableEpochField uint32 RefactorPeersMiniBlocksEnableEpochField uint32 IsRefactorPeersMiniBlocksFlagEnabledField bool }
EnableEpochsHandlerMock -
func (*EnableEpochsHandlerMock) BalanceWaitingListsEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) BalanceWaitingListsEnableEpoch() uint32
BalanceWaitingListsEnableEpoch returns WaitingListFixEnableEpochField
func (*EnableEpochsHandlerMock) BlockGasAndFeesReCheckEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) BlockGasAndFeesReCheckEnableEpoch() uint32
BlockGasAndFeesReCheckEnableEpoch returns 0
func (*EnableEpochsHandlerMock) CheckExecuteReadOnlyEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) CheckExecuteReadOnlyEnableEpoch() uint32
CheckExecuteReadOnlyEnableEpoch returns 0
func (*EnableEpochsHandlerMock) CreateNFTThroughExecByCallerEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) CreateNFTThroughExecByCallerEnableEpoch() uint32
CreateNFTThroughExecByCallerEnableEpoch returns 0
func (*EnableEpochsHandlerMock) DisableExecByCallerEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) DisableExecByCallerEnableEpoch() uint32
DisableExecByCallerEnableEpoch returns 0
func (*EnableEpochsHandlerMock) FixFailExecutionOnErrorEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) FixFailExecutionOnErrorEnableEpoch() uint32
FixFailExecutionOnErrorEnableEpoch returns 0
func (*EnableEpochsHandlerMock) FixOOGReturnCodeEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) FixOOGReturnCodeEnableEpoch() uint32
FixOOGReturnCodeEnableEpoch returns 0
func (*EnableEpochsHandlerMock) IsAddFailedRelayedTxToInvalidMBsFlag ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsAddFailedRelayedTxToInvalidMBsFlag() bool
IsAddFailedRelayedTxToInvalidMBsFlag returns false
func (*EnableEpochsHandlerMock) IsAddTokensToDelegationFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsAddTokensToDelegationFlagEnabled() bool
IsAddTokensToDelegationFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsAheadOfTimeGasUsageFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsAheadOfTimeGasUsageFlagEnabled() bool
IsAheadOfTimeGasUsageFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsBackwardCompSaveKeyValueFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsBackwardCompSaveKeyValueFlagEnabled() bool
IsBackwardCompSaveKeyValueFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsBalanceWaitingListsFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsBalanceWaitingListsFlagEnabled() bool
IsBalanceWaitingListsFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsBelowSignedThresholdFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsBelowSignedThresholdFlagEnabled() bool
IsBelowSignedThresholdFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsBuiltInFunctionOnMetaFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsBuiltInFunctionOnMetaFlagEnabled() bool
IsBuiltInFunctionOnMetaFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsBuiltInFunctionsFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsBuiltInFunctionsFlagEnabled() bool
IsBuiltInFunctionsFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsChangeDelegationOwnerFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsChangeDelegationOwnerFlagEnabled() bool
IsChangeDelegationOwnerFlagEnabled -
func (*EnableEpochsHandlerMock) IsCheckCorrectTokenIDForTransferRoleFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCheckCorrectTokenIDForTransferRoleFlagEnabled() bool
IsCheckCorrectTokenIDForTransferRoleFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCheckExecuteOnReadOnlyFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCheckExecuteOnReadOnlyFlagEnabled() bool
IsCheckExecuteOnReadOnlyFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCheckFrozenCollectionFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCheckFrozenCollectionFlagEnabled() bool
IsCheckFrozenCollectionFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCheckFunctionArgumentFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCheckFunctionArgumentFlagEnabled() bool
IsCheckFunctionArgumentFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCheckTransferFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCheckTransferFlagEnabled() bool
IsCheckTransferFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCleanUpInformativeSCRsFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCleanUpInformativeSCRsFlagEnabled() bool
IsCleanUpInformativeSCRsFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsComputeRewardCheckpointFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsComputeRewardCheckpointFlagEnabled() bool
IsComputeRewardCheckpointFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCorrectFirstQueuedFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCorrectFirstQueuedFlagEnabled() bool
IsCorrectFirstQueuedFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCorrectJailedNotUnStakedEmptyQueueFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCorrectJailedNotUnStakedEmptyQueueFlagEnabled() bool
IsCorrectJailedNotUnStakedEmptyQueueFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCorrectLastUnJailedFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCorrectLastUnJailedFlagEnabled() bool
IsCorrectLastUnJailedFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsCorrectLastUnJailedFlagEnabledForCurrentEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCorrectLastUnJailedFlagEnabledForCurrentEpoch() bool
IsCorrectLastUnJailedFlagEnabledForCurrentEpoch returns false
func (*EnableEpochsHandlerMock) IsCreateNFTThroughExecByCallerFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsCreateNFTThroughExecByCallerFlagEnabled() bool
IsCreateNFTThroughExecByCallerFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsDelegationManagerFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDelegationManagerFlagEnabled() bool
IsDelegationManagerFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsDelegationSmartContractFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDelegationSmartContractFlagEnabled() bool
IsDelegationSmartContractFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsDelegationSmartContractFlagEnabledForCurrentEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDelegationSmartContractFlagEnabledForCurrentEpoch() bool
IsDelegationSmartContractFlagEnabledForCurrentEpoch returns false
func (*EnableEpochsHandlerMock) IsDeleteDelegatorAfterClaimRewardsFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDeleteDelegatorAfterClaimRewardsFlagEnabled() bool
IsDeleteDelegatorAfterClaimRewardsFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsDisableExecByCallerFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDisableExecByCallerFlagEnabled() bool
IsDisableExecByCallerFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsDoNotReturnOldBlockInBlockchainHookFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDoNotReturnOldBlockInBlockchainHookFlagEnabled() bool
IsDoNotReturnOldBlockInBlockchainHookFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsDoubleKeyProtectionFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsDoubleKeyProtectionFlagEnabled() bool
IsDoubleKeyProtectionFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTFlagEnabled() bool
IsESDTFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTFlagEnabledForCurrentEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTFlagEnabledForCurrentEpoch() bool
IsESDTFlagEnabledForCurrentEpoch returns false
func (*EnableEpochsHandlerMock) IsESDTMetadataContinuousCleanupFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTMetadataContinuousCleanupFlagEnabled() bool
IsESDTMetadataContinuousCleanupFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTMultiTransferFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTMultiTransferFlagEnabled() bool
IsESDTMultiTransferFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTNFTCreateOnMultiShardFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTNFTCreateOnMultiShardFlagEnabled() bool
IsESDTNFTCreateOnMultiShardFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTNFTImprovementV1FlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTNFTImprovementV1FlagEnabled() bool
IsESDTNFTImprovementV1FlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTRegisterAndSetAllRolesFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTRegisterAndSetAllRolesFlagEnabled() bool
IsESDTRegisterAndSetAllRolesFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsESDTTransferRoleFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsESDTTransferRoleFlagEnabled() bool
IsESDTTransferRoleFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsFailExecutionOnEveryAPIErrorFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsFailExecutionOnEveryAPIErrorFlagEnabled() bool
IsFailExecutionOnEveryAPIErrorFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsFixAsyncCallBackArgsListFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsFixAsyncCallBackArgsListFlagEnabled() bool
IsFixAsyncCallBackArgsListFlagEnabled -
func (*EnableEpochsHandlerMock) IsFixAsyncCallbackCheckFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsFixAsyncCallbackCheckFlagEnabled() bool
IsFixAsyncCallbackCheckFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsFixOOGReturnCodeFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsFixOOGReturnCodeFlagEnabled() bool
IsFixOOGReturnCodeFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsFixOldTokenLiquidityEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsFixOldTokenLiquidityEnabled() bool
IsFixOldTokenLiquidityEnabled -
func (*EnableEpochsHandlerMock) IsFrontRunningProtectionFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsFrontRunningProtectionFlagEnabled() bool
IsFrontRunningProtectionFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsGasPriceModifierFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsGasPriceModifierFlagEnabled() bool
IsGasPriceModifierFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsGlobalMintBurnFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsGlobalMintBurnFlagEnabled() bool
IsGlobalMintBurnFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsGovernanceFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsGovernanceFlagEnabled() bool
IsGovernanceFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsGovernanceFlagEnabledForCurrentEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsGovernanceFlagEnabledForCurrentEpoch() bool
IsGovernanceFlagEnabledForCurrentEpoch returns false
func (*EnableEpochsHandlerMock) IsIncrementSCRNonceInMultiTransferFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsIncrementSCRNonceInMultiTransferFlagEnabled() bool
IsIncrementSCRNonceInMultiTransferFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsInterfaceNil ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*EnableEpochsHandlerMock) IsManagedCryptoAPIsFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsManagedCryptoAPIsFlagEnabled() bool
IsManagedCryptoAPIsFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsMetaESDTSetFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsMetaESDTSetFlagEnabled() bool
IsMetaESDTSetFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsMetaProtectionFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsMetaProtectionFlagEnabled() bool
IsMetaProtectionFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsMiniBlockPartialExecutionFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsMiniBlockPartialExecutionFlagEnabled() bool
IsMiniBlockPartialExecutionFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsMultiESDTTransferFixOnCallBackFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsMultiESDTTransferFixOnCallBackFlagEnabled() bool
IsMultiESDTTransferFixOnCallBackFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsOptimizeGasUsedInCrossMiniBlocksFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsOptimizeGasUsedInCrossMiniBlocksFlagEnabled() bool
IsOptimizeGasUsedInCrossMiniBlocksFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsOptimizeNFTStoreFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsOptimizeNFTStoreFlagEnabled() bool
IsOptimizeNFTStoreFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsPayableBySCFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsPayableBySCFlagEnabled() bool
IsPayableBySCFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsPenalizedTooMuchGasFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsPenalizedTooMuchGasFlagEnabled() bool
IsPenalizedTooMuchGasFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsReDelegateBelowMinCheckFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsReDelegateBelowMinCheckFlagEnabled() bool
IsReDelegateBelowMinCheckFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsRefactorContextFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsRefactorContextFlagEnabled() bool
IsRefactorContextFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsRefactorPeersMiniBlocksFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsRefactorPeersMiniBlocksFlagEnabled() bool
IsRefactorPeersMiniBlocksFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsRelayedTransactionsFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsRelayedTransactionsFlagEnabled() bool
IsRelayedTransactionsFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsRelayedTransactionsV2FlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsRelayedTransactionsV2FlagEnabled() bool
IsRelayedTransactionsV2FlagEnabled returns false
func (*EnableEpochsHandlerMock) IsRemoveNonUpdatedStorageFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsRemoveNonUpdatedStorageFlagEnabled() bool
IsRemoveNonUpdatedStorageFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsRepairCallbackFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsRepairCallbackFlagEnabled() bool
IsRepairCallbackFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsReturnDataToLastTransferFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsReturnDataToLastTransferFlagEnabled() bool
IsReturnDataToLastTransferFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSCDeployFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSCDeployFlagEnabled() bool
IsSCDeployFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSCRSizeInvariantCheckFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSCRSizeInvariantCheckFlagEnabled() bool
IsSCRSizeInvariantCheckFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSCRSizeInvariantOnBuiltInResultFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSCRSizeInvariantOnBuiltInResultFlagEnabled() bool
IsSCRSizeInvariantOnBuiltInResultFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSaveJailedAlwaysFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSaveJailedAlwaysFlagEnabled() bool
IsSaveJailedAlwaysFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSaveToSystemAccountFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSaveToSystemAccountFlagEnabled() bool
IsSaveToSystemAccountFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsScheduledMiniBlocksFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsScheduledMiniBlocksFlagEnabled() bool
IsScheduledMiniBlocksFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSendAlwaysFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSendAlwaysFlagEnabled() bool
IsSendAlwaysFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSenderInOutTransferFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSenderInOutTransferFlagEnabled() bool
IsSenderInOutTransferFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSetSenderInEeiOutputTransferFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSetSenderInEeiOutputTransferFlagEnabled() bool
IsSetSenderInEeiOutputTransferFlagEnabled -
func (*EnableEpochsHandlerMock) IsStakeFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsStakeFlagEnabled() bool
IsStakeFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsStakingV2FlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsStakingV2FlagEnabled() bool
IsStakingV2FlagEnabled returns false
func (*EnableEpochsHandlerMock) IsStakingV2FlagEnabledForActivationEpochCompleted ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsStakingV2FlagEnabledForActivationEpochCompleted() bool
IsStakingV2FlagEnabledForActivationEpochCompleted returns false
func (*EnableEpochsHandlerMock) IsStakingV2OwnerFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsStakingV2OwnerFlagEnabled() bool
IsStakingV2OwnerFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsStopDecreasingValidatorRatingWhenStuckFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsStopDecreasingValidatorRatingWhenStuckFlagEnabled() bool
IsStopDecreasingValidatorRatingWhenStuckFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsStorageAPICostOptimizationFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsStorageAPICostOptimizationFlagEnabled() bool
IsStorageAPICostOptimizationFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSwitchHysteresisForMinNodesFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSwitchHysteresisForMinNodesFlagEnabled() bool
IsSwitchHysteresisForMinNodesFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsSwitchHysteresisForMinNodesFlagEnabledForCurrentEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSwitchHysteresisForMinNodesFlagEnabledForCurrentEpoch() bool
IsSwitchHysteresisForMinNodesFlagEnabledForCurrentEpoch returns false
func (*EnableEpochsHandlerMock) IsSwitchJailWaitingFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsSwitchJailWaitingFlagEnabled() bool
IsSwitchJailWaitingFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsTransactionSignedWithTxHashFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsTransactionSignedWithTxHashFlagEnabled() bool
IsTransactionSignedWithTxHashFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsTransferToMetaFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsTransferToMetaFlagEnabled() bool
IsTransferToMetaFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsUnBondTokensV2FlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsUnBondTokensV2FlagEnabled() bool
IsUnBondTokensV2FlagEnabled returns false
func (*EnableEpochsHandlerMock) IsValidatorToDelegationFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsValidatorToDelegationFlagEnabled() bool
IsValidatorToDelegationFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsValueLengthCheckFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsValueLengthCheckFlagEnabled() bool
IsValueLengthCheckFlagEnabled returns false
func (*EnableEpochsHandlerMock) IsWaitingListFixFlagEnabled ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) IsWaitingListFixFlagEnabled() bool
IsWaitingListFixFlagEnabled returns false
func (*EnableEpochsHandlerMock) ManagedCryptoAPIEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) ManagedCryptoAPIEnableEpoch() uint32
ManagedCryptoAPIEnableEpoch returns 0
func (*EnableEpochsHandlerMock) MiniBlockPartialExecutionEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) MiniBlockPartialExecutionEnableEpoch() uint32
MiniBlockPartialExecutionEnableEpoch returns 0
func (*EnableEpochsHandlerMock) MultiESDTTransferAsyncCallBackEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) MultiESDTTransferAsyncCallBackEnableEpoch() uint32
MultiESDTTransferAsyncCallBackEnableEpoch returns 0
func (*EnableEpochsHandlerMock) RefactorContextEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) RefactorContextEnableEpoch() uint32
RefactorContextEnableEpoch returns 0
func (*EnableEpochsHandlerMock) RefactorPeersMiniBlocksEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) RefactorPeersMiniBlocksEnableEpoch() uint32
RefactorPeersMiniBlocksEnableEpoch returns 0
func (*EnableEpochsHandlerMock) RemoveNonUpdatedStorageEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) RemoveNonUpdatedStorageEnableEpoch() uint32
RemoveNonUpdatedStorageEnableEpoch returns 0
func (*EnableEpochsHandlerMock) ResetPenalizedTooMuchGasFlag ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) ResetPenalizedTooMuchGasFlag()
ResetPenalizedTooMuchGasFlag does nothing
func (*EnableEpochsHandlerMock) ScheduledMiniBlocksEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) ScheduledMiniBlocksEnableEpoch() uint32
ScheduledMiniBlocksEnableEpoch returns 0
func (*EnableEpochsHandlerMock) StakingV2EnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) StakingV2EnableEpoch() uint32
StakingV2EnableEpoch returns 0
func (*EnableEpochsHandlerMock) StorageAPICostOptimizationEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) StorageAPICostOptimizationEnableEpoch() uint32
StorageAPICostOptimizationEnableEpoch returns 0
func (*EnableEpochsHandlerMock) SwitchJailWaitingEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) SwitchJailWaitingEnableEpoch() uint32
SwitchJailWaitingEnableEpoch returns 0
func (*EnableEpochsHandlerMock) WaitingListFixEnableEpoch ¶ added in v1.4.0
func (mock *EnableEpochsHandlerMock) WaitingListFixEnableEpoch() uint32
WaitingListFixEnableEpoch returns WaitingListFixEnableEpochField
type EpochHandlerMock ¶
type EpochHandlerMock struct {
EpochValue uint32
}
EpochHandlerMock -
func (*EpochHandlerMock) IsInterfaceNil ¶
func (ehm *EpochHandlerMock) IsInterfaceNil() bool
IsInterfaceNil -
type EpochHandlerStub ¶ added in v1.0.102
type EpochHandlerStub struct {
EpochCalled func() uint32
}
EpochHandlerStub -
func (*EpochHandlerStub) Epoch ¶ added in v1.0.102
func (ehs *EpochHandlerStub) Epoch() uint32
Epoch -
func (*EpochHandlerStub) IsInterfaceNil ¶ added in v1.0.102
func (ehs *EpochHandlerStub) IsInterfaceNil() bool
IsInterfaceNil -
type EpochStartNotifierStub ¶
type EpochStartNotifierStub struct { RegisterHandlerCalled func(handler epochStart.ActionHandler) UnregisterHandlerCalled func(handler epochStart.ActionHandler) NotifyAllPrepareCalled func(hdr data.HeaderHandler, body data.BodyHandler, validatorInfoCacher epochStart.ValidatorInfoCacher) NotifyAllCalled func(hdr data.HeaderHandler) }
EpochStartNotifierStub -
func (*EpochStartNotifierStub) IsInterfaceNil ¶
func (esnm *EpochStartNotifierStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*EpochStartNotifierStub) NotifyAll ¶
func (esnm *EpochStartNotifierStub) NotifyAll(hdr data.HeaderHandler)
NotifyAll -
func (*EpochStartNotifierStub) NotifyAllPrepare ¶
func (esnm *EpochStartNotifierStub) NotifyAllPrepare(metaHdr data.HeaderHandler, body data.BodyHandler, validatorInfoCacher epochStart.ValidatorInfoCacher)
NotifyAllPrepare -
func (*EpochStartNotifierStub) RegisterHandler ¶
func (esnm *EpochStartNotifierStub) RegisterHandler(handler epochStart.ActionHandler)
RegisterHandler -
func (*EpochStartNotifierStub) UnregisterHandler ¶
func (esnm *EpochStartNotifierStub) UnregisterHandler(handler epochStart.ActionHandler)
UnregisterHandler -
type HasherStub ¶
type HasherStub struct { ComputeCalled func(s string) []byte EmptyHashCalled func() []byte SizeCalled func() int }
HasherStub -
func (*HasherStub) Compute ¶
func (hs *HasherStub) Compute(s string) []byte
Compute will output the SHA's equivalent of the input string
func (*HasherStub) EmptyHash ¶
func (hs *HasherStub) EmptyHash() []byte
EmptyHash will return the equivalent of empty string SHA's
func (*HasherStub) IsInterfaceNil ¶
func (hs *HasherStub) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
type ListIndexUpdaterStub ¶ added in v1.0.102
type ListIndexUpdaterStub struct {
UpdateListAndIndexCalled func(pubKey string, shardID uint32, list string, index uint32) error
}
ListIndexUpdaterStub -
func (*ListIndexUpdaterStub) IsInterfaceNil ¶ added in v1.0.102
func (lius *ListIndexUpdaterStub) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*ListIndexUpdaterStub) UpdateListAndIndex ¶ added in v1.0.102
func (lius *ListIndexUpdaterStub) UpdateListAndIndex(pubKey string, shardID uint32, list string, index uint32) error
UpdateListAndIndex -
type MarshalizerMock ¶ added in v1.0.102
type MarshalizerMock struct {
Fail bool
}
MarshalizerMock that will be used for testing
func (*MarshalizerMock) IsInterfaceNil ¶ added in v1.0.102
func (mm *MarshalizerMock) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*MarshalizerMock) Marshal ¶ added in v1.0.102
func (mm *MarshalizerMock) Marshal(obj interface{}) ([]byte, error)
Marshal converts the input object in a slice of bytes
func (*MarshalizerMock) Unmarshal ¶ added in v1.0.102
func (mm *MarshalizerMock) Unmarshal(obj interface{}, buff []byte) error
Unmarshal applies the serialized values over an instantiated object
type NodesCoordinatorCacheMock ¶
type NodesCoordinatorCacheMock struct { ClearCalled func() PutCalled func(key []byte, value interface{}, sieInBytes int) (evicted bool) GetCalled func(key []byte) (value interface{}, ok bool) }
NodesCoordinatorCacheMock -
func (*NodesCoordinatorCacheMock) Clear ¶ added in v1.0.111
func (rm *NodesCoordinatorCacheMock) Clear()
Clear -
func (*NodesCoordinatorCacheMock) Get ¶
func (rm *NodesCoordinatorCacheMock) Get(key []byte) (value interface{}, ok bool)
Get -
type PubkeyConverterMock ¶ added in v1.0.104
type PubkeyConverterMock struct {
// contains filtered or unexported fields
}
PubkeyConverterMock -
func NewPubkeyConverterMock ¶ added in v1.0.104
func NewPubkeyConverterMock(addressLen int) *PubkeyConverterMock
NewPubkeyConverterMock -
func (*PubkeyConverterMock) Decode ¶ added in v1.0.104
func (pcm *PubkeyConverterMock) Decode(humanReadable string) ([]byte, error)
Decode -
func (*PubkeyConverterMock) Encode ¶ added in v1.0.104
func (pcm *PubkeyConverterMock) Encode(pkBytes []byte) string
Encode -
func (*PubkeyConverterMock) IsInterfaceNil ¶ added in v1.0.104
func (pcm *PubkeyConverterMock) IsInterfaceNil() bool
IsInterfaceNil -
type RaterMock ¶
type RaterMock struct { ComputeRatingCalled func(string, uint32) uint32 GetRatingCalled func(string) uint32 GetStartRatingCalled func() uint32 GetChancesCalled func(uint32) uint32 }
RaterMock -
func (*RaterMock) ComputeRating ¶
ComputeRating -
type ShuffledOutHandlerStub ¶ added in v1.0.103
type ShuffledOutHandlerStub struct { ProcessCalled func(newShardID uint32) error RegisterHandlerCalled func(handler func(newShardID uint32)) CurrentShardIDCalled func() uint32 }
ShuffledOutHandlerStub -
func (*ShuffledOutHandlerStub) CurrentShardID ¶ added in v1.0.103
func (s *ShuffledOutHandlerStub) CurrentShardID() uint32
CurrentShardID -
func (*ShuffledOutHandlerStub) IsInterfaceNil ¶ added in v1.0.103
func (s *ShuffledOutHandlerStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*ShuffledOutHandlerStub) Process ¶ added in v1.0.103
func (s *ShuffledOutHandlerStub) Process(newShardID uint32) error
Process -
func (*ShuffledOutHandlerStub) RegisterHandler ¶ added in v1.0.103
func (s *ShuffledOutHandlerStub) RegisterHandler(handler func(newShardID uint32))
RegisterHandler -