Documentation ¶
Index ¶
- type BeaconState
- 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
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) GetByStateRoot ¶
func (c *BeaconState) GetByStateRoot(stateRoot phase0.Root) (*[]byte, error)
Click to show internal directories.
Click to hide internal directories.