neo-go/pkg/config/oracle_config.go

15 lines
544 B
Go
Raw Normal View History

package config
import "time"
// OracleConfiguration is a config for the oracle module.
type OracleConfiguration struct {
2020-10-07 07:48:41 +00:00
Enabled bool `yaml:"Enabled"`
AllowPrivateHost bool `yaml:"AllowPrivateHost"`
Nodes []string `yaml:"Nodes"`
MaxConcurrentRequests int `yaml:"MaxConcurrentRequests"`
RequestTimeout time.Duration `yaml:"RequestTimeout"`
ResponseTimeout time.Duration `yaml:"ResponseTimeout"`
UnlockWallet Wallet `yaml:"UnlockWallet"`
}