parent
49be028e23
commit
0537671a34
@ -1,2 +1,5 @@
|
|||||||
# docker-monero
|
# docker-monero
|
||||||
|
|
||||||
|
### Images
|
||||||
|
|
||||||
|
* [`xmrig`](xmrig): XMRig miner
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# xmrig
|
||||||
|
|
||||||
|
Docker image for the [XMRig Monero miner][xmrig-gh].
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* TLS with OpenSSL.
|
||||||
|
* Donation level defaults to zero. [Please send Mr XMRig some coins if you can][xmrig-donations].
|
||||||
|
* Single static binary. No BS.
|
||||||
|
|
||||||
|
### Usage Example
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run \
|
||||||
|
--rm \
|
||||||
|
-i \
|
||||||
|
-t \
|
||||||
|
moneromint/xmrig \
|
||||||
|
-a rx/0 \
|
||||||
|
-o xmrpow.de:4242 \
|
||||||
|
-u YOUR_WALLET_ADDRESS \
|
||||||
|
```
|
||||||
|
|
||||||
|
### Performance Notes
|
||||||
|
|
||||||
|
Enable huge pages and apply the MSR tweaks from the host machine; the container is unable to do this.
|
||||||
|
|
||||||
|
### Links
|
||||||
|
|
||||||
|
* [Docker Hub][dockerhub]
|
||||||
|
* [git.wownero.com][gitwow]
|
||||||
|
* [GitHub][github]
|
||||||
|
|
||||||
|
[dockerhub]: https://hub.docker.com/r/moneromint/xmrig 'Docker Hub page'
|
||||||
|
[github]: https://github.com/moneormint/docker-monero 'GitHub repository'
|
||||||
|
[gitwow]: https://git.wownero.com/asymptotically/docker-monero 'Wownero Git repository'
|
||||||
|
[xmrig-gh]: https://github.com/xmrig/xmrig 'XMRig GitHub page'
|
||||||
|
[xmrig-donations]: https://github.com/xmrig/xmrig#donations 'XMRig donation addresses'
|
@ -0,0 +1,25 @@
|
|||||||
|
From 688b2a9f0eb7f949e25b0e98ad5f0ab8a198713f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matt Smith <matt@offtopica.uk>
|
||||||
|
Date: Mon, 29 Jun 2020 14:23:46 +0100
|
||||||
|
Subject: [PATCH 1/2] Remove __DATE__ in version message
|
||||||
|
|
||||||
|
---
|
||||||
|
src/base/kernel/Entry.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/base/kernel/Entry.cpp b/src/base/kernel/Entry.cpp
|
||||||
|
index ae2ac3ce..24ac5b99 100644
|
||||||
|
--- a/src/base/kernel/Entry.cpp
|
||||||
|
+++ b/src/base/kernel/Entry.cpp
|
||||||
|
@@ -51,7 +51,7 @@ namespace xmrig {
|
||||||
|
|
||||||
|
static int showVersion()
|
||||||
|
{
|
||||||
|
- printf(APP_NAME " " APP_VERSION "\n built on " __DATE__
|
||||||
|
+ printf(APP_NAME " " APP_VERSION
|
||||||
|
|
||||||
|
# if defined(__clang__)
|
||||||
|
" with clang " __clang_version__);
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
@ -0,0 +1,27 @@
|
|||||||
|
From 285171cdbfd4f56fd70049c4f6eacde6405f88f9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matt Smith <matt@offtopica.uk>
|
||||||
|
Date: Mon, 29 Jun 2020 14:24:46 +0100
|
||||||
|
Subject: [PATCH 2/2] Set default donate level to 0
|
||||||
|
|
||||||
|
---
|
||||||
|
src/donate.h | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/donate.h b/src/donate.h
|
||||||
|
index 9323dcab..7a2b1996 100644
|
||||||
|
--- a/src/donate.h
|
||||||
|
+++ b/src/donate.h
|
||||||
|
@@ -44,8 +44,8 @@
|
||||||
|
* XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
|
||||||
|
* BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT
|
||||||
|
*/
|
||||||
|
-constexpr const int kDefaultDonateLevel = 1;
|
||||||
|
-constexpr const int kMinimumDonateLevel = 1;
|
||||||
|
+constexpr const int kDefaultDonateLevel = 0;
|
||||||
|
+constexpr const int kMinimumDonateLevel = 0;
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* XMRIG_DONATE_H */
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
Loading…
Reference in new issue