Documentation
¶
Index ¶
Constants ¶
View Source
const ( InitialStatusActionNone initialStatusAction = iota InitialStatusActionUpdateCurrentCert InitialStatusActionInsertNewCert )
Variables ¶
View Source
var ErrAgglayerInconsistence = errors.New("recovery: agglayer inconsistence")
Functions ¶
func NewCertStatusChecker ¶
func NewCertStatusChecker( log *log.Logger, storage db.AggSenderStorage, agglayerClient agglayer.AgglayerClientInterface, l2OriginNetwork uint32, ) types.CertificateStatusChecker
NewCertStatusChecker creates a new instance of a CertificateStatusChecker. It initializes the checker with the provided logger, storage, Agglayer client, and the L2 origin network identifier.
Parameters:
- log: Logger instance for logging messages.
- storage: Interface for accessing the AggSender storage.
- agglayerClient: Client interface for interacting with the Agglayer.
- l2OriginNetwork: Identifier for the L2 origin network.
Returns:
A types.CertificateStatusChecker instance configured with the provided parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.