Documentation
¶
Overview ¶
Package services contain the key components of the Chainlink node. This includes the Application, JobRunner, LogListener, and Scheduler.
Application ¶
The Application is the main component used for starting and stopping the Chainlink node.
JobRunner ¶
The JobRunner keeps track of Runs within a Job and ensures that they're executed in order. Within each Run, the tasks are also executed from the JobRunner.
JobSubscriber ¶
The JobSubscriber coordinates running job events with the EventLog in the Store, and also subscribes to the given address on the Ethereum blockchain.
Scheduler ¶
The Scheduler ensures that recurring events are executed according to their schedule, and one-time events occur only when the specified time has passed.
Index ¶
- func ApproximateFloat64(e *assets.Eth) (float64, error)
- func NewPromReporter(db *sql.DB, lggr logger.Logger, opts ...interface{}) *promReporter
- type BalanceMonitor
- type NullBalanceMonitor
- func (*NullBalanceMonitor) Close() error
- func (*NullBalanceMonitor) GetEthBalance(gethCommon.Address) *assets.Eth
- func (*NullBalanceMonitor) Healthy() error
- func (*NullBalanceMonitor) OnNewLongestChain(ctx context.Context, head *eth.Head)
- func (*NullBalanceMonitor) Ready() error
- func (*NullBalanceMonitor) Start() error
- type PrometheusBackend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BalanceMonitor ¶ added in v0.8.11
type BalanceMonitor interface { httypes.HeadTrackable GetEthBalance(gethCommon.Address) *assets.Eth service.Service }
BalanceMonitor checks the balance for each key on every new head
func NewBalanceMonitor ¶ added in v0.8.11
func NewBalanceMonitor(ethClient eth.Client, ethKeyStore keystore.Eth, logger logger.Logger) BalanceMonitor
NewBalanceMonitor returns a new balanceMonitor
type NullBalanceMonitor ¶ added in v0.9.3
type NullBalanceMonitor struct{}
func (*NullBalanceMonitor) Close ¶ added in v0.10.8
func (*NullBalanceMonitor) Close() error
func (*NullBalanceMonitor) GetEthBalance ¶ added in v0.9.3
func (*NullBalanceMonitor) GetEthBalance(gethCommon.Address) *assets.Eth
func (*NullBalanceMonitor) Healthy ¶ added in v0.10.8
func (*NullBalanceMonitor) Healthy() error
func (*NullBalanceMonitor) OnNewLongestChain ¶ added in v0.9.3
func (*NullBalanceMonitor) OnNewLongestChain(ctx context.Context, head *eth.Head)
func (*NullBalanceMonitor) Ready ¶ added in v0.10.8
func (*NullBalanceMonitor) Ready() error
func (*NullBalanceMonitor) Start ¶ added in v0.10.8
func (*NullBalanceMonitor) Start() error
Directories
¶
Path | Synopsis |
---|---|
signatures
|
|
cryptotest
Package cryptotest provides convenience functions for kyber-based APIs.
|
Package cryptotest provides convenience functions for kyber-based APIs. |
ethdss
Package ethdss implements the Distributed Schnorr Signature protocol from the ////////////////////////////////////////////////////////////////////////////// XXX: Do not use in production until this code has been audited.
|
Package ethdss implements the Distributed Schnorr Signature protocol from the ////////////////////////////////////////////////////////////////////////////// XXX: Do not use in production until this code has been audited. |
ethschnorr
Package ethschnorr implements a version of the Schnorr signature which is ////////////////////////////////////////////////////////////////////////////// XXX: Do not use in production until this code has been audited.
|
Package ethschnorr implements a version of the Schnorr signature which is ////////////////////////////////////////////////////////////////////////////// XXX: Do not use in production until this code has been audited. |
secp256k1
Package secp256k1 is an implementation of the kyber.{Group,Point,Scalar} ////////////////////////////////////////////////////////////////////////////// XXX: Do not use in production until this code has been audited.
|
Package secp256k1 is an implementation of the kyber.{Group,Point,Scalar} ////////////////////////////////////////////////////////////////////////////// XXX: Do not use in production until this code has been audited. |