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
- database module. This module contains the entities definition tied with database representation with their associated providers.
- dependency_
injection - Dependency injection module.
- entities
- Entities module
- metrics
- metrics module. This module contains the signer metrics service and metrics server.
- services
- Services
- store
- Alternative storage backends when relational database capabilities are not needed.
Structs§
- Configuration
- Client configuration
- Database
Command - Database tools
- Default
Configuration - Default configuration with all the default values for configurations.
- From
Epoch Settings Adapter - Adapter to convert EpochSettingsMessage to SignerEpochSettings.
- Migrate
Command - Migrate command
- Signer
Runner - Controller methods for the Signer’s state machine.
- State
Machine - The state machine is responsible of the execution of the signer automate.
- ToRegister
Signer Message Adapter - Adapter to create RegisterSignerMessage from Signer instance.
Enums§
- Database
SubCommand - Database subcommands
- Runner
Error - This type represents the errors thrown from the Runner.
- Runtime
Error - RuntimeError Error kinds tied to their faith in the state machine.
- Signer
State - Different possible states of the state machine.
Traits§
- Runner
- This trait is mainly intended for mocking.