Crate mithril_signer
source ·Expand description
Mithril Signer crate documentation
This crate is used by Cardano nodes to participate to Mithril signatures. It proposes tools to communicate with Mithril aggregators and to issue Single Signatures. See the Mithril documentation for more information on how it works.
Re-exports§
pub use entities::SignerEpochSettings;
pub use metrics::*;
Modules§
- database module. This module contains the entities definition tied with database representation with their associated providers.
- Dependency injection module.
- Entities module
- metrics module. This module contains the signer metrics service and metrics server.
- Services
- Alternative storage backends when relational database capabilities are not needed.
Structs§
- Client configuration
- Default configuration with all the default values for configurations.
- Adapter to convert EpochSettingsMessage to SignerEpochSettings.
- Controller methods for the Signer’s state machine.
- The state machine is responsible of the execution of the signer automate.
- Adapter to create RegisterSignerMessage from Signer instance.
Enums§
- This type represents the errors thrown from the Runner.
- RuntimeError Error kinds tied to their faith in the state machine.
- Different possible states of the state machine.
Traits§
- This trait is mainly intended for mocking.