HASHHEAD
XenBlocks miner

TreeMiner

Outage-proof mining for XenBlocks on the X1 blockchain

HashHead ships TreeMiner for XenBlocks GPU mining and x1.ninja, the premier DEX screener for X1. Journal every XNM and XUNI find locally, keep hashing through server outages, then screen XDEX from the same desk.

T

HASHHEAD // TREEMINER

LOCAL_OPS::42069

NETWORK ONLINE

[01] :: ACTIVE_RIG

TREEMINER

0xe4bB…BC9bC · session live · http://192.168.1.50:42069

Combined throughput

177.00kH/s

GPU 177.00 kH/s // CPU 0.00 kH/s

THROUGHPUT // LAST 10 MIN // FIND173.46 — 180.54 kH/s

DIFFICULTY

1,100

network target

XNM FINDS

5,911

this session

XUNI FINDS

9,728

this session

Q_XNM

0

secured locally

Q_XUNI

355

secured locally

UPTIME

5d 6h

current process

[02] :: ENGINE — CUDA STREAM TELEMETRY

DEVICESTREAMMEMORYHASHRATEWORK
#0 NVIDIA GeForce RTX 3060198.1%88.54 kH/slive
#1 NVIDIA GeForce RTX 3060198.1%88.47 kH/slive

DELIVERY CHANNEL

NetworkONLINE
Last submissionACCEPTED
Secured queue355 finds
CPU sidecar0 workers
CUDA streams2

[01] :: TREEMINER

Open-source XenBlocks miner — journal first, submit second.

tree_miner

GPU mining that survives XenBlocks outages

The XenBlocks central server goes down several times a day. Typical miners keep found blocks in RAM and drop them after a few failed retries — every outage permanently loses real finds.

Mine XenBlocks on the X1 blockchain

TreeMiner is a CUDA XenBlocks miner that journals every XNM and XUNI find to disk before the first network attempt. When the central server drops, hashing continues and queued finds drain automatically when the uplink returns. Built for operators who mine Xenium (XNM) and XUNI on XenBlocks / X1 and need the local dashboard, CUDA stream telemetry, and a durable ledger — not a RAM queue.

Linux / WSL2 build

Requires CUDA 12.x, CMake ≥ 3.18, Ninja, and vcpkg. Local console binds to http://127.0.0.1:42069 by default.

  1. 01 :: Clone

    git clone https://github.com/TreeCityWes/tree_miner.git && cd tree_miner
  2. 02 :: Configure

    cmake -S treeminer -B build -G Ninja \
      -DCMAKE_TOOLCHAIN_FILE=$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake
  3. 03 :: Build

    cmake --build build -j && ctest --test-dir build
  4. 04 :: Mine

    ./build/bin/xenblocksMiner --execute --minerAddr 0xYourAddress --totalDevFee 0
[JOURNAL]

Journal-first finds

Every GPU find is fsync'd to a SQLite WAL journal before the first submit. Crashes, restarts, and outages cannot silently drop XNM or XUNI blocks.

[UPLINK]

Circuit breaker drain

A dead XenBlocks server does not stall hashing. TreeMiner backs off, probes, then drains the secured queue at an adaptive rate when the network returns.

[CONFIRM]

Confirmed accepts

A 200 from the reference server is not enough. TreeMiner re-checks GET /get_block so lying-200 responses never count as a real accept.

[XUNI]

XNM + XUNI recovery

Difficulty-parked XEN11 finds resubmit when the target allows. XUNI finds retry across later :55–:05 windows instead of being discarded.

[CUDA]

CUDA streams + CPU sidecar

GPU work uses independent CUDA streams with a fixed VRAM budget. Optional CPU workers hash on the same journal path and report separately.

[OPS]

Local operator consoles

A self-contained web dashboard and terminal UI on :42069 stay live while the upstream mining server is down — throughput, queues, and GPU telemetry at a glance.

[03] :: ABOUT

whoami

W

TreeCityWes

miner // screener // hashhead

> Builder behind HashHead.io — focused on XenBlocks mining and X1 blockchain tooling.

> Last six months: TreeMiner (outage-proof GPU miner) and x1.ninja (premier DEX screener for X1).

> Open-source operator tools for XNM/XUNI mining, XDEX analytics, token launch, and community agents.

[04] :: OPEN_SOURCE

TreeMiner first, then the rest of the HashHead labs

[06] :: XENBLOCKS_EXPLORER

search the XenBlocks leaderboard while TreeMiner is hashing

[XENBLOCKS]
$

> ready. awaiting query...