Post
Topic
Board Announcements (Altcoins)
Re: FLYCOIN ANN : Mandatory update to V2.4.2 (Nov 16 2016)
by
HiggsBosunBlues
on 16/11/2016, 19:47:22 UTC
Doesn't want to compile on linux.    src/main.cpp line 1305.   Doesn't like mix between floating point (double) and CBigNum which looks to be integer based.  Could static_cast to a long long but not sure if you will lose precision doing that.

possible solution:

CBigNum bnSubsidy = CBigNum(static_cast( nCoingAge * (posRate_13 / maxTimesPerYear_13)));

Also,  could change the definitions of  postRate_13 and maxTimesPerYear_13  to be "const".    Lots of warnings and side effects of current definitions.

-JK

Thanks for this, I've hit the same problem.

I'll try your suggestion. Cheers.