[−][src]Struct beacon::MainnetConfig
Mainnet config.
Trait Implementations
impl Config for MainnetConfig
[src]
type Digest = Sha256
Digest hash function.
type MaxValidatorsPerCommittee = U4096
Max validators per committee.
type SlotsPerHistoricalRoot = U8192
Slots per historical root.
type MaxProposerSlashings = U16
Maximum proposer slashings.
type MaxAttesterSlashings = U1
Maximum attester slashings.
type MaxAttestations = U128
Maximum attestations in a given block.
type MaxDeposits = U16
Maximum deposits in a given block.
type MaxVoluntaryExits = U16
Maximum voluntary exists in a given block.
type MaxTransfers = U0
Maximum transfers in a given block.
type HistoricalRootsLimit = U16777216
Limit of historical roots.
type ShardCount = U1024
Shard count.
type SlotsPerEpoch = U64
Slots per epoch.
type SlotsPerEth1VotingPeriod = U1024
Slots per eth1 voting period.
type ValidatorRegistryLimit = U1099511627776
Validator registry limit.
type EpochsPerHistoricalVector = U65536
Epochs per historical vector.
type EpochsPerSlashingsVector = U8192
Epochs per slashings vector.
type MaxAttestationsPerEpoch = Prod<Self::MaxAttestations, Self::SlotsPerEpoch>
Maximum attestations per epoch.
fn target_committee_size() -> Uint
[src]
fn min_per_epoch_churn_limit() -> Uint
[src]
fn churn_limit_quotient() -> Uint
[src]
fn shuffle_round_count() -> Uint
[src]
fn min_genesis_active_validator_count() -> Uint
[src]
fn min_genesis_time() -> Uint
[src]
fn min_deposit_amount() -> Uint
[src]
fn max_effective_balance() -> Uint
[src]
fn ejection_balance() -> Uint
[src]
fn effective_balance_increment() -> Uint
[src]
fn genesis_slot() -> Uint
[src]
fn genesis_epoch() -> Uint
[src]
fn bls_withdrawal_prefix_byte() -> u8
[src]
fn min_attestation_inclusion_delay() -> Uint
[src]
fn min_seed_lookahead() -> Uint
[src]
fn activation_exit_delay() -> Uint
[src]
fn min_validator_withdrawability_delay() -> Uint
[src]
fn persistent_committee_period() -> Uint
[src]
fn max_epochs_per_crosslink() -> Uint
[src]
fn min_epochs_to_inactivity_penalty() -> Uint
[src]
fn base_reward_factor() -> Uint
[src]
fn whistleblower_reward_quotient() -> Uint
[src]
fn proposer_reward_quotient() -> Uint
[src]
fn inactivity_penalty_quotient() -> Uint
[src]
fn min_slashing_penalty_quotient() -> Uint
[src]
fn domain_beacon_proposer() -> Uint
[src]
fn domain_randao() -> Uint
[src]
fn domain_attestation() -> Uint
[src]
fn domain_deposit() -> Uint
[src]
fn domain_voluntary_exit() -> Uint
[src]
fn domain_transfer() -> Uint
[src]
fn shard_count() -> Uint
[src]
Shard count.
fn max_validators_per_committee() -> Uint
[src]
Maximum indices per attestation.
fn slots_per_epoch() -> Uint
[src]
Slots per epoch.
fn slots_per_eth1_voting_period() -> Uint
[src]
Slots per eth1 voting period.
fn slots_per_historical_root() -> Uint
[src]
Slots per historical root.
fn epochs_per_historical_vector() -> Uint
[src]
Epochs per historical vector
fn epochs_per_slashings_vector() -> Uint
[src]
Epochs per slashings vector
fn historical_roots_limit() -> Uint
[src]
Historical roots limit
fn validator_registry_limit() -> Uint
[src]
Validator registry limit
fn max_proposer_slashings() -> Uint
[src]
Maximum proposer slashings per block.
fn max_attester_slashings() -> Uint
[src]
Maximum attester slashings per block.
fn max_attestations() -> Uint
[src]
Maximum attestations per block.
fn max_deposits() -> Uint
[src]
Maximum deposits per block.
fn max_voluntary_exits() -> Uint
[src]
Maximum voluntary exits per block.
fn max_transfers() -> Uint
[src]
Maximum transfers per block.
fn hash<A: AsRef<[u8]>, I: IntoIterator<Item = A>>(inputs: I) -> H256
[src]
Hash function.
impl Default for MainnetConfig
[src]
fn default() -> MainnetConfig
[src]
impl PartialEq<MainnetConfig> for MainnetConfig
[src]
fn eq(&self, other: &MainnetConfig) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for MainnetConfig
[src]
fn clone(&self) -> MainnetConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for MainnetConfig
[src]
impl Debug for MainnetConfig
[src]
impl Serialize for MainnetConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for MainnetConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encode for MainnetConfig
[src]
fn encode_to<EncOut: Output>(&self, dest: &mut EncOut)
[src]
fn encode(&self) -> Vec<u8>
[src]
Convert self to an owned vector.
fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
impl Decode for MainnetConfig
[src]
Auto Trait Implementations
impl Sync for MainnetConfig
impl Unpin for MainnetConfig
impl Send for MainnetConfig
impl UnwindSafe for MainnetConfig
impl RefUnwindSafe for MainnetConfig
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<S> Codec for S where
S: Encode + Decode,
[src]
S: Encode + Decode,
impl<T> KeyedVec for T where
T: Codec,
[src]
T: Codec,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self