Ok, the script is 95% finished.
Based on paying out 0.1 PMC per block, that would be a theoretical maximum of 355.7 PMC. However, this is for every block since block 9249, which is where I'm starting from, and the amount should be lower as not all of these will be 0 block payouts.
So the payment will be 0.5 PMC per mined empty block, which is a theoretical maximum payout of 1779 PMC. This will be sufficient for now, as I will need to run this script again in a few days, and want to ensure I have enough PMC to cover this time, until the new wallet is released.
|
|
|
Ok, doing a test run on 300 addresses to see if I can count the blocks each address has mined. If it works, I can go ahead and start the script and create miner reward payouts. I knew this was going to take me a few hours. Don't worry, no good deed goes unpunished. How are you funding these payouts? I have about 2k+ set aside from my own coins, and the dev has provided some additional coins, and I believe a few others have donated as well. I'm not sure what to set the award per mined empty block as yet. Maybe 0.1? I'll add a calculator into the script to work out how much of a payout that would be.
|
|
|
Ok, doing a test run on 300 addresses to see if I can count the blocks each address has mined. If it works, I can go ahead and start the script and create miner reward payouts. I knew this was going to take me a few hours. Don't worry, no good deed goes unpunished. It's almost finished. My only concern is going to be how long it takes to finish. It takes 10 minutes just on 300 blocks. It's going to have to run overnight. If the block explorer had a better API I wouldn't have to scrape every single transaction page.
|
|
|
Still running tests on my miner block reward script. [1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi] => 105 Out of 300 empty blocks, this address mined 105 of them. The rest of the blocks were single addresses. Someone has some hash there.
|
|
|
Ok, doing a test run on 300 addresses to see if I can count the blocks each address has mined. If it works, I can go ahead and start the script and create miner reward payouts. I knew this was going to take me a few hours.
|
|
|
I hate PHP, and I hate associate arrays. All I have to do is combine an associative array with a multidimensional array and I'm done. Why half of PHP's array functions create associative arrays, for seemingly no good reason is beyond my comprehension.
|
|
|
Trust me to need a function in PHP 5.5 and then find out I'm running PHP 5.4. Ugh. Close now, at least.
|
|
|
seeing how Premine (coin) is working, nobody really paid much(if anything) in the beginning and it was spread from there. I didn't read much into it but it seems like a majority of it went to people who were interested early enough and just posted their account info.
It's more a play on the fact of how a coin develops "value". Through use of electricity mining the transaction fees, etc. If more people want it then the value increases.
It's funny how people are calling it a scam without even reading the thread. You get given it for free. A few people are trying to stockpile it and sell it, but that's up to them. It's a free market. If you want some PMC, you just go into the thread and ask for some. There's no conspiracy here. The dev has been completely transparent about the whole thing. It's been quite fair, actually. Apart from a handful of hoarders who are trying to be greedy, but hey, what can you do.
|
|
|
Nobody is forcing you to read the thread. Don't like it? Find another coin you like. It's a free market. What the hell is "[PMC] Premine! - 100% Premine / 100% Distribution - Mining TX fees only"? Why this kind of sh*t gets the focus? Is there a rule getting rid of this kind of post in this forum? Bitcointalk is filled up this kind of scam?
So what we pay for buying PMC gets into the pocket of the developers. Are you guys seriously considering that this is what you are investing? They get money, because you may lose.
Ok, another logic, you are expecting more profits than what you invest. See there will be some other people just losing more money. Is that simple?
I don't think you quite understand how PMC works. I suggest you do some research first. Almost everything you said is wrong.
|
|
|
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. 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.
|
|
|
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. Going to go grab some food, then I'll write the function. I'll be ready to go then! I keep saying I'm going to step back today - but so far I've sat in front of the computer all day. I must get sunlight and fresh air... gather my thoughts so to speak. Yeah, it's been pretty eventful in here.
|
|
|
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. Going to go grab some food, then I'll write the function. I'll be ready to go then!
|
|
|
Thank you to whoever sent that large donation of coins. It will be used in the miner handout. I've got the commands working, but I've hit one irritating snag; it doesn't like the same address more than once, so I have to collapse duplicate addresses into single addresses and multiply the reward based on how many times that address shows up; miners hitting multiple blocks consecutively. Here is what I mean; sendmany bitcointalk '{"1Pi7goujsB8oL6h2BEQZ8YQ8Z3YznSudMi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1Nm6BWaLPVJyqrWNh5VFW6DbCMjoikzaPV":0.0001}'
sendmany bitcointalk '{"1B39yMoYNphn9PEWDM88uJNForWNpdiUWc":0.0001, "1Htxoj1JPQnNCFtpyNDL4HR9mkAQFMYaBT":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "183w366Ft9XrDXVj4FCyUq9ZX83CrLEj6A":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001}'
sendmany bitcointalk '{"1EGkFv3a5GN96ALtdnKVFctsSoNQ6RSNR2":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1C1e1ztFKUoEk4bBZWFsD1YjTJCsujDB4Y":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1HF9kR4VL5A6QcjMoLoUgczzk7rjRPBJbG":0.0001}'
sendmany bitcointalk '{"1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1yMjxJbLYbMBJ99ktfx53cW2y5ct2WJ1T":0.0001, "186n7mkDsMkH3BNKH2aNwrPtWBivCqqz9S":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001}'
sendmany bitcointalk '{"1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "1L7NpgXA13wTHQM2X7sCnotYN7sC5PbWmi":0.0001, "18KVJrfpAV9BirCZs6Vh3aiWDrAJ7KjjRd":0.0001}'
The debug window also seems really buggy, as sometimes it won't recognise the commands at all.
|
|
|
I'm nearly ready to begin handing out miner rewards for blocks mined with 0 rewards in them from block 9249 onwards.
|
|
|
sendmany "" '{"12VnyKUTteFqwa8Kv24UfuCTgcrwjzM6bu":0.0001, "1F9ocuXTocEiycDCFkGRE4HbYJy9MMdsUE":0.0001}'
Why isn't it working? What am I doing wrong? I can generate commands now, but nothing seems to work.
looking, 1 sec Nevermind, got it; sendmany bitcointalk '{"12VnyKUTteFqwa8Kv24UfuCTgcrwjzM6bu":0.0001,"1F9ocuXTocEiycDCFkGRE4HbYJy9MMdsUE":0.0001}' Missed my receiving address where my coins came from.
|
|
|
sendmany "" '{"12VnyKUTteFqwa8Kv24UfuCTgcrwjzM6bu":0.0001, "1F9ocuXTocEiycDCFkGRE4HbYJy9MMdsUE":0.0001}'
Why isn't it working? What am I doing wrong? I can generate commands now, but nothing seems to work.
|
|
|
I'm having trouble getting the format right for the sendmany command, and can't seem to get it to work.
Could someone send an example?
|
|
|
Okay, well coinedup is out of the question - the site is barely loading currently. I hope astro coin is happy with the bribe they paid to get listed on an exchange that barely works It's just a case of working with what we've got, though a lot of people will be reluctant to put large volume through a new unknown exchange. Cryptsy can't leave us for long, we just need to keep up the momentum Agreed. My 56K modem loads pages faster than coinedup Coinedup processes all buy/sell requests by abacuses and punch cards. By one handed cyclops With narcolepsy.
|
|
|
Okay, well coinedup is out of the question - the site is barely loading currently. I hope astro coin is happy with the bribe they paid to get listed on an exchange that barely works It's just a case of working with what we've got, though a lot of people will be reluctant to put large volume through a new unknown exchange. Cryptsy can't leave us for long, we just need to keep up the momentum Agreed. My 56K modem loads pages faster than coinedup Coinedup processes all buy/sell requests by abacuses and punch cards.
|
|
|
Okay, well coinedup is out of the question - the site is barely loading currently. I hope astro coin is happy with the bribe they paid to get listed on an exchange that barely works It's just a case of working with what we've got, though a lot of people will be reluctant to put large volume through a new unknown exchange. Cryptsy can't leave us for long, we just need to keep up the momentum Agreed.
|
|
|
|