Versions in this module Expand all Collapse all v0 v0.1.1 Oct 20, 2022 v0.1.0 Oct 19, 2022 Changes in this version + var SkipSlotCache = cache.NewSkipSlotCache() + func CalculateStateRoot(ctx context.Context, state state.BeaconState, ...) ([32]byte, error) + func EmptyGenesisState() (state.BeaconState, error) + func ExecuteStateTransition(ctx context.Context, state state.BeaconState, ...) (state.BeaconState, error) + func ExecuteStateTransitionNoVerifyAnySig(ctx context.Context, st state.BeaconState, signed interfaces.SignedBeaconBlock, ...) (*bls.SignatureBatch, state.BeaconState, error) + func GenesisBeaconState(ctx context.Context, deposits []*ethpb.Deposit, genesisTime uint64, ...) (state.BeaconState, error) + func IsValidGenesisState(chainStartDepositCount, currentTime uint64) bool + func NextSlotState(_ context.Context, root []byte) (state.BeaconState, error) + func OptimizedGenesisBeaconState(genesisTime uint64, preState state.BeaconState, eth1Data *ethpb.Eth1Data) (state.BeaconState, error) + func ProcessBlockForStateRoot(ctx context.Context, state state.BeaconState, ...) (state.BeaconState, error) + func ProcessBlockNoVerifyAnySig(ctx context.Context, st state.BeaconState, signed interfaces.SignedBeaconBlock, ...) (*bls.SignatureBatch, state.BeaconState, error) + func ProcessEpochPrecompute(ctx context.Context, state state.BeaconState) (state.BeaconState, error) + func ProcessOperationsNoVerifyAttsSigs(ctx context.Context, state state.BeaconState, ...) (state.BeaconState, error) + func ProcessSlot(ctx context.Context, state state.BeaconState) (state.BeaconState, error) + func ProcessSlots(ctx context.Context, state state.BeaconState, slot types.Slot, ...) (state.BeaconState, error) + func ProcessSlotsIfPossible(ctx context.Context, state state.BeaconState, targetSlot types.Slot, ...) (state.BeaconState, error) + func ProcessSlotsUsingNextSlotCache(ctx context.Context, parentState state.BeaconState, parentRoot []byte, ...) (state.BeaconState, error) + func UpdateNextSlotCache(ctx context.Context, root []byte, state state.BeaconState, ...) error + func VerifyOperationLengths(_ context.Context, state state.BeaconState, b interfaces.SignedBeaconBlock) (state.BeaconState, error)