Documentation
¶
Overview ¶
Package validatormock provides mock validator client functionality.
Index ¶
- func Attest(ctx context.Context, eth2Cl eth2wrap.Client, signFunc SignFunc, ...) error
- func ProposeBlindedBlock(ctx context.Context, eth2Cl eth2wrap.Client, signFunc SignFunc, ...) error
- func ProposeBlock(ctx context.Context, eth2Cl eth2wrap.Client, signFunc SignFunc, ...) error
- func Register(ctx context.Context, eth2Cl eth2wrap.Client, signFunc SignFunc, ...) error
- type SignFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attest ¶
func Attest(ctx context.Context, eth2Cl eth2wrap.Client, signFunc SignFunc, slot eth2p0.Slot, pubkeys ...eth2p0.BLSPubKey, ) error
Attest performs attestation duties for the provided slot and pubkeys (validators).
func ProposeBlindedBlock ¶ added in v0.9.0
func ProposeBlindedBlock(ctx context.Context, eth2Cl eth2wrap.Client, signFunc SignFunc, slot eth2p0.Slot, pubkeys ...eth2p0.BLSPubKey, ) error
ProposeBlindedBlock proposes blinded block for the given slot.
Types ¶
Click to show internal directories.
Click to hide internal directories.