package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 23, 2021
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Enabled bool
LogLevel string
MinSubmitPeriod format.Duration `help:"The time limit between each submit for a staked reporter."`
}
type Submitter struct {
}
func New(
ctx context.Context,
logger log.Logger,
cfg Config,
client *ethclient.Client,
contract contracts.ContractCaller,
account *ethereum.Account,
transactor Transactor,
psr *psr.Psr,
) (*Submitter, chan *mining.Result, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.