Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
312 stars 108 forks source link

[Improvement] Server-side algo compatibility check #329

Open electroape opened 3 years ago

electroape commented 3 years ago

Check for whether an algo you push to the client is supported on it's version or not. Don't push if not supported, show error message.

Bendr0id commented 3 years ago

Good idea, but i currently dont know how this can be easily integrated.. The ".json" file is actually just processed as text and fille in the clientConfig for each miner and the server is not aware of version capabilities.

electroape commented 3 years ago

Store configs and templates in a memory data structure ?