extern CSyncCheckpoint checkpointMessage;
extern CCriticalSection cs_hashSyncCheckpoint;
- bool AcceptPendingSyncCheckpoint(uint256 hashAcceptedBlock);
+ bool AcceptPendingSyncCheckpoint();
+ uint256 AutoSelectSyncCheckpoint();
+ bool CheckSync(const uint256& hashBlock, const CBlockIndex* pindexPrev);
// ppcoin: automatic checkpoint
extern int nAutoCheckpoint;