From c8f4e65f8c863f197a77b8c1947ef17b901bf9eb Mon Sep 17 00:00:00 2001
From: Benoit Lavenier <benoit.lavenier@e-is.pro>
Date: Fri, 19 May 2023 15:42:02 +0200
Subject: [PATCH] [fix] rename some BMA txs history functions
 ('get_tx_history__xxx()' into 'get_txs_history_xxx()')

---
 module/src/lib.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/module/src/lib.rs b/module/src/lib.rs
index 184db62..f8bd7d4 100644
--- a/module/src/lib.rs
+++ b/module/src/lib.rs
@@ -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_by_blocks(
+    fn get_txs_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_by_times(
+    fn get_txs_history_bma_by_times(
         _profile_path_opt: Option<&Path>,
         _pubkey: PublicKey,
         _from: Option<u64>,
@@ -119,7 +119,7 @@ pub trait DuniterModule: 'static + Sized {
 
     /// Get mempool TX of a pubkey. Needed for BMA only
     #[doc(hidden)]
-    fn get_mempool_tx_bma(
+    fn get_txs_history_bma_mempool(
         _dbs_pool: &fast_threadpool::ThreadPoolSyncHandler<SharedDbs<FileBackend>>,
         _pubkey: PublicKey,
     ) -> KvResult<Option<TxsHistoryForBma>> {
-- 
GitLab