• v1.50.0 24ae49b3a2

    v1.50.0
    All checks were successful
    CI / Rust clippy (push) Successful in 3m48s
    CI / Rust fmt (push) Successful in 1m50s
    CI / Rust test (push) Successful in 19m39s
    CI / UI (SvelteKit) (push) Successful in 1m49s
    CI / Shell scripts (push) Successful in 13s
    CI / Security Audit (push) Successful in 1m26s
    CI / WarpTune Desktop (Windows x86_64) (push) Successful in 13m55s
    docs / build (push) Successful in 1m50s
    Release / Docker Multi-Arch (push) Successful in 52m24s
    Release / Binary aarch64-unknown-linux-gnu (push) Successful in 18m53s
    Release / Binary x86_64-unknown-linux-gnu (push) Successful in 17m59s
    Release / WarpTune Desktop (Windows x86_64) (push) Successful in 11m6s
    Release / Linux .deb + .rpm (amd64) (push) Successful in 2m38s
    Release / Linux .deb + .rpm (arm64) (push) Successful in 2m17s
    Release / Linux AppImage (aarch64) (push) Successful in 26s
    Release / Linux AppImage (x86_64) (push) Successful in 28s
    Release / Cosign sign artifacts (push) Successful in 25s
    Release / Forgejo Release (push) Successful in 42s
    Stable

    dvb-projekt released this 2026-11-22 18:26:54 +00:00 | 98 commits to main since this release

    Added

    • WarpTune: a pause that holds the point (hold, 2026-11-22). Switching a miner from live to dry writes its restore point back, the hand point, which on some boards is the highest one (Naja Duo 600 MHz @ 1120 mV, NerdQAxe++ 800 @ 1250) — not what you want while another tool flashes the miner. The new per-miner hold = true (the page's Pause (hold the point) switch, {"hold": true} on PUT /ui/config/miners/{host}) makes WarpTune write nothing at all to that miner: no point, no restore (not on shutdown either), no heartbeat renewal (the firmware's heartbeat is ended once, as when live goes off), no chip offsets, no fan target, no restart, no Avalon command, no calibration. It keeps reading and journaling, and the card says the miner is paused. hold is a hot key — the toggle does not restart the loop, and it acts at once, also when it is saved together with a key that restarts the loop or followed by "apply all" or a stop: that loop ends without the restore write. Switching it off returns to live or dry as configured without a restore write; a reboot during the hold brings no reboot restore afterwards. check-config lists held miners. Switching live off keeps its behaviour; the page now names the point it writes back, and the journal's restore line carries it.
    • WarpTune: a board without a voltage regulator is regulated by the clock alone (2026-11-22). WarpAxe 0.1.45 and later report hasVr; on hasVr: false (the NerdNOS board, a devkit) coreVoltage is a profile value that a write never changes. WarpTune now writes the clock only on such a board — never coreVoltage (the restore on shutdown included), compares only the clock when it reads a write back, and runs no voltage trial and no calibration there (the card says why, a start or a quick check is refused with no_vr, a journaled calibration is not taken). The start says so in one line in log and journal. A firmware without the field is regulated as before.
    • WarpTune: the Avalon's hash-board supply on the card (2026-11-20). The MM's PS[…] block is read field by field after Canaan's Avalon_mm sources, matched against our Q (PS[0 1208 2305 34 807 2306 854]): the supply's error code, the 12 V auxiliary output, the hash-board rail's voltage (measured and set), current and DC power, and the wall wattage. The card's supply line adds the hash board's watts, voltage and current, and the supply's efficiency (rail against wall: about 94 % on our Q), in eight languages; the snapshot carries the fields for the operator (psu.error, psu.rail_v, psu.rail_set_v, psu.rail_a, psu.rail_w). Read only; nothing on the miner changes, and nothing in the regulation reads them yet.
    • WarpTune: an Avalon that reports a fault is taken back before it stops hashing (2026-11-20). Until now WarpTune reacted to a faulty Avalon Q only once it no longer hashed. It now reads what the miner's controller (the MM) reports about itself in estats — the error bits ECMM, one error word per hash board in ECHU, the power supply's error code PS[0] and the stop reason SoftOFF (names after Canaan's own sources, Avalon_mm and the MIT-licensed Linux SDK) — and retreats through the existing Avalon control and the commands it already uses (workmode, softoff). Debounce: a report counts once it has stood for three reads in a row and for 60 s, and only while the hash board works (STATE[1]), not in standby and not while the board comes up. Eco: a fan, overheating or hash-board error (ECMM bits 3, 5 and 11, any ECHU bit) sets the Eco work mode at once through the regulator's write path and pins the regulator there. The owner's live switch applies; the write breaker does not: a protective write neither asks it nor counts towards it, and with the breaker tripped the Eco write and the standby still go out; the pin lifts 10 minutes after the last such report, and the way back up starts with a settle time. Standby: a power supply error (PS[0] not 0, or ECMM bit 2), or one of the Eco faults still reported 15 minutes after it was confirmed (whether the miner took Eco or not, and through reads on which the board was briefly not at work — but only with the fault seen on a judged read within the last 3 minutes, so a miner that was mended and power-cycled, or sat out a pool outage, must show the fault again first), puts the miner into standby with no wake time programmed: WarpTune never ends this standby, across restarts, schedule windows and the energy mode. A restart of the miner (its uptime drops) counts like a wake: Eco is held and the reports must show again. A miner that restarts itself every few minutes for a fault therefore stays in Eco, each restart beginning the hold anew. Inside a standby of WarpTune's own, SoftOFF counts as a stop by the miner only when its value changes to a fault code: an older value still in the reply does not make that standby the miner's and cost it its wake time. The miner counts as awake again only on the second reply in a row that says so and carries STATE, so one broken reply does not end the standby. Once the owner has woken the miner on the device, Eco is held for 10 minutes and the reports are watched again. A miner that switched itself off (in standby with SoftOFF naming a fault: power, hash board, overheating, fan and so on) is left alone and never woken by WarpTune — also when it stops itself right after a wake from WarpTune's own standby — and a wake time WarpTune programmed earlier is cleared from it — before, a wake time WarpTune had programmed earlier could make it send a wake to such a miner. SoftOFF[4], a stop by command or timer, is no fault; it stays in the reply after the wake. ECMM bit 8 (inlet temperature out of range) is no fault by itself: Canaan's code sets it for a single missing reading, and our Q showed it in the first of seven captures at a 36 °C inlet. Only when it stands for 10 minutes without a break does it bring Eco, and it never ends in a standby. Network and pool bits and every other ECMM bit are noted in the journal and on the card, nothing more. A hash board's error bits count where Canaan's table names them (enumeration, communication, controller, lost); a bit without a name is only noted. Reports are not judged during the warm-up after a wake or boot, when the MM already shows STATE[1] but no hashrate yet. Nothing wakes the miner by accident: a wake time WarpTune programmed earlier and that is still in the miner is cleared before the standby (a wake time WarpTune never set is the owner's and stays; the journal line says the miner may wake itself then); a standby of the schedule that is only on its way gives way to the fault's; a report confirmed before any other standby must show again after the wake before it counts, with Eco held meanwhile. While a fault holds Eco, a quiet window's fan cap is released, and stopping WarpTune writes no restore point — the miner stays in Eco. The hang watchdog does not reboot a miner while it reports a fault. The pool's share watch treats neither kind of fault stop as an intended pause, so miner-no-shares reports it. Every step is in the journal with its reason (new fault lines with the raw words; the standby line reads by: "fault" and is written once the miner shows the standby, not when the command went out; a restart of WarpTune in between finds the command in the journal and keeps a miner found asleep in that standby; a softoff the miner answers but does not take is repeated at growing gaps, an hour at the most), a dry run writes what it would do and sends nothing, and the card shows the fault and what WarpTune does about it in eight languages, with the status badge red while the miner is off for a fault and amber while it is held in Eco. A standby for a fault does not count towards the card's standby hours. Tested against the recorded replies of our Q and a cgminer mock; on the device, the sequence softon,0:0 then softoff,1:<device time> was checked by hand on 2026-11-20 (standby within 20 s, no wake time left).
    • WarpTune: a clock of its own per chip — the search, behind chip_clock (2026-11-12). WarpAxe 0.1.44 takes a clock offset per chip (chipFreqOffsets, whole MHz added to the chain's clock) and reports each chip's clock and error counter; the firmware does not search for the offsets, WarpTune now does, per miner with chip_clock = true (off by default; WarpTune Desktop offers the switch where the firmware has a clock per chip). At the point the regulation holds, the highest clock at which each chip still does its work is searched for in rounds for all chips (2026-11-12): every chip still in the search goes one coarse step of 25 MHz together, in one write, and each is judged on its own in the same window; a chip whose step fails goes back that step and waits while the rest carry on; then the chips that failed go on in 5 MHz steps, again together. A step fails when the chip's error rate is not clearly under its line (BM1370 1.5 %, BM1373 7 %, others 1 %) — a chip that was at or over its line as the search began is judged on the rise against its own rate instead, so a steady rate the clock does not move (NerdOctaxe chip 1: 0.64–0.84 % from 1170 to 1130 mV) is no limit — or when its hashrate is clearly under 92 % of the target of its own clock or has not followed the clock (at least half of a step must show), which shows cores that drop out and chips that make nothing of a faster clock; the hashrate is counted from the firmware's hash counter per chip (hashCount) where the firmware reports one, and a chip that fails a coarse step on the hashrate stays a coarse step back and takes no fine steps. A chip whose counters start over while the others' run on has reset itself on its step: it goes back to the last offset it passed at and ends there, in the last window back by one fine step (the firmware's own count of a chip's restarts, counterRestarts, says which chip; a wrap of the 32-bit hash counter is no reset). When every chip has ended, one more window looks at the whole board at its new clocks, and a chip that does not pass then comes back in fine steps. In every mode, Eco included (2026-11-19), chips are raised: more hashrate at the same voltage, never above the ladder's top, so above the maker's clock only with beyond_spec, and at most 100 MHz above the chain's clock. In Eco a chip clocked up at the same point makes more hashes for little more power (NerdOctaxe: about 17.9 → 17.6 J/TH with eight chips raised 25–75 MHz). A search that began on solar surplus in Max no longer ends when the surplus moves and the mode falls back to Eco: a change of mode ends a search only where the direction or the bounds change (only Max's steps beyond the spec change the bounds). Raises stop 3 % short of the power limit (2026-11-19): the NerdOctaxe, raised to 191.5 W, just under its 192 W supply reserve, drifted over it within the hour, the regulation stepped down, and the whole raise was dropped for six hours. Before every round the budget is checked: chip and voltage regulator temperature, the fan, a known power limit with room left, and the supply's input voltage (not under the level at which the regulation steps up, not fallen by more than 1.5 % since the search began); where the room is short, the chips with the lowest error rate go first, and a search that ended chips for want of room goes on two hours later. An error count varies by chance from window to window, so a verdict needs a margin of 3.5 standard deviations; a step settles for 90 s and is measured for 5 to 10 minutes, and a chip far over its line goes back within a minute. The regulation stays the master: the search runs only on a point that stayed undisturbed for 30 minutes and stops for a calibration, an outage, chips off, a silent chip, a latched domain, a self-test or a reboot; every write of the point carries the offsets that belong to it (a stored result for exactly this point and direction, else none; raised chips only while the result is fresh and there is room; none under a calibration); a search broken off falls back to the highest offsets at which each chip's step passed. That write stays owed until the miner reports the offsets — also after a crash in the middle of a search and after live control was switched off. The search's writes have a count of their own: it writes only while its writes and the regulation's together are under eight of the breaker's twelve an hour, and none of them fills the count the breaker trips on — it can neither trip the breaker nor bring the regulation closer to tripping it. A step that only lowers clocks does not wait for that count. A dry miner writes nothing, and the restore on exit gives back the offsets the miner had (no raise of WarpTune's own from an earlier run). Results are kept per point, journaled as chip_clock with the mode and the electricity price, read back at a start and checked again after a day or a 5 °C change of the chip temperature — a check takes back only a chip that drifted, in fine steps, and writes to no other. The card shows each chip's clock with its offset, what the search does and the chips' error rates, in eight languages. The firmware says per board whether it takes the offsets (chipFreqOffsetsSupported); the BM1370, and the BM1373 from the build that writes a single chip at its own address. The search runs only where the firmware reports the chips in parallel on the core voltage (voltageDomains = 1 in /api/system/info): on a board with chips in series (Naja Duo) a chip's clock moves the voltage of the others, and this search judges each chip on its own. There (a board with one chip per voltage domain is balanced instead, see the entry above), and where the firmware does not report the field, nothing is searched, the offsets on the miner are left alone (no write of the point carries any) and the card says why; a board that was searched on and later reads as in series, or no longer reports the field, gets WarpTune's own raises taken back and nothing else changed. On a firmware without the fields, or with the switch off, nothing changes — no write, and a write of the point is the same request as before. Not in this stage: lowering the voltage in Eco once the weak chips run slower (the estimated 4 % J/TH on the NerdOctaxe) — it needs the latch floors and the calibration's curve and follows the first device runs. Run on our NerdOctaxe (8 × BM1370, WarpAxe 0.1.44 and later) since 2026-11-13: offsets [25, 50, 25, 75, 25, 25, 50, 75] MHz at 625 MHz / 1170 mV, about 17.9 → 17.6 J/TH. See scripts/warptune-setup.md, "A clock of its own per chip".
    • WarpTune: a board with its chips in series is balanced (Bitaxe Naja Duo; 2026-11-19). Chips in series share one current: a chip that is slowed takes a larger share of the voltage, and the other is left with less (Naja Duo at 550 MHz / 1080 mV, 2026-11-17: the second chip at 2.32 % errors, at 0.21 % with 15 MHz less, the first unmoved). Where the firmware reports one chip per voltage domain and the spread it allows between the chips' clocks (voltageDomains equal to the number of chips, chipFreqOffsetSpread; WarpAxe ≥ 0.1.44), chip_clock = true no longer keeps its hands off: the one chip clearly over its error line is slowed in 5 MHz steps, one write a step, inside the firmware's spread, and no chip is raised above the chain's clock. Every step is judged on every chip; it stands only while the other chip stays clearly under its line and reaches its hashrate, and the search ends at the least slowing that brings the chip clearly under its line. A step the other chip pays for, or a chip that resets itself, takes the board back to the offsets of the step before; slowing that does not lower the chip's error rate, or a spread used up, takes the chip back to the clock it had. Every step waits for the hourly write count; only the way back goes out at once. A chip slower than the one over its line gets its clock back first, up to the chain's clock at the most and only while the board has room for a raise; if the room goes while such a step waits for the write count, the step is not written and the board is measured again. A search takes five steps at the most, six writes with the way back; if the chip is still over its line after the fifth step, the board goes back to where the slowing began, and the daily check carries on from there. If the firmware refuses the way back, the failed step is not kept as a result: the search is broken off and the offsets the board was measured at stay owed until the miner reports them. After a chip has reset itself on a step, or has reset itself three times in one search at offsets the search had not moved, no search runs on that miner for six hours. Boards with several chips per voltage domain (Gamma Hex, NerdQAxe++ Rev 7) are left alone as before. The calibration still measures without offsets and judges the board as one.
    • Pool: one port for Stratum V1, V1 over TLS and Stratum V2 ([stratum] single_port, off by default; 2026-11-11). With the switch on, the plain Stratum port ([server] pool_listen, 3333) takes all three protocols, so a miner needs one port number whatever it speaks. All three are client-first: the daemon looks at a connection's first bytes without taking them off the socket (peek) — { and then ", with whitespace allowed before and between them, is Stratum V1; 0x16 0x03 is a TLS handshake; an HTTP request, an SSH banner or a PROXY header (text or binary) from an untrusted source is no miner and dropped; anything else is Stratum V2, whose Noise handshake opens with 64 bytes of a key — and hands the untouched connection to the server that speaks the protocol. From there it runs the code of the protocol's own port: sessions, VarDiff, the Workers page and the V1 / TLS / V2 counters, the miner gate, the connect rate limit and the bans are the same, each applied once; V1 and TLS share the V1 connection cap and the per-IP cap, V2 keeps sv2_max_connections for both of its doors. TLS and V2 are served on the single port where they are configured (stratum_tls_listen with certificate and key, sv2_listen with the authority key); the TLS and the V2 port keep listening as before. A PROXY-protocol header (v1 or v2, from a trusted source) is read before the classification, and the real client address goes to the server that takes the connection. A connection that sends nothing is closed after ten seconds (the V1 port alone waits 60 for a first line) and holds no session slot meanwhile: connections not classified yet have a cap of their own (1024, one address at most 16 of them — here an IPv6 client is counted by its /64 network and an IPv4-mapped IPv6 address as its IPv4 address; loopback is exempt; max_connections_per_ip still counts exact addresses), the per-IP cap counts them from the accept on, and a shutdown drops them with the listener. A V2 key that happens to start like a V1 line (about one connection in 63 500) or like a TLS record (one in 65 536) lands in the wrong server and stalls there until the miner's handshake timeout; the miner then connects again with a fresh key. With the switch off the plain port is what it was. Backend only in this stage: no UI change, the Umbrel package and its ports are untouched. See the Configuration Reference, "Single port".

    Fixed

    • WarpTune: voltage_offset_mv reaches the calibrated points too (2026-11-22). The per-miner voltage offset shifted every ladder step but not a point taken from the calibration: on 2026-11-16 a Naja Duo's ladder had 550 MHz at 1100 mV with +20, and 1080 was written from the calibration. The offset now applies to every point WarpTune writes; the ladder's ceiling, the hand voltage, a trial window's top, a latch floor and the power limits still hold after it. The journal and the card keep the measured calibration; a raise in operation works on the written voltage, and a quick check or re-check starts from the measured calibration, so the offset never ends up in its result. check-config shows what the offset makes of the journal's calibrated points.
    • WarpTune and the pool: an Avalon sensor without a reading is no temperature (2026-11-20). Canaan's MM writes −273 °C for a sensor that has no reading (Avalon_mm sources; TMax, TAvg, ITemp, TarT and each chip in PVT_T). WarpTune took the value as it came: the regulation was safe (it reads no temperature at or under 0 °C), but the journal, the device list and the per-chip view were not — one such chip pulled the board's mean down, made the band wide enough to hide a hot chip, and showed −273 °C. Such a value now reads as no reading everywhere: the chip stays out of the board's figures, is never flagged for its temperature, shows "–" and no colour in the temperature view, and the journal writes null for it (older lines keep their number). The pool's own Avalon telemetry skips the marker too and falls back to the next temperature.
    • WarpTune: its per-chip clock offsets now say they come from WarpTune (2026-11-19). Every write of the chips' clock offsets now carries chipFreqOffsetsBy: "warptune". Without it, WarpAxe 0.1.47 would count such a write as one made over the API: its dashboard would show the offsets as set "over the API" instead of "by WarpTune", and each write (at most one every 10 minutes) would add an event to the firmware's ring of the last 32, pushing boots and crashes out of it after about 5 hours. Older firmware ignores the key.
    • WarpTune: a short firmware detour no longer wipes a miner's measured power draw (2026-11-19). A board that was flashed to another firmware for a test and then put back on its own lost every point window WarpTune had measured on it, because each firmware change cut the history. Without the hand point's measured draw, the board-limit check fell back to scaling the Eco point's reading by f·V²: on the Naja Duo, 114 W at 600 MHz @ 1120 mV instead of the measured 99.5 W, which put it over its 105 W limit, so the card warned and a restore would have been held back by one step. A return within 24 hours to the firmware the board left now brings back the windows from before the detour; the windows measured on the foreign firmware are dropped, and so are samples taken after a reboot or probe error just before the cut. A different board (a different identity, or a different chip outside a detour) still drops everything, and the voltage verdicts and core currents are still cut on every firmware change, as before. At the hand point, the board-limit check now prefers the hand point's measured draw over any scaled reading.
    • Pool: an IPv4 client on a dual-stack listener is shown as IPv4 (2026-11-17). A listener on [::] reports IPv4 clients as IPv4-mapped IPv6 (::ffff:a.b.c.d), and so may a PROXY header from a dual-stack balancer. The peer address is now made canonical right after accept() on every path — V1, TLS, the single port, Stratum V2 (own port and handed in) and the translator — and a PROXY header's source when it is read, so logs, the Workers page, the connection and share sinks, the bans and the PROXY trust check see a.b.c.d. The HTTP API does the same for its audit-log peer and for the API rate limit's LAN exemption. Listen defaults are unchanged (:PORT still means 0.0.0.0).

    Security

    • Dependencies: url 2.5.9 (RUSTSEC-2026-0592, 2026-11-22). Url::origin() recursed once per nested blob: prefix and could overflow a thread's stack on a crafted URL. WarpPool parses only URLs from its own config and fixed endpoints, but the lockfile now pins the fixed release.
    • Setup wizard: every route passes one access guard (2026-11-15). The first-run wizard (dvb-warppool-setup) answered any request that reached its port, so a page in the browser could reach it by DNS rebinding, and on a Docker bind anyone in the LAN could read or write the pool's config before the first save. Now, on a loopback bind the Host header must be a loopback name; on a non-loopback bind (Docker) the wizard prints a one-time token on start and keeps it in an HttpOnly, SameSite=Strict cookie; a non-GET request with a foreign Origin is refused in every mode (matched against Host, or X-Forwarded-Host behind a proxy that rewrites Host). The Umbrel package starts the wizard with --behind-auth-proxy, since only app_proxy with the Umbrel login reaches its port. Secrets and AuthSecrets redact their values in Debug output.
    • Pool: the per-client abuse limits count an IPv6 client by its /64 (2026-11-17). Every per-client limit keyed on the exact peer address, but an IPv6 line is normally given a whole /64 whose lower 64 bits its holder picks freely — so one client could walk past the connect and auth rate limits, the connect auto-ban, the reject-ratio ban, a manual ban and max_connections_per_ip by changing its address. All of them now count a global IPv6 client by its /64 (shared code with the single port's share of the unclassified places, which already did so), on the V1, TLS, Stratum V2 and single-port paths alike, which share the one limiter. An IPv4-mapped address (::ffff:a.b.c.d, from a dual-stack socket) is the same client as that IPv4 address — before, a mapped private LAN address was even bannable. Unique-local (fc00::/7) and link-local (fe80::/10) addresses were bannable like any public IPv6; they are the LAN now, like private IPv4: counted per address and never auto-banned. A manual ban of an IPv6 address bans its /64 and is still listed and unbanned as entered. The operator's CIDR gate and the PROXY-protocol ban exemption keep matching the real address (an exempt balancer is not held by a ban its /64 neighbours earned). Ban and cap log lines show the key (banned = 2001:db8:1:2::/64, counted_as = …). Needed before the public pool publishes an AAAA record; on IPv4 nothing changes.

    dvb-WarpPool v1.50.0 — Downloads

    Docker

    git.warppool.org/dvb-projekt/dvb-warppool:v1.50.0 (multi-arch amd64+arm64, ohne v-Präfix)

    Native packages

    • Linux .deb: amd64 + arm64 → apt install ./dvb-warppool_*.deb
    • Linux .rpm: amd64 + arm64 → dnf install ./dvb-warppool-*.rpm
    • Linux AppImage: x86_64 + aarch64 portable
    • Linux tarballs: x86_64 + aarch64 for manual installs
    • WarpTune only: dvb-warppool-tune-<tag>-<target>.tar.gz (Linux x86_64 + aarch64; macOS added with the .dmg) for running the tuner next to a pool on Umbrel or Docker — see the README inside
    • macOS .dmg: added shortly after publish (built separately) — or build from source
    • Windows .msi (the pool): paused since the forge migration (no Windows runner yet)

    WarpTune Desktop (the regulator with its own page, no pool needed)

    • macOS: WarpTune-Desktop-<tag>-{aarch64,x86_64}.dmg — added shortly after publish, with the .dmg above
    • Linux: dvb-warptune_*.deb (amd64 + arm64) or WarpTune-Desktop-<tag>-{x86_64,aarch64}.AppImage
    • Windows: WarpTune-Desktop-<tag>-x86_64-setup.exe (per-user installer, no admin) or the portable …-x86_64-windows.zip; runs on Windows-on-ARM through emulation
    • Not signed with a paid certificate: macOS Gatekeeper and Windows SmartScreen ask once — see the "open anyway" guide in scripts/warptune-setup.md; verify the download with SHA256SUMS + cosign below (the macOS .dmg lines are added when those assets are, with a re-signed SHA256SUMS)

    Signatures

    • SHA256SUMS + cosign bundle (SHA256SUMS.bundle, project key)
    • SBOM (SPDX) for all dependencies

    Verify (project public key cosign.pub in the repo root):

    cosign verify-blob \
      --key cosign.pub \
      --bundle SHA256SUMS.bundle \
      SHA256SUMS
    sha256sum --check SHA256SUMS
    

    First-time setup: run dvb-warppool-setup for the first-run wizard.

    Downloads