fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

DeroKnight algo addition **Now AstroBWT"" #2566

Open Notoriousjoshyb opened 4 years ago

Notoriousjoshyb commented 4 years ago

Please explain the feature as good as possible. Hey, Please can you add ability to mine DeroKnight CPU/GPU. Thanks https://github.com/deroproject/documentation/blob/master/testnet/DeroKnight.md

DeroKnight is same as original CryptoNight but works by decreasing the efficiency of ASICs to match with GPUs. Efficiency of ASICs are decreased by adding an extra rule in DeroKnight to force nonce to be multiples of 101. Assuming that all ASICs generate nonce sequentially or randomly but do not have the capability to generate nonce of specific series and cannot be reprogrammed. This extra rule can be implemented in few lines for CPUs and GPUs without any extra load.

So with (nonce mod 101 == 0) current ASICs effcacy will be down to 1/100 times.

Current CryptoNight Asic of 200KHs will deliver 2KHs of DeroKnight. GPU/CPU will have no extra performance cost and will deliver almost similar hashrate on CryptoNight and DeroKnight.

Note For GPU/CPU software developers:

DeroKnight POW is CryptoNight original only, There is no change in POW. To support DeroKnight in your miner softwares increment nonce in steps of 101. Take initial point whose mod 101 is == 0.

Notoriousjoshyb commented 4 years ago

AstroBWT is an open source proof-of-work that was based on one-CPU-one-vote. With help from the data transformation algorithm, Burrows-Wheeler Transform (BWT)

https://github.com/deroproject/astrobwt

We have scheduled a hard fork to bring AstroBTW to our mainnet. Hard Fork Date March 7, 2020 ~0200 GMT (Block: 4550555)

Please can you add XMR-STAK Support for CPU mining and if possible a GPU miner for AstroBWT.

Thanks