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