Switch to XMRig miner
This commit is contained in:
parent
b54dc8d483
commit
d3093bf17c
45
README.md
45
README.md
@ -1,45 +0,0 @@
|
||||
# Williams Monero gruvedrift eventyr
|
||||
|
||||
Dette dokumentet er for å hjelpe meg, men kanskje det kan hjelpe deg også? :)
|
||||
|
||||
# Statistikk
|
||||
|
||||
Her finner du statistikk til gruvearbeiderene.
|
||||
|
||||
* [2Miners](https://xmr.2miners.com/account/8AJQsrynn4x1LswKw8Yk1Y8gjbSZ2YmFa5pLeB7vz6AkLytCfgoNZPmZr827bVgNrHTuhq9chcwTU339uy8E68gj2P4Xhdq)
|
||||
* [F2Pool](https://www.f2pool.com/xmr/8AJQsrynn4x1LswKw8Yk1Y8gjbSZ2YmFa5pLeB7vz6AkLytCfgoNZPmZr827bVgNrHTuhq9chcwTU339uy8E68gj2P4Xhdq) - Ikke veldig aktiv men noen ganger 'miner' jeg der.
|
||||
|
||||
# Gruvedrifting
|
||||
|
||||
Her finner du litt informasjon om åssen ting er satt opp.
|
||||
|
||||
Jeg bruker
|
||||
|
||||
* [XMR-stak](https://github.com/fireice-uk/xmr-stak/releases) til 'mining'
|
||||
* [2Miners](https://xmr.2miners.com/) som mitt PPLNS basseng.
|
||||
|
||||
Min konto adresse for innkommende XMR:
|
||||
|
||||
8AJQsrynn4x1LswKw8Yk1Y8gjbSZ2YmFa5pLeB7vz6AkLytCfgoNZPmZr827bVgNrHTuhq9chcwTU339uy8E68gj2P4Xhdq
|
||||
|
||||
# Installasjon av gruvearbeider
|
||||
|
||||
Debian Buster/Ubuntu 20.04
|
||||
|
||||
## Automagisk som systemd tjeneste
|
||||
|
||||
Installer curl:
|
||||
|
||||
apt update && apt install curl
|
||||
|
||||
Deretter utfør kommando:
|
||||
|
||||
curl -sSL https://git.willy.club/William/monero-miner/raw/branch/master/install.sh | bash
|
||||
|
||||
Sjekk statusen:
|
||||
|
||||
systemctl status monero-miner.service
|
||||
|
||||
## Sjekk status til gruvearbeideren
|
||||
|
||||
xmr-stak-rx kjører en webserver på port 42069. Der kan du finne hashrate og mye annet morro.
|
3
README.txt
Normal file
3
README.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Hei på deg!
|
||||
|
||||
curl -sSL https://git.willy.club/William/monero-miner/raw/branch/master/install.sh | bash
|
@ -14,8 +14,8 @@ source 'scripts/randomx_booster.sh'
|
||||
# enable huge pages
|
||||
source 'scripts/huge_pages.sh'
|
||||
|
||||
# start xmr-stak-rx
|
||||
#( cd 'xmr-stak-rx' && ./xmr-stak-rx ) &
|
||||
# start XMRig
|
||||
( cd xmrig* && ./xmrig ) &
|
||||
|
||||
# check for updates forever
|
||||
LOCAL=$(git rev-parse HEAD)
|
||||
|
@ -1,146 +0,0 @@
|
||||
// generated by xmr-stak-rx/1.0.5-rx/af03d89/xmr-stak-rx/lin/cpu
|
||||
|
||||
/*
|
||||
* Network timeouts.
|
||||
* Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make
|
||||
* sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for
|
||||
* nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
|
||||
* long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
|
||||
* server usually takes to process our calls.
|
||||
*
|
||||
* call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
|
||||
* retry_time - How long should we wait before another connection attempt.
|
||||
* Both values are in seconds.
|
||||
* giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
|
||||
* don't mine while the connection is lost, so your computer's power usage goes down to idle.
|
||||
*/
|
||||
"call_timeout" : 10,
|
||||
"retry_time" : 30,
|
||||
"giveup_limit" : 0,
|
||||
|
||||
/*
|
||||
* Output control.
|
||||
* Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
|
||||
* really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
|
||||
* performance monitors, there is very little reason to spew out pages of text instead of concise reports.
|
||||
* Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
|
||||
*
|
||||
* verbose_level - 0 - Don't print anything.
|
||||
* 1 - Print intro, connection event, disconnect event
|
||||
* 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
|
||||
* 3 - All of level 1, and new job (block) event in all cases, result submission event.
|
||||
* 4 - All of level 3, and automatic hashrate report printing
|
||||
* 10 - Debug level for developer
|
||||
*
|
||||
* print_motd - Display messages from your pool operator in the hashrate result.
|
||||
*/
|
||||
"verbose_level" : 4,
|
||||
"print_motd" : true,
|
||||
|
||||
/*
|
||||
* Automatic hashrate report
|
||||
*
|
||||
* h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
|
||||
* This option has no effect if verbose_level is not 4.
|
||||
*/
|
||||
"h_print_time" : 300,
|
||||
|
||||
/*
|
||||
* Manual hardware AES override
|
||||
*
|
||||
* Some VMs don't report AES capability correctly. You can set this value to true to enforce hardware AES or
|
||||
* to false to force disable AES or null to let the miner decide if AES is used.
|
||||
*
|
||||
* WARNING: setting this to true on a CPU that doesn't support hardware AES will crash the miner.
|
||||
*/
|
||||
"aes_override" : null,
|
||||
|
||||
/*
|
||||
* LARGE PAGE SUPPORT
|
||||
* Large pages need a properly set up OS. It can be difficult if you are not used to systems administration,
|
||||
* but the performance results are worth the trouble - you will get around 20% boost. Slow memory mode is
|
||||
* meant as a backup, you won't get stellar results there. If you are running into trouble, especially
|
||||
* on Windows, please read the common issues in the README and FAQ.
|
||||
*
|
||||
* On Linux you will need to configure large page support and increase your memlock limit (ulimit -l).
|
||||
*
|
||||
* To set large page support, add the following to "/etc/sysctl.d/60-hugepages.conf":
|
||||
* vm.nr_hugepages=128
|
||||
* You WILL need to run "sudo sysctl --system" for these settings to take effect on your system (or reboot).
|
||||
* In some cases (many threads, very large CPU, etc) you may need more than 128
|
||||
* (try 256 if there are still complaints from thread inits)
|
||||
*
|
||||
* To increase the memlock (ulimit -l), add following lines to /etc/security/limits.d/60-memlock.conf:
|
||||
* * - memlock 262144
|
||||
* root - memlock 262144
|
||||
* You WILL need to log out and log back in for these settings to take effect on your user (no need to reboot, just relogin in your session).
|
||||
*
|
||||
* Check with "/sbin/sysctl vm.nr_hugepages ; ulimit -l" to validate
|
||||
*
|
||||
* Memory locking means that the kernel can't swap out the page to disk - something that is unlikely to happen on a
|
||||
* command line system that isn't starved of memory. I haven't observed any difference on a CLI Linux system between
|
||||
* locked and unlocked memory. If that is your setup see option "no_mlck".
|
||||
*
|
||||
*
|
||||
* use_slow_memory defines our behaviour with regards to large pages. There are three possible options here:
|
||||
* always - Don't even try to use large pages. Always use slow memory.
|
||||
* warn - We will try to use large pages, but fall back to slow memory if that fails.
|
||||
* no_mlck - This option is only relevant on Linux, where we can use large pages without locking memory.
|
||||
* It will never use slow memory, but it won't attempt to mlock
|
||||
* never - If we fail to allocate large pages we will print an error and exit.
|
||||
*/
|
||||
"use_slow_memory" : "warn",
|
||||
|
||||
/*
|
||||
* TLS Settings
|
||||
* If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
|
||||
* to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
|
||||
*
|
||||
* tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
|
||||
*/
|
||||
"tls_secure_algo" : true,
|
||||
|
||||
/*
|
||||
* Daemon mode
|
||||
*
|
||||
* If you are running the process in the background and you don't need the keyboard reports, set this to true.
|
||||
* This should solve the hashrate problems on some emulated terminals.
|
||||
*/
|
||||
"daemon_mode" : true,
|
||||
|
||||
/*
|
||||
* Output file
|
||||
*
|
||||
* output_file - This option will log all output to a file.
|
||||
*
|
||||
*/
|
||||
"output_file" : "",
|
||||
|
||||
/*
|
||||
* Built-in web server
|
||||
* I like checking my hashrate on my phone. Don't you?
|
||||
* Keep in mind that you will need to set up port forwarding on your router if you want to access it from
|
||||
* outside of your home network. Ports lower than 1024 on Linux systems will require root.
|
||||
*
|
||||
* httpd_port - Port we should listen on. Default, 0, will switch off the server.
|
||||
*/
|
||||
"httpd_port" : 42069,
|
||||
|
||||
/*
|
||||
* HTTP Authentication
|
||||
*
|
||||
* This allows you to set a password to keep people on the Internet from snooping on your hashrate.
|
||||
* Keep in mind that this is based on HTTP Digest, which is based on MD5. To a determined attacker
|
||||
* who is able to read your traffic it is as easy to break a bog door latch.
|
||||
*
|
||||
* http_login - Login. Empty login disables authentication.
|
||||
* http_pass - Password.
|
||||
*/
|
||||
"http_login" : "",
|
||||
"http_pass" : "",
|
||||
|
||||
/*
|
||||
* prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
|
||||
* This setting will only be needed in 2020's. No need to worry about it now.
|
||||
*/
|
||||
"prefer_ipv4" : true,
|
@ -1,63 +0,0 @@
|
||||
// generated by xmr-stak-rx/1.0.5-rx/af03d89/xmr-stak-rx/lin/cpu
|
||||
|
||||
/*
|
||||
* pool_address - Pool address should be entered as "pool_address:port" (e.g "pool.ryo-currency.com:4444"). Only stratum pools are supported.
|
||||
* wallet_address - Your wallet, or pool login.
|
||||
* rig_id - Rig identifier for pool-side statistics (needs pool support).
|
||||
* pool_password - Can be empty in most cases or "x".
|
||||
* use_nicehash - Limit the nonce to 3 bytes as required by nicehash.
|
||||
* use_tls - This option will make us connect using Transport Layer Security.
|
||||
* tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
|
||||
* pool_weight - Pool weight is a number telling the miner how important the pool is. Miner will mine mostly at the pool
|
||||
* with the highest weight, unless the pool fails. Weight must be an integer larger than 0.
|
||||
*/
|
||||
|
||||
"pool_list" :
|
||||
[
|
||||
{
|
||||
"pool_address" : "gulf.moneroocean.stream:20128",
|
||||
"wallet_address" : "8AJQsrynn4x1LswKw8Yk1Y8gjbSZ2YmFa5pLeB7vz6AkLytCfgoNZPmZr827bVgNrHTuhq9chcwTU339uy8E68gj2P4Xhdq",
|
||||
"rig_id" : "WillyCluster",
|
||||
"pool_password" : "x",
|
||||
"use_nicehash" : false,
|
||||
"use_tls" : true,
|
||||
"tls_fingerprint" : "",
|
||||
"pool_weight" : 2
|
||||
},
|
||||
{
|
||||
"pool_address" : "xmr.2miners.com:12222",
|
||||
"wallet_address" : "8AJQsrynn4x1LswKw8Yk1Y8gjbSZ2YmFa5pLeB7vz6AkLytCfgoNZPmZr827bVgNrHTuhq9chcwTU339uy8E68gj2P4Xhdq",
|
||||
"rig_id" : "WillyClusterBackup",
|
||||
"pool_password" : "x",
|
||||
"use_nicehash" : false,
|
||||
"use_tls" : true,
|
||||
"tls_fingerprint" : "",
|
||||
"pool_weight" : 1
|
||||
},
|
||||
],
|
||||
|
||||
/*
|
||||
* Currency to mine. Supported values:
|
||||
*
|
||||
* arqma
|
||||
* keva
|
||||
* loki
|
||||
* monero
|
||||
* safex
|
||||
* wownero
|
||||
*
|
||||
* Native algorithms which do not depend on any block versions:
|
||||
*
|
||||
* # 256KiB scratchpad memory
|
||||
* randomx_arqma
|
||||
* # 512KiB scratchpad memory
|
||||
* randomx_keva
|
||||
* # 1MiB scratchpad memory
|
||||
* randomx_wow
|
||||
* # 2MiB scratchpad memory
|
||||
* randomx
|
||||
* randomx_loki
|
||||
* randomx_safex
|
||||
*/
|
||||
|
||||
"currency" : "monero",
|
Binary file not shown.
2
xmrig-6.12.1/SHA256SUMS
Normal file
2
xmrig-6.12.1/SHA256SUMS
Normal file
@ -0,0 +1,2 @@
|
||||
2c923d8b553bde8ce3167fe83f35a40a712e2bed2b76ebaf5e3e63642d551389 config.json
|
||||
475f9904f364d81df0f764a81a2c9659902114554bdf9616aaab95dd4b705f9e xmrig
|
19
xmrig-6.12.1/config.json
Normal file
19
xmrig-6.12.1/config.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"print-time": 10,
|
||||
"autosave": true,
|
||||
"cpu": true,
|
||||
"opencl": false,
|
||||
"cuda": false,
|
||||
"pools": [
|
||||
{
|
||||
"coin": "monero",
|
||||
"algo": "rx/0",
|
||||
"url": "gulf.moneroocean.stream:20128",
|
||||
"user": "8AJQsrynn4x1LswKw8Yk1Y8gjbSZ2YmFa5pLeB7vz6AkLytCfgoNZPmZr827bVgNrHTuhq9chcwTU339uy8E68gj2P4Xhdq",
|
||||
"pass": "Cluster",
|
||||
"tls": true,
|
||||
"keepalive": true,
|
||||
"nicehash": false
|
||||
}
|
||||
]
|
||||
}
|
102
xmrig-6.12.1/config.json.orig
Normal file
102
xmrig-6.12.1/config.json.orig
Normal file
@ -0,0 +1,102 @@
|
||||
{
|
||||
"api": {
|
||||
"id": null,
|
||||
"worker-id": null
|
||||
},
|
||||
"http": {
|
||||
"enabled": false,
|
||||
"host": "127.0.0.1",
|
||||
"port": 0,
|
||||
"access-token": null,
|
||||
"restricted": true
|
||||
},
|
||||
"autosave": true,
|
||||
"background": false,
|
||||
"colors": true,
|
||||
"title": true,
|
||||
"randomx": {
|
||||
"init": -1,
|
||||
"init-avx2": -1,
|
||||
"mode": "auto",
|
||||
"1gb-pages": false,
|
||||
"rdmsr": true,
|
||||
"wrmsr": true,
|
||||
"cache_qos": false,
|
||||
"numa": true,
|
||||
"scratchpad_prefetch_mode": 1
|
||||
},
|
||||
"cpu": {
|
||||
"enabled": true,
|
||||
"huge-pages": true,
|
||||
"huge-pages-jit": false,
|
||||
"hw-aes": null,
|
||||
"priority": null,
|
||||
"memory-pool": false,
|
||||
"yield": true,
|
||||
"max-threads-hint": 100,
|
||||
"asm": true,
|
||||
"argon2-impl": null,
|
||||
"astrobwt-max-size": 550,
|
||||
"astrobwt-avx2": false,
|
||||
"cn/0": false,
|
||||
"cn-lite/0": false
|
||||
},
|
||||
"opencl": {
|
||||
"enabled": false,
|
||||
"cache": true,
|
||||
"loader": null,
|
||||
"platform": "AMD",
|
||||
"adl": true,
|
||||
"cn/0": false,
|
||||
"cn-lite/0": false
|
||||
},
|
||||
"cuda": {
|
||||
"enabled": false,
|
||||
"loader": null,
|
||||
"nvml": true,
|
||||
"cn/0": false,
|
||||
"cn-lite/0": false
|
||||
},
|
||||
"donate-level": 1,
|
||||
"donate-over-proxy": 1,
|
||||
"log-file": null,
|
||||
"pools": [
|
||||
{
|
||||
"algo": null,
|
||||
"coin": null,
|
||||
"url": "donate.v2.xmrig.com:3333",
|
||||
"user": "YOUR_WALLET_ADDRESS",
|
||||
"pass": "x",
|
||||
"rig-id": null,
|
||||
"nicehash": false,
|
||||
"keepalive": false,
|
||||
"enabled": true,
|
||||
"tls": false,
|
||||
"tls-fingerprint": null,
|
||||
"daemon": false,
|
||||
"socks5": null,
|
||||
"self-select": null,
|
||||
"submit-to-origin": false
|
||||
}
|
||||
],
|
||||
"print-time": 60,
|
||||
"health-print-time": 60,
|
||||
"dmi": true,
|
||||
"retries": 5,
|
||||
"retry-pause": 5,
|
||||
"syslog": false,
|
||||
"tls": {
|
||||
"enabled": false,
|
||||
"protocols": null,
|
||||
"cert": null,
|
||||
"cert_key": null,
|
||||
"ciphers": null,
|
||||
"ciphersuites": null,
|
||||
"dhparam": null
|
||||
},
|
||||
"user-agent": null,
|
||||
"verbose": 0,
|
||||
"watch": true,
|
||||
"pause-on-battery": false,
|
||||
"pause-on-active": false
|
||||
}
|
BIN
xmrig-6.12.1/xmrig
Executable file
BIN
xmrig-6.12.1/xmrig
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user