PPCoin: Combine FixSpentCoins and CheckSpentCoins
[novacoin.git] / src / main.h
index ab4026a..60e4832 100644 (file)
@@ -50,6 +50,8 @@ static const int fHaveUPnP = false;
 static const uint256 hashGenesisBlockOfficial("0x0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3");
 static const uint256 hashGenesisBlockTestNet("0x00000001f757bb737f6596503e17cd17b0658ce630cc727c0cca81aec47c9f06");
 
+static const int64 nMaxClockDrift = 2 * 60 * 60;        // two hours
+
 extern CScript COINBASE_FLAGS;
 
 
@@ -72,6 +74,7 @@ extern CBlockIndex* pindexBest;
 extern unsigned int nTransactionsUpdated;
 extern uint64 nLastBlockTx;
 extern uint64 nLastBlockSize;
+extern int64 nLastCoinStakeSearchInterval;
 extern const std::string strMessageMagic;
 extern double dHashesPerSec;
 extern int64 nHPSTimerStart;