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§
- Import and store CardanoTransaction.
- Mithril CertifierService implementation
- Implementation of the epoch service.
- Implementation of the MessageService
- Mithril prover
- Mithril ArtifactBuilder Service
- Implementation of the stake distribution service.
- MithrilTickerService
Enums§
- Errors dedicated to the CertifierService.
- Errors dedicated to the CertifierService.
- Error related to the MessageService
- Errors related to the StakeDistributionService.
Traits§
- CertifierService
- 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.
- Service trait with consistent business oriented API.
- Cardano transactions store
- Transactions retriever