package
0.0.0-20190209202311-c85edb6a4546
Repository: https://github.com/phoreproject/prysm.git
Documentation: pkg.go.dev
# Functions
ActiveIndexRoot returns the index root of a given epoch.
ActiveValidatorIndices filters out active validators based on validator status and returns their indices in a list.
AttestationCurrentEpoch returns the current epoch referenced by the attestation.
AttestationParticipants returns the attesting participants indices.
CrosslinkCommitteesAtSlot returns the list of crosslink committees, it contains the shard associated with the committee and the validator indices in that committee.
CurrentEpoch returns the current epoch number calculated from the slot number stored in beacon state.
CurrentEpochCommitteeCount returns the number of crosslink committees per epoch of the current epoch.
DomainVersion returns the domain version for BLS private key to sign and verify.
EntryExitEffectEpoch takes in epoch number and returns when the validator is eligible for activation and exit.
EpochCommitteeCount returns the number of crosslink committees of an epoch.
ForkVersion returns the fork version of the given epoch number.
GenerateSeed generates the randao seed of a given epoch.
IsActiveValidator returns the boolean value on whether the validator is active or not.
NextEpoch returns the next epoch number calculated form the slot number stored in beacon state.
NextEpochCommitteeCount returns the number of committees per slot of the next epoch.
PrevEpoch returns the previous epoch number calculated from the slot number stored in beacon state.
PrevEpochCommitteeCount returns the number of committees per slot of the previous epoch.
RandaoMix returns the randao mix (xor'ed seed) of a given slot.
Shuffling shuffles input validator indices and splits them by slot and shard.
SlotToEpoch returns the epoch number of the input slot.
StartSlot returns the first slot number of the current epoch.
# Structs
CrosslinkCommittee defines the validator committee of slot and shard combinations.