node

package
v0.0.0-...-692deea Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBaseConfig

func NewBaseConfig() *chainlink.Config

func NewConfig

func NewConfig(baseConf *chainlink.Config, opts ...NodeConfigOpt) *chainlink.Config

func NewConfigFromToml

func NewConfigFromToml(tomlFile string, opts ...NodeConfigOpt) (*chainlink.Config, error)

func SetChainConfig

func SetChainConfig(
	cfg *chainlink.Config,
	wsUrls,
	httpUrls []string,
	chain blockchain.EVMNetwork,
	forwarders bool,
)

Types

type NodeConfigOpt

type NodeConfigOpt = func(c *chainlink.Config)

func WithLogPollInterval

func WithLogPollInterval(interval time.Duration) NodeConfigOpt

func WithOCR1

func WithOCR1() NodeConfigOpt

func WithOCR2

func WithOCR2() NodeConfigOpt

func WithP2Pv2

func WithP2Pv2() NodeConfigOpt

func WithPrivateEVMs

func WithPrivateEVMs(networks []blockchain.EVMNetwork) NodeConfigOpt

func WithTracing

func WithTracing() NodeConfigOpt

func WithVRFv2EVMEstimator

func WithVRFv2EVMEstimator(addresses []string, maxGasPriceGWei int64) NodeConfigOpt

Jump to

Keyboard shortcuts

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