Documentation
¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 18ded26a06cd655b40895d75a854aefea18052574c4695e7add54b997a159818
Index ¶
- type Status
- func (s *Status) GetForkDigest() common.ForkDigest
- func (s *Status) HashTreeRoot() ([32]byte, error)
- func (s *Status) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *Status) MarshalSSZ() ([]byte, error)
- func (s *Status) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *Status) SetFinalizedCheckpoint(c common.Checkpoint)
- func (s *Status) SetForkDigest(d common.ForkDigest)
- func (s *Status) SetHead(h tree.Root, slot common.Slot)
- func (s *Status) SizeSSZ() (size int)
- func (s *Status) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct {
ForkDigest []byte `json:"fork_digest" ssz-size:"4"`
FinalizedRoot []byte `json:"finalized_root" ssz-size:"32"`
FinalizedEpoch uint64 `json:"finalized_epoch"`
HeadRoot []byte `json:"head_root" ssz-size:"32"`
HeadSlot uint64 `json:"head_slot"`
sync.Mutex `json:"-"`
}
func (*Status) GetForkDigest ¶
func (s *Status) GetForkDigest() common.ForkDigest
func (*Status) HashTreeRoot ¶
HashTreeRoot ssz hashes the Status object
func (*Status) HashTreeRootWith ¶
HashTreeRootWith ssz hashes the Status object with a hasher
func (*Status) MarshalSSZ ¶
MarshalSSZ ssz marshals the Status object
func (*Status) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the Status object to a target array
func (*Status) SetFinalizedCheckpoint ¶
func (s *Status) SetFinalizedCheckpoint(c common.Checkpoint)
func (*Status) SetForkDigest ¶
func (s *Status) SetForkDigest(d common.ForkDigest)
func (*Status) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the Status object
Click to show internal directories.
Click to hide internal directories.