[−][src]Trait beacon::Config
Constants used in beacon block.
Associated Types
type Digest: Digest<OutputSize = U32>
Digest hash function.
type MaxValidatorsPerCommittee: Unsigned + Debug + Clone + Eq + PartialEq + Default
Max validators per committee.
type SlotsPerHistoricalRoot: Unsigned + Debug + Clone + Eq + PartialEq + Default
Slots per historical root.
type MaxProposerSlashings: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum proposer slashings.
type MaxAttesterSlashings: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum attester slashings.
type MaxAttestations: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum attestations in a given block.
type MaxDeposits: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum deposits in a given block.
type MaxVoluntaryExits: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum voluntary exists in a given block.
type MaxTransfers: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum transfers in a given block.
type HistoricalRootsLimit: Unsigned + Debug + Clone + Eq + PartialEq + Default
Limit of historical roots.
type ShardCount: Unsigned + Debug + Clone + Eq + PartialEq + Default
Shard count.
type SlotsPerEpoch: Unsigned + Debug + Clone + Eq + PartialEq + Default
Slots per epoch.
type SlotsPerEth1VotingPeriod: Unsigned + Debug + Clone + Eq + PartialEq + Default
Slots per eth1 voting period.
type ValidatorRegistryLimit: Unsigned + Debug + Clone + Eq + PartialEq + Default
Validator registry limit.
type EpochsPerHistoricalVector: Unsigned + Debug + Clone + Eq + PartialEq + Default
Epochs per historical vector.
type EpochsPerSlashingsVector: Unsigned + Debug + Clone + Eq + PartialEq + Default
Epochs per slashings vector.
type MaxAttestationsPerEpoch: Unsigned + Debug + Clone + Eq + PartialEq + Default
Maximum attestations per epoch.
Required methods
fn target_committee_size() -> Uint
Target committee size.
fn min_per_epoch_churn_limit() -> Uint
Minimum per-epoch churn limit.
fn churn_limit_quotient() -> Uint
Churn limit quotient.
fn shuffle_round_count() -> Uint
Shuffle round count.
fn min_genesis_active_validator_count() -> Uint
Min genesis active validator count.
fn min_genesis_time() -> Uint
Min genesis time.
fn min_deposit_amount() -> Uint
Minimum deposit amount.
fn max_effective_balance() -> Uint
Maximum effective balance.
fn ejection_balance() -> Uint
Ejection balance.
fn effective_balance_increment() -> Uint
Effective balance increment.
fn genesis_slot() -> Uint
Genesis slot.
fn genesis_epoch() -> Uint
Genesis epoch.
fn bls_withdrawal_prefix_byte() -> u8
BLS withdrawal prefix byte.
fn min_attestation_inclusion_delay() -> Uint
Minimum attestation inclusion delay.
fn min_seed_lookahead() -> Uint
Minimum seed lookahead.
fn activation_exit_delay() -> Uint
Activation exit delay.
fn min_validator_withdrawability_delay() -> Uint
Minimal validator withdrawability delay.
fn persistent_committee_period() -> Uint
Persistent committee period.
fn max_epochs_per_crosslink() -> Uint
Maximum crosslink epochs.
fn min_epochs_to_inactivity_penalty() -> Uint
Minimum epochs to inactivity penalty.
fn base_reward_factor() -> Uint
Base reward quotient.
fn whistleblower_reward_quotient() -> Uint
Whistleblowing reward quotient.
fn proposer_reward_quotient() -> Uint
Proposer reward quotient.
fn inactivity_penalty_quotient() -> Uint
Inactivity penalty quotient.
fn min_slashing_penalty_quotient() -> Uint
Minimal slashing penalty quotient.
fn domain_beacon_proposer() -> Uint
Beacon proposer domain.
fn domain_randao() -> Uint
Randao domain.
fn domain_attestation() -> Uint
Attestation domain.
fn domain_deposit() -> Uint
Deposit domain.
fn domain_voluntary_exit() -> Uint
Voluntary exit domain.
fn domain_transfer() -> Uint
Transfer domain.
Provided methods
fn shard_count() -> Uint
Shard count.
fn max_validators_per_committee() -> Uint
Maximum indices per attestation.
fn slots_per_epoch() -> Uint
Slots per epoch.
fn slots_per_eth1_voting_period() -> Uint
Slots per eth1 voting period.
fn slots_per_historical_root() -> Uint
Slots per historical root.
fn epochs_per_historical_vector() -> Uint
Epochs per historical vector
fn epochs_per_slashings_vector() -> Uint
Epochs per slashings vector
fn historical_roots_limit() -> Uint
Historical roots limit
fn validator_registry_limit() -> Uint
Validator registry limit
fn max_proposer_slashings() -> Uint
Maximum proposer slashings per block.
fn max_attester_slashings() -> Uint
Maximum attester slashings per block.
fn max_attestations() -> Uint
Maximum attestations per block.
fn max_deposits() -> Uint
Maximum deposits per block.
fn max_voluntary_exits() -> Uint
Maximum voluntary exits per block.
fn max_transfers() -> Uint
Maximum transfers per block.
fn hash<A: AsRef<[u8]>, I: IntoIterator<Item = A>>(inputs: I) -> H256
Hash function.