Documentation
¶
Index ¶
- type AutoPprof
- type Core
- type Database
- type DatabaseBackup
- type DatabaseListener
- type DatabaseLock
- type Feature
- type FluxMonitor
- type JobPipeline
- type Keeper
- type Log
- type OCR
- type OCR2
- type P2P
- type P2PV1
- type P2PV2
- type Secrets
- type Sentry
- type TelemetryIngress
- type WebServer
- type WebServerMFA
- type WebServerRateLimit
- type WebServerTLS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoPprof ¶
type AutoPprof struct {
Enabled *bool
ProfileRoot *string
PollInterval *models.Duration
GatherDuration *models.Duration
GatherTraceDuration *models.Duration
MaxProfileSize *utils.FileSize
CPUProfileRate *int64 // runtime.SetCPUProfileRate
MemProfileRate *int64 // runtime.MemProfileRate
BlockProfileRate *int64 // runtime.SetBlockProfileRate
MutexProfileFraction *int64 // runtime.SetMutexProfileFraction
MemThreshold *utils.FileSize
GoroutineThreshold *int64
}
type Core ¶
type Core struct {
// General/misc
Dev *bool
ExplorerURL *models.URL
InsecureFastScrypt *bool
ReaperExpiration *models.Duration
RootDir *string
ShutdownGracePeriod *models.Duration
Feature *Feature
Database *Database
TelemetryIngress *TelemetryIngress
Log *Log
WebServer *WebServer
JobPipeline *JobPipeline
FluxMonitor *FluxMonitor
OCR2 *OCR2
OCR *OCR
P2P *P2P
Keeper *Keeper
AutoPprof *AutoPprof
Sentry *Sentry
}
Core holds the core configuration. See chainlink.Config for more information.
type Database ¶
type Database struct {
DefaultIdleInTxSessionTimeout *models.Duration
DefaultLockTimeout *models.Duration
DefaultQueryTimeout *models.Duration
MigrateOnStartup *bool
ORMMaxIdleConns *int64
ORMMaxOpenConns *int64
Backup *DatabaseBackup
Listener *DatabaseListener
Lock *DatabaseLock
}
type DatabaseBackup ¶
type DatabaseListener ¶
type DatabaseLock ¶
type FluxMonitor ¶
type JobPipeline ¶
type Keeper ¶
type Keeper struct {
DefaultTransactionQueueDepth *uint32
GasPriceBufferPercent *uint32
GasTipCapBufferPercent *uint32
BaseFeeBufferPercent *uint32
MaximumGracePeriod *int64
RegistryCheckGasOverhead *utils.Big
RegistryPerformGasOverhead *utils.Big
RegistrySyncInterval *models.Duration
RegistrySyncUpkeepQueueSize *uint32
TurnLookBack *int64
TurnFlagEnabled *bool
UpkeepCheckGasPriceEnabled *bool
}
type OCR ¶
type OCR struct {
ObservationTimeout *models.Duration
BlockchainTimeout *models.Duration
ContractPollInterval *models.Duration
ContractSubscribeInterval *models.Duration
DefaultTransactionQueueDepth *uint32
// Optional
KeyBundleID *models.Sha256Hash
SimulateTransactions *bool
TransmitterAddress *ethkey.EIP55Address
}
type P2P ¶
type P2P struct {
// V1 and V2
IncomingMessageBufferSize *int64
OutgoingMessageBufferSize *int64
TraceLogging *bool
V1 *P2PV1
V2 *P2PV2
}
func (*P2P) NetworkStack ¶
func (p *P2P) NetworkStack() ocrnetworking.NetworkingStack
type P2PV1 ¶
type P2PV1 struct {
AnnounceIP *net.IP
AnnouncePort *uint16
BootstrapCheckInterval *models.Duration
DefaultBootstrapPeers *[]string
DHTAnnouncementCounterUserPrefix *uint32
DHTLookupInterval *int64
ListenIP *net.IP
ListenPort *uint16
NewStreamTimeout *models.Duration
PeerID *p2pkey.PeerID
PeerstoreWriteInterval *models.Duration
}
type TelemetryIngress ¶
type WebServer ¶
type WebServer struct {
AllowOrigins *string
BridgeResponseURL *models.URL
HTTPWriteTimeout *models.Duration
HTTPPort *uint16
SecureCookies *bool
SessionTimeout *models.Duration
MFA *WebServerMFA
RateLimit *WebServerRateLimit
TLS *WebServerTLS
}
type WebServerMFA ¶
type WebServerRateLimit ¶
Click to show internal directories.
Click to hide internal directories.