From 3c24c3a7b3f20f9a5e66af9ae60056620fc75650 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier <benoit.lavenier@e-is.pro> Date: Fri, 19 May 2023 10:58:41 +0200 Subject: [PATCH] [fix] rename some BMA tx history functions (writtend word not need: this is implicit) --- module/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/src/lib.rs b/module/src/lib.rs index 4186be1..184db62 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>> { -- GitLab