I know how to code in C++, but I don't know really how all mining system works. I have my altcoin, and I would like to block reward blocks to miners which are not authentified (something by private key or Wallet Address). I would let miners generate blocks and coins, but I don't want them they get it, all coins mined for nothing would be sent to a master wallet or be lost forever. But, if a miner has generated coins and he is authentificated and authorized to generate coin, he would get them.
To put it simple, I just want to block coin generation ability to everyone. I've thought I could just stop them to run a thread for mining, but they could modify the client and start it. So I was wondering how can I can do that, I've read the code about CheckWork, ProcessBlock, etc... But I can't understand it fully.
Thanks from advance for your help.