| 374 | } |
| 375 | |
| 376 | IndexSummary BaseIndex::GetSummary() const |
| 377 | { |
| 378 | IndexSummary summary{}; |
| 379 | summary.name = GetName(); |
| 380 | summary.synced = m_synced; |
| 381 | summary.best_block_height = m_best_block_index ? m_best_block_index.load()->nHeight : 0; |
| 382 | return summary; |
| 383 | } |
no test coverage detected