이 프로그램은 원래 기본 fee가 5%나 설정되어 있습니다. 설정으로 1%로 내릴수 있더군요...
그래서 이것 컴파일 하려다가 xmr-stark까지 해버리게 되었네요...(xmr-stark에겐 조금 미안하네요)
xmrig.7z (https://www.7-zip.org/ 으로압축)
https://github.com/xmrig/xmrig/releases 여기에서 GCC 와 MSVC 두개다 돌려보니 먼지만큼 MSVC가 조금더 빨라 Visual Studio 2017 로 컴파일 하였습니다.
cpu만 채굴할경우 cryptonight_v7 알고리즘은 xmr-stak 가 무거우면서 좀 더 빠릅니다.
단, cryptonight_v8 알고리즘의 경우 xmr-stak 보다 가벼우면서 비슷한 속도를 냅니다.
설정 팁!
config.json 파일로 직접 수정하시는것이 속도에 도움이 됩니다.
1. 프로세서수 X 2배로 생성할것
2. "low_power_mode": 5 세팅
예시) 2 논리 프로세서(0,1) x 2
"threads": [
{
"low_power_mode": 5,
"affine_to_cpu": 0,
"asm": true
},
{
"low_power_mode": 5,
"affine_to_cpu": 0,
"asm": true
},
{
"low_power_mode": 5,
"affine_to_cpu": 1,
"asm": true
},
{
"low_power_mode": 5,
"affine_to_cpu": 1,
"asm": true
}
],
"variant": -1 옵션은 cryptonight_v7 -> cryptonight_v8 자동변경되는 옵션입니다.
기타 사항은 https://github.com/xmrig/xmrig 참고하세요.
직접 하실경우 https://github.com/xmrig/xmrig/wiki/Windows-Build 참고해 주시면 됩니다.
수정된 부분(donate.h)
/* | |
* Dev donation. | |
* | |
* Percentage of your hashing power that you want to donate to the developer, can be 0 if you don't want to do that. | |
* | |
* Example of how it works for the setting of 1%: | |
* You miner will mine into your usual pool for random time (in range from 49.5 to 148.5 minutes), | |
* then switch to the developer's pool for 1 minute, then switch again to your pool for 99 minutes | |
* and then switch agaiin to developer's pool for 1 minute, these rounds will continue until miner working. | |
* | |
* Randomised only first round, to prevent waves on the donation pool. | |
* | |
* Switching is instant, and only happens after a successful connection, so you never loose any hashes. | |
* | |
* If you plan on changing this setting to 0 please consider making a one off donation to my wallet: | |
* XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD | |
* BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT | |
*/ | |
constexpr const int kDefaultDonateLevel = 0; | |
constexpr const int kMinimumDonateLevel = 0; | |
#endif /* __DONATE_H__ */ |