Documentation ¶
Index ¶
- type BeaconState
- type BlobSidecar
- type Block
- func (c *Block) Add(block *spec.VersionedSignedBeaconBlock, expiresAt time.Time) error
- func (c *Block) GetByRoot(root phase0.Root) (*spec.VersionedSignedBeaconBlock, error)
- func (c *Block) GetBySlot(slot phase0.Slot) (*spec.VersionedSignedBeaconBlock, error)
- func (c *Block) GetByStateRoot(stateRoot phase0.Root) (*spec.VersionedSignedBeaconBlock, error)
- type Config
- type DepositSnapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconState ¶
type BeaconState struct {
// contains filtered or unexported fields
}
func NewBeaconState ¶
func NewBeaconState(log logrus.FieldLogger, config Config, namespace string) *BeaconState
func (*BeaconState) Add ¶
func (c *BeaconState) Add(stateRoot phase0.Root, state *spec.VersionedBeaconState, expiresAt time.Time, slot phase0.Slot) error
func (*BeaconState) GetByStateRoot ¶
func (c *BeaconState) GetByStateRoot(stateRoot phase0.Root) (*spec.VersionedBeaconState, error)
type BlobSidecar ¶ added in v0.20.0
type BlobSidecar struct {
// contains filtered or unexported fields
}
func NewBlobSidecar ¶ added in v0.20.0
func NewBlobSidecar(log logrus.FieldLogger, config Config, namespace string) *BlobSidecar
func (*BlobSidecar) Add ¶ added in v0.20.0
func (d *BlobSidecar) Add(slot phase0.Slot, sidecars []*deneb.BlobSidecar, expiresAt time.Time) error
func (*BlobSidecar) GetBySlot ¶ added in v0.20.0
func (d *BlobSidecar) GetBySlot(slot phase0.Slot) ([]*deneb.BlobSidecar, error)
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
func (*Block) GetByStateRoot ¶
type DepositSnapshot ¶ added in v0.15.0
type DepositSnapshot struct {
// contains filtered or unexported fields
}
func NewDepositSnapshot ¶ added in v0.15.0
func NewDepositSnapshot(log logrus.FieldLogger, config Config, namespace string) *DepositSnapshot
func (*DepositSnapshot) Add ¶ added in v0.15.0
func (d *DepositSnapshot) Add(epoch phase0.Epoch, snapshot *types.DepositSnapshot, expiresAt time.Time) error
func (*DepositSnapshot) GetByEpoch ¶ added in v0.15.0
func (d *DepositSnapshot) GetByEpoch(epoch phase0.Epoch) (*types.DepositSnapshot, error)
Click to show internal directories.
Click to hide internal directories.