Bitcoin Forum
February 16, 2019, 10:38:47 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Placeholder
1
2

Pages: « 1 ... 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 [86] 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 ... 185 »
  Print  
Author Topic: [Donated $2k+ To Charity] Clean Water Coin: A Crypto Charity (Pure PoS)  (Read 195070 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
wuxianhua
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
April 07, 2014, 10:10:38 PM
 #1701

The focus is on this 400 million coins developer is to be destroyed or maintained?
1550313527
Hero Member
*
Offline Offline

Posts: 1550313527

View Profile Personal Message (Offline)

Ignore
1550313527
Reply with quote  #2

1550313527
Report to moderator
1550313527
Hero Member
*
Offline Offline

Posts: 1550313527

View Profile Personal Message (Offline)

Ignore
1550313527
Reply with quote  #2

1550313527
Report to moderator
1550313527
Hero Member
*
Offline Offline

Posts: 1550313527

View Profile Personal Message (Offline)

Ignore
1550313527
Reply with quote  #2

1550313527
Report to moderator
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1550313527
Hero Member
*
Offline Offline

Posts: 1550313527

View Profile Personal Message (Offline)

Ignore
1550313527
Reply with quote  #2

1550313527
Report to moderator
traderman
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile
April 07, 2014, 10:20:32 PM
 #1702

On the freenode chat they said it will be maintained.

The focus is on this 400 million coins developer is to be destroyed or maintained?
WALKEN-COIN
Sr. Member
****
Offline Offline

Activity: 269
Merit: 250


Parsec Frontiers Pre-Sale 24.01.2018


View Profile WWW
April 07, 2014, 10:32:08 PM
 #1703

Well, there are definitely people buying! I am sure Bittrex is happy.





            ███
           ██▀██
          ██   ██
▄▄▄▄▄▄   ██     ██ ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄
████████▄   ███    █████████▄   █████████  █████████▀  █████████
███   ▀██  █████   ███   ▀███  ████▀       ███        ███▀   ▀███
███   ▄█▀ ███▀███  ███   ▄███  ████▄▄▄     ███▄▄▄▄▄  ███       ▀
███████▀ ███   ███ ▀████████▀   ▀███████   ████████  ███
███▀▀▀  ███     ███ ▀█▀▀███     ▄   ▀▀███  ███       ███       ▄
███    ███       ███ ▀   ███   ███▄▄▄▄███  ███▄▄▄▄▄▄  ███▄   ▄███
███   ███ ▄█████▄ ███     ███  ▀███████▀   ██████████  █████████
                   ███                                   ▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ███  ▄▄▄▄       ▄▄▄     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄
███████████████████▄ ███ ▀██████    ████    █████████████████  ██████████  █████████▄   █████████
███        ███    ▀█▄ ███    ▀███   █████   ███    ███    ███  ███         ███   ▀███  ████▀
███        ███    ▄██  ███     ███  ██████  ███    ███    ███  ███▄▄▄▄▄▄▄  ███   ▄███  ████▄▄▄
████████████████████▀ ▄ ███    ███  ███ ███ ███    ███    ███  ██████████  █████████▀   ▀███████
███▀▀▀▀▀▀▀▀███▀▀███   █▄ ███  ███   ███  ██████    ███    ███  ███         ███▀▀███     ▄   ▀▀███
███        ███   ███   █▄ ███ ▀█    ███   █████    ███    ███  ███▄▄▄▄▄▄▄  ███   ███   ███▄▄▄▄███
███        ███    ███   ▀  ▀█▀      ███    ████    ███    ███  ██████████  ███    ███  ▀███████▀

    ███
    ███
███ ███ ███
    ▀▀▀  ██
███████████
██  ▄▄▄
███ ███ ███
    ▀▀▀  ██
███████████
██  ▄▄▄
███ ███ ███
    ███
    ███

    ███
    ███
███ ███ ███
██  ▀▀▀
███████████
    ▄▄▄  ██
███ ███ ███
██  ▀▀▀
███████████
    ▄▄▄  ██
███ ███ ███
    ███
    ███
[]
██
██
██
██
██
██
██
██
██
██
██
██
Discord
Facebook
Twitter
biohammer
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
April 07, 2014, 10:35:08 PM
 #1704

I just bought some on Bittrex  but they won't confirm in my wallet.   I was lucky because I sold enough of my IPO shares to cover my cost just before the 7000 block. So im even.  But I still believe in the coin and its purpose and thought Id pick some up cheap and wait for the correction.    Of course if they never confirm in the wallet   ...thats another story
Xardas2014
Hero Member
*****
Offline Offline

Activity: 636
Merit: 500


View Profile
April 07, 2014, 10:40:30 PM
 #1705

I just bought some on Bittrex  but they won't confirm in my wallet.   I was lucky because I sold enough of my IPO shares to cover my cost just before the 7000 block. So im even.  But I still believe in the coin and its purpose and thought Id pick some up cheap and wait for the correction.    Of course if they never confirm in the wallet   ...thats another story

I would leave them on Bittrex for now until a new and properly coded wallet is released.
romeshomey
Hero Member
*****
Offline Offline

Activity: 636
Merit: 500


View Profile
April 07, 2014, 10:43:07 PM
 #1706

What good are they if they are not able to be sent?  lol   I cannot send them to sell if I wanted too.   'Transaction cannot be completed'.

So doesn't really matter what the value of them are is because they cannot be traded.

'Transaction creation failed' rather.   Same thing.

First let me say I don't have the absolute answer, but I can offer a few things to try. Might work...might not.

Close the Cleanwatercoin-qt client, click Start and type %Appdata% and then click the Roaming folder. Open the cleanwatercoin folder and copy the wallet.dat file to a secure location.(If you only see a file called "wallet", that is the correct one) You can also use the backup wallet feature inside the client but on rare occasions this can fail, so I prefer the manual backup.

Next, right click the icon to re-open the QT client and run as Administrator..........this shouldn't make a bit of difference unless your anti-virus is doing something weird........but it doesn't hurt to do it. Now use the wallet backup feature. If it succeeds then your wallet is probably not corrupt.

Now to the sending part:
Try to send a small amount, like 500 coins and see if that goes through. The wallet Daemon has problems with transactions over 15k coins.

Didn't need to do anything other than sending 15k or under at a time.  Thanks.
endchat
Sr. Member
****
Offline Offline

Activity: 269
Merit: 250


View Profile
April 07, 2014, 11:25:46 PM
 #1707

Bittrex disabled CWC

WALKEN-COIN
Sr. Member
****
Offline Offline

Activity: 269
Merit: 250


Parsec Frontiers Pre-Sale 24.01.2018


View Profile WWW
April 07, 2014, 11:27:47 PM
 #1708

Bittrex disabled CWC



Good idea until everyones on the same fork.

            ███
           ██▀██
          ██   ██
▄▄▄▄▄▄   ██     ██ ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄
████████▄   ███    █████████▄   █████████  █████████▀  █████████
███   ▀██  █████   ███   ▀███  ████▀       ███        ███▀   ▀███
███   ▄█▀ ███▀███  ███   ▄███  ████▄▄▄     ███▄▄▄▄▄  ███       ▀
███████▀ ███   ███ ▀████████▀   ▀███████   ████████  ███
███▀▀▀  ███     ███ ▀█▀▀███     ▄   ▀▀███  ███       ███       ▄
███    ███       ███ ▀   ███   ███▄▄▄▄███  ███▄▄▄▄▄▄  ███▄   ▄███
███   ███ ▄█████▄ ███     ███  ▀███████▀   ██████████  █████████
                   ███                                   ▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ███  ▄▄▄▄       ▄▄▄     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄
███████████████████▄ ███ ▀██████    ████    █████████████████  ██████████  █████████▄   █████████
███        ███    ▀█▄ ███    ▀███   █████   ███    ███    ███  ███         ███   ▀███  ████▀
███        ███    ▄██  ███     ███  ██████  ███    ███    ███  ███▄▄▄▄▄▄▄  ███   ▄███  ████▄▄▄
████████████████████▀ ▄ ███    ███  ███ ███ ███    ███    ███  ██████████  █████████▀   ▀███████
███▀▀▀▀▀▀▀▀███▀▀███   █▄ ███  ███   ███  ██████    ███    ███  ███         ███▀▀███     ▄   ▀▀███
███        ███   ███   █▄ ███ ▀█    ███   █████    ███    ███  ███▄▄▄▄▄▄▄  ███   ███   ███▄▄▄▄███
███        ███    ███   ▀  ▀█▀      ███    ████    ███    ███  ██████████  ███    ███  ▀███████▀

    ███
    ███
███ ███ ███
    ▀▀▀  ██
███████████
██  ▄▄▄
███ ███ ███
    ▀▀▀  ██
███████████
██  ▄▄▄
███ ███ ███
    ███
    ███

    ███
    ███
███ ███ ███
██  ▀▀▀
███████████
    ▄▄▄  ██
███ ███ ███
██  ▀▀▀
███████████
    ▄▄▄  ██
███ ███ ███
    ███
    ███
[]
██
██
██
██
██
██
██
██
██
██
██
██
Discord
Facebook
Twitter
Nthused
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
April 07, 2014, 11:30:28 PM
 #1709

Just as my Deposit was Finally Confirmed I see this Sad

Shepherd
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
April 07, 2014, 11:41:11 PM
 #1710

This Water is contaminated Sad .
I wish you decontamination soon, because people really need clean water. I am H2O IPO holder, but I don't have anything against other charity coins and supporters of clean drinking water for all people on the world. As I know there is noble coin first coin with this idea, but there is nothing bad in copying good ideas and spread them trough community.

Home - H2O Official faucet Please help an old shepherd to find his flock of sheep and a young shepherdess
DNotes  DXaABU4q6Mq5D9qEMTSU3rqY1TCtzVF9Nn         LTC: LPM3sfPfBAmXsoN7u6sQTwiFzoJpoEAFG6
MINT: MtKsn4h3v31T4vknHj1DSdfhhPn8DLBNce LEAF: fckMPwrA3nJD1pYpHxnpCXpzp48FbthuLm  DGB: DFxLE8U8Hfe5eggxw2NpG3jTHP12HEUqB6
biohammer
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
April 07, 2014, 11:52:03 PM
 #1711

looks like Bittrex is resyncing because the withdrawal i made over a hour age has finally confirmed ,,,whew
YouIsPeng
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile
April 08, 2014, 12:44:55 AM
 #1712

Hard-fork is only 51 blocks away, hopefully things will settle down a bit after that. Let's try to get back to business as normal and get listed on MintPal - don't forget to put your 5 votes in every hour.
https://www.mintpal.com/voting
We are currently at 3474 and H20 is still ahead at 4743 - let's push to overtake them!
Looks like some more people have been putting BTC into WATER votes, maybe using some of the profits gained from dumping windfall coins? Good on you whoever you are!
ocminer
Legendary
*
Offline Offline

Activity: 2338
Merit: 1229



View Profile WWW
April 08, 2014, 12:53:27 AM
 #1713


https://water.suprnova.cc

is at 0% Fee currently
We've got EU Stratum Nodes
Are finding Blocks on a regular basis
we ARE paying out every minute..

hop in ! :-)

Fake Share Proof !


Updated to latest wallet & correct fork!



suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
voxelot
Sr. Member
****
Offline Offline

Activity: 265
Merit: 250


View Profile
April 08, 2014, 01:23:16 AM
 #1714

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.
louiseth1
Legendary
*
Offline Offline

Activity: 924
Merit: 1000


Bitfarms.io


View Profile WWW
April 08, 2014, 02:04:27 AM
 #1715

Wallet still borks out often, so much issues that Water.SuchPool.pw has shutdown the stratums. They will remain down until a real fix is being pushed. No need to waste your hashpower on many different chains.

We will keep the wallet up and running (requires resync now and then due to checkpoint errors) for you guys to withdraw your coins

Bitfarms.io - Powering Blockchains with Sustainable Energy
YouIsPeng
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile
April 08, 2014, 02:07:57 AM
 #1716

Just voted, now at 3504.
Remember to vote everyone  Wink
https://www.mintpal.com/voting
YouIsPeng
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile
April 08, 2014, 02:10:52 AM
Last edit: April 08, 2014, 02:22:10 AM by YouIsPeng
 #1717

8 7 6 4 3 1 0 blocks to go to fork! Holding breath..

Well we're there, block 8000. Let's see what the next reward will be..

IntroVert
Full Member
***
Offline Offline

Activity: 223
Merit: 103


View Profile
April 08, 2014, 02:32:01 AM
 #1718

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

Support Sidehack's miner development. Send donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
WALKEN-COIN
Sr. Member
****
Offline Offline

Activity: 269
Merit: 250


Parsec Frontiers Pre-Sale 24.01.2018


View Profile WWW
April 08, 2014, 02:34:31 AM
 #1719

There has been a lot of people helping with these issues that did NOT have to help, and they deserve a thank you! So, thanks! If all you guys were on a coin team, I would fucking buy that coin anyday.

Devs need to be pretty vocal at this point to keep things aboveboard, and they are not doing a good job of that at all (though they were answering questions in IRC if you asked politely). They seem to be in over their heads. They may solve the issue, but I don't see it being solved today. This coin will go in to cryostasis if they don't get wallet issues solved within the next day or two.

Bittrex certainly liked the volume, so if problems are solved soon, we will be trading again and maybe get on some other exchanges before long. Until the wallet is solid, nothing moves forward.

The charity/donation funds are also now up in the air, as the product used to raise funds was faulty. If the devs mined a ton of those coins during the bad blocks and sold them, they would then be liable for lawsuits, as that would constitute investment fraud. I don't think they want to deal with the state auditing their outfit due to a few phone calls from pissed off investors, so I assume devs will do everything in their power to protect the integrity of investment funds by continuing to work on the coin diligently, or return those investment IPO funds they held on to. If there is no coin, there is no reason to keep said funds, and they should be returned.

Again, I expect things WILL move forward, as the alternative is not attractive for anyone involved. Just my analysis of the current state of things.

I will update everyone with info as I learn it if I do not see someone from dev team doing so. Community is still important if you want to see a return on your investment of money and\or time.

            ███
           ██▀██
          ██   ██
▄▄▄▄▄▄   ██     ██ ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄
████████▄   ███    █████████▄   █████████  █████████▀  █████████
███   ▀██  █████   ███   ▀███  ████▀       ███        ███▀   ▀███
███   ▄█▀ ███▀███  ███   ▄███  ████▄▄▄     ███▄▄▄▄▄  ███       ▀
███████▀ ███   ███ ▀████████▀   ▀███████   ████████  ███
███▀▀▀  ███     ███ ▀█▀▀███     ▄   ▀▀███  ███       ███       ▄
███    ███       ███ ▀   ███   ███▄▄▄▄███  ███▄▄▄▄▄▄  ███▄   ▄███
███   ███ ▄█████▄ ███     ███  ▀███████▀   ██████████  █████████
                   ███                                   ▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ███  ▄▄▄▄       ▄▄▄     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄       ▄▄▄▄▄▄▄▄
███████████████████▄ ███ ▀██████    ████    █████████████████  ██████████  █████████▄   █████████
███        ███    ▀█▄ ███    ▀███   █████   ███    ███    ███  ███         ███   ▀███  ████▀
███        ███    ▄██  ███     ███  ██████  ███    ███    ███  ███▄▄▄▄▄▄▄  ███   ▄███  ████▄▄▄
████████████████████▀ ▄ ███    ███  ███ ███ ███    ███    ███  ██████████  █████████▀   ▀███████
███▀▀▀▀▀▀▀▀███▀▀███   █▄ ███  ███   ███  ██████    ███    ███  ███         ███▀▀███     ▄   ▀▀███
███        ███   ███   █▄ ███ ▀█    ███   █████    ███    ███  ███▄▄▄▄▄▄▄  ███   ███   ███▄▄▄▄███
███        ███    ███   ▀  ▀█▀      ███    ████    ███    ███  ██████████  ███    ███  ▀███████▀

    ███
    ███
███ ███ ███
    ▀▀▀  ██
███████████
██  ▄▄▄
███ ███ ███
    ▀▀▀  ██
███████████
██  ▄▄▄
███ ███ ███
    ███
    ███

    ███
    ███
███ ███ ███
██  ▀▀▀
███████████
    ▄▄▄  ██
███ ███ ███
██  ▀▀▀
███████████
    ▄▄▄  ██
███ ███ ███
    ███
    ███
[]
██
██
██
██
██
██
██
██
██
██
██
██
Discord
Facebook
Twitter
YouIsPeng
Full Member
***
Offline Offline

Activity: 175
Merit: 100


View Profile
April 08, 2014, 02:40:09 AM
 #1720

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 ... 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 [86] 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 ... 185 »
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!