Skip to content

Commit

Permalink
wip joinset
Browse files Browse the repository at this point in the history
  • Loading branch information
hhalex committed Feb 25, 2025
1 parent cb63acb commit 140bd91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ use std::{
sync::Arc,
};
use storage::{DataProposalVerdict, LaneEntry, Storage};
use tokio::task::{futures, JoinHandle, JoinSet};
// Pick one of the two implementations
// use storage_memory::LanesStorage;
use storage_fjall::LanesStorage;
Expand Down Expand Up @@ -112,6 +113,7 @@ pub struct MempoolStore {
pub struct Mempool {
bus: MempoolBusClient,
file: Option<PathBuf>,
blocker: JoinSet<()>,
conf: SharedConf,
crypto: SharedBlstCrypto,
metrics: MempoolMetrics,
Expand Down Expand Up @@ -235,6 +237,7 @@ impl Module for Mempool {
bus,
file: Some(ctx.common.config.data_directory.clone()),
conf: ctx.common.config.clone(),
blocker: JoinSet::new()
metrics,
crypto: Arc::clone(&ctx.node.crypto),
lanes: LanesStorage::new(
Expand Down

0 comments on commit 140bd91

Please sign in to comment.