# Functions
NewCountingDB returns a new instance of countingDB.
NewGasScheduleNotifierMock -.
NewMultiShardsCoordinatorMock -.
NewNetworkShardingCollectorMock -.
NewNodeInfo -.
NewNodesHandlerMock -.
NewOneSCExecutorMockVM -.
NewPrivateKeyMock -.
NewTestBootstrapperMock -.
# Structs
AccountsDBSyncerStub -.
BlackListHandlerStub -.
BlockProcessorMock mocks the implementation for a blockProcessor.
BlockSizeThrottlerStub -.
BlockTrackerStub -.
BoostrapStorerMock -.
CoreComponentsStub -.
CryptoComponentsStub -.
CurrentNetworkEpochProviderStub -.
DataComponentsStub -.
EpochEconomicsStub -.
EpochStartDataCreatorStub -.
EpochStartNotifierStub -.
EpochStartTriggerStub -.
ExportFactoryHandlerStub -.
ExportHandlerStub -.
ForkDetectorStub is a mock implementation for the ForkDetector interface.
GasHandlerMock -.
GasScheduleNotifierMock -.
HeaderIntegrityVerifierStub -.
HeadersCacherStub -.
HeaderSigVerifierStub -.
HeaderValidatorStub -.
HeartbeatMonitorStub -.
ImportStartHandlerStub -.
InterimProcessorContainerMock -.
IntermediateTransactionHandlerMock -.
KeyGenMock -.
LatestStorageDataProviderStub -.
ListIndexUpdaterStub -.
MessageSignVerifierMock -.
MiniBlocksProviderStub -.
MockDB -.
NetworkComponentsStub -.
NilAntifloodHandler is an empty implementation of P2PAntifloodHandler it does nothing.
NodeInfoMock -.
NodesCoordinatorCacheStub -.
OneSCExecutorMockVM contains one hardcoded SC with the following behaviour (written in golang):------------------------------------- var a int
func init(initial int){ a = initial }
func Add(value int){ a += value }
func Get() int{ return a }-------------------------------------.
P2PAntifloodHandlerStub -.
PeerBlackListCacherStub -.
PeerChangesHandler -.
PeerDenialEvaluatorStub -.
PeerHonestyHandlerStub -.
PeerShardMapperStub -.
PeerSignatureHandler -.
PeerTypeProviderStub -.
PendingMiniBlocksHandlerStub -.
PrivateKeyMock -.
ProcessComponentsStub -.
PublicKeyMock -.
RaterMock -.
RatingReaderMock -.
RedundancyHandlerStub -.
RequestedItemsHandlerStub -.
ResolversContainerStub -.
RoundHandlerMock -.
ScQueryStub -.
SCToProtocolStub -.
ShuffledOutHandlerStub -.
SignerMock -.
SmartContractParserStub -.
SoftwareVersionCheckerMock -.
StatusComponentsStub -.
StorageBootstrapperMock -.
SyncTimerMock mocks the implementation for a SyncTimer.
TopicAntiFloodStub -.
TransactionCoordinatorMock -.
TxForCurrentBlockStub -.
TxLogProcessorMock -.
TxLogsProcessorStub -.
Uint64ByteSliceConverterMock converts byte slice to/from uint64.
UnitOpenerStub -.
ValidatorInfoSyncerStub -.
VMContainerMock -.
VMExecutionHandlerStub -.
VmMachinesContainerFactoryMock -.
WatchdogMock -.