[][src]Struct grin_pool::types::DandelionConfig

pub struct DandelionConfig {
    pub relay_secs: Option<u64>,
    pub embargo_secs: Option<u64>,
    pub patience_secs: Option<u64>,
    pub stem_probability: Option<usize>,
}

Configuration for "Dandelion". Note: shared between p2p and pool.

Fields

relay_secs: Option<u64>

Choose new Dandelion relay peer every n secs.

embargo_secs: Option<u64>

Dandelion embargo, fluff and broadcast tx if not seen on network before embargo expires.

patience_secs: Option<u64>

Dandelion patience timer, fluff/stem processing runs every n secs. Tx aggregation happens on stem txs received within this window.

stem_probability: Option<usize>

Dandelion stem probability (stem 90% of the time, fluff 10% etc.)

Trait Implementations

impl PartialEq<DandelionConfig> for DandelionConfig[src]

impl Default for DandelionConfig[src]

impl Clone for DandelionConfig[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DandelionConfig[src]

impl Serialize for DandelionConfig[src]

impl<'de> Deserialize<'de> for DandelionConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> UnsafeAny for T where
    T: Any

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self