Bitcoin Forum
May 07, 2024, 05:28:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 »
221  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 09, 2014, 03:22:55 AM
@Introvert.....I have suggested this more than once and never got any type of reply.

I think they have just two options:

1. Give back the PLC money to the investors and let the coin die, or..
2. Do as we both have suggested and use the PLC BTC to buy up all these dumped coins and get prices stabilized.

Some would think giving the PLC BTC to the charity would be option 3, but it isn't really an option at all. The investors did so to get a viable coin with a decent ROI. They did NOT donate to charity. If donating to charity was their intent, they could have done so directly.

I agree with you and would like to go for option 2, and I really don't care about 1. I am definitely willing to hear any other ideas that the Dev Team might have in due time.

Thank you for your involvement and support of this coin!
222  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 09, 2014, 03:00:32 AM
Dev Team,

I assume you are reading the thread, so please note the following:

Even after the 8500 fork, this coin will be massively unprofitable to mine at current prices. Let's say that the difficulty stays at 3 (we all know it will rise for sure), and the price is double what it is right now, 2*10 satoshies = 20 satoshies. My calculations show that 1Mh/s of mining power would earn a miner about 6700 WATER/day or about 0.00134 BTC. Compare this with 0.00398 for LTC (difficulty 6190 at the moment), 0.004292 for FTC (difficulty 225), 0.004844 for Vertcoin (difficulty 217, 50% of hash power accounted for), etc. The message here is that the excessive coin production hurt the value big time and that we need to do everything we can to make it recover.

I mentioned this earlier and will do so again: use the BTCs you have from the PLC to buy as much WATER as you can and cause a supply shortage. The price will rise eventually and as an added bonus you will have greater chance to reclaim control of CWC, which you have now lost.

If anyone finds an error or an issue with what I am stating/proposing, please chime in.

EDIT: I was charitable and assumed that one WATER block will yield 1000 coins, whereas we know it would be 8xx in reality.
It is impossible to use the BTC of PLC.
Just forget it buddy.

How so? Has it been spent already?

There has to be a realization here this now is a pump and dump coin with a charity attached to it. If you want the coin to retain its original mission, you have to make its value go back up. In case the PLC BTC cannot be used, I would like to hear why and what is the alternative plan for this coin to regain value.
I don't think it is a good way to regain value by using those BTC.
It is just providing a way for people to earn a good money by dumping the coins.
BTC has its original mission too.
Someone please spend some bilions of USD and make its value up. Sad

If you have followed they way US companies "make" their earnings post 2008 disaster, you would know that they buy their stock in order to "hit" their quarterly numbers and make the value of that stock go up. Or to touch on another touchy subject here, world central banks control currency value by manipulating supply. I can go on and on...

However, note that this purchase of WATER with BTC would serve the causes that are often associated with premines, but would be considered much more legitimate as the coins would be bought on an open market. Besides restricting supply, you can use those coins to develop the community, offer bounties for tasks to be done or products to be developed, retain some software development help, etc... This coin has had its count increased roughly 28 times from 17M at block 7000 to roughly 470M at block 8000, whereas the value fell roughly by same percentage from 250 to 8-9 satoshi i.e. to 4% of what it was before. Cannot get much worse than this. Something must be done relatively soon after we verify that all is good after block 8500.

Water_kel, it is not my intention to put you on the spot, as I know you have defined duty to build and work with the Chinese community. These questions need to be addressed by someone else. Thank you for helping facilitate the conversation.

EDIT: I will make another point here related to the coin statistics. The PLC holders can't be adequately compensated after what just happened. The numbers are just too staggering, they went from holding 60% of all coins issued at block 7000, to slightly more than 2% now. Being a PLC participant, I have accepted this fact and the one that loses are inevitable in life. Other PLC participants will disagree with me especially those who have invested substantial amounts. But I think that we can all agree that if CWC does not come back, we all lose.
223  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 09, 2014, 02:27:44 AM
Dev Team,

I assume you are reading the thread, so please note the following:

Even after the 8500 fork, this coin will be massively unprofitable to mine at current prices. Let's say that the difficulty stays at 3 (we all know it will rise for sure), and the price is double what it is right now, 2*10 satoshies = 20 satoshies. My calculations show that 1Mh/s of mining power would earn a miner about 6700 WATER/day or about 0.00134 BTC. Compare this with 0.00398 for LTC (difficulty 6190 at the moment), 0.004292 for FTC (difficulty 225), 0.004844 for Vertcoin (difficulty 217, 50% of hash power accounted for), etc. The message here is that the excessive coin production hurt the value big time and that we need to do everything we can to make it recover.

I mentioned this earlier and will do so again: use the BTCs you have from the PLC to buy as much WATER as you can and cause a supply shortage. The price will rise eventually and as an added bonus you will have greater chance to reclaim control of CWC, which you have now lost.

If anyone finds an error or an issue with what I am stating/proposing, please chime in.

EDIT: I was charitable and assumed that one WATER block will yield 1000 coins, whereas we know it would be 8xx in reality.
It is impossible to use the BTC of PLC.
Just forget it buddy.

How so? Has it been spent already?

There has to be a realization here this now is a pump and dump coin with a charity attached to it. If you want the coin to retain its original mission, you have to make its value go back up. In case the PLC BTC cannot be used, I would like to hear why and what is the alternative plan for this coin to regain value.
224  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 09, 2014, 02:05:58 AM
Dev Team,

I assume you are reading the thread, so please note the following:

Even after the 8500 fork, this coin will be massively unprofitable to mine at current prices. Let's say that the difficulty stays at 3 (we all know it will rise for sure), and the price is double what it is right now, 2*10 satoshies = 20 satoshies. My calculations show that 1Mh/s of mining power would earn a miner about 6700 WATER/day or about 0.00134 BTC. Compare this with 0.00398 for LTC (difficulty 6190 at the moment), 0.004292 for FTC (difficulty 225), 0.004844 for Vertcoin (difficulty 217, 50% of hash power accounted for), etc. The message here is that the excessive coin production hurt the value big time and that we need to do everything we can to make it recover.

I mentioned this earlier and will do so again: use the BTCs you have from the PLC to buy as much WATER as you can and cause a supply shortage. The price will rise eventually and as an added bonus you will have greater chance to reclaim control of CWC, which you have now lost.

If anyone finds an error or an issue with what I am stating/proposing, please chime in.

EDIT: I was charitable and assumed that one WATER block will yield 1000 coins, whereas we know it would be 8xx in reality.
225  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 09, 2014, 01:44:29 AM
Just installed new wallet, sync fine until I solo mine. I think I got a block at around block 8305. It says 0.00 coins in my wallet. The time in wallet is 18:25 PST.

 Huh

If you indeed found a block now, you should know there is no subsidy for any block from 8000 to 8499 i.e. the reward is 0. What you are earning are essentially transaction fees, so it is probable that the block you found might not have had any transaction fees either. This all should change once we hit block 8500, when you should see the expected reward based on the formula described in the OP.

I understand this is frustrating for you, but this is where we are. We should reach block 8500 in a day from now give or take.
226  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 09, 2014, 01:20:32 AM
Please switch to an updated pool !
nmgpool.com is NOT updated and coins are unusable !

You must use the newest version of the wallet:

Updated Wallet: http://www.megafileupload.com/en/file/516628/cleanwatercoin-qt-8500fork-zip.html

Hard Fork @ 8500th block: https://github.com/CleanWaterCoin/cleanwatercoin/

(Can anybody write this in the Chinese thread, that they are informed?)

Either there, or in the pool's contact form http://water.nmgpool.com/index.php?page=contactform

EDIT: Tried contacting them through their contact form, it is not working.
227  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 08:06:00 PM
pool  http://water.nmgpool.com/  300MH/s   
Has been updated, the normal exploitation! Welcome everyone to join



 Smiley Smiley Smiley Smiley

It seams you are on the wrong fork!
Please check:  http://water.suchpool.pw/index.php?page=statistics&action=pool



Yes, you are on the wrong fork. Subsidy from block 8000 to 8499 is 0. Only TX fees are earned during that time. Current block is 8210 per the newest wallet you can find at the top of the first post in this thread.

EDIT: Look at this page http://water.nmgpool.com/index.php?page=statistics&action=blocks. Your subsidy is still 450K, which was changed to 0 once CWC was forked at block 8000. Also, you are finding every consecutive block number on your fork. This should tell you something is wrong!
228  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 02:15:19 PM
Which pool is on the correct fork?
We should all mine with a pool on the correct fork to get more hash.

I think that at least water.suchpool.pw and water.suprnova.cc are on the correct fork.

Some other pools like water.hashing.at and cwc.dedicatedpool.com have suspended operations due to persistent wallet and daemon troubles, which are hopefully fixed by now. As far as I know, there is no ETA for resumption of their services.

It would help if pool operators provide the requested information in this thread.
229  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 12:41:36 PM
Well, at least there is some good news, WATER is back on BITTREX:

https://bittrex.com/Market/Index?MarketName=BTC-WATER

You must be doing something right devs, keep doing it  Wink
230  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Vertcoin-Adaptive N-factor Scrypt-No more ASICs-[EXCHANGES/AMAZON/ATM/MERCHANTS] on: April 08, 2014, 11:59:06 AM
Due to a serious vulnerability discovered in OpenSSL (cve-2014-0160) it is recommended to update to the new build I just released:

https://github.com/vertcoin/vertcoin/releases/tag/v0.8.6.3.2

It is worth noting that it is unlikely that many users are affected by the vulnerability, as far as I can tell at this point, it's only RPC SSL that would expose this vulnerability, so no panic.

Linux users should update their system OpenSSL to 1.0.1g which contains the fix, and if statically linked, rebuild their vertcoin-qt or vertcoind from source (in fact, due to other recent bugfixes it's probably best to take this opportunity to update anyway). If you're gitian building, just pull the HEAD commit for the updated descriptors, and rebuild your dependencies with 1.0.1g before rebuilding the daemon and/or qt wallet.

Those of you serving anything else that uses SSL (ie. all the pool operators) should also be updating your OpenSSL and rebuilding (if statically linked) web servers etc. Please also consider regenerating your SSL keys since they may be compromised without leaving any log traces. http://filippo.io/Heartbleed/ can be used to test your servers for the vulnerability, but I can pretty much assure you, you have it.

Thank you for the update Boris. Would it be possible to maintain the correct version information in future releases, namely client version and build date values in Debug/Information/Vertcoin Core? It could help identify if someone is on the newest wallet or not.
231  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 11:49:41 AM
What are you going to do about the IPO investors?

Will you return the BTC invested in the IPO?

Will you recalculate the amount of WATER coins you should give to the IPO investors?

Are you going to do something?


It is not about YOU, they are trying to save the coin

It is not about YOU, they are trying to save the coin

It is not about YOU, they are trying to save the coin

They are trying very hard to save the coin

FFS dude, do you want them to send you a shitload of coins and them be worthless? If they can't save it, no amount of coins given to IPO investor will be worth a satoshi. Get a grip!

It's about me it's my money(even if it's a very small amount), it's not about you if it's not your money!
For me it was a investment, a deal was made, the coin had some specifications when i invested now i see millions of coins that where not expected(not in the specs), i tried to forget about the 13BTC invested after the launch but this now it's to much.

And if my my english in not very good, c'est la vie! Boas

edit: wrong quote



You invested in an IPO. Its a high risk, high reward gamble. This time the risk went against you. Its the way it goes mate. If you want any chance at having your money back then support the coin and stand by it. By jumping up and down stamping your feet like a child you will only hinder that.

Should the coin survive, the PLC situation will have to be addressed. I agree now it's not the time, especially with technical viability being questioned. I appreciate all the efforts being put in to keep CWC alive.
232  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 04:59:57 AM
Seems like it is, I was able to send up to 1 million in a single tx. Over that it just won't go out at all.



That helps, thank you!
233  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 04:40:33 AM
After all those strugles to get all the payouts out, and more wallet updates, this is officially screwed.

There has been many forks through the last 24 hours, some coins that were mined on the wrong fork got credited on the correct one. We updated the wallets over 7 times due to update pushes by the devs, this only screwed up more the numbers.

We pushed every payout we could, but now 37M coins won't confirm and we're out of coins. Thing is they were confirmed before the latest update. This is beyond repair.

http://Water.Suchpool.pw is now closed.

That's too bad and I am really sorry to hear about these problems. I mined at your pool for a while and I had a really good experience. I really hope the dev team will find the inner strength to come here and address this and other issues in front whatever remains of the community and pool operators.

I think that your frustration is shared by many of us on this forum. Thank you sticking with this one as long as you could.

+1

Pool owners went above and beyond.


WOW Such instability! haha we re-updated the wallet and we now have them confirmed, and a bit more it seems. We will try to get as much payouts as possible out! I still think some won't be able to go out unfortunately, but that's better than it was!


Do you know if the 15K+ daemon payout problem is now fixed?
234  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 04:27:37 AM
After all those strugles to get all the payouts out, and more wallet updates, this is officially screwed.

There has been many forks through the last 24 hours, some coins that were mined on the wrong fork got credited on the correct one. We updated the wallets over 7 times due to update pushes by the devs, this only screwed up more the numbers.

We pushed every payout we could, but now 37M coins won't confirm and we're out of coins. Thing is they were confirmed before the latest update. This is beyond repair.

http://Water.Suchpool.pw is now closed.

That's too bad and I am really sorry to hear about these problems. I mined at your pool for a while and I had a really good experience. I really hope the dev team will find the inner strength to come here and address this and other issues in front whatever remains of the community and pool operators.

I think that your frustration is shared by many of us on this forum. Thank you for sticking with this one as long as you could.
235  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 04:17:13 AM
Miners and pool operators have taken over this coin.  The "devs" are nowhere to be found.  There must be a short term profit incentive in this last rush to pick up 425,000 coin block rewards.  I would imagine this coin is going to get dumped on harder than a not so clean water porta potty.

I've been thinking about this and Voxelot is absolutely right when he says that miners and pool operators have taken over control of this coin. If you are right (and I think you are) that a massive dump will start once this forking business gets straightened out, there is a chance for the dev team to take back control of the coin by buying it up on exchanges for mere satoshies. There should be enough dry powder from the PLC, and I think it is very reasonable to use a substantial part of it to buy up a sufficient amount of coins so they reestablish control. Once they do, the coin should be able to serve its initial mission and as the team would control most of WATER they should be able to guide the project in the originally envisioned direction.

I just did a test with your suggested loops and the outputFile looks good.  This new fork should fix the nSubsidy bugs.  While this has been a great blunder I hope that you guys can continue and do good work for charity.

That's great to hear, thanks for verifying. I looked at the newest code, and cryptowest decided to use a separate correctly declared variable for all future issuance, which should work just as well. I agree that we should be good on the subsidy now.
236  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 04:05:44 AM
Miners and pool operators have taken over this coin.  The "devs" are nowhere to be found.  There must be a short term profit incentive in this last rush to pick up 425,000 coin block rewards.  I would imagine this coin is going to get dumped on harder than a not so clean water porta potty.

I've been thinking about this and Voxelot is absolutely right when he says that miners and pool operators have taken over control of this coin. If you are right (and I think you are) that a massive dump will start once this forking business gets straightened out, there is a chance for the dev team to take back control of the coin by buying it up on exchanges for mere satoshies. There should be enough dry powder from the PLC, and I think it is very reasonable to use a substantial part of it to buy up a sufficient amount of coins so they reestablish control. Once they do, the coin should be able to serve its initial mission and as the team would control most of WATER they should be able to guide the project in the originally envisioned direction.
237  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 03:22:50 AM
Ha,
Good performance cryptowest.
The next fork after 8500 will be 9000?. Grin

Give cryptowest a break man, he is the one trying to make it right here.

Edit: BTW, I just realized you are the person that is supposed to help build up the Chinese community, so hopefully you are in contact with the team. If you are, could you please let them know that it would be nice of them to finally show up in this forum, which you remember is the place they announced the coin and charity and where they solicited funds for the PLC? Thank you!
238  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 02:58:38 AM
It seems the fork did not work as expected. Miners only earn TX fees now. Check https://water.suprnova.cc/index.php?page=statistics&action=blocks or the explorer at http://cleanwatercoin.altstrade.cc/chain/CleanWaterCoin


Out of main.cpp, the following is the relevant code:


static const int64 nMinSubsidy = 1 * COIN;
static const int CUTOFF_HEIGHT = 1000000000;   // Temp max height. May need to be forked based on varied reward system
// miner's coin base reward based on nBits
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
    int64 nSubsidy = 150 * COIN;
    double coinDifficulty = (double)GetDifficulty();

    int64 rewardCalc = 1/(sqrt(coinDifficulty + 500));

 if (nHeight == 1)
    {
        nSubsidy = 10000000 * COIN; // first block is premine
    }
    else if (nHeight >1 && nHeight <= 55) // 55 blocks for confirmation of premine
        {
            nSubsidy = 1 * COIN;
        }
    else if (nHeight >55 && nHeight <= 7000)
        {
            nSubsidy = 1000 * COIN;
        }
    else if (nHeight >7000 && nHeight < 8000)
        {
            nSubsidy = (int64)((double)(20000 * sqrt(coinDifficulty + 500)) * COIN);
        }

 // fork here for proper block reward - 8000 per cleanwatercoin guys

    else if (nHeight >= 8000 && nHeight <= 250000)
     {
             nSubsidy = (int64)((double)(20000 * rewardCalc) * COIN);
     }

    else if (nHeight > 250000 && nHeight <= 500000)
        {
            nSubsidy = (int64)((double)(15000 * rewardCalc) * COIN);
        }
    else if (nHeight >500000)
        {
            nSubsidy = (int64)((double)(10000 * rewardCalc) * COIN);
        }
    else if (nHeight > CUTOFF_HEIGHT)
        {
            nSubsidy = 0;
        }


    return nSubsidy + nFees;
}

Note that rewardCalc is int64 type. Given that its calculation will always be less than 1/sqrt(500) < 0.05 it will be always rounded down to 0. So once it is used in a formula like nSubsidy = (int64)((double)(20000 * rewardCalc) * COIN) it will default to 0, and the nSubsidy would be 0 as well. You are practically now mining for TX fees from here till eternity. The fix? Change rewardCalc declaration to double (in the line bolded above).

Because it is obvious that THIS AGAIN HAS NOT BEEN TESTED, here is some help for that. Copy this code into a main(), envelope it with a for loop going from 1 to 500002 and then another loop from CUTOFF_HEIGHT - 2 to CUTOFF_HEIGHT + 2 and run it standalone while writing the block height and subsidy into a file. Shouldn't take you long to review the file and see if the code is working correctly.

Now where is that fork picture from earlier?  Wink


Everybody thank Introvert for finding the data type error so quickly and to cryptowest for being the only dev that hasn't quit.

Thank you cryptowest, looking forward to the fix!
239  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 02:49:22 AM
Unfortunately most of the devs decided it was better to have a nap during the most crucial time of the coins existence. Maybe a plan can be made to get the coin back into proper hands and get the coding fixed. Until then, I think all mining and trading should be stopped immediately.

I agree with this, however I question why they didn't go the stop mining and trading route once the error was discovered. Although the fork didn't work as expected at least the crazy coin generation was stopped. The team should take some time to review and test code now without the sword of coin issuance hanging over their heads. It is important to get this right. And TEST, please!!!
240  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [Hard Fork Coming] Clean Water Coin | $2,000 Donated to Charity: Water on: April 08, 2014, 02:32:01 AM
It seems the fork did not work as expected. Miners only earn TX fees now. Check https://water.suprnova.cc/index.php?page=statistics&action=blocks or the explorer at http://cleanwatercoin.altstrade.cc/chain/CleanWaterCoin


Out of main.cpp, the following is the relevant code:


static const int64 nMinSubsidy = 1 * COIN;
static const int CUTOFF_HEIGHT = 1000000000;   // Temp max height. May need to be forked based on varied reward system
// miner's coin base reward based on nBits
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
    int64 nSubsidy = 150 * COIN;
    double coinDifficulty = (double)GetDifficulty();

    int64 rewardCalc = 1/(sqrt(coinDifficulty + 500));

 if (nHeight == 1)
    {
        nSubsidy = 10000000 * COIN; // first block is premine
    }
    else if (nHeight >1 && nHeight <= 55) // 55 blocks for confirmation of premine
        {
            nSubsidy = 1 * COIN;
        }
    else if (nHeight >55 && nHeight <= 7000)
        {
            nSubsidy = 1000 * COIN;
        }
    else if (nHeight >7000 && nHeight < 8000)
        {
            nSubsidy = (int64)((double)(20000 * sqrt(coinDifficulty + 500)) * COIN);
        }

 // fork here for proper block reward - 8000 per cleanwatercoin guys

    else if (nHeight >= 8000 && nHeight <= 250000)
     {
             nSubsidy = (int64)((double)(20000 * rewardCalc) * COIN);
     }

    else if (nHeight > 250000 && nHeight <= 500000)
        {
            nSubsidy = (int64)((double)(15000 * rewardCalc) * COIN);
        }
    else if (nHeight >500000)
        {
            nSubsidy = (int64)((double)(10000 * rewardCalc) * COIN);
        }
    else if (nHeight > CUTOFF_HEIGHT)
        {
            nSubsidy = 0;
        }


    return nSubsidy + nFees;
}

Note that rewardCalc is int64 type. Given that its calculation will always be less than 1/sqrt(500) < 0.05 it will be always rounded down to 0. So once it is used in a formula like nSubsidy = (int64)((double)(20000 * rewardCalc) * COIN) it will default to 0, and the nSubsidy would be 0 as well. You are practically now mining for TX fees from here till eternity. The fix? Change rewardCalc declaration to double (in the line bolded above).

Because it is obvious that THIS AGAIN HAS NOT BEEN TESTED, here is some help for that. Copy this code into a main(), envelope it with a for loop going from 1 to 500002 and then another loop from CUTOFF_HEIGHT - 2 to CUTOFF_HEIGHT + 2 and run it standalone while writing the block height and subsidy into a file. Shouldn't take you long to review the file and see if the code is working correctly.

Now where is that fork picture from earlier?  Wink
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!