Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrAccountsAdapterCreation = errors.New("error creating accounts adapter")
ErrAccountsAdapterCreation signals that the accounts adapter cannot be created based on provided data
var ErrBlockchainCreation = errors.New("can not create blockchain")
ErrBlockchainCreation signals that the blockchain cannot be created
var ErrBootstrap = errors.New("bootstrap process has failed")
ErrBootstrap signals the bootstrapping process has failed
var ErrBootstrapDataComponentsFactoryCreate = errors.New("bootstrapDataComponentsFactory create() failed")
ErrBootstrapDataComponentsFactoryCreate signals that an error occured on bootstrapDataComponentsFactory create
var ErrConsensusComponentsFactoryCreate = errors.New("consensusComponentsFactory create failed")
ErrConsensusComponentsFactoryCreate signals that an error occured on consensusComponentsFactory create
var ErrContextClosing = errors.New("context closing")
ErrContextClosing signals that the parent context requested the closing of its children
var ErrCoreComponentsFactoryCreate = errors.New("coreComponentsFactory create failed")
ErrCoreComponentsFactoryCreate signals that an error occured on coreComponentsFactory create
var ErrCryptoComponentsFactoryCreate = errors.New("cryptoComponentsFactory create failed")
ErrCryptoComponentsFactoryCreate signals that an error occured on cryptoComponentsFactory create
var ErrDBIsClosed = errors.New("DB is closed")
ErrDBIsClosed is raised when the DB is closed
var ErrDataComponentsFactoryCreate = errors.New("dataComponentsFactory create failed")
ErrDataComponentsFactoryCreate signals that an error occured on dataComponentsFactory create
var ErrDataPoolCreation = errors.New("can not create data pool")
ErrDataPoolCreation signals that the data pool cannot be created
var ErrDataStoreCreation = errors.New("can not create data store")
ErrDataStoreCreation signals that the data store cannot be created
var ErrGenesisBlockNotInitialized = errors.New("genesis block is not initialized")
ErrGenesisBlockNotInitialized signals that genesis block is not initialized
var ErrHasherCreation = errors.New("error creating hasher")
ErrHasherCreation signals that the hasher cannot be created based on provided data
var ErrHeartbeatComponentsFactoryCreate = errors.New("heartbeatComponentsFactory create failed")
ErrHeartbeatComponentsFactoryCreate signals that an error occured on heartbeatComponentsFactory create
var ErrInvalidChainID = errors.New("invalid chain ID in consensus")
ErrInvalidChainID signals that an invalid chain ID has been provided
var ErrInvalidConsensusConfig = errors.New("invalid consensus type provided in config file")
ErrInvalidConsensusConfig signals that an invalid consensus type is specified in the configuration file
var ErrInvalidRoundDuration = errors.New("invalid round duration provided")
ErrInvalidRoundDuration signals that an invalid round duration has been provided
var ErrInvalidTransactionVersion = errors.New("invalid transaction version")
ErrInvalidTransactionVersion signals that an invalid transaction version has been provided
var ErrInvalidWorkingDir = errors.New("invalid working directory")
ErrInvalidWorkingDir signals that an invalid working directory has been provided
var ErrMarshalizerCreation = errors.New("error creating marshalizer")
ErrMarshalizerCreation signals that the marshalizer cannot be created based on provided data
var ErrMissingMultiHasherConfig = errors.New("no multisig hasher provided in config file")
ErrMissingMultiHasherConfig signals that the multihasher type isn't specified in the configuration file
var ErrMultiSigHasherMissmatch = errors.New("wrong multisig hasher provided for bls consensus type")
ErrMultiSigHasherMissmatch signals that an invalid multisig hasher was provided
var ErrNetworkComponentsFactoryCreate = errors.New("networkComponentsFactory create failed")
ErrNetworkComponentsFactoryCreate signals that an error occured on networkComponentsFactory create
var ErrNewBootstrapDataProvider = errors.New("bootstrapDataProvider creation has failed")
ErrNewBootstrapDataProvider signals a new bootstrapDataProvider creation has failed
var ErrNewEpochStartBootstrap = errors.New("epochStartBootstrap creation has failed")
ErrNewEpochStartBootstrap signals a new epochStartBootstrap creation has failed
var ErrNewStorageEpochStartBootstrap = errors.New("storageEpochStartBootstrap creation has failed")
ErrNewStorageEpochStartBootstrap signals that a new storageEpochStartBootstrap creation has failed
var ErrNilAccountsAdapter = errors.New("nil accounts adapter")
ErrNilAccountsAdapter signals that a nil accounts adapter has been provided
var ErrNilAccountsParser = errors.New("nil accounts parser")
ErrNilAccountsParser signals that a nil accounts parser has been provided
var ErrNilAddressPublicKeyConverter = errors.New("nil address pubkey converter")
ErrNilAddressPublicKeyConverter signals that an operation has been attempted to or with a nil public key converter implementation
var ErrNilAlarmScheduler = errors.New("nil alarm scheduler")
ErrNilAlarmScheduler is raised when a valid alarm scheduler is expected but nil is used
var ErrNilBlackListHandler = errors.New("nil black list handler")
ErrNilBlackListHandler signals that a nil black list handler was provided
var ErrNilBlockChainHandler = errors.New("blockchain handler is nil")
ErrNilBlockChainHandler is raised when a valid blockchain handler is expected but nil used
var ErrNilBlockProcessor = errors.New("block processor is nil")
ErrNilBlockProcessor is raised when a valid block processor is expected but nil used
var ErrNilBlockSignKeyGen = errors.New("block sign key generator is nil")
ErrNilBlockSignKeyGen is raised when a valid block sign key generator is expected but nil used
var ErrNilBlockSigner = errors.New("nil block signer")
ErrNilBlockSigner signals the nil block signer was provided
var ErrNilBlockTracker = errors.New("trying to set nil block tracker")
ErrNilBlockTracker signals that a nil block tracker has been provided
var ErrNilBootStorer = errors.New("nil boot storer")
ErrNilBootStorer signals that the provided boot storer is nil
var ErrNilBootstrapComponentsFactory = errors.New("nil bootstrap components factory")
ErrNilBootstrapComponentsFactory signals that the provided bootstrap components factory is nil
var ErrNilBootstrapComponentsHolder = errors.New("nil bootstrap components holder")
ErrNilBootstrapComponentsHolder signals that the provided bootstrap components holder is nil
var ErrNilBootstrapParamsHandler = errors.New("nil bootstrap parameters handler")
ErrNilBootstrapParamsHandler signals that the provided bootstrap parameters handler is nil
var ErrNilBroadcastMessenger = errors.New("broadcast messenger is nil")
ErrNilBroadcastMessenger is raised when a valid broadcast messenger is expected but nil used
var ErrNilChronologyHandler = errors.New("chronology handler is nil")
ErrNilChronologyHandler is raised when a valid chronology handler is expected but nil used
var ErrNilConsensusComponentsFactory = errors.New("nil consensus components factory")
ErrNilConsensusComponentsFactory signals that the provided consensus components factory is nil
var ErrNilConsensusComponentsHolder = errors.New("nil consensus components holder")
ErrNilConsensusComponentsHolder signals that a nil consensus components holder was provided
var ErrNilConsensusWorker = errors.New("nil consensus worker")
ErrNilConsensusWorker signals that a nil consensus worker was provided
var ErrNilCoreComponents = errors.New("nil core components provided")
ErrNilCoreComponents signals that an operation has been attempted with nil core components
var ErrNilCoreComponentsFactory = errors.New("nil core components factory")
ErrNilCoreComponentsFactory signals that the provided core components factory is nil
var ErrNilCoreComponentsHolder = errors.New("nil core components holder")
ErrNilCoreComponentsHolder signals that a nil core components holder was provided
var ErrNilCryptoComponents = errors.New("nil crypto components provided")
ErrNilCryptoComponents signals that a nil crypto components has been provided
var ErrNilCryptoComponentsFactory = errors.New("nil crypto components factory")
ErrNilCryptoComponentsFactory signals that the provided crypto components factory is nil
var ErrNilCryptoComponentsHolder = errors.New("nil crypto components holder")
ErrNilCryptoComponentsHolder signals that a nil crypto components holder was provided
var ErrNilCurrentEpochProvider = errors.New("nil current epoch provider")
ErrNilCurrentEpochProvider signals that a nil current epoch provider was provided
var ErrNilDataComponents = errors.New("nil data components provided")
ErrNilDataComponents signals that a nil data components instance was provided
var ErrNilDataComponentsFactory = errors.New("nil data components factory")
ErrNilDataComponentsFactory signals that the provided data components factory is nil
var ErrNilDataComponentsHolder = errors.New("nil data components holder")
ErrNilDataComponentsHolder signals that a nil data components holder has been provided
var ErrNilDataPoolsHolder = errors.New("nil data pools holder")
ErrNilDataPoolsHolder signals that a nil data pools holder was provided
var ErrNilEconomicsData = errors.New("nil economics data provided")
ErrNilEconomicsData signals that a nil economics data handler has been provided
var ErrNilEconomicsHandler = errors.New("nil economics handler")
ErrNilEconomicsHandler signals that a nil economics handler has been provided
var ErrNilEpochNotifier = errors.New("nil epoch notifier")
ErrNilEpochNotifier signals that a nil epoch notifier has been provided
var ErrNilEpochStartBootstrapper = errors.New("nil epoch start bootstrapper")
ErrNilEpochStartBootstrapper signals that a nil epoch start bootstrapper was provided
var ErrNilEpochStartNotifier = errors.New("nil epoch start notifier provided")
ErrNilEpochStartNotifier signals that a nil epoch start notifier was provided
var ErrNilEpochStartTrigger = errors.New("nil start of epoch trigger")
ErrNilEpochStartTrigger signals that a nil start of epoch trigger has been provided
var ErrNilFallbackHeaderValidator = errors.New("nil fallback header validator")
ErrNilFallbackHeaderValidator signals that a nil fallback header validator has been provided
var ErrNilForkDetector = errors.New("fork detector is nil")
ErrNilForkDetector is raised when a valid fork detector is expected but nil used
var ErrNilGasSchedule = errors.New("nil gas schedule")
ErrNilGasSchedule signals that an operation has been attempted with a nil gas schedule
var ErrNilHardforkTrigger = errors.New("nil hardfork trigger")
ErrNilHardforkTrigger signals that a nil hardfork trigger was provided
var ErrNilHasher = errors.New("nil hasher provided")
ErrNilHasher is raised when a valid hasher is expected but nil used
var ErrNilHeaderConstructionValidator = errors.New("nil header construction validator")
ErrNilHeaderConstructionValidator signals that a nil header construction validator was provided
var ErrNilHeaderIntegrityVerifier = errors.New("nil header integrity verifier")
ErrNilHeaderIntegrityVerifier signals that a nil header integrity verifier has been provided
var ErrNilHeaderSigVerifier = errors.New("")
ErrNilHeaderSigVerifier signals that a nil header sig verifier has been provided
var ErrNilHeartbeatComponents = errors.New("nil heartbeat component")
ErrNilHeartbeatComponents signals that a nil heartbeat components instance was provided
var ErrNilHeartbeatComponentsFactory = errors.New("nil heartbeat components factory")
ErrNilHeartbeatComponentsFactory signals that the provided heartbeat components factory is nil
var ErrNilHeartbeatMessageHandler = errors.New("nil heartbeat message handler")
ErrNilHeartbeatMessageHandler signals that a nil heartbeat message handler was provided
var ErrNilHeartbeatMonitor = errors.New("nil heartbeat monitor")
ErrNilHeartbeatMonitor signals that a nil heartbeat monitor was provided
var ErrNilHeartbeatSender = errors.New("nil heartbeat sender")
ErrNilHeartbeatSender signals that a nil heartbeat sender was provided
var ErrNilHeartbeatStorer = errors.New("nil heartbeat storer")
ErrNilHeartbeatStorer signals that a nil heartbeat storer was provided
var ErrNilHeartbeatV2Components = errors.New("nil heartbeatV2 component")
ErrNilHeartbeatV2Components signals that a nil heartbeatV2 components instance was provided
var ErrNilHeartbeatV2ComponentsFactory = errors.New("nil heartbeatV2 components factory")
ErrNilHeartbeatV2ComponentsFactory signals that the provided heartbeatV2 components factory is nil
var ErrNilHeartbeatV2Sender = errors.New("nil heartbeatV2 sender")
ErrNilHeartbeatV2Sender signals that a nil heartbeatV2 sender was provided
var ErrNilInputAntiFloodHandler = errors.New("nil input antiflood handler")
ErrNilInputAntiFloodHandler signals that a nil input antiflood handler was provided
var ErrNilInterceptorsContainer = errors.New("nil interceptors container")
ErrNilInterceptorsContainer signals that a nil interceptors container was provided
var ErrNilInternalMarshalizer = errors.New("nil internal marshalizer")
ErrNilInternalMarshalizer signals that a nil internal marshalizer was provided
var ErrNilKeyLoader = errors.New("nil key loader")
ErrNilKeyLoader signals that a nil key loader was provided
var ErrNilMarshalizer = errors.New("nil marshalizer provided")
ErrNilMarshalizer signals that a nil marshalizer was provided
var ErrNilMessageSignVerifier = errors.New("nil message sign verifier")
ErrNilMessageSignVerifier signals that a nil message signiature verifier was provided
var ErrNilMessenger = errors.New("nil messenger")
ErrNilMessenger signals that a nil messenger was provided
var ErrNilMiniBlocksProvider = errors.New("nil miniBlocks provider")
ErrNilMiniBlocksProvider signals a nil miniBlocks provider
var ErrNilMultiSigner = errors.New("nil multi signer")
ErrNilMultiSigner signals that a nil multi-signer was provided
var ErrNilNetworkComponents = errors.New("nil network components")
ErrNilNetworkComponents signals that a nil network components instance was provided
var ErrNilNetworkComponentsFactory = errors.New("nil network components factory")
ErrNilNetworkComponentsFactory signals that the provided network components factory is nil
var ErrNilNetworkComponentsHolder = errors.New("nil network components holder")
ErrNilNetworkComponentsHolder signals that a nil network components holder was provided
var ErrNilNodeRedundancyHandler = errors.New("nil node redundancy handler")
ErrNilNodeRedundancyHandler signals that a nil node redundancy handler was provided
var ErrNilNodesConfig = errors.New("nil nodes config")
ErrNilNodesConfig signals that a nil nodes configuration was provided
var ErrNilNodesCoordinator = errors.New("nil nodes coordinator")
ErrNilNodesCoordinator signals that a nil nodes coordinator was provided
var ErrNilOutportHandler = errors.New("nil outport handler")
ErrNilOutportHandler signals that a nil outport handler has been provided
var ErrNilOutputAntiFloodHandler = errors.New("nil output antiflood handler")
ErrNilOutputAntiFloodHandler signals that a nil output antiflood handler was provided
var ErrNilPath = errors.New("nil path provided")
ErrNilPath signals that a nil path was provided
var ErrNilPathHandler = errors.New("nil path handler")
ErrNilPathHandler signals that a nil path handler was provided
var ErrNilPeerAccounts = errors.New("nil peer accounts")
ErrNilPeerAccounts signals that a nil peer accounts instance was provided
var ErrNilPeerBlackListHandler = errors.New("nil peer black list handler")
ErrNilPeerBlackListHandler signals that a nil peer black list handler was provided
var ErrNilPeerHonestyHandler = errors.New("nil peer honesty handler")
ErrNilPeerHonestyHandler signals that a nil peer honesty handler was provided
var ErrNilPeerShardMapper = errors.New("nil peer shard mapper")
ErrNilPeerShardMapper signals that a nil peer shard mapper was provided
var ErrNilPeerSignHandler = errors.New("nil peer signature handler")
ErrNilPeerSignHandler signals that a nil peer sign handler was provided
var ErrNilPendingMiniBlocksHandler = errors.New("nil pending miniBlocks handler")
ErrNilPendingMiniBlocksHandler signals that a nil pending miniBlocks handler
var ErrNilPoolsHolder = errors.New("nil pools holder")
ErrNilPoolsHolder signals that a nil pools holder was provided
var ErrNilPrivateKey = errors.New("nil private key")
ErrNilPrivateKey signals that a nil provate key was provided
var ErrNilProcessComponents = errors.New("nil process components")
ErrNilProcessComponents signals that a nil process components instance was provided
var ErrNilProcessComponentsFactory = errors.New("nil process components factory")
ErrNilProcessComponentsFactory signals that the provided process components factory is nil
var ErrNilProcessComponentsHolder = errors.New("nil process components holder")
ErrNilProcessComponentsHolder signals that a nil procss components holder was provided
var ErrNilProcessStatusHandler = errors.New("nil process status handler")
ErrNilProcessStatusHandler signals that a nil process status handler was provided
var ErrNilPubKeyConverter = errors.New("nil public key converter")
ErrNilPubKeyConverter signals that a nil public key converter was provided
var ErrNilPublicKey = errors.New("nil public key")
ErrNilPublicKey signals that a nil public key was provided
var ErrNilRater = errors.New("nil rater")
ErrNilRater signals that a nil rater was provided
var ErrNilRatingData = errors.New("nil rating data")
ErrNilRatingData signals that nil rating data were provided
var ErrNilRatingsInfoHandler = errors.New("nil ratings info handler")
ErrNilRatingsInfoHandler signals that nil ratings data information was provided
var ErrNilRequestHandler = errors.New("nil request handler")
ErrNilRequestHandler signals that a nil request handler was provided
var ErrNilRequestedItemHandler = errors.New("nil requested item handler")
ErrNilRequestedItemHandler signals that a nil requested items handler was provided
var ErrNilResolversFinder = errors.New("nil resolvers finder")
ErrNilResolversFinder signals that a nil resolver finder was provided
var ErrNilRoundHandler = errors.New("nil roundHandler")
ErrNilRoundHandler signals that a nil roundHandler was provided
var ErrNilScheduledProcessor = errors.New("nil scheduled processor")
ErrNilScheduledProcessor signals that a nil scheduled processor was provided
var ErrNilScheduledTxsExecutionHandler = errors.New("nil scheduled transactions execution handler")
ErrNilScheduledTxsExecutionHandler signals that a nil scheduled transactions execution handler was provided
var ErrNilShardCoordinator = errors.New("nil shard coordinator provided")
ErrNilShardCoordinator signals that a nil shard coordinator was provided
var ErrNilSmartContractParser = errors.New("nil smart contract parser")
ErrNilSmartContractParser signals that a nil smart contract parser was provided
var ErrNilSoftwareVersion = errors.New("nil software version")
ErrNilSoftwareVersion signals that a nil software version was provided
var ErrNilStateComponents = errors.New("nil state components")
ErrNilStateComponents signals that a nil state components was provided
var ErrNilStateComponentsFactory = errors.New("nil state components factory")
ErrNilStateComponentsFactory signals that the provided state components factory is nil
var ErrNilStateComponentsHolder = errors.New("nil state components holder")
ErrNilStateComponentsHolder signals that a nil state components holder was provided
var ErrNilStatusComponents = errors.New("nil status components")
ErrNilStatusComponents signals that a nil status components instance was provided
var ErrNilStatusComponentsFactory = errors.New("nil status components factory")
ErrNilStatusComponentsFactory signals that the provided status components factory is nil
var ErrNilStatusComponentsHolder = errors.New("nil status components holder")
ErrNilStatusComponentsHolder signals that a nil status components holder was provided
var ErrNilStatusHandler = errors.New("nil status handler provided")
ErrNilStatusHandler signals that a nil status handler was provided
var ErrNilStorageManagers = errors.New("nil storage managers")
ErrNilStorageManagers signals that a nil storage managers instance was provided
var ErrNilStorageService = errors.New("nil storage service")
ErrNilStorageService signals that a nil storage service was provided
var ErrNilSyncTimer = errors.New("nil sync timer provided")
ErrNilSyncTimer signals that a nil ntp synchronized timer was provided
var ErrNilSystemSCConfig = errors.New("nil system smart contract configuration")
ErrNilSystemSCConfig signals that a nil system smart contracts cofiguration was provided
var ErrNilTrieStorageManager = errors.New("nil trie storage manager")
ErrNilTrieStorageManager signals that a nil trie storage manager was provided
var ErrNilTriesContainer = errors.New("nil tries container provided")
ErrNilTriesContainer signals that a nil tries container was provided
var ErrNilTriesStorageManagers = errors.New("nil tries storage managers provided")
ErrNilTriesStorageManagers signals that nil tries storage managers were provided
var ErrNilTxLogsProcessor = errors.New("nil transaction logs processor")
ErrNilTxLogsProcessor signals that a nil transaction logs processor was provided
var ErrNilTxSignHasher = errors.New("nil tx signing hasher")
ErrNilTxSignHasher is raised when a nil tx sign hasher is provided
var ErrNilTxSignKeyGen = errors.New("nil transaction signing key generator")
ErrNilTxSignKeyGen signals that a nil transaction signer key generator was provided
var ErrNilTxSignMarshalizer = errors.New("nil transaction marshalizer")
ErrNilTxSignMarshalizer signals that a nil transaction sign marshalizer was provided
var ErrNilTxSigner = errors.New("nil transaction signer")
ErrNilTxSigner signals that a nil transaction signer was provided
var ErrNilTxsSender = errors.New("nil transactions sender has been provided")
ErrNilTxsSender signals that a nil transactions sender has been provided
var ErrNilUint64ByteSliceConverter = errors.New("nil byte slice converter")
ErrNilUint64ByteSliceConverter signals that a nil byte slice converter was provided
var ErrNilValidatorPublicKeyConverter = errors.New("validator public key converter")
ErrNilValidatorPublicKeyConverter signals that a nil validator public key converter was provided
var ErrNilValidatorsProvider = errors.New("nil validator provider")
ErrNilValidatorsProvider signals a nil validators provider
var ErrNilValidatorsStatistics = errors.New("nil validator statistics")
ErrNilValidatorsStatistics signals a that nil validators statistics was handler was provided
var ErrNilVmMarshalizer = errors.New("nil vm marshalizer")
ErrNilVmMarshalizer signals that a nil vm marshalizer was provided
var ErrNilWatchdog = errors.New("nil watchdog")
ErrNilWatchdog signals that a nil watchdog was provided
var ErrNilWhiteListHandler = errors.New("nil white list handler")
ErrNilWhiteListHandler signals that a nil whitelist handler was provided
var ErrNilWhiteListVerifiedTxs = errors.New("nil white list verified txs")
ErrNilWhiteListVerifiedTxs signals that a nil whitelist for verified transactions was prvovided
var ErrPollingFunctionRegistration = errors.New("cannot register handler func for num of connected peers")
ErrPollingFunctionRegistration signals an error while registering the polling function registration
var ErrPublicKeyMismatch = errors.New("public key mismatch between the computed and the one read from the file")
ErrPublicKeyMismatch signals a mismatch between two public keys that should have matched
var ErrStateComponentsFactoryCreate = errors.New("stateComponentsFactory create failed")
ErrStateComponentsFactoryCreate signals that an error occured on stateComponentsFactory create
var ErrStatusComponentsFactoryCreate = errors.New("statusComponentsFactory create failed")
ErrStatusComponentsFactoryCreate signals that an error occured on statusComponentsFactory create
var ErrStatusPollingInit = errors.New("cannot init AppStatusPolling")
ErrStatusPollingInit signals an error while initializing the application status polling
var ErrWrongTypeAssertion = errors.New("wrong type assertion")
ErrWrongTypeAssertion signals a wrong type assertion
Functions ¶
func IsClosingError ¶
IsClosingError returns true if the provided error is used whenever the node is in the closing process
Types ¶
This section is empty.