Files
oib c8be9d7414 feat: add marketplace metrics, privacy features, and service registry endpoints
- Add Prometheus metrics for marketplace API throughput and error rates with new dashboard panels
- Implement confidential transaction models with encryption support and access control
- Add key management system with registration, rotation, and audit logging
- Create services and registry routers for service discovery and management
- Integrate ZK proof generation for privacy-preserving receipts
- Add metrics instru
2025-12-22 10:33:23 +01:00
..

Miner Node

Purpose & Scope

Worker daemon responsible for executing compute jobs on CPU/GPU hardware, reporting telemetry, and submitting proofs back to the coordinator. See docs/bootstrap/miner_node.md for the detailed implementation roadmap.

Development Setup

  • Create a Python virtual environment under apps/miner-node/.venv.
  • Install dependencies (FastAPI optional for health endpoint, httpx, pydantic, psutil).
  • Implement the package structure described in the bootstrap guide.

Production Deployment (systemd)

  1. Copy the project to /opt/aitbc/apps/miner-node/ on the target host.
  2. Create a virtual environment and install dependencies as needed.
  3. Populate .env with coordinator URL/API token settings.
  4. Run the installer script from repo root:
    sudo scripts/ops/install_miner_systemd.sh
    
    This installs configs/systemd/aitbc-miner.service, reloads systemd, and enables the service.
  5. Check status/logs:
    sudo systemctl status aitbc-miner
    journalctl -u aitbc-miner -f