PPCoin: Reset sync-checkpoint when checkpoint master key changes
[novacoin.git] / src / db.h
index b11ccac..038c6c4 100644 (file)
--- a/src/db.h
+++ b/src/db.h
@@ -291,8 +291,10 @@ public:
     bool WriteHashBestChain(uint256 hashBestChain);
     bool ReadBestInvalidTrust(uint64& nBestInvalidTrust);
     bool WriteBestInvalidTrust(uint64 nBestInvalidTrust);
-    bool ReadAutoCheckpoint(int& nAutoCheckpoint);
-    bool WriteAutoCheckpoint(int nCheckpoint, bool fReset=false);
+    bool ReadSyncCheckpoint(uint256& hashCheckpoint);
+    bool WriteSyncCheckpoint(uint256 hashCheckpoint);
+    bool ReadCheckpointPubKey(std::string& strPubKey);
+    bool WriteCheckpointPubKey(const std::string& strPubKey);
     bool LoadBlockIndex();
 };