ObsidianDragon - DragonX ImGui Wallet
Full-node GUI wallet for DragonX cryptocurrency. Built with Dear ImGui, SDL3, and OpenGL3/DX11. Features: - Send/receive shielded and transparent transactions - Autoshield with merged transaction display - Built-in CPU mining (xmrig) - Peer management and network monitoring - Wallet encryption with PIN lock - QR code generation for receive addresses - Transaction history with pagination - Console for direct RPC commands - Cross-platform (Linux, Windows)
This commit is contained in:
35
src/ui/windows/block_info_dialog.h
Normal file
35
src/ui/windows/block_info_dialog.h
Normal file
@@ -0,0 +1,35 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user