Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [PMC] Premine! - 100% Premine / 100% Distribution - Mining TX fees only
by
Nullu
on 26/01/2014, 19:30:34 UTC
Ok, what I need to do is create an address counter, and send it like "payout x number of blocks mined". It's the only way to do it unfortunately. On the plus side, once I've written it, I'll have a hell of a lot less payouts to send out, as I'll only have to pay each miner once proportional to how many blocks they've mined.  Grin

Going to go grab some food, then I'll write the function. I'll be ready to go then!

You might want to store the block number up to which point payouts have been made and set it to a new value each time the script has been called, even if it just suffices for catching overflows.

The script will run in batches, it has a start and end position. I still have to manually send the payouts. Once the script is finished it will tell me the next block I need to start from, and that becomes the start position for the next round of payouts, then.

I just need to write the block counter and add in a comment so miners know why they've received this payout, and hopefully it'll keep miners mining.