Changeset View
Changeset View
Standalone View
Standalone View
src/pow/aserti32d.h
Show All 33 Lines | |||||
/** | /** | ||||
* ASERT caches a special block index for efficiency. If block indices are | * ASERT caches a special block index for efficiency. If block indices are | ||||
* freed then this needs to be called to ensure no dangling pointer when a new | * freed then this needs to be called to ensure no dangling pointer when a new | ||||
* block tree is created. | * block tree is created. | ||||
* (this is temporary and will be removed after the ASERT constants are fixed) | * (this is temporary and will be removed after the ASERT constants are fixed) | ||||
*/ | */ | ||||
void ResetASERTAnchorBlockCache() noexcept; | void ResetASERTAnchorBlockCache() noexcept; | ||||
const CBlockIndex *GetASERTAnchorBlockCache() noexcept; | |||||
#endif // BITCOIN_POW_ASERTI32D_H | #endif // BITCOIN_POW_ASERTI32D_H |