diff --git a/module/src/lib.rs b/module/src/lib.rs index 4186be1447f470a6f6a25813112c8ee041eab251..184db6210054fa491dec59d3c3cc43eff316cf38 100644 --- a/module/src/lib.rs +++ b/module/src/lib.rs @@ -85,7 +85,7 @@ pub trait DuniterModule: 'static + Sized { async fn start(self) -> anyhow::Result<()>; - /// Get TX full history of a pubkey. Needed for BMA only + /// Get TX full history (written and pending) of a pubkey. Needed for BMA only #[doc(hidden)] fn get_txs_history_bma( _dbs_pool: &fast_threadpool::ThreadPoolSyncHandler<SharedDbs<FileBackend>>, @@ -97,7 +97,7 @@ pub trait DuniterModule: 'static + Sized { /// Get TX history of a pubkey from a block range. Needed for BMA only #[doc(hidden)] - fn get_tx_history_bma_written_by_blocks( + fn get_tx_history_bma_by_blocks( _profile_path_opt: Option<&Path>, _pubkey: PublicKey, _from: Option<u32>, @@ -108,7 +108,7 @@ pub trait DuniterModule: 'static + Sized { /// Get TX history of a pubkey from a median_time range. Needed for BMA only #[doc(hidden)] - fn get_tx_history_bma_written_by_times( + fn get_tx_history_bma_by_times( _profile_path_opt: Option<&Path>, _pubkey: PublicKey, _from: Option<u64>, @@ -117,9 +117,9 @@ pub trait DuniterModule: 'static + Sized { Ok(None) } - /// Get TX inside the mempool of a pubkey. Needed for BMA only + /// Get mempool TX of a pubkey. Needed for BMA only #[doc(hidden)] - fn get_txs_history_bma_mempool( + fn get_mempool_tx_bma( _dbs_pool: &fast_threadpool::ThreadPoolSyncHandler<SharedDbs<FileBackend>>, _pubkey: PublicKey, ) -> KvResult<Option<TxsHistoryForBma>> {