Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher fetches proposed duty data.
func New ¶
func New(eth2Svc eth2client.Service) (*Fetcher, error)
New returns a new fetcher instance.
func (*Fetcher) RegisterAggSigDB ¶
func (f *Fetcher) RegisterAggSigDB(fn func(context.Context, core.Duty, core.PubKey) (core.AggSignedData, error))
RegisterAggSigDB registers a function to get resolved aggregated signed data from the AggSigDB. Note: This is not thread safe should be called *before* Fetch.
Click to show internal directories.
Click to hide internal directories.