Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
duniter-core
Commits
c8f4e65f
Commit
c8f4e65f
authored
2 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
[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
2 years ago
Stage: tests
Stage: quality
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
module/src/lib.rs
+3
-3
3 additions, 3 deletions
module/src/lib.rs
with
3 additions
and
3 deletions
module/src/lib.rs
+
3
−
3
View file @
c8f4e65f
...
@@ -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_tx
s
_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_tx
s
_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
>>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment