|
|
@ -5,6 +5,7 @@ type Config struct { |
|
|
|
BypassAddressValidation bool `json:"bypassAddressValidation"` |
|
|
|
BypassAddressValidation bool `json:"bypassAddressValidation"` |
|
|
|
BypassShareValidation bool `json:"bypassShareValidation"` |
|
|
|
BypassShareValidation bool `json:"bypassShareValidation"` |
|
|
|
Stratum Stratum `json:"stratum"` |
|
|
|
Stratum Stratum `json:"stratum"` |
|
|
|
|
|
|
|
BlockRefreshInterval string `json:"blockRefreshInterval"` |
|
|
|
UpstreamCheckInterval string `json:"upstreamCheckInterval"` |
|
|
|
UpstreamCheckInterval string `json:"upstreamCheckInterval"` |
|
|
|
Upstream []Upstream `json:"upstream"` |
|
|
|
Upstream []Upstream `json:"upstream"` |
|
|
|
EstimationWindow string `json:"estimationWindow"` |
|
|
|
EstimationWindow string `json:"estimationWindow"` |
|
|
@ -20,7 +21,6 @@ type Config struct { |
|
|
|
|
|
|
|
|
|
|
|
type Stratum struct { |
|
|
|
type Stratum struct { |
|
|
|
Timeout string `json:"timeout"` |
|
|
|
Timeout string `json:"timeout"` |
|
|
|
BlockRefreshInterval string `json:"blockRefreshInterval"` |
|
|
|
|
|
|
|
Ports []Port `json:"listen"` |
|
|
|
Ports []Port `json:"listen"` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|