Closed gradinkov closed 6 years ago
Actually, it can be rather simple (except for multi-algo coins).
Just maintain an internal dictionary, e.g.:
zcl=equihash
tzc=neoscrypt
vtc=lyra2rev2
And another one between miners and algos, e.g.:
bminer=equihash
ccminer-lyra=lyra2rev2
Etc. Then user specifies desired coin and desired miner, and it's a very simple, 1 on 1 check. If they don't match, print error message and exit.
Make sure to print the supported algos, miners, coins if mismatch detected.
Basic multi-algo support is there, I'll open separate tickets for specific coins and miners.
Lyra2rev2, NeoScrypt, etc.
It's tricky coz it's a mishmash among coin, miner and algo, compatibility needs to be checked upon start.