Open
Conversation
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.
Member
|
Ran a node in Testnet Config in Windows, however the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Enhanced Monitoring - Real-time dashboard for node status and token management
Improved Reliability - Automatic failover and health monitoring for advisory nodes
Better User Experience - Web-based interface for easier node management
Operational Flexibility - Runtime configuration of advisory URLs
Production Ready - Robust error handling and graceful degradation
Scalability - Support for multiple advisory nodes with priority management