Documentation
¶
Index ¶
- Constants
- func NewNetworkCfg(in *EVMNetworkConfig, out *blockchain.Output) (string, error)
- func NewNetworkCfgOneNetworkAllNodes(out *blockchain.Output) (string, error)
- func WriteTmpFile(data, filePath string) (*os.File, error)
- type DefaultCLNodeConfig
- type DefaultSecretsConfig
- type EVMNetworkConfig
- type EVMNode
- type Input
- type NodeInput
- type NodeOut
- type Output
Constants ¶
View Source
const ( DefaultTestKeystorePassword = "thispasswordislongenough" DefaultPasswordTxt = `T.tLHkcmwePT/p,]sYuntjwHKAsrhm#4eRs4LuKHwvHejWYAC2JP4M8HimwgmbaZ` DefaultAPICredentials = `notreal@fakeemail.ch fj293fbBnlQ!f9vNs` DefaultAPIUser = `notreal@fakeemail.ch` DefaultAPIPassword = `fj293fbBnlQ!f9vNs` )
Variables ¶
This section is empty.
Functions ¶
func NewNetworkCfg ¶
func NewNetworkCfg(in *EVMNetworkConfig, out *blockchain.Output) (string, error)
NewNetworkCfg generate new network configuration from blockchain.Output EVMNodes is used to set priority and primary/secondary for particular nodes
func NewNetworkCfgOneNetworkAllNodes ¶
func NewNetworkCfgOneNetworkAllNodes(out *blockchain.Output) (string, error)
NewNetworkCfgOneNetworkAllNodes is simplified CL node network configuration where we add all the nodes are from the same network
Types ¶
type DefaultCLNodeConfig ¶
type DefaultSecretsConfig ¶
type EVMNetworkConfig ¶
type EVMNetworkConfig struct {
MinIncomingConfirmations int
MinContractPayment string
ChainID string
EVMNodes []*EVMNode
}
EVMNetworkConfig is CL node network configuration
type Input ¶
type Input struct {
DataProviderURL string `toml:"data_provider_url" validate:"required"`
DbInput *postgres.Input `toml:"db" validate:"required"`
Node *NodeInput `toml:"node" validate:"required"`
Out *Output `toml:"out"`
}
Input represents Chainlink node input
type NodeInput ¶
type NodeInput struct {
Image string `toml:"image" validate:"required"`
Tag string `toml:"tag" validate:"required"`
Port string `toml:"port" validate:"required"`
TestConfigOverrides string `toml:"test_config_overrides"`
UserConfigOverrides string `toml:"user_config_overrides"`
TestSecretsOverrides string `toml:"test_secrets_overrides"`
UserSecretsOverrides string `toml:"user_secrets_overrides"`
}
NodeInput is CL nod container inputs
Click to show internal directories.
Click to hide internal directories.