fix: auto-refresh peers list, show warmup status during daemon startup

- Fix peer timer calling refreshEncryptionState() instead of
  refreshPeerInfo(), so the Network tab now auto-updates every 5s
- Reorder RPC error handling so warmup messages (Loading block index,
  Verifying blocks, etc.) display in the status bar instead of being
  masked by the generic "Waiting for dragonxd" message
This commit is contained in:
2026-04-12 13:43:45 -05:00
parent 648a6c29e0
commit 1860e9b277
2 changed files with 15 additions and 13 deletions

View File

@@ -620,7 +620,7 @@ void App::update()
}
if (peer_timer_ >= active_peer_interval_) {
peer_timer_ = 0.0f;
refreshEncryptionState();
refreshPeerInfo();
}
} else if (core_timer_ >= active_core_interval_) {
core_timer_ = 0.0f;