Includes cleanup
[novacoin.git] / src / kernel.h
index 464e401..e41b9a4 100644 (file)
@@ -5,7 +5,8 @@
 #define PPCOIN_KERNEL_H
 
 #include "main.h"
-#include "wallet.h"
+
+extern unsigned int nStakeMaxAge;
 
 // ChainDB upgrade time
 extern unsigned int nModifierUpgradeTime;
@@ -56,4 +57,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