[][src]Struct ckb_types::core::MinerReward

pub struct MinerReward {
    pub primary: Capacity,
    pub secondary: Capacity,
    pub committed: Capacity,
    pub proposal: Capacity,
}

Fields

primary: Capacity

The miner receives all the primary issuance.

secondary: Capacity

The miner receives part of the secondary issuance.

committed: Capacity

The miner recevies 60% of the transaction fee for each transaction committed in the block.

proposal: Capacity

The miner recevies 40% of the transaction fee for each transaction proposed in the block, and committed later in its active commit window.

Trait Implementations

impl Debug for MinerReward[src]

impl Default for MinerReward[src]

impl Eq for MinerReward[src]

impl From<BlockReward> for MinerReward[src]

impl PartialEq<MinerReward> for MinerReward[src]

impl StructuralEq for MinerReward[src]

impl StructuralPartialEq for MinerReward[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,