Versions in this module Expand all Collapse all v2 v2.0.1 Oct 5, 2021 Changes in this version + type DepositCache struct + func New() (*DepositCache, error) + func (dc *DepositCache) AllDepositContainers(ctx context.Context) []*dbpb.DepositContainer + func (dc *DepositCache) AllDeposits(ctx context.Context, untilBlk *big.Int) []*ethpb.Deposit + func (dc *DepositCache) DepositByPubkey(ctx context.Context, pubKey []byte) (*ethpb.Deposit, *big.Int) + func (dc *DepositCache) DepositsNumberAndRootAtHeight(ctx context.Context, blockHeight *big.Int) (uint64, [32]byte) + func (dc *DepositCache) FinalizedDeposits(ctx context.Context) *FinalizedDeposits + func (dc *DepositCache) InsertDeposit(ctx context.Context, d *ethpb.Deposit, blockNum uint64, index int64, ...) error + func (dc *DepositCache) InsertDepositContainers(ctx context.Context, ctrs []*dbpb.DepositContainer) + func (dc *DepositCache) InsertFinalizedDeposits(ctx context.Context, eth1DepositIndex int64) + func (dc *DepositCache) InsertPendingDeposit(ctx context.Context, d *ethpb.Deposit, blockNum uint64, index int64, ...) + func (dc *DepositCache) NonFinalizedDeposits(ctx context.Context, untilBlk *big.Int) []*ethpb.Deposit + func (dc *DepositCache) PendingContainers(ctx context.Context, untilBlk *big.Int) []*dbpb.DepositContainer + func (dc *DepositCache) PendingDeposits(ctx context.Context, untilBlk *big.Int) []*ethpb.Deposit + func (dc *DepositCache) PrunePendingDeposits(ctx context.Context, merkleTreeIndex int64) + func (dc *DepositCache) PruneProofs(ctx context.Context, untilDepositIndex int64) error + func (dc *DepositCache) RemovePendingDeposit(ctx context.Context, d *ethpb.Deposit) + type DepositFetcher interface + AllDeposits func(ctx context.Context, untilBlk *big.Int) []*ethpb.Deposit + DepositByPubkey func(ctx context.Context, pubKey []byte) (*ethpb.Deposit, *big.Int) + DepositsNumberAndRootAtHeight func(ctx context.Context, blockHeight *big.Int) (uint64, [32]byte) + FinalizedDeposits func(ctx context.Context) *FinalizedDeposits + NonFinalizedDeposits func(ctx context.Context, untilBlk *big.Int) []*ethpb.Deposit + type FinalizedDeposits struct + Deposits *trie.SparseMerkleTrie + MerkleTrieIndex int64 + type PendingDepositsFetcher interface + PendingContainers func(ctx context.Context, untilBlk *big.Int) []*dbpb.DepositContainer Other modules containing this package github.com/prysmaticlabs/prysm github.com/prysmaticlabs/prysm/v3 github.com/prysmaticlabs/prysm/v4 github.com/prysmaticlabs/prysm/v5