You have to compile yourself this new xrm-stak release and remake these 2 symbolic links path "recommended" and "latest"
commands :
1/ download and compilation
[code]cd /NVOC/mining/miners/XMR_Stak/src (there must not already be a folder named xmr-stak)
git clone https://github.com/fireice-uk/xmr-stak.git
cd xmr-stak/xmrstak/
=> Modify the donate-level like you wish to donet at the develeppers that is 2%, save the file, and quit by command
sudo vi donate-level.hpp
:wq!
cat donate-level.hpp (to verify this changes)
cd ..
mkdir build
cd build/
cmake ..
make install
wait for several minutes, the compilation remains stuck or stagnates around 71% to 75%, then progresses rapidly thereafter
cd bin/
ll
mkdir /home/m1/NVOC/mining/miners/XMR_Stak/2.9.0/
~/NVOC/mining/miners/XMR_Stak/src/xmr-stak/build/bin$ sudo cp * /home/m1/NVOC/mining/miners/XMR_Stak/2.9.0
cd /home/m1/NVOC/mining/miners/XMR_Stak/
rm recommended
rm latest
remake the new symbolic links
ln -s /home/m1/NVOC/mining/miners/XMR_Stak/2.9.0 latest
ln -s /home/m1/NVOC/mining/miners/XMR_Stak/2.9.0 recommended
Changes made to the various files to allow the use of the new version of xmr-stak (2.9.0) in nvOC 19.3.0 :
Changes in 0miner file (adding) :
elif [[ $ALGO == CRYPTONIGHTV7 || $ALGO == CRYPTONIGHTHEAVY || $ALGO == CRYPTONIGHTV8 ]];
then
to
elif [[ $ALGO == CRYPTONIGHTV7 || $ALGO == CRYPTONIGHTHEAVY || $ALGO == CRYPTONIGHTV8
|| $ALGO == CRYPTONIGHTR ]];
then
and a little bit below
if [[ $ALGO == "CRYPTONIGHTV7" ]]
then
UCCALGO="--currency cryptonight_v7"
elif [[ $ALGO == "CRYPTONIGHTV8" ]]
then
UCCALGO="--currency cryptonight_v8"
elif [[ $ALGO == "CRYPTONIGHTHEAVY" ]]
then
UCCALGO="--currency cryptonight_heavy"
fi
to
if [[ $ALGO == "CRYPTONIGHTV7" ]]
then
UCCALGO="--currency cryptonight_v7"
elif [[ $ALGO == "CRYPTONIGHTV8" ]]
then
UCCALGO="--currency cryptonight_v8"
elif [[ $ALGO == "CRYPTONIGHTHEAVY" ]]
then
UCCALGO="--currency cryptonight_heavy"
elif [[ $ALGO == "CRYPTONIGHTR" ]]
then
UCCALGO="--currency
monero"
fi
Note 1 : Developpers alert us on their gihub page by this message :Select the currency monero
to switch automatically the algorithm from cryptonight_v8 to cryptonight_r
So, i choose to define UCCALGO="--currency
monero" instead of UCCALGO="--currency cryptonight_r" for the moment
In 1bash file
in # Algo definitions and Coin->Algo mappings
added CRYPTONIGHTR here :
ALGOS="BITCORE CRYPTONIGHT CRYPTONIGHTHEAVY CRYPTONIGHTV7 CRYPTONIGHTV8
CRYPTONIGHTR DECRED EQUIHASH ETHASH GRS LBRY LYRA2V2 LYRA2Z MYR_GR NEOSCRYPT PASCAL PHI1612 PHI2 SIA SIB SKEIN SKUNK X13 X16R XEVAN ZHASH"
and here :
BITCORE_COINS="BTX"
CRYPTONIGHT_COINS="KRB,NICE_CRYPTONIGHT"
CRYPTONIGHTV7_COINS="ETN,NICE_CNV7"
CRYPTONIGHTV8_COINS="MPH_CRYPTONIGHTV8,NICE_CNV8"
CRYPTONIGHTR_COINS="XMR"CRYPTONIGHTHEAVY_COINS="LOKI,NICE_CNHEAVY"
DECRED_COINS="DCR"
EQUIHASH_COINS="ZEC,ZEN,HUSH,ZCL,BTCP,KMD,ZPOOL_EQUIHASH,MPH_EQUIHASH,NICE_EQUIHASH,VOTE,BTCP,BCI"
...
...
...
I removed XMR from CRYPTONIGHTV8_COINS line
in # Algo->miner mapping and specific settings Section
added :
## CRYPTONIGHTR
CRYPTONIGHTR_INTENSITY="5"
CRYPTONIGHTR_MINER="XMR_Stak"
CRYPTONIGHTR_WALLET_FORMAT="$WALLET_ADDRESS_FORMAT"[/code]