How darmenz2/dizzass works
dizzass is a cgminer-based Bitcoin mining project: its stated production direction is to retain the upstream miner and restore hardware support incrementally, rather than run a second mining core. The main workflow is pool work entering the miner, being distributed to a configured device driver, and results returning through the mining protocol. The README documents API and hardware-driver capabilities, but says T21 support, hardware startup, protections, and autotuning are incomplete. Recovery modules are separate from the normal production runtime; their internal connections are shown only where the supplied source index or excerpts support them.
Main entry points: cgminer.c cgminer runtime · frontend/cgminer.c Recovery frontend · work-gen.c Work generation · driver-avalon.c Device drivers
Components 18
Mining core
- cgminer runtime
cgminer.c - Work handling
miner.h
Hardware support
- Device drivers
driver-avalon.c - Dragonmint SPI
driver-SPI-dragonmint-t1.c - T1 protocol
dragonmint_t1.c - Backend services
src/backend/base.c - Work generation
src/backend/work-gen/work-gen.c - RX worker
src/backend/work-gen/work-rx-worker.c - TX worker
src/backend/work-gen/work-tx-worker.c
Recovery work
- Recovery frontend
src/frontend/cgminer.c - Nonce preparation
include/xminer/recovery/work_nonce.h - Work rebuilding
include/xminer/recovery/work_rebuild.h - Work storage
include/xminer/recovery/work_storage.h - Rebuild adapter
reconstruction/support/work_rebuild_pipeline.c - Storage adapter
reconstruction/support/work_storage_pipeline.c
Interfaces
- Mining API
api.c
Other components
- Mining pool
- Operator
Connections 16
- Mining pool → cgminer runtime: provides work
README - cgminer runtime → Mining pool: exchanges work
README - cgminer runtime → Work handling: uses core
README - cgminer runtime → Device drivers: dispatches mining
- Device drivers → Dragonmint SPI: includes device driver
- Dragonmint SPI → T1 protocol: uses protocol
driver-SPI-dragonmint-t1.c - Backend services → Work generation: coordinates work
- Work generation → RX worker: uses RX worker
src/backend/work-gen/work-rx-worker.c - Work generation → TX worker: uses TX worker
src/backend/work-gen/work-tx-worker.c - Operator → Mining API: queries miner
README - Mining API → cgminer runtime: exposes status
- Recovery frontend → Nonce preparation: uses recovery API
src/frontend/cgminer.c - Recovery frontend → Work rebuilding: uses recovery API
src/frontend/cgminer.c - Recovery frontend → Work storage: uses recovery API
src/frontend/cgminer.c - Rebuild adapter → Work rebuilding: calls rebuild
reconstruction/support/work_rebuild_pipeline.c - Storage adapter → Work storage: calls clone API
reconstruction/support/work_storage_pipeline.c