jtgrassie / monero-pool

A Monero mining pool server written in C
BSD 3-Clause "New" or "Revised" License
344 stars 125 forks source link

Store share in LMDB with rig id #122

Closed rzepetor closed 2 years ago

rzepetor commented 2 years ago

On other pools in shares info for miner there are rig names. I am trying to build mining pool server based on this project so maybe it may be merged to master. Cheers!

jtgrassie commented 2 years ago

On other pools in shares info for miner there are rig names.

This one already has hashrate info for workers (e.g. https://github.com/jtgrassie/monero-pool/commit/29d9220af43a988eb97c2a9b4d97f38b5a11b8be).

I am trying to build mining pool server based on this project so maybe it may be merged to master.

If you want this merged, you'll also need to provide a migration for the shares DB. As it will break exiting pools otherwise.

rzepetor commented 2 years ago

This one already has hashrate info for workers

Yup I see, but to build something like this

Screenshot_2022-03-09_02-44-11

I need map each share to worker

If you want this merged, you'll also need to provide a migration for the shares DB. As it will break exiting pools otherwise.

Uppss you are right, I haven't touched C/C++ code for more than 10 years (beginner), can only read code and guessing (often using Google) what is happening in code I definitely can't do it, so you probably can close this PR and I will use my own local build. Cheers!