# Functions
NewBaseService creates a new instance of BaseService.
NewBaseSignCtrled creates a new instance of BaseSignCtrled.
NewSyncLogger creates a new synchronous logger.
RegisterGauges registers SignCTRL's prometheus gauges and returns them.
# Variables
ErrAlreadyStarted is returned if the service has already been started.
ErrAlreadyStopped is returned if the service has already been stopped.
ErrCounterLocked is returned when the counter for missed blocks in a row is still locked due to SignCTRL not having seen a signed block from rank 1.
ErrMustShutdown is returned when the current signer (rank 1) beeds to update its ranks and must be shut down because rank 1 cannot be promoted anymore.
ErrThresholdExceeded is returned when the threshold of too many missed blocks in a row is exceeded.
LogLevels defines the loglevels for SignCTRL logs.
# Structs
BaseService is a classical inheritance-style service declarations.
BaseSignCtrled is a base implementation of SignCtrled.
Gauges wraps SignCTRL's prometheus gauges.
SyncLogger wraps a standard log.Logger and makes it synchronous.
# Interfaces
Service defines a servise that can be started and stopped.
SignCtrled defines the functionality of a SignCTRL PrivValidator that monitors the blockchain for missed blocks in a row and keeps its rank up to date.