Wipe main.h from kernel.h
[novacoin.git] / src / kernel.h
index 464e401..02e2b71 100644 (file)
@@ -4,8 +4,14 @@
 #ifndef PPCOIN_KERNEL_H
 #define PPCOIN_KERNEL_H
 
-#include "main.h"
-#include "wallet.h"
+class CBlock;
+class CBlockIndex;
+class CTransaction;
+class COutPoint;
+class uint256;
+
+extern unsigned int nStakeMaxAge;
+extern unsigned int nStakeMinAge;
 
 // ChainDB upgrade time
 extern unsigned int nModifierUpgradeTime;
@@ -56,4 +62,4 @@ inline int64_t GetWeight(int64_t nIntervalBeginning, int64_t nIntervalEnd)
     return std::min(nIntervalEnd - nIntervalBeginning - nStakeMinAge, (int64_t)nStakeMaxAge);
 }
 
-#endif // PPCOIN_KERNEL_H
\ No newline at end of file
+#endif // PPCOIN_KERNEL_H