Why journal-first
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.
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. XUNI finds retry across later :55–:05 windows. Difficulty-parked XEN11 finds resubmit when the network target allows. Nothing sits only in RAM.