| 4100 | } |
| 4101 | |
| 4102 | bool LoadBlockIndex(bool* fRebuildRequired) |
| 4103 | { |
| 4104 | assert(fRebuildRequired != NULL); |
| 4105 | // Load block index from databases |
| 4106 | if (!fReindex && !LoadBlockIndexDB(fRebuildRequired)) |
| 4107 | return false; |
| 4108 | return true; |
| 4109 | } |
| 4110 | |
| 4111 | |
| 4112 | bool InitBlockIndex() { |
no test coverage detected