Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
| Show First 20 Lines • Show All 1,084 Lines • ▼ Show 20 Lines | const CBlockIndex *FindBlockToFinalize(CBlockIndex *pindexNew) | ||||
| EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
| /** | /** | ||||
| * Check warning conditions and do some notifications on new chain tip set. | * Check warning conditions and do some notifications on new chain tip set. | ||||
| */ | */ | ||||
| void UpdateTip(const CBlockIndex *pindexNew) | void UpdateTip(const CBlockIndex *pindexNew) | ||||
| EXCLUSIVE_LOCKS_REQUIRED(::cs_main); | EXCLUSIVE_LOCKS_REQUIRED(::cs_main); | ||||
| NodeClock::time_point m_last_write{}; | NodeClock::time_point m_next_write{NodeClock::time_point::max()}; | ||||
| /** | /** | ||||
| * In case of an invalid snapshot, rename the coins leveldb directory so | * In case of an invalid snapshot, rename the coins leveldb directory so | ||||
| * that it can be examined for issue diagnosis. | * that it can be examined for issue diagnosis. | ||||
| */ | */ | ||||
| [[nodiscard]] util::Result<void> InvalidateCoinsDBOnDisk() | [[nodiscard]] util::Result<void> InvalidateCoinsDBOnDisk() | ||||
| EXCLUSIVE_LOCKS_REQUIRED(::cs_main); | EXCLUSIVE_LOCKS_REQUIRED(::cs_main); | ||||
| ▲ Show 20 Lines • Show All 571 Lines • Show Last 20 Lines | |||||