Module mithril_aggregator::services
source · Expand description
§Services
This module regroups services. Services are adapters in charge of the different bounded contexts of the application:
- Ticker: provides the time of the blockchain
- StakeEntity: fetches Cardano stake distribution information
- Certifier: registers signers and create certificates once ready
- SignedEntity: provides information about signed entities.
Each service is defined by a public API (a trait) that is used in the controllers (runtimes).
Structs§
- SignableSeedBuilder aggregator implementation
- Implementation of the upkeep service for the aggregator.
- A decorator of CertifierService that can buffer registration of single signatures when the open message is not yet created.
- Import and store CardanoTransaction.
- Dependencies required by the MithrilEpochService.
- Mithril CertifierService implementation
- Implementation of the epoch service.
- Implementation of the MessageService
- Mithril prover
- Mithril ArtifactBuilder Service
- Implementation of the stake distribution service.
- Reporter of usage metrics of the application.
Enums§
- Errors dedicated to the CertifierService.
- Errors dedicated to the CertifierService.
- Error related to the MessageService
- Status of a successful registration of a single signature.
- Errors related to the StakeDistributionService.
Traits§
- BufferedSingleSignatureStore
- CertifierService
- Define the task responsible for pruning a datasource below a certain epoch threshold.
- Service that aggregates all data that don’t change in a given epoch.
- HTTP Message service trait.
- Prover service is the cryptographic engine in charge of producing cryptographic proofs for transactions
- ArtifactBuilder Service trait
- Responsible of synchronizing with Cardano stake distribution.
- Cardano transactions store
- Transactions retriever
- Define the service responsible for the upkeep of the application.