mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
14 lines
446 B
Go
14 lines
446 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"`
|
||
|
RequestTimeout time.Duration `yaml:"RequestTimeout"`
|
||
|
ResponseTimeout time.Duration `yaml:"ResponseTimeout"`
|
||
|
UnlockWallet Wallet `yaml:"UnlockWallet"`
|
||
|
}
|