# Functions

CheckpointCaller is used to signal issued checkpoints.
MilestoneCaller is used to signal issued milestones.
New creates a new coordinator instance.
NewInMemoryEd25519MilestoneSignerProvider creates a new InMemoryEd25519MilestoneSignerProvider.
NewInsecureRemoteEd25519MilestoneSignerProvider creates a new InsecureRemoteEd25519MilestoneSignerProvider.
QuorumFinishedCaller is used to signal a finished quorum call.
WithBlockBackups defines whether all blocks that are issued by the coordinator should be stored to disk before being submitted to the network.
WithDebugFakeMilestoneTimestamps defines whether the coordinator will fake timestamps of milestones if the interval is below 1s (use for tests only!).
WithLogger enables logging within the coordinator.
WithMilestoneInterval defines interval milestones are issued.
WithMilestoneTimeout defines the duration after which an event is triggered if no new milestones are received.
WithQuorum defines a quorum, which is used to check the correct ledger state of the coordinator.
WithSigningRetryAmount defines signing retry amount.
WithSigningRetryTimeout defines signing retry timeout.
WithStateFilePath defines the path to the state file of the coordinator.

# Variables

ErrMilestoneTimestampDidNotIncrease is returned when the new milestone timestamp is not newer than the last milestone's timestamp.
ErrNetworkBootstrapped is returned when the flag for bootstrap network was given, but a state file already exists.
ErrNodeLoadTooHigh is returned if the backpressure func says the node load is too high.
ErrNoTipsGiven is returned when no tips were given to issue a checkpoint.
ErrQuorumGroupNoAnswer is fired when none of the clients in a quorum group answers.
ErrQuorumMerkleTreeHashMismatch is fired when a client in the quorum returns a different merkle tree hash.

# Structs

Coordinator is used to issue signed blocks, called "milestones" to secure an IOTA network and prevent double spends.
Events are the events issued by the coordinator.
InMemoryEd25519MilestoneIndexSigner is an in memory signer for a particular milestone.
InMemoryEd25519MilestoneSignerProvider provides InMemoryEd25519MilestoneIndexSigner.
InsecureRemoteEd25519MilestoneIndexSigner is an in memory signer for a particular milestone.
InsecureRemoteEd25519MilestoneSignerProvider provides InsecureRemoteEd25519MilestoneIndexSigner.
LatestMilestoneInfo contains the info of the latest milestone the connected node knows.
LatestTreasuryOutput represents the latest treasury output created by the last milestone that contained a migration.
MilestoneMerkleRoots contains the merkle roots calculated by whiteflag confirmation.
QuorumClientConfig holds the configuration of a quorum client.
QuorumClientStatistic holds statistics of a quorum client.
QuorumFinishedResult holds statistics of a finished quorum.
State stores the latest state of the coordinator.

# Interfaces

MilestoneIndexSigner is a signer for a particular milestone.
MilestoneSignerProvider provides milestone signers.

# Type aliases

BackPressureFunc is a function which tells the Coordinator to stop issuing milestones and checkpoints under high load.
No description provided by the author
IsNodeSyncedFunc should only return true if the node connected to the coordinator is synced.
ProtocolParameteresFunc should return the current valid protocol parameters.
SendBlockFunc is a function which sends a block to the network.
UnspentTreasuryOutputFunc should return the latest unspent LatestTreasuryOutput.