# Functions
New creates a new protocol instance from the given parameters.
NewDefaultOptions creates new default options instance for the Protocol.
NewEvents creates a new Events instance.
WithAttestationProvider is an option for the Protocol that allows to set the AttestationProvider.
No description provided by the author
WithBaseDirectory is an option for the Protocol that allows to set the base directory.
WithBlockDAGProvider is an option for the Protocol that allows to set the BlockDAGProvider.
WithBlockGadgetProvider is an option for the Protocol that allows to set the BlockGadgetProvider.
WithBlockRetainerProvider is an option for the Protocol that allows to set the BlockRetainerProvider.
WithBookerProvider is an option for the Protocol that allows to set the BookerProvider.
WithClockProvider is an option for the Protocol that allows to set the ClockProvider.
WithCommitmentCheck is an option for the Protocol that allows to check the commitment and ledger state upon startup.
No description provided by the author
WithEngineOptions is an option for the Protocol that allows to set the EngineOptions.
WithLedgerProvider is an option for the Protocol that allows to set the LedgerProvider.
WithMaxAllowedWallClockDrift specifies how far in the future are blocks allowed to be ahead of our own wall clock (defaults to 0 seconds).
WithNotarizationProvider is an option for the Protocol that allows to set the NotarizationProvider.
WithPostSolidFilterProvider is an option for the Protocol that allows to set the PostSolidFilterProvider.
WithPreSolidFilterProvider is an option for the Protocol that allows to set the PreSolidFilterProvider.
WithSchedulerProvider is an option for the Protocol that allows to set the SchedulerProvider.
WithSlotGadgetProvider is an option for the Protocol that allows to set the SlotGadgetProvider.
WithSnapshotPath is an option for the Protocol that allows to set the snapshot path.
WithStorageOptions is an option for the Protocol that allows to set the StorageOptions.
WithSybilProtectionProvider is an option for the Protocol that allows to set the SybilProtectionProvider.
WithSyncManagerProvider is an option for the Protocol that allows to set the SyncManagerProvider.
WithTipManagerProvider is an option for the Protocol that allows to set the TipManagerProvider.
WithTipSelectionProvider is an option for the Protocol that allows to set the TipSelectionProvider.
WithTransactionRetainerProvider is an option for the Protocol that allows to set the TransactionRetainerProvider.
WithUpgradeOrchestratorProvider is an option for the Protocol that allows to set the UpgradeOrchestratorProvider.
No description provided by the author
# Constants
DatabaseVersion defines the current version of the database.
# Variables
No description provided by the author
No description provided by the author
ErrorCommitmentNotFound is returned for requests for commitments that are not available yet.
ErrorSlotEvicted is returned for requests for commitments that belong to evicted slots.
No description provided by the author
# Structs
Attestations is a subcomponent of the protocol that is responsible for handling attestation requests and responses.
No description provided by the author
Blocks is a subcomponent of the protocol that is responsible for handling block requests and responses.
Chain represents a chain of commitments.
Chains is a subcomponent of the protocol that exposes the chains that are managed by the protocol and that implements the chain switching logic.
ChainsCandidate implements a wrapper for the logic of tracking the heaviest candidate of all Chains in respect to some monitored weight variable.
Commitment represents a commitment to a specific ledger state at a specific point in time that is part of a chain of commitments produced by the nodes in the network.
Commitments is a subcomponent of the protocol that exposes the commitments that are managed by the protocol and that are either published from the network or created by an engine of the node.
No description provided by the author
Engines is a subcomponent of the protocol that exposes the engines that are managed by the protocol.
Events exposes the Events of the main engine of the protocol at a single endpoint.
Network is a subcomponent of the protocol that is responsible for handling the network communication.
Options contains the options for the Protocol.
Protocol is an implementation of the IOTA core protocol.
WarpSync is a subcomponent of the protocol that is responsible for handling warp sync requests and responses.