{ "$schema": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "properties": { "cache_dir": { "description": "Location of cache, default is 'setup:data_dir()'", "type": "string" }, "extra_pubkeys": { "default": [], "description": "Additional worker pubkeys, sharing rewards", "items": { "pattern": "^ak_[1-9A-HJ-NP-Za-km-z]*$", "type": "string" }, "type": "array" }, "network": { "default": "mainnet", "type": "string" }, "pool": { "additionalProperties": false, "properties": { "host": { "default": "127.0.0.1", "description": "Hostname of hive server", "example": "0.0.0.0", "type": "string" }, "id": { "description": "Pool contract id", "pattern": "^ct_[1-9A-HJ-NP-Za-km-z]*$", "type": "string" }, "port": { "default": 17888, "description": "Hive server listen port", "minimum": 1, "type": "integer" } }, "type": "object" }, "pool_admin": { "additionalProperties": false, "properties": { "default_per_network": { "additionalProperties": false, "properties": { "mainnet": { "default": "https://gajumining.com/api/workers/{CLIENT_ID}", "type": "string" }, "testnet": { "default": "https://test.gajumining.com/api/workers/{CLIENT_ID}", "type": "string" } }, "type": "object" }, "url": { "default": "https://test.gajumining.com/api/workers/{CLIENT_ID}", "description": "URL of Eureka worker api", "type": "string" } }, "type": "object" }, "pubkey": { "description": "Primary client pubkey", "pattern": "^ak_[1-9A-HJ-NP-Za-km-z]*$", "type": "string" }, "report": { "default": "silent", "description": "Progress reporting", "enum": [ "debug", "progress", "silent" ], "type": "string" }, "type": { "default": "worker", "description": "monitor mode can be used to see if a pool is alive", "enum": [ "worker", "monitor" ], "type": "string" }, "workers": { "default": [ { "executable": "mean29-generic" } ], "description": "Definitions of workers' configurations. If no worker are configured one worker is used as default, i.e. 'mean29-generic' executable without any extra args.", "items": { "additionalProperties": false, "properties": { "executable": { "default": "mean29-generic", "description": "Executable binary of the worker. Can be a fully qualified path, \nbut the software may apply default logic to locate a plain basename.", "type": "string" }, "extra_args": { "default": "", "description": "Extra arguments to pass to the worker executable binary. The safest choice is specifying no arguments i.e. empty string.", "type": "string" }, "hex_encoded_header": { "default": false, "description": "Hexadecimal encode the header argument that is send to the worker executable. CUDA executables expect hex encoded header.", "type": "boolean" }, "instances": { "description": "Instances used by the worker in case of Multi-GPU mining. Numbers on the configuration list represent GPU devices that are to be addressed by the worker.", "example": [0,1,2,3], "items": { "type": "integer" }, "minItems": 1, "type": "array" }, "repeats": { "default": 1, "description": "Number of tries to do in each worker context - WARNING: it should be set so the worker process runs for 3-5s or else the node risk missing out on new micro blocks.", "type": "integer" } }, "required": [ "executable" ], "type": "object" }, "type": "array" } }, "type": "object" }