└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Apoolminer 2 | 3 | ```powershell 4 | $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$\ 5 | $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ | 6 | $$ / $$ |$$ | $$ |$$ / $$ |$$ / $$ |$$ | 7 | $$$$$$$$ |$$$$$$$ |$$ | $$ |$$ | $$ |$$ | 8 | $$ __$$ |$$ ____/ $$ | $$ |$$ | $$ |$$ | 9 | $$ | $$ |$$ | $$ | $$ |$$ | $$ |$$ | 10 | $$ | $$ |$$ | $$$$$$ | $$$$$$ |$$$$$$$$\ 11 | \__| \__|\__| \______/ \______/ \________| 12 | ``` 13 | 14 | ## Introduction 15 | 16 | The best Optimization Miner for Aleo & Qubic. 17 | 18 | ## Disclaimer 19 | 20 | [apool.io](https://www.apool.io/) & [apoolminer_github](https://github.com/apool-io/apoolminer) are the only 2 officially maintained site for publishing information and new releases of apoolminer. 21 | 22 | ## Install 23 | 24 | Always get the lastest version from the [releases](https://github.com/apool-io/apoolminer/releases) 25 | 26 | and then extract the file 27 | 28 | 29 | ## Usage 30 | 31 | Please refer to the usage help (`./apoolminer --help`): 32 | 33 | If you didn't have an apool account, Head over to [Apool Website](https://www.apool.io) to finish email registration, and Copy the sub-account from [myminer page](https://www.apool.io/myMiner). 34 | 35 | Then start miner like: 36 | 37 | ```powershell 38 | ./apoolminer --algo qubic --account --pool [OPTIONS] 39 | ``` 40 | 41 | ```powershell 42 | Options: 43 | --algo Specify algorithm, default: qubic 44 | --account Specify the sub-account, copy from myminer page 45 | --worker Specify the worker name. miner use the machine ip default, 46 | Note: The name consists of numbers and letters and cannot exceed 15 characters in length 47 | --pool Specify the pool proxy for the mining coin, eg. qubic1.hk.apool.io:3334 for qubic 48 | --cpu-off Close CPU mining 49 | --gpu-off Close GPU mining 50 | 51 | -g, --gpu Specify the index of GPU. Specify multiple times to use multiple GPUs, example: -g 0 -g 1 -g 2. Note: Use all gpus if not specify. 52 | -t, --thread Specify the number of CPU thread [default: 0] 53 | -o, --log Specify the log file 54 | 55 | --mode 0, default configuration, all data is placed in GPU VRAM, for typical rigs using PCIEx1 channels, please use this mode 56 | --mode 1, hybrid mode, part of the data offloaded to the host memory, performance can be increased by about 10%-20%, standard gaming PC or multi-card servers can use this mode, 57 | each card needs to consume additional host memory, please make sure that the system has enough memory configuration, you can follow the log to configure. 58 | ``` 59 | 60 | ## CPU supports 61 | 62 | - Intel/AMD CPUs support AVX2 63 | 64 | ## GPU supports 65 | 66 | - NVIDIA Turing GPU (RTX20) 67 | - NVIDIA Ampere GPU (RTX30) 68 | - NVIDIA Ada Lovelace GPU (RTX40) 69 | 70 | ## API Reference 71 | 72 | ### miner status 73 | 74 | **Path:** /status 75 | 76 | **Method:** GET 77 | 78 | **Response:** 79 | 80 | ``` 81 | { 82 | "code": 200, 83 | "data": { 84 | "online": false 85 | } 86 | } 87 | ``` 88 | 89 | ### miner info 90 | 91 | The /gpu API will return all devices, including cpu. 92 | 93 | **Path:** /gpu 94 | 95 | **Method:** GET 96 | 97 | **Response:** 98 | 99 | ``` 100 | { 101 | "code": 200, 102 | "data": { 103 | "gpus": [{ 104 | "cclk": 1635, //graphics clock 105 | "ctmp": 74, // gpu temperature 106 | "device": "2060SU", //gpu device 107 | "fan": 76, //fan 108 | "gmclk": 6801, //graphics memory clock 109 | "id": 0, 110 | "inval": 0, //invalid 111 | "mtmp": "89", //max temperature 112 | "power": 169, //power 113 | "proof": 0.0, //proof rate 114 | "statle": 0, // statle 115 | "valid": 0 // valid 116 | }], 117 | "uptime": 197 //program up time 118 | } 119 | ``` 120 | 121 | **Usage:** 122 | 123 | ```powershell 124 | ./apoolminer --algo qubic --account --rest --port 5001 --pool [OPTIONS] 125 | ``` 126 | 127 | ## Changelog 128 | ### 0.6.0 129 | 1. Version for running Aleo testnet3. 130 | ### 1.1.0 131 | 1. Version for running Qubic, it is only for CPU now. 132 | ### 1.2.1 133 | 1. Qubic Epoch 104, support for CPU and NVIDIA GPU. 134 | 2. Support Windows10 and Ubuntu18.04-22.04. 135 | ### 1.2.3 136 | 1. Fix some bug. 137 | 2. Optimal performance. 138 | ### 1.2.4 139 | 1. Fixed some machine anomalies. 140 | ### 1.2.6 141 | 1. Fix one bug which may generate invalid share. 142 | 2. GPU performance +12% . 143 | ### 1.2.7 144 | 1. GPU optimal performance, support CPU without avx2. 145 | ### 1.2.8 146 | 1. CPU and GPU performance optimization. 147 | ### 1.2.9 148 | 1. Some GPU models performance optimized by 10%-20%. 149 | 2. Fix the issue of low computing power of the 4090 GPU cards. 150 | ### 1.3.0 151 | 1. Qubic epoch 107. 152 | ### 1.3.1 153 | 1. Fixed some machine anomalies. 154 | ### 1.3.2 155 | 1. GPU performance improved by 10%. 156 | 2. Support automatic upgrade in Linux (Tutorial available on the official website). 157 | 3. Some bugs have been fixed. 158 | ### 1.4.0 159 | 1. Qubic epoch 109. 160 | 2. HiveOS has been upgraded to an automatically updated version. 161 | 3. Windows has been upgraded to an automatically updated version. 162 | ### 1.4.1 163 | 1. CPU and GPU performance optimization. 164 | ### 1.4.2 165 | 1. GPU performance optimization. 166 | ### 1.4.3 167 | 1. GPU performance optimization. 168 | ### 1.5.0 169 | 1. Qubic epoch 112. 170 | ### 1.5.1 171 | 1. Performance / efficiency improvements (Both CPU and GPU, 5%-15%). 172 | ### 1.5.2 173 | 1. Performance / efficiency improvements (Both CPU and GPU, 5%-15%). 174 | ### 1.6.0 175 | 1. Qubic epoch 114. 176 | ### 1.6.1 177 | 1. Fixed some bug. 178 | ### 1.6.2 179 | 1. Performance improvement in linux environment. 180 | 2. Performance improvement for NVIDIA RTX20 Cards, about 5%. 181 | ### 1.6.3 182 | 1. CPU mining with Aleo support. 183 | ### 1.6.4 184 | 1. CPU performance optimization for Aleo. 185 | ### 1.6.5 186 | 1. Aleo support GPU mining. 187 | ### 1.6.6 188 | 1. Performance optimization for Aleo. 189 | ### 1.6.7 190 | 1. CPU performance improved by 10% for Aleo. 191 | ### 1.6.8 192 | 1. CPU performance improved by 30% for Aleo. 193 | ### 1.6.9 194 | 1. CPU and GPU performance improved by 10%-15% for Aleo. 195 | ### 1.6.10 196 | 1. CPU performance improved by 30% for Aleo. 197 | ### 1.6.11 198 | 1. GPU performance improved by 20% for Qubic. 199 | ### 1.6.12 200 | 1. Fixed an automatic update issue for Qubic in HiveOS(This version only support Qubic). 201 | ### 1.6.13 202 | 1. GPU performance improved by 30% for Qubic. 203 | ### 1.6.14 204 | 1. GPU performance improved by 110% for Qubic. 205 | ### 1.6.15 206 | 1. The GPU support hybrid mode (--mode 1) to mine Qubic. 207 | 2. Performance increased by about 10%-20% in mode 1, increased by about 5% in mode 0. 208 | ### 1.7.0 209 | 1. Qubic epoch 121. 210 | ### 1.7.1 211 | 1. GPU performance improved by 10% for Qubic. 212 | ### 1.7.2 213 | 1. CPU performance improved by 50% for Qubic. 214 | ### 1.8.0 215 | 1. Qubic epoch 122. 216 | ### 1.8.1 217 | 1. Support ore solo cpu mining. 218 | ### 1.9.0 219 | 1. Qubic epoch 123. 220 | ### 1.9.1 221 | 1. CPU performance improved by 100% for Ore. 222 | 2. GPU and CPU performance improved by 10% for Qubic. 223 | ### 1.9.2 224 | 1. CPU performance improved by 20% for Qubic. 225 | 2. Bug fix for Ore. 226 | ### 1.9.3 227 | 1. GPU performance improved by 20% for Qubic. 228 | ### 1.9.4 229 | 1. CPU performance improved by 20% for Qubic. 230 | ### 1.9.5 231 | 1. GPU performance improved by 20% for Qubic. 232 | ### 2.0.0 233 | 1. Qubic epoch 125. 234 | ### 2.1.0 235 | 1. Qubic epoch 126. 236 | ### 2.1.1 237 | 1. GPU and CPU performance optimization for Qubic. 238 | ### 2.1.2 239 | 1. GPU and CPU performance improved by 15% for Qubic. 240 | ### 2.2.0 241 | 1. Qubic epoch 128. 242 | 2. Support ore pool and gpu mining. 243 | ### 2.2.1 244 | 1. GPU performance improved by 25% for Qubic. 245 | ### 2.2.2 246 | 1. GPU performance improved by 15%-20% for Qubic. 247 | ### 2.3.0 248 | 1. Qubic epoch 129. 249 | 2. Support ore and qubic dual mining. 250 | ### 2.3.1 251 | 1. GPU performance improved by 50% for ORE. 252 | 2. Fix bug. 253 | ### 2.4.0 254 | 1. Qubic epoch 130. 255 | 2. GPU performance improved by 20% for ORE. 256 | 3. Fix bug about dual mining. 257 | ### 2.4.1 258 | 1. Fix bug. 259 | ### 2.4.2 260 | 1. GPU performance improved by 15%-20% for Qubic. 261 | ### 2.4.3 262 | 1. CPU performance improved by 50% for Qubic. 263 | ### 2.5.0 264 | 1. Qubic epoch 131. 265 | ### 2.5.1 266 | 1. Fixed some gpu failure issues. 267 | ### 2.6.0 268 | 1. Qubic epoch 132. 269 | ### 2.6.1 270 | 1. 15% performance increase for RTX30s and RTX40s, 10% performance increase for RTX20s 271 | 2. Reduced GPU resource usage, can support true Dual mining with zkminer without affecting Qubic performance, unlike Idle mining, you can get 60% extra Aleo rewards in Qubic cycle. 272 | ### 2.6.2 273 | 1. GPU performance improved by 20%-30% for Qubic. 274 | 2. CPU performance improved by 100%-150% for Qubic. 275 | ### 2.6.3 276 | 1. GPU performance improved by 30% for Qubic. 277 | 2. CPU performance improved by 35% for Qubic. 278 | ### 2.6.4 279 | 1. GPU performance improved by 35% for Qubic. 280 | 2. CPU performance improved by 20% for Qubic. 281 | ### 2.6.5 282 | 1. CPU and GPU performance optimization for Qubic. 283 | ### 2.6.6 284 | 1. GPU performance improved by 20% for Qubic. 285 | 2. CPU performance improved by 20%-30% for Qubic. 286 | ### 2.6.7 287 | 1. Fix the Qubic CPU core count bug in Windows environment. 288 | 2. Qubic RTX30s GPU performance increased by about 8%, others increased by about 5%. 289 | 3. ORE mining switched to the latest Boost protocol, the revenue increased by more than 100% (after upgrading the version, the mining revenue will appear under the new ore-boost account, the old ore account balance will not be automatically merged, please withdraw the money manually). 290 | ### 2.7.0 291 | 1. Qubic epoch 138. 292 | ### 2.7.1 293 | 1. Emergency bug fixed. 294 | ### 2.7.2 295 | 1. Fixed the bug in the Windows version that caused low hashrate on 4090 GPUs. 296 | ### 2.7.3 297 | 1. CPU and GPU performance optimization for Qubic. 298 | ### 2.7.4 299 | 1. GPU performance optimization for Qubic. 300 | ### 2.7.5 301 | 1. GPU performance improved by 100%. 302 | ### 2.7.6 303 | 1. ORE fixes bugs, GPU performance increased by 20%, ORE users please replace the new version as soon as possible, the old version will stop support on December 25th! 304 | ### 2.7.6 305 | 1. Fixed the rejection rate issue in the ORE Windows version. 306 | 2. GPU performance improved by 10%-20%. 307 | ### 2.7.9 308 | 1. GPU and CPU performance improved by 600%-800% for Qubic. 309 | ### 2.7.10 310 | 1. GPU performance improved by 10% for Qubic. 311 | ### 2.8.0 312 | 1. Qubic epoch 143. 313 | ### 2.8.1 314 | 1. Qubic GPU performance improved by 40%. 315 | 2. Qubic CPU performance improved by 50%. 316 | ### 2.8.2 317 | 1. GPU and CPU performance improved by 30%-50% for Qubic. 318 | ### 2.8.4 319 | 1. Fix some bugs in the Windows version. 320 | 2. Optimized the logic for currency switching during idle time. 321 | ### 2.8.6 322 | 1. Qubic supports the NVIDIA 50 series GPUs. 323 | 2. Qubic GPU performance improved by 8%. 324 | ### 2.9.0 325 | 1. Epoch 161. 326 | 2. Miner adds support for QXMR. 327 | ### 2.9.1 328 | 1. Fixed an issue where some CPUs experienced hashrate drops. 329 | 2. Added option to set the number of threads for XMR mining. 330 | 3. Added a toggle to enable or disable CPU mining for XMR. 331 | ### 2.9.2 332 | 1. Added TLS/SSL encrypted connection support(Qubic, XMR)(qubic: qubic1.hk.apool.io:2334、qubic2.hk.apool.io:2334)(xmr: xmr.hk.apool.io:2334). 333 | 2. Fixed MSR-related issues on Windows. 334 | 3. Resolved GPU mining issues on XMR for machines with 4GB RAM. 335 | --------------------------------------------------------------------------------