2.3 KiB
2.3 KiB
Primary view
Source: operator description, 2026-09-15. Status: ACCEPTED (v1 scope).
Header
- KPI block, top left: 6 KPIs:
- Total miners
- Hashing
- Slow
- Not hashing
- Total hashrate (sum over table)
- Total estimated power consumption (sum over table)
- Scan-ranges box (middle): click to edit the IP scanning ranges.
- Filter button: opens an Excel-style filter panel (per-column value filters, multi-select).
- Columns button: opens a panel of checkboxes, one per available statistic; unchecked = column hidden from the table.
Table
- One miner per row; statistics as columns.
- Sort: click a column title to sort by it (toggle asc/desc).
- Row checkbox at the left edge selects the miner (bulk actions later).
- First column is always IP (not reorderable, not hideable).
- Other columns drag-to-reorder.
- Default column order after IP:
- Hashrate
- Power (estimated)
- Chip temp
- Cooling (fan)
- Firmware
- Pool worker account name
- Remaining statistics in registry order.
Data sources
- Rows and statistics come from the vendored
asic-rsscan engine (MinerFactory::scan_stream()over the configured ranges); the toolkit adds install-state columns (foothold available, pathway supported) that asic-rs does not know about. - The six KPIs are derived client-side from the same row set, so header and table can never disagree.
- "Slow" = hashing but below the model's expected hashrate band (band data ships with the board registry; missing band = excluded from Slow, counted in Hashing).
Implementation
- wxWidgets: the view is a
wxDataViewListCtrl/wxDataViewCtrl(virtual list for thousands of rows without materializing cells), checkbox column + IP column fixed via attribute/serializer, drag reorder viawxReorderablecolumn events, sort via column header click events mapped to the model. - Filter panel: per-column distinct-value checklist with text search, "select all/none", AND across columns, OR within a column (Excel semantics).
- Columns panel: persists (order + visibility) per install in a user config file; "reset to default order" action included.
- Scan-ranges box: opens a small editor with CIDR list, one per line, validate-on-apply; ranges feed both asic-rs scan and the ARP/ICMP pre-pass.