X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fcheckpoints.h;h=fd7d4321d311d4c0486818f1d8005543ffec59ad;hb=90f586177cfe64fcfaee902b72fd21ef06d5143f;hp=9d5a16652ee196a64e7b9c891cf9de5b8d562bd8;hpb=b76dbc1806483254e6092e25a8d61069905b9ff1;p=novacoin.git diff --git a/src/checkpoints.h b/src/checkpoints.h index 9d5a166..fd7d432 100644 --- a/src/checkpoints.h +++ b/src/checkpoints.h @@ -38,10 +38,12 @@ namespace Checkpoints extern CCriticalSection cs_hashSyncCheckpoint; CBlockIndex* GetLastSyncCheckpoint(); + bool WriteSyncCheckpoint(const uint256& hashCheckpoint); bool AcceptPendingSyncCheckpoint(); uint256 AutoSelectSyncCheckpoint(); bool CheckSync(const uint256& hashBlock, const CBlockIndex* pindexPrev); bool WantedByPendingSyncCheckpoint(uint256 hashBlock); + bool ResetSyncCheckpoint(); } // ppcoin: synchronized checkpoint