Explicitly enable or disable Stratum in config file (Issue 9785) (#10521)

* add disable field and check value while reading config

* test stratum configuration

* fix small typo
This commit is contained in:
lamafab
2019-04-02 09:19:20 +00:00
committed by Talha Cross
parent 002496603c
commit 288d73789a
5 changed files with 90 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
[stratum]
disable = true

View File

@@ -0,0 +1,5 @@
[stratum]
disable = false
interface = "some_interface"
port = 8007
secret = "Yellow"

View File

@@ -0,0 +1 @@
[stratum]

View File

@@ -0,0 +1 @@
# No `[stratum]` section