Expand description
§Services
This module regroups services. Services are adapters in charge of the different bounded contexts of the application:
- Aggregator Client: communicate with the Aggregator
- Cardano Transactions: handle Cardano transactions (import, preload, etc.)
- Single Signer: create single signatures
- Upkeep: perform maintenance tasks
Each service is defined by a public API (a trait) that is used in the controllers (runtimes).
Structs§
- AggregatorHTTP
Client - AggregatorHTTPClient is a http client for an aggregator
- Cardano
Transactions Importer - Import and store CardanoTransaction.
- Cardano
Transactions Preloader Activation Signer - CardanoTransactionsPreloaderActivationSigner
- Mithril
Epoch Service - Implementation of the epoch service.
- Mithril
Protocol Initializer Builder - This is responsible for creating new instances of ProtocolInitializer.
- Mithril
Single Signer - Implementation of the SingleSigner.
- Signer
Certifier Service - Implementation of the Certifier Service for the Mithril Signer.
- Signer
Signable Seed Builder - SignableSeedBuilder signer implementation
- Signer
Signed Entity Config Provider - Simple wrapper to the EpochService to implement the SignedEntityConfigProvider trait.
- Signer
Upkeep Service - Implementation of the upkeep service for the signer.
- Transactions
Importer ByChunk - A decorator of TransactionsImporter that does the import by chunks
- Transactions
Importer With Pruner - A decorator of TransactionsImporter that prunes the transactions older than a given number of blocks after running the import.
- Transactions
Importer With Vacuum - A decorator of TransactionsImporter that vacuums the database after running the import.
Enums§
- Aggregator
Client Error - Error structure for the Aggregator Client.
- Epoch
Service Error - Errors dedicated to the EpochService.
- Single
Signer Error - SingleSigner error structure.
Traits§
- Aggregator
Client - Trait for mocking and testing a
AggregatorClient
- Certifier
Service - Certifier Service
- Epoch
Pruning Task - Define the task responsible for pruning a datasource below a certain epoch threshold.
- Epoch
Service - Service that aggregates all data that don’t change in a given epoch.
- Highest
Transaction Block Number Getter - Trait to get the highest transaction block number
- Signature
Publisher - Publishes computed single signature to a third party.
- Signed
Beacon Store - Trait to store beacons that have been signed in order to avoid signing them twice.
- Signed
Entity Config Provider - Trait to provide the current signed entity configuration that can change over time.
- Single
Signer - The SingleSigner is the structure responsible for issuing SingleSignature.
- Transaction
Pruner - Cardano transactions pruner
- Transaction
Store - Cardano transactions store
- Upkeep
Service - Define the service responsible for the upkeep of the application.