Skip to content

Advisory Node Management System#406

Open
gklps wants to merge 4 commits intodevelopmentfrom
gklps/ft-advNode
Open

Advisory Node Management System#406
gklps wants to merge 4 commits intodevelopmentfrom
gklps/ft-advNode

Conversation

@gklps
Copy link
Copy Markdown
Member

@gklps gklps commented Oct 14, 2025

This PR introduces a comprehensive dashboard web interface and a robust advisory node management system for the RubixGo platform. The changes include a complete web-based monitoring dashboard, database-driven advisory URL management with automatic failover, and enhanced quorum management integration.

Key Features

1. Dashboard Web Interface

  • Real-time monitoring of tokens, pledged tokens, and transactions

  • Interactive web UI with modern design and responsive layout

  • Live data integration with Go API endpoints

  • Token filtering and categorization (RBT, Part Tokens, FT)

  • Transaction history and unpledge sequence tracking

2. Advisory Node Management System

  • Database-driven URL management replacing hardcoded configurations

  • Multi-network support (MainNet/TestNet) with separate URL pools

  • Automatic failover with priority-based URL selection

  • Health monitoring and connectivity testing

  • REST API endpoints for runtime configuration

  • Graceful fallback to hardcoded URLs when database unavailable

3. Enhanced Quorum Management

  • Advisory node integration for centralized quorum coordination

  • Automatic registration and availability confirmation

  • Periodic heartbeat monitoring (every 2 minutes)

  • Balance synchronization with advisory node

  • Timeout handling and error recovery

Migration Guide

For Existing Nodes:

  • Automatic Migration - Advisory URL table created automatically on startup

  • Default URLs - Default advisory URLs inserted for both networks

  • Backward Compatibility - Fallback to hardcoded URLs if database unavailable

  • No Manual Intervention - All changes are backward compatible

For New Deployments:

  • Dashboard Access - Available at http://localhost:20000/dashboard

  • Advisory URL Management - Use REST APIs to configure custom URLs

  • Network Detection - Automatic MainNet/TestNet detection based on -testNet flag

Benefits

  1. Enhanced Monitoring - Real-time dashboard for node status and token management

  2. Improved Reliability - Automatic failover and health monitoring for advisory nodes

  3. Better User Experience - Web-based interface for easier node management

  4. Operational Flexibility - Runtime configuration of advisory URLs

  5. Production Ready - Robust error handling and graceful degradation

  6. Scalability - Support for multiple advisory nodes with priority management

Introduces a new dashboard web interface (HTML/JS) for monitoring tokens, pledged tokens, unpledge sequences, and transactions. Adds advisory node support in core logic for quorum management, including registration, heartbeat, and balance updates. Updates quorum initiation to use advisory node if enabled, and provides dashboard-related API support in the server.
Introduces a database-driven advisory URL management system supporting multiple URLs per network, automatic failover, health monitoring, and REST API endpoints for runtime configuration. Adds new model, wallet, and server logic for CRUD operations, default URL handling, and integration with quorum management. Updates core logic to use advisory URLs with priority and health checks, and documents the new system and APIs in the README.
Replaced all references to the old advisory node service URLs with new mainnet and testnet pool URLs in the README and codebase. Refactored Core struct to store separate advisory node URLs for mainnet and testnet, and updated initialization logic to use these fields. Updated wallet default advisory URLs accordingly.
Copy link
Copy Markdown
Member

@Allen-Cherian Allen-Cherian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arnabghose997 arnabghose997 self-requested a review October 17, 2025 10:17
@arnabghose997
Copy link
Copy Markdown
Member

Ran a node in Testnet Config in Windows, however the dashboard directory wasn't generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants