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

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

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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.