Commit Graph
26 Commits
Author SHA1 Message Date
rob thijssen 242bbe71f6 06: manipulator and difficulty
- Introduce ChainManipulatorEngine using fast incremental hashing path -
Throttle mining speed per solved block using sleeps after nonce batches
- Add CLI/env options to control base delay, batch size, throttle cap,
and resume state - Wire engine selection and parameters through
miner-service and miner-cli - Add debug logs for throttle state at job
start and on block found - Add new Grafana panel showing robust
difficulty median per chain for visibility
2025-09-09 19:41:38 +08:00
rob thijssen d0382f875a 05: workers and dashboard sync
- Replace `--cores`/`--num-cores` with `--workers` to clarify intent
(logical CPU threads) - Detect cpuset-aware default for workers, leaving
~50% headroom on shared hosts - Clamp user-specified workers to
effective cpuset size - Update logs, configs, and APIs accordingly
2025-09-09 12:18:04 +08:00
rob thijssen ce600d454c fix: remove deprecated metrics update on job cancel and consolidate
active job metrics update
2025-09-08 21:52:01 +08:00
rob thijssen b69832bb4a 04: metrics chunking and dashboards
Improve mining metrics with chunked progress updates and dashboards

- Emit periodic per-thread progress updates by chunking search ranges,
enabling fresher and more accurate job/global hash rates. - Smooth
per-thread hash rates with EMA; derive per-job and global rates from
thread aggregates. - Remove job/thread rate series on
completion/cancellation to avoid scrape-timing zero artifacts. - Add
service-level metrics: `miner_active_jobs` gauge and
`miner_mine_requests_total` counter with result labels. - Introduce
CLI/env knob `--progress-chunk-ms` to control progress update frequency
(default 2000ms). - Update Grafana dashboards for trend-friendly
queries, cleaned labels, 24h/1h peak views, and job-level filtering. -
Add detailed documentation summarizing metrics improvements, usage, and
operational guidance.
2025-09-08 17:01:43 +08:00
rob thijssen e3b7da480d 00: roadmap to gpu 2025-09-07 21:48:07 +08:00
rob thijssen ea40fdf6e5 03: engine comparability 2025-09-07 21:34:44 +08:00
rob thijssen 85a4818c09 02: fix compiler issues 2025-09-07 20:49:47 +08:00
rob thijssen 6cd53557d7 02: cpu fast engine and metrics 2025-09-07 20:48:01 +08:00
rob thijssen 0d5adf583b 01: soc and metrics
Convert repository into Cargo workspace with modular crates

- Split code into workspace members: miner-cli, miner-service, pow-core,
engine-cpu, engine-gpu-cuda, engine-gpu-opencl, metrics - Moved QPoW
math logic into local pow-core crate with compatibility API and
incremental helpers - Defined MinerEngine trait and baseline CPU engine
in engine-cpu crate - Rewrote service layer in miner-service: job
management, HTTP API, engine orchestration - Added CLI binary crate
miner-cli with flags: --port, --num-cores, --metrics-port, --engine -
Implemented runtime toggle for Prometheus metrics exporter enabled only
when --metrics-port provided - Deprecated root src/lib.rs and
src/main.rs with notices pointing to new CLI/workspace entrypoints
2025-09-07 20:21:10 +08:00
GitHub Action 614e23370e bump version to v0.2.0 2025-08-29 13:04:05 +00:00
NIK e01af68954 Revert "chsnge version to 0.2"
This reverts commit ae143b6bf5.
2025-08-29 20:00:55 +07:00
NIK 18c2c2b008 update toolchain 2025-08-29 18:01:50 +07:00
NIK ae143b6bf5 chsnge version to 0.2 2025-08-29 17:52:36 +07:00
NIK 8fa615e117 minor fixes 2025-08-29 17:27:20 +07:00
GitHub Action d70728687e bump version to v0.1.2 2025-07-14 09:08:25 +00:00
NIK 6f03ff2c5b Merge branch 'main' of github.com:Quantus-Network/miner 2025-06-16 12:20:17 +08:00
NIK 1f026da520 remove Apple-Intel build 2025-06-16 12:19:53 +08:00
GitHub Action 3bff5fa4bf bump version to v0.1.1 2025-06-16 04:18:04 +00:00
NIK 2f2c8e69e6 Update release.yml 2025-06-16 12:16:48 +08:00
NIK 15d09cd130 Create release.yml 2025-06-16 12:12:53 +08:00
NIK 1b28c32456 fmt fix 2025-06-16 12:02:52 +08:00
NIK 8f22db4763 clippy fix 2025-06-16 12:01:29 +08:00
NIK fcb764b19d CI updates 2025-06-16 11:58:01 +08:00
NIK 59d96b9372 simplify ci 2025-06-16 11:51:25 +08:00
NIK 0760600e23 moved from main repo and renamed quantus-miner 2025-06-16 11:46:22 +08:00
Nikolaus Heger ae44456ec4 Initial commit 2025-06-16 11:30:15 +08:00