You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{ .var_type=DATUM_CONF_STRING, .category="bitcoind", .name="rpcurl", .description="RPC URL for communication with local bitcoind. (GBT Template Source)",
{ .var_type=DATUM_CONF_INT, .category="bitcoind", .name="work_update_seconds", .description="How many seconds between normal work updates? (5-120, 40 suggested)",
{ .var_type=DATUM_CONF_BOOL, .category="bitcoind", .name="notify_fallback", .description="Fall back to less efficient methods for new block notifications. Can disable if you use blocknotify.",
{ .var_type=DATUM_CONF_STRING, .category="mining", .name="coinbase_tag_primary", .description="Text to have in the primary coinbase tag when not using pool (overridden by DATUM Pool)",
{ .var_type=DATUM_CONF_STRING, .category="mining", .name="coinbase_tag_secondary", .description="Text to have in the secondary coinbase tag (Short name/identifier)",
{ .var_type=DATUM_CONF_INT, .category="mining", .name="coinbase_unique_id", .description="A unique ID between 1 and 65535. This is appended to the coinbase. Make unique per instance of datum with the same coinbase tags.",
{ .var_type=DATUM_CONF_STRING, .category="mining", .name="save_submitblocks_dir", .description="Directory to save all submitted blocks to as submitblock JSON files",
{ .var_type=DATUM_CONF_STRING_ARRAY, .category="extra_block_submissions", .name="urls", .description="Array of bitcoind RPC URLs to submit our blocks to directly. Include auth info: http://user:pass@IP",
{ .var_type=DATUM_CONF_STRING, .category="datum", .name="pool_host", .description="Remote DATUM server host/ip to use for decentralized pooled mining (set to \"\" to disable pooled mining)",
{ .var_type=DATUM_CONF_STRING, .category="datum", .name="pool_pubkey", .description="Public key of the DATUM server for initiating encrypted connection. Get from secure location, or set to empty to auto-fetch.",
{ .var_type=DATUM_CONF_BOOL, .category="datum", .name="pool_pass_workers", .description="Pass stratum miner usernames as sub-worker names to the pool (pool_username.miner's username)",
{ .var_type=DATUM_CONF_BOOL, .category="datum", .name="pool_pass_full_users", .description="Pass stratum miner usernames as raw usernames to the pool (use if putting multiple payout addresses on miners behind this gateway)",
DLOG_ERROR("Could not parse configuration option %s.%s. Type should be %s", datum_config_options[i].category, datum_config_options[i].name, (datum_config_options[i].var_type<DATUM_CONF_TYPES)?datum_conf_var_type_text[datum_config_options[i].var_type]:"UNKNOWN");
294
+
return-1;
295
+
} elseif (j==-2) {
296
+
DLOG_ERROR("Configuration option %s.%s exceeds maximum length of %d", datum_config_options[i].category, datum_config_options[i].name, datum_config_options[i].max_string_len);
0 commit comments