[−][src]Struct ckb_types::core::BlockReward
Details of miner rewards issued by block cellbase transaction.
References:
Fields
total: Capacity
The total block reward.
primary: Capacity
The primary block reward.
secondary: Capacity
The secondary block reward.
Notice
- A part of the secondary issuance goes to the miners, the ratio depends on how many CKB are used to store state.
- And a part of the secondary issuance goes to the NervosDAO, the ratio depends on how many CKB are deposited and locked in the NervosDAO.
- The rest of the secondary issuance is determined by the community through the governance mechanism. Before the community can reach agreement, this part of the secondary issuance is going to be burned.
tx_fee: Capacity
The transaction fees that are rewarded to miners because the transaction is committed in the block.
Notice
Miners only get 60% of the transaction fee for each transaction committed in the block.
proposal_reward: Capacity
The transaction fees that are rewarded to miners because the transaction is proposed in the block or its uncles.
Notice
Miners only get 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 BlockReward
[src]
impl Default for BlockReward
[src]
fn default() -> BlockReward
[src]
impl From<BlockReward> for MinerReward
[src]
fn from(reward: BlockReward) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockReward
impl Send for BlockReward
impl Sync for BlockReward
impl Unpin for BlockReward
impl UnwindSafe for BlockReward
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,