validatormock

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package validatormock provides mock validator client functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attest

func Attest(ctx context.Context, eth2Cl Eth2AttProvider, signFunc SignFunc,
	slot eth2p0.Slot, pubkeys ...eth2p0.BLSPubKey,
) error

Attest performs attestation duties for the provided slot and pubkeys (validators).

Types

type SignFunc

SignFunc abstract signing done by the validator client.

func NewSigner

func NewSigner(secrets ...*bls_sig.SecretKey) SignFunc

NewSigner returns a singing function supporting the provided private keys.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL