Struct ckb_jsonrpc_types::MinerReward [−][src]
pub struct MinerReward {
pub primary: Capacity,
pub secondary: Capacity,
pub committed: Capacity,
pub proposal: Capacity,
}
Expand description
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
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
impl RefUnwindSafe for MinerReward
impl Send for MinerReward
impl Sync for MinerReward
impl Unpin for MinerReward
impl UnwindSafe for MinerReward
Blanket Implementations
Mutably borrows from an owned value. Read more