Struct fvm_shared::DefaultNetworkParams
source · pub struct DefaultNetworkParams;
Expand description
Params for the network. This is now continued on into mainnet and is static across networks.
Trait Implementations§
source§impl NetworkParams for DefaultNetworkParams
impl NetworkParams for DefaultNetworkParams
source§const TOTAL_FILECOIN: i64 = 2_000_000_000i64
const TOTAL_FILECOIN: i64 = 2_000_000_000i64
Total filecoin available to network.
source§const MINING_REWARD_TOTAL: i64 = 1_400_000_000i64
const MINING_REWARD_TOTAL: i64 = 1_400_000_000i64
Available rewards for mining.
source§fn initial_reward_balance() -> TokenAmount
fn initial_reward_balance() -> TokenAmount
Initial reward actor balance. This function is only called in genesis setting up state.
Auto Trait Implementations§
impl Freeze for DefaultNetworkParams
impl RefUnwindSafe for DefaultNetworkParams
impl Send for DefaultNetworkParams
impl Sync for DefaultNetworkParams
impl Unpin for DefaultNetworkParams
impl UnwindSafe for DefaultNetworkParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more