feat: blockchain rescan via daemon restart + status bar progress

- Fix z_importwallet to use full path instead of filename only
- Add rescanBlockchain() method that restarts daemon with -rescan flag
- Track rescan progress via daemon output parsing and getrescaninfo RPC
- Display rescan progress in status bar with animated indicator when starting
- Improve dark theme card contrast: lighter surface-variant, tinted borders, stronger rim-light
This commit is contained in:
2026-02-28 15:06:35 -06:00
parent f5378a55ed
commit 1a5c4e8744
42 changed files with 1113 additions and 687 deletions

View File

@@ -73,6 +73,20 @@ public:
*/
static bool createDefaultConfig(const std::string& path);
/**
* @brief Ensure exportdir is set in DRAGONX.conf
* @param confPath Path to the conf file
* @return true if exportdir exists or was added
*/
static bool ensureExportDir(const std::string& confPath);
/**
* @brief Ensure wallet encryption flags are set in DRAGONX.conf
* @param confPath Path to the conf file
* @return true if flags exist or were added
*/
static bool ensureEncryptionEnabled(const std::string& confPath);
private:
};