mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 13:56:35 +00:00
16 lines
667 B
Go
16 lines
667 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
// OracleConfiguration is a config for the oracle module.
|
|
type OracleConfiguration struct {
|
|
Enabled bool `yaml:"Enabled"`
|
|
AllowPrivateHost bool `yaml:"AllowPrivateHost"`
|
|
Nodes []string `yaml:"Nodes"`
|
|
MaxTaskTimeout time.Duration `yaml:"MaxTaskTimeout"`
|
|
RefreshInterval time.Duration `yaml:"RefreshInterval"`
|
|
MaxConcurrentRequests int `yaml:"MaxConcurrentRequests"`
|
|
RequestTimeout time.Duration `yaml:"RequestTimeout"`
|
|
ResponseTimeout time.Duration `yaml:"ResponseTimeout"`
|
|
UnlockWallet Wallet `yaml:"UnlockWallet"`
|
|
}
|