Enum ethcore::engines::block_reward::RewardKind [] [src]

#[repr(u8)]
pub enum RewardKind { Author, Uncle, EmptyStep, External, }

The kind of block reward. Depending on the consensus engine the allocated block reward might have different semantics which could lead e.g. to different reward values.

Variants

Reward attributed to the block author.

Reward attributed to the block uncle(s).

Reward attributed to the author(s) of empty step(s) included in the block (AuthorityRound engine).

Reward attributed by an external protocol (e.g. block reward contract).

Trait Implementations

impl PartialEq for RewardKind
[src]

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

This method tests for !=.

impl Eq for RewardKind
[src]

impl Clone for RewardKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RewardKind
[src]

impl Debug for RewardKind
[src]

Formats the value using the given formatter. Read more

impl From<RewardKind> for u16
[src]

Performs the conversion.

impl Into<RewardType> for RewardKind
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RewardKind

impl Sync for RewardKind