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

pub struct DandelionConfig {
    pub epoch_secs: u16,
    pub embargo_secs: u16,
    pub aggregation_secs: u16,
    pub stem_probability: u8,
    pub always_stem_our_txs: bool,
}

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

Fields

epoch_secs: u16

Length of each "epoch".

embargo_secs: u16

Dandelion embargo timer. Fluff and broadcast individual txs if not seen on network before embargo expires.

aggregation_secs: u16

Dandelion aggregation timer.

stem_probability: u8

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

always_stem_our_txs: bool

Default to always stem our txs as described in Dandelion++ paper.

Trait Implementations

impl Clone for DandelionConfig[src]

impl Default for DandelionConfig[src]

impl PartialEq<DandelionConfig> for DandelionConfig[src]

impl Debug for DandelionConfig[src]

impl Serialize for DandelionConfig[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T