Struct forest_actor::reward::State
source · [−]pub struct State {
pub cumsum_baseline: Spacetime,
pub cumsum_realized: Spacetime,
pub effective_network_time: ChainEpoch,
pub effective_baseline_power: StoragePower,
pub this_epoch_reward: TokenAmount,
pub this_epoch_reward_smoothed: FilterEstimate,
pub this_epoch_baseline_power: StoragePower,
pub epoch: ChainEpoch,
pub total_storage_power_reward: TokenAmount,
pub simple_total: TokenAmount,
pub baseline_total: TokenAmount,
}
Expand description
Reward actor state
Fields
cumsum_baseline: Spacetime
Target CumsumRealized needs to reach for EffectiveNetworkTime to increase Expressed in byte-epochs.
cumsum_realized: Spacetime
CumsumRealized is cumulative sum of network power capped by BaselinePower(epoch). Expressed in byte-epochs.
effective_network_time: ChainEpoch
Ceiling of real effective network time theta
based on
CumsumBaselinePower(theta) == CumsumRealizedPower
Theta captures the notion of how much the network has progressed in its baseline
and in advancing network time.
effective_baseline_power: StoragePower
EffectiveBaselinePower is the baseline power at the EffectiveNetworkTime epoch.
this_epoch_reward: TokenAmount
The reward to be paid in per WinCount to block producers. The actual reward total paid out depends on the number of winners in any round. This value is recomputed every non-null epoch and used in the next non-null epoch.
this_epoch_reward_smoothed: FilterEstimate
Smoothed this_epoch_reward
.
this_epoch_baseline_power: StoragePower
The baseline power the network is targeting at st.Epoch.
epoch: ChainEpoch
Epoch tracks for which epoch the Reward was computed.
total_storage_power_reward: TokenAmount
simple_total: TokenAmount
baseline_total: TokenAmount
Implementations
Trait Implementations
Marshalls cbor encodable object into cbor bytes
Deserialize this value from the given Serde deserializer. Read more