| 3284 | } |
| 3285 | |
| 3286 | static SynchronizationState GetSynchronizationState(bool init, bool blockfiles_indexed) |
| 3287 | { |
| 3288 | if (!init) return SynchronizationState::POST_INIT; |
| 3289 | if (!blockfiles_indexed) return SynchronizationState::INIT_REINDEX; |
| 3290 | return SynchronizationState::INIT_DOWNLOAD; |
| 3291 | } |
| 3292 | |
| 3293 | void ChainstateManager::UpdateIBDStatus() |
| 3294 | { |
no outgoing calls
no test coverage detected