It seems that what was potentially causing my script to crash was infact txfees imposed by the network.
Basically, what my script does is set the txfee it wishes to send (the miners reward), then sends the coins from wallet address A, to wallet address B. When wallet address A is running low, wallet address B sends the coins back to wallet address A, so wallet address A can keep sending coins back to B.
It's basically a cycle;
A sends to B A sends to B A sends to B A sends to B A sends to B B sends all to A Repeat from start.
This is the basic principle of generating block rewards. Each time before wallet address A sends to B, it calculates what the bonus should be, and sets the tx fee to that amount.
Where I was tripping up was when sending coins from B back to A. I was querying my wallet and finding out how many coins were in B, and trying to send them all back to A. This doesn't work. If the network imposes its own tx fee on the transaction, then I am trying to send slightly more coins than I can afford to send from B, as you also have to deduct the txfee imposed by the network.
I've gotten around this by simply sending 1 less coin than the total coins in address B. I'll know soon enough if it has worked. This is such an annoying little glitch.
Edit: Script has passed two cycles successfully without crashing. Hopefully 1 PMC is enough of a buffer to prevent the network trying to impose too much of a tx fee on my transfer of coins from B back to A.
Block rewarder is back up and running for the time being.
|
|
|
I've figured out a way to run two seperate independent wallets on my single home machine. I wouldn't dare try to open both wallets at once, but I should be able to run the block rewarder locally from now on. That way if it throws a wobbler I can fix it here.
|
|
|
Well, better to be safe than sorry I suppose. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Have a nice little stash of ProsperCoins now. Might just keep mining it I think. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
Could you not have just said "the wallet is clean"? The wallet is clean. ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) Sorry ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) It's ok. Just don't want to spread unnecessary alarm. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
Could you not have just said "the wallet is clean"? The wallet is clean. ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif)
|
|
|
Ok, it looks like for whatever reason the block rewarder has stopped producing rewards. It could be that block generation sped up at some point and so the script has gone into cool down until the rate slows back down, or the script isn't running for some reason. I'll check the server tomorrow. Looking at the blockchain, the amount of transactions in each block is considerably smaller, which leads me to believe the script is in cool down mode due to a higher block generation rate. It probably would have been a good idea to set a maximum cap on the cool down rate. As it stands, if the network doesn't slow down, then the block rewarder won't continue to send out rewards until the difficulty readjusts. Actually, the cool down rate just needs to be reset after each cycle of the payout rewarder. I'll need to make some adjustments. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
It's a little unfair, to be honest. To be added so late to the end of the poll closing makes it pretty hard to compare the votes.
|
|
|
oke... nice... didnt know that... thnx... ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) one other question.... I mined cash for about 3 days in a row.... I found 37 blocks... amount off 700+... and i only got 230+ payed out.... this is on the minebig pool... how can that be... I've been mining coins a for a long time now... but this never happend to me... normally its almost the same amount.... Same thing here but with easy-mining pool. I found 27 block for 530 coins. But I have been paid only 220 coins. This is really strange. That's how pooled mining works. You are only paid for the amount of shares your miners worked on per block. You do not get the full amount of the block. Even if your miners happen to find the block you still only receive a portion of it. I know that. But at some point, you should have almost the same average when solomining or pool mining. You just decrease the variance when pool mining. But here, the ratio is superior to 2 which seems really a lot. It's more complicated than that. If you are the top hasher in a pool, but the pool has 1000 smaller hashers which in total far exceed your own hash, they can take more of your share than if you ended up solo mining by yourself. It's about your hash vs the rest of the pool hash, and how many of the coins found on the pool are by you. If you are a whale in a pool full of minnows, and you are finding most of the blocks, you may be getting a bad deal. Whether to solo mine or pool mine is always a judgement.
|
|
|
Will hire artist, we will still keep old coin Logo ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) , will find the way to work on that Keep up the good work! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
Giveaway @ Poloniex! ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fgyazo.com%2Fdbb27fddfd03e5b284986207ff753384.png&t=663&c=SKmnijiNWjATbg) Nice, thanks. Also, do you guys think this coin will work? There is only 500k coins, and we seem to have hoarders. Given the current price somebody could hoard a LOT of coins (vs to total coin amount) and then this coin will completely fail. I'm trying not to keep over 80 personally and have given the rest away. Maybe we should have made the coin total much higher and kept the official giveaway (from the dev) going for months (maybe with a little help from a small volunteer team). Everyone has their price, and the people hoarding who do not care about PMC will sell it off sooner rather than later. It will find it's way around the market over time. Distribution is definitely going up, not down. Hoarding PMC is pointless anyway. You're just wasting BTC. It needs to be in lots of hands.
|
|
|
100 confirmations is a bit extreme.
|
|
|
Giveaway @ Poloniex! ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fgyazo.com%2Fdbb27fddfd03e5b284986207ff753384.png&t=663&c=SKmnijiNWjATbg) Where do you go to get in on this giveaway? Giveaway tab at the top of the page. You need to be logged in. Thanks a bunch Nullu ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) By the way, good job on the block reward script ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) No problem. I think it's fully operational now. We'll have to see how it goes over the next few days. PMC is at 2000 satoshi, ALL 500k are worth 10btc nice market cap guys! Who wants my 2600 worthless PMC
I'll take them ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) 1L5JV4af7Kcx7i8eYfmimYKJKVGsusYmPT I love how everyone is trying to convince this guy PMC is worthless to get him to hand over his coins. You bunch of sharks. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
Vote for PMC, guys. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
Giveaway @ Poloniex! ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fgyazo.com%2Fdbb27fddfd03e5b284986207ff753384.png&t=663&c=SKmnijiNWjATbg) Where do you go to get in on this giveaway? Giveaway tab at the top of the page. You need to be logged in.
|
|
|
+1 Simple, clean and elegant.
|
|
|
Block rewarder seems to be running ok. Did spot one bug in the code that sends the coins back to the wallet to keep the cycle going, but I believe it was just because I was trying to send the total amount of coins in account A, back to account A, instead of the total amount of coins in account B, back to account A.
About the anti-farming algorithm; basically, if blocks start flying, it will add the amount of blocks in seconds to the delay between rewards. During that time, even more blocks will be generated. Essentially for as long as an unusual amount of blocks is being generated on the network, the longer and longer between reward payouts. So you can't farm these rewards. The harder/longer you try, the less you'll get. This won't affect the majority of people. If you have a lot of hash and plan to mine Premine long term then you'll get the block rewards at the next difficulty adjustment.
|
|
|
Block rewarder is live, and the payout goes up by 0.00000001 PMC every payout until the speed of block generation on the network increases.
Get mining for your bonus PMC!
0.01000003 reward and going up.
|
|
|
Due to current block speed the block rewards are quite decent right now if you want to Mine PMC. I just got one block of 0.2 PMC and another of 0.006 PMC. Now is the time to mine PMC. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
Fck to the Moon. ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) ..you know what I mean.
|
|
|
|