https://github.com/xdagger/xdagrandomxminer
Standalone RandomX CPU miner for XDAG (Dagger Coin)
https://github.com/xdagger/xdagrandomxminer
Last synced: about 1 year ago
JSON representation
Standalone RandomX CPU miner for XDAG (Dagger Coin)
- Host: GitHub
- URL: https://github.com/xdagger/xdagrandomxminer
- Owner: XDagger
- License: gpl-3.0
- Created: 2021-02-18T13:40:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T15:20:23.000Z (about 3 years ago)
- Last Synced: 2025-04-05T19:34:20.256Z (about 1 year ago)
- Language: C++
- Size: 728 KB
- Stars: 12
- Watchers: 1
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DaggerRandomxMiner
[](https://app.fossa.com/projects/git%2Bgithub.com%2FXDagger%2FXdagRandomxMiner?ref=badge_shield)
Stand-alone RandomX CPU/GPU miner for XDAG (Dagger coin)
This miner does not require files wallet.dat and dnet_key.dat. Storage folder is still necessary.
Using https://github.com/tevador/RandomX master@ac574e3
**Launch parameters:**
1) CPU benchmark: DaggerMiner.exe -cpu -M -t 4
2) CPU mining: DaggerMiner.exe -cpu -a -p -t 8
**The project supports Windows, Linux and Mac OS now.**
**Binary file available for Window and Linux**
[Download](https://github.com/XDagger/XdagRandomxMiner/releases/tag/0.4.2)
## How to build
## Windows:
The project has dependencies: Boost and OpenSSL
Boost and OpenSSL libraries are included by Nuget Manager and should be downloaded automatically.
Need special privilege called as SeLockMemoryPrivilege to use huge pages.
[Enable the Lock Pages in Memory Option (Windows)](https://msdn.microsoft.com/en-gb/library/ms190730.aspx)
On Windows 10 once you obtain the privilege, admin rights no longer required to use huge pages, but on Windows 7 admin rights always required.
### Launch parameters:
1) CPU benchmark: DaggerMiner.exe -cpu -M -t 4
2) CPU mining: DaggerMiner.exe -cpu -a -p -t 8
3) CPU huge pages mining: DaggerMiner.exe -cpu -L -a -p -t 8
## Linux:
Check dependencies: libboost-dev, libboost-system-dev, openssl, librandomx.
Download this source code, then cd to source folder. Build with cmake.
#### Enable huge pages
Temporary (until next reboot) reserve huge pages
```bash
sudo sysctl -w vm.nr_hugepages=1280
```
Permanent huge pages reservation
```bash
sudo bash -c "echo vm.nr_hugepages=1280 >> /etc/sysctl.conf"
```
### Launch parameters:
1) CPU benchmark: ./DaggerMiner -cpu -M -t 4
2) CPU mining: ./DaggerMiner -cpu -a -p -t 8
3) CPU huge pages mining: ./DaggerMiner -cpu -L -a -p -t 8
## Mac:
Install Boost with brew.
Open XCode project to build Mac OS version.
### Launch parameters:
1) CPU benchmark: ./DaggerMiner -cpu -M -t 4
2) CPU mining: ./DaggerMiner -cpu -a -p -t 8
**This miner not support GPU yet.**
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2FXDagger%2FXdagRandomxMiner?ref=badge_large)