static const unsigned int TARGETS_SWITCH_TIME = 1374278400; // 20 Jul 2013 00:00:00
static const unsigned int LOCKS_SWITCH_TIME = 1376956800; // 20 Aug 2013 00:00:00
static const unsigned int CHAINCHECKS_SWITCH_TIME = 1379635200; // 20 Sep 2013 00:00:00
+static const unsigned int STAKECURVE_SWITCH_TIME = 1382227200; // 20 Oct 2013 00:00:00
inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
// Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp.
extern unsigned int nStakeMinAge;
extern int nCoinbaseMaturity;
extern int nBestHeight;
-extern CBigNum bnBestChainTrust;
-extern CBigNum bnBestInvalidTrust;
+extern uint256 nBestChainTrust;
+extern uint256 nBestInvalidTrust;
extern uint256 hashBestChain;
extern CBlockIndex* pindexBest;
extern unsigned int nTransactionsUpdated;
CBlockIndex* pnext;
unsigned int nFile;
unsigned int nBlockPos;
- CBigNum bnChainTrust; // ppcoin: trust score of block chain
+ uint256 nChainTrust; // ppcoin: trust score of block chain
int nHeight;
int64 nMint;
nFile = 0;
nBlockPos = 0;
nHeight = 0;
- bnChainTrust = 0;
+ nChainTrust = 0;
nMint = 0;
nMoneySupply = 0;
nFlags = 0;
nFile = nFileIn;
nBlockPos = nBlockPosIn;
nHeight = 0;
- bnChainTrust = 0;
+ nChainTrust = 0;
nMint = 0;
nMoneySupply = 0;
nFlags = 0;
return (int64)nTime;
}
- CBigNum GetBlockTrust() const;
+ uint256 GetBlockTrust() const;
bool IsInMainChain() const
{