Log reason for non-standard transaction rejection
[novacoin.git] / src / checkpoints.h
index a8e7ecb..8d1f2f0 100644 (file)
@@ -5,10 +5,10 @@
 #define  BITCOIN_CHECKPOINT_H
 
 #include <map>
-#include "net.h"
 #include "util.h"
+#include "net.h"
 
-#define CHECKPOINT_MAX_SPAN (60 * 60 * 4) // max 4 hours before latest block
+#define CHECKPOINT_MAX_SPAN (60 * 60) // max 1 hour before latest block
 
 #ifdef WIN32
 #undef STRICT
@@ -64,7 +64,6 @@ namespace Checkpoints
     bool SetCheckpointPrivKey(std::string strPrivKey);
     bool SendSyncCheckpoint(uint256 hashCheckpoint);
     bool IsMatureSyncCheckpoint();
-    bool IsSyncCheckpointTooOld(unsigned int nSeconds);
 }
 
 // ppcoin: synchronized checkpoint