Skip to content
Snippets Groups Projects
Commit c8f4e65f authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] rename some BMA txs history functions ('get_tx_history__xxx()' into 'get_txs_history_xxx()')

parent 3c24c3a7
No related branches found
No related tags found
1 merge request!2[enh] add `get_written_transactions_for_bma()` and `get_pending_transactions_for_bma()`
Pipeline #31885 failed
...@@ -97,7 +97,7 @@ pub trait DuniterModule: 'static + Sized { ...@@ -97,7 +97,7 @@ pub trait DuniterModule: 'static + Sized {
/// Get TX history of a pubkey from a block range. Needed for BMA only /// Get TX history of a pubkey from a block range. Needed for BMA only
#[doc(hidden)] #[doc(hidden)]
fn get_tx_history_bma_by_blocks( fn get_txs_history_bma_by_blocks(
_profile_path_opt: Option<&Path>, _profile_path_opt: Option<&Path>,
_pubkey: PublicKey, _pubkey: PublicKey,
_from: Option<u32>, _from: Option<u32>,
...@@ -108,7 +108,7 @@ pub trait DuniterModule: 'static + Sized { ...@@ -108,7 +108,7 @@ pub trait DuniterModule: 'static + Sized {
/// Get TX history of a pubkey from a median_time range. Needed for BMA only /// Get TX history of a pubkey from a median_time range. Needed for BMA only
#[doc(hidden)] #[doc(hidden)]
fn get_tx_history_bma_by_times( fn get_txs_history_bma_by_times(
_profile_path_opt: Option<&Path>, _profile_path_opt: Option<&Path>,
_pubkey: PublicKey, _pubkey: PublicKey,
_from: Option<u64>, _from: Option<u64>,
...@@ -119,7 +119,7 @@ pub trait DuniterModule: 'static + Sized { ...@@ -119,7 +119,7 @@ pub trait DuniterModule: 'static + Sized {
/// Get mempool TX of a pubkey. Needed for BMA only /// Get mempool TX of a pubkey. Needed for BMA only
#[doc(hidden)] #[doc(hidden)]
fn get_mempool_tx_bma( fn get_txs_history_bma_mempool(
_dbs_pool: &fast_threadpool::ThreadPoolSyncHandler<SharedDbs<FileBackend>>, _dbs_pool: &fast_threadpool::ThreadPoolSyncHandler<SharedDbs<FileBackend>>,
_pubkey: PublicKey, _pubkey: PublicKey,
) -> KvResult<Option<TxsHistoryForBma>> { ) -> KvResult<Option<TxsHistoryForBma>> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment