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

[fix] rename some BMA tx history functions (writtend word not need: this is implicit)

parent 7639443a
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 #31867 failed
......@@ -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>> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment