Post
Topic
Board Altcoin Discussion
Re: My coin in need of help
by
DJFML
on 28/06/2014, 15:46:22 UTC
I'm an old bird but if u wanna rebuild and compile... try using either borland c++ or the compiler in linux...


I haven't heard of borland c++ the compiler in linux I have tried it, but it doesn't want to compile, but I will only need a windows version since everyone in the gaming networks will be using windows.

My coin called Flightcoin is being made for a gaming networks, for some strange reason it is making blocks but no coins are being generated. I have a pool I have created (with MPOS[thanks you theserapher for your awesome work]) mining all the blocks but no coins are being added at all, I don't I have forked it from the smallchange github but that didn't seem to work so well for the coins it self, you guys can review the code here at github https://github.com/flightcoin/flightcoin if anyone is interested in helping out which I would greatly appreciate, this coin is completely private and in no intentions in making any exchanges a long any road, it will be kept private at the gaming networks.

If anyone can help with my situation here, I will think of something to do for you. I don't have money or Bitcoins or any other type of currency to help you but with computer work, but I am sure the majority can do that, please respond here or PM me.

Thank you sooo much in advance for helping me and the gaming networks I support.

The problem is in main.cpp

Code:
if(nHeight < 17280) // no block reward within the first 3 days
        nSubsidy = 0;

Any block under block 17280 will reward no coins.  Grin

What if I put one block? Cause I did get to that part, I should be able to get blocks and coins unconfirmed, right? Thanks I'll edit that part of and update you if it works Cheesy

Hello!

Just remove this part of the code:

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;
}

and then add this in the place of it

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 10000 * COIN; // You can change the 10,000 coins to however many coins you want rewarded each block

    return nSubsidy + nFees;
}

For building the Flightcoin. I can build it for you on Linux and Windows if you send me the updated code (if you haven't changed it then I will just build the one from Github).


I was able to change it to 1 block lol xP I didn't change it completely, I had updated the code to that on github just now, and is it possible to teach me on windows or whichever platform you build it on?