X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fmain.h;h=95da601ec3bc4b835e6713f8d752cb251581a34f;hp=e2661d978f1b825053c0252d85080733be748cf7;hb=acdbd44af1807b5114e6edd480680395478a2f38;hpb=e1a62ae0588db7071d18fae11f5f0bb50f9bbeaa diff --git a/src/main.h b/src/main.h index e2661d9..95da601 100644 --- a/src/main.h +++ b/src/main.h @@ -32,13 +32,6 @@ class CNode; // // Global state // -static const unsigned int nStakeMinAge = 60 * 60 * 24 * 30; // 30 days as zero time weight -static const unsigned int nStakeMaxAge = 60 * 60 * 24 * 90; // 90 days as full weight -static const unsigned int nStakeTargetSpacing = 10 * 60; // 10-minute stakes spacing -static const unsigned int nModifierInterval = 6 * 60 * 60; // time to elapse before new modifier is computed - -static const int nCoinbaseMaturity = 500; - static const unsigned int MAX_BLOCK_SIZE = 1000000; static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2; @@ -78,6 +71,8 @@ extern std::map mapBlockIndex; extern std::set > setStakeSeen; extern CBlockIndex* pindexGenesisBlock; extern unsigned int nNodeLifespan; +extern unsigned int nStakeMinAge; +extern int nCoinbaseMaturity; extern int nBestHeight; extern uint256 nBestChainTrust; extern uint256 nBestInvalidTrust;