Skip to content

Commit a96b950

Browse files
committed
Futher reorganize cardano transactions services inside a single mod
1 parent 6fe0220 commit a96b950

File tree

8 files changed

+8
-5
lines changed

8 files changed

+8
-5
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mod importer;
2+
mod preloader_checker;
3+
4+
pub use importer::*;
5+
pub use preloader_checker::*;
File renamed without changes.

mithril-signer/src/services/mod.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,20 @@
33
//! This module regroups services. Services are adapters in charge of the different bounded contexts of the application:
44
//!
55
//! * Aggregator Client: communicate with the Aggregator
6-
//! * Cardano Transaction Importer: Import transactions from the Cardano chain
6+
//! * Cardano Transactions: handle Cardano transactions (import, preload, etc.)
77
//! * Single Signer: create single signatures
88
//! * Upkeep: perform maintenance tasks
99
//!
1010
//! Each service is defined by a public API (a trait) that is used in the controllers (runtimes).
1111
1212
mod aggregator_client;
13-
mod cardano_transactions_importer;
14-
mod cardano_transactions_preloader_checker;
13+
mod cardano_transactions;
1514
mod single_signer;
1615
mod upkeep_service;
1716

1817
#[cfg(test)]
1918
pub use aggregator_client::dumb::DumbAggregatorClient;
2019
pub use aggregator_client::*;
21-
pub use cardano_transactions_importer::*;
22-
pub use cardano_transactions_preloader_checker::*;
20+
pub use cardano_transactions::*;
2321
pub use single_signer::*;
2422
pub use upkeep_service::*;

0 commit comments

Comments
 (0)