// DragonX Wallet - ImGui Edition
// Copyright 2024-2026 The Hush Developers
// Released under the GPLv3

#pragma once

#include <string>

namespace dragonx {

class App;

namespace ui {

/**
 * @brief Dialog for viewing block information by height
 * 
 * Allows entering a block height to view:
 * - Block hash
 * - Timestamp
 * - Number of transactions
 * - Size, bits, difficulty
 * - Previous/next block hash
 */
class BlockInfoDialog {
public:
    // Show the dialog, optionally at a specific height
    static void show(int initialHeight = -1);
    
    // Render the dialog (call each frame)
    static void render(App* app);
};

} // namespace ui
} // namespace dragonx
