Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Validator Dashboard

A low-overhead native desktop dashboard for a local Stellar validator and its LedgerCloseMeta processing workflow. It replaces the five-second watch command with a readable view of Core sync, peers, exporter progress, batch storage, container state, and disk capacity.

GTK 4 Python

Why it stays lightweight

  • Native GTK 4 widgets; no Electron, browser, or web server.
  • Python standard library plus Ubuntu's existing GTK bindings.
  • One background polling thread, sleeping between five-second refreshes.
  • Disk and batch-tree scans are cached for 30 seconds; live Core state stays fresh.
  • No database, telemetry, animation loop, or resident helper service.

Run

On Ubuntu, GTK 4 and PyGObject are normally already present:

./run.sh

For a terminal-friendly diagnostic snapshot:

./run.sh --once

To add the dashboard to the desktop application menu:

./install.sh

If the GTK binding is missing, install it with:

sudo apt install python3-gi gir1.2-gtk-4.0

Default data sources

Metric Source
Core state, ledger, peers http://127.0.0.1:11626/info
Native exporter /proc match for stellar-core-metadata-exporter
Native batches/checkpoint /mnt/rpc/stellar-processing/galexie-main-core
Legacy RPC batches /mnt/rpc/stellar-processing/galexie
SSD staging batches /mnt/core/stellar/galexie-staging/galexie
Legacy Galexie state Docker container stellar-galexie
Disk capacity /mnt/core and /mnt/rpc

Every setting can be overridden without editing the source:

VALIDATOR_CORE_URL=http://127.0.0.1:11626/info \
VALIDATOR_EXPORTER_DIR=/mnt/rpc/stellar-processing/galexie-main-core \
./run.sh

Available variables are VALIDATOR_CORE_URL, VALIDATOR_GALEXIE_CONTAINER, VALIDATOR_STAGING_DIR, VALIDATOR_RPC_DIR, VALIDATOR_EXPORTER_DIR, VALIDATOR_CORE_DISK, VALIDATOR_RPC_DISK, and VALIDATOR_EXPORTER_PROCESS.

Tests

python3 -m unittest -v
python3 -m py_compile validator_dashboard.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages