Author

Topic: I can mine blocks but no coins are made (Read 654 times)

legendary
Activity: 1120
Merit: 1000
Free & Fast Neotox Escrow http://bit.ly/1OGVykp
June 18, 2014, 12:33:54 AM
#3
For any block less than 17280, the reward is 0. 

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 10000 * COIN; // 10 000 Coins each block


    if(nHeight < 17280) // no block reward within the first 3 days
        nSubsidy = 0;
    if(nHeight > 10519200) // no block reward after 5 years
        nSubsidy = 0;

    return nSubsidy + nFees;
}

change the block rewards structure and it should be working fine
sr. member
Activity: 350
Merit: 250
Independent Cryptoveloper
June 16, 2014, 06:23:08 PM
#2
For any block less than 17280, the reward is 0. 

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 10000 * COIN; // 10 000 Coins each block


    if(nHeight < 17280) // no block reward within the first 3 days
        nSubsidy = 0;
    if(nHeight > 10519200) // no block reward after 5 years
        nSubsidy = 0;

    return nSubsidy + nFees;
}
newbie
Activity: 32
Merit: 0
June 16, 2014, 04:41:24 PM
#1
I have been mining my own coin I have created for this networks I'm with and I have been generating blocks but no coins are coming out, I have set it to 1 confirmation but that still doesn't work

Is there something I am doing wrong on making my coin?

My coin is on git https://github.com/flightcoin/flightcoin
Not sure what exactly is going on with it but I hope I can get some help.
Jump to: