| 1 |
Template: datum-gateway/bitcoin-address |
| 2 |
Type: string |
| 3 |
_Description: The Bitcoin address used for mining: |
| 4 |
By default, this Bitcoin address is overridden by the usernames of miners, |
| 5 |
meaning it is used solely as a fallback in the event of a pool disconnection. |
| 6 |
|
| 7 |
Template: datum-gateway/rpcurl |
| 8 |
Type: string |
| 9 |
Default: http://localhost:8332 |
| 10 |
_Description: RPC url: |
| 11 |
This is the URL of the node that will provide block templates. |
| 12 |
|
| 13 |
Template: datum-gateway/rpccredorcookie |
| 14 |
Type: select |
| 15 |
Choices: cookie, user/password |
| 16 |
_Description: Do you want to use rpc username/password or cookie? |
| 17 |
By default, bitcoind creates a cookie file in the datadir. |
| 18 |
But you can use username/password if configured. |
| 19 |
|
| 20 |
Template: datum-gateway/cookiepath |
| 21 |
Type: string |
| 22 |
_Description: Cookie path: |
| 23 |
Please enter the cookie file path in order for DATUM Gateway to fetch |
| 24 |
templates. |
| 25 |
|
| 26 |
Template: datum-gateway/rpcuser |
| 27 |
Type: string |
| 28 |
_Description: RPC user: |
| 29 |
|
| 30 |
Template: datum-gateway/rpcpassword |
| 31 |
Type: string |
| 32 |
_Description: RPC password: |
| 33 |
|
| 34 |
Template: datum-gateway/emptyfield |
| 35 |
Type: note |
| 36 |
_Description: This field cannot be empty. |
| 37 |
|
| 38 |
Template: datum-gateway/password |
| 39 |
Type: note |
| 40 |
_Description: Password for the API: ${PASSWORD} |
| 41 |
This password will be asked when accessing the web UI. |
| 42 |
|
| 43 |
Template: datum-gateway/log |
| 44 |
Type: boolean |
| 45 |
Default: false |
| 46 |
_Description: Do you want to enable logs in /var/log/datum-gateway ? |
| 47 |
This is particularly useful for systems that don't use systemd. |
| 48 |
|
| 49 |
Template: datum-gateway/coinbase-tag-secondary |
| 50 |
Type: string |
| 51 |
_Description: The secondary tag used in the coinbase transaction: |
| 52 |
This tag will be added in the coinbase transaction, it can be anything. |
| 53 |
Leave it blank if you want to use the default. |
| 54 |
|
| 55 |
Template: datum-gateway/bitcoin-address-blank |
| 56 |
Type: note |
| 57 |
_Description: No Bitcoin address entered |
| 58 |
You can still configure it in the config file/GUI. |
| 59 |
|
| 60 |
Template: datum-gateway/work_update_seconds |
| 61 |
Type: string |
| 62 |
Default: 40 |
| 63 |
_Description: Work update interval in seconds: |
| 64 |
How many seconds between normal work updates. |
| 65 |
Must be a number between 5 and 120. |
| 66 |
|
| 67 |
Template: datum-gateway/listen_port |
| 68 |
Type: string |
| 69 |
Default: 23334 |
| 70 |
_Description: Listen port: |
| 71 |
Listening port for Stratum Gateway. |
| 72 |
Must be a number between 5 and 65535. |
| 73 |
|
| 74 |
Template: datum-gateway/listen_port-api |
| 75 |
Type: string |
| 76 |
Default: 7152 |
| 77 |
_Description: Listen port for the API: |
| 78 |
Listening port for the web API. |
| 79 |
Must be a number between 5 and 65535. |
| 80 |
|
| 81 |
Template: datum-gateway/max_clients_per_thread |
| 82 |
Type: string |
| 83 |
Default: 2000 |
| 84 |
_Description: Maximum number of clients per Stratum server thread: |
| 85 |
Must be a number higher than 0. |
| 86 |
|
| 87 |
Template: datum-gateway/max_threads |
| 88 |
Type: string |
| 89 |
Default: 10 |
| 90 |
_Description: Maximum number of Stratum server threads: |
| 91 |
Must be a number between 1 and 64. |
| 92 |
|
| 93 |
Template: datum-gateway/max_clients |
| 94 |
Type: string |
| 95 |
Default: 20000 |
| 96 |
_Description: Maximum total number of Stratum: |
| 97 |
Maximum total number of Stratum clients before rejecting connections. |
| 98 |
Must be a number higher than 0. |
| 99 |
|
| 100 |
Template: datum-gateway/vardiff_min |
| 101 |
Type: string |
| 102 |
Default: 16384 |
| 103 |
_Description: Work difficulty floor: |
| 104 |
Must be a power of two. |
| 105 |
|
| 106 |
Template: datum-gateway/coinbase_tag_primary |
| 107 |
Type: string |
| 108 |
_Description: The primary tag used in the coinbase transaction: |
| 109 |
This tag will be added in the coinbase transaction, it can be anything. |
| 110 |
The primary tag will be overridden by the pool if mining in pooled mode. |
| 111 |
|
| 112 |
Template: datum-gateway/modify_conf |
| 113 |
Type: boolean |
| 114 |
Default: false |
| 115 |
_Description: Should the config be modifiable from the dashboard? |
| 116 |
Enable modifying the config file from API/dashboard. |
| 117 |
|
| 118 |
Template: datum-gateway/log_level_file |
| 119 |
Type: string |
| 120 |
Default: 3 |
| 121 |
_Description: Log level for log file: |
| 122 |
Minimum log level for log file messages. |
| 123 |
(0=All, 1=Debug, 2=Info, 3=Warn, 4=Error, 5=Fatal) |
| 124 |
|
| 125 |
Template: datum-gateway/pool_pass_workers |
| 126 |
Type: boolean |
| 127 |
Default: true |
| 128 |
_Description: Pass workers usernames to the pool? |
| 129 |
Pass stratum miner usernames as sub-worker names to the pool. |
| 130 |
|
| 131 |
Template: datum-gateway/pool_pass_full_users |
| 132 |
Type: boolean |
| 133 |
Default: true |
| 134 |
_Description: Pass stratum miner usernames as raw usernames to the pool? |
| 135 |
Use if putting multiple payout addresses on miners behind this gateway. |
| 136 |
|
| 137 |
Template: datum-gateway/pooled_mining_only |
| 138 |
Type: boolean |
| 139 |
Default: true |
| 140 |
_Description: Pooled mining only? |
| 141 |
If the DATUM pool server becomes unavailable, terminate miner connections. |
| 142 |
(otherwise, 100% of any blocks you find pay mining.pool_address) |