Documentation
¶
Index ¶
- type Duty
- func (d *Duty) Account() accountmanager.ValidatingAccount
- func (d *Duty) RANDAOReveal() spec.BLSSignature
- func (d *Duty) SetAccount(account accountmanager.ValidatingAccount)
- func (d *Duty) SetRandaoReveal(randaoReveal spec.BLSSignature)
- func (d *Duty) Slot() spec.Slot
- func (d *Duty) String() string
- func (d *Duty) ValidatorIndex() spec.ValidatorIndex
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duty ¶
type Duty struct {
// contains filtered or unexported fields
}
Duty contains information about a beacon block proposal duty.
func NewDuty ¶
func NewDuty(ctx context.Context, slot spec.Slot, validatorIndex spec.ValidatorIndex) (*Duty, error)
NewDuty creates a new beacon block proposer duty.
func (*Duty) Account ¶ added in v0.9.0
func (d *Duty) Account() accountmanager.ValidatingAccount
Account provides the account.
func (*Duty) RANDAOReveal ¶
func (d *Duty) RANDAOReveal() spec.BLSSignature
RANDAOReveal provides the RANDAO reveal.
func (*Duty) SetAccount ¶ added in v0.9.0
func (d *Duty) SetAccount(account accountmanager.ValidatingAccount)
SetAccount sets the account.
func (*Duty) SetRandaoReveal ¶
func (d *Duty) SetRandaoReveal(randaoReveal spec.BLSSignature)
SetRandaoReveal sets the RANDAO reveal.
func (*Duty) ValidatorIndex ¶
func (d *Duty) ValidatorIndex() spec.ValidatorIndex
ValidatorIndex provides the validator index for the beacon block proposer.
Click to show internal directories.
Click to hide internal directories.