Struct ckb_jsonrpc_types::MinerReward[][src]

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

Block rewards for miners.

Fields

primary: Capacity

The primary base block reward allocated to miners.

secondary: Capacity

The secondary base block reward allocated to miners.

committed: Capacity

The transaction fees that are rewarded to miners because the transaction is committed in the block.

Miners get 60% of the transaction fee for each transaction committed in the block.

proposal: Capacity

The transaction fees that are rewarded to miners because the transaction is proposed in the block or its uncles.

Miners get 40% of the transaction fee for each transaction proposed in the block and committed later in its active commit window.

Trait Implementations

impl Clone for MinerReward[src]

impl Debug for MinerReward[src]

impl Default for MinerReward[src]

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

impl Eq for MinerReward[src]

impl From<MinerReward> for MinerReward[src]

impl Hash for MinerReward[src]

impl PartialEq<MinerReward> for MinerReward[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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