File tree Expand file tree Collapse file tree 9 files changed +595
-599
lines changed Expand file tree Collapse file tree 9 files changed +595
-599
lines changed Original file line number Diff line number Diff line change 2
2
//!
3
3
//! This crate implements [dandelion++](https://arxiv.org/pdf/1805.11060.pdf), using [`tower`].
4
4
//!
5
- //! This crate provides 2 [`tower::Service`]s, a [`DandelionRouter`] and a [`DandelionPool `](pool::DandelionPool ).
5
+ //! This crate provides 2 [`tower::Service`]s, a [`DandelionRouter`] and a [`DandelionPoolManager `](pool::DandelionPoolManager ).
6
6
//! The router is pretty minimal and only handles the absolute necessary data to route transactions, whereas the
7
7
//! pool keeps track of all data necessary for dandelion++ but requires you to provide a backing tx-pool.
8
8
//!
9
- //! This split was done not because the [`DandelionPool `](pool::DandelionPool ) is unnecessary but because it is hard
10
- //! to cover a wide range of projects when abstracting over the tx-pool. Not using the [`DandelionPool `](pool::DandelionPool )
9
+ //! This split was done not because the [`DandelionPoolManager `](pool::DandelionPoolManager ) is unnecessary but because it is hard
10
+ //! to cover a wide range of projects when abstracting over the tx-pool. Not using the [`DandelionPoolManager `](pool::DandelionPoolManager )
11
11
//! requires you to implement part of the paper yourself.
12
12
//!
13
13
//! # Features
14
14
//!
15
- //! This crate only has one feature `txpool` which enables [`DandelionPool `](pool::DandelionPool ).
15
+ //! This crate only has one feature `txpool` which enables [`DandelionPoolManager `](pool::DandelionPoolManager ).
16
16
//!
17
17
//! # Needed Services
18
18
//!
45
45
//!
46
46
//! ## Backing Pool
47
47
//!
48
- //! ([`DandelionPool `](pool::DandelionPool ) only)
48
+ //! ([`DandelionPoolManager `](pool::DandelionPoolManager ) only)
49
49
//!
50
50
//! This service is a backing tx-pool, in memory or on disk.
51
51
//! The backing pool should have a request of [`TxStoreRequest`](traits::TxStoreRequest) and a response of
You can’t perform that action at this time.
0 commit comments