Repository navigation
Releases
BDLMiner 2.6.4
BDLMiner V2 2.6.4
Private monitoring: Supabase migration
- Anonymous public hashrate statistics were migrated to Supabase in v2.6.3. This release completes the cutover by moving private My miners telemetry to Supabase as well.
- Optional My miners reports now go directly to a separate Supabase Edge Function. Address-based read access and 64-character private keys keep their existing behaviour; the raw address/key is never stored in the new tables.
- Public aggregate reports and private per-device telemetry are stored separately. Private names, pseudonymous device IDs and detailed readings never enter the public aggregate.
- The former SQLite/Caddy statistics host and Cloudflare compatibility relay are not required. Firmware 2.6.3 already sends public statistics to Supabase but still uses the retired private endpoint; firmware older than 2.6.3 still uses the retired public endpoint. Update to 2.6.4 for both; no compatibility proxy is provided.
- The anonymous public report remains minimal: firmware version, board, hashrate, interval, coin and optionally public pool group/model. It does not include a payout address, worker, private pool hostname or device identifier.
Updating
Use the signed GitHub updater or install the matching <board>-firmware.bin from the device's local dashboard to preserve settings and statistics. <board>-factory.bin is intended for USB factory installation and can erase configuration.
Validation and known limitations
- The Supabase public collector returned HTTP 200 for health/summary and HTTP 204 for valid anonymous reports.
- The private Supabase endpoint was tested for key-based and address-based reporting, snapshot reads, history reads, key revocation and revoked-key rejection. Test telemetry was deleted after validation.
- CI must validate the final firmware and website commits, signed images and release workflow before publication. A successful backend test does not replace a physical device test.
- A real M5StickC Plus2 in the initial field test reported approximately 480–505 kH/s after formerly showing around 1 MH/s. Root cause has not yet been confirmed. Verify
/api/statsfieldspower_percent,limitation_reason,throttle,temp_candenginesbefore concluding there is a hashing-engine regression. This release does not claim to fix or improve hashrate. - Private history from the retired SQLite host is not imported. New private history begins when a miner first reports to Supabase.
Release artifacts
Before publishing the signed release, verify the final GitHub Actions results, firmware signatures and SHA-256 checksums, physical hashrate/thermal telemetry, and the published website's live statistics and private viewer.
What's Changed
Full Changelog: v2.6.3...v2.6.4
BDLMinerV2-rust-v2.6.1-beta.1
BDLMiner V2 in Rust, 2.6.1 beta 1
A first beta of the Rust rewrite of the firmware (firmware-rs/), for
testing. It is a separate prerelease: the C++ firmware stays the released
one, and its installer and updates never offer these images.
The miner, the pool sessions, the dashboard and the setup portal, the hardware
SHA engine with its assembly kernels, the screens, and the Bitaxe Gamma 601
and NerdNOS ASIC drivers are written in Rust. The M5Stack image keeps M5GFX
for its board detection and panel drivers; everything it shows is drawn in
Rust.
Images
One image per board, to flash at 0x0 over USB (bootloader, partition table
and application), for example with https://espressif.github.io/esptool-js/ or
espflash write-bin 0x0 BDLMiner-rust-2.6.1-beta.1-<board>.bin
SHA256SUMS.txt lists their checksums.
| Image | Board |
|---|---|
m5stickc-plus2 |
M5StickC Plus2 |
m5stack-esp32, m5stack-s3 |
M5Stack devices (Core/Basic/Gray/Fire, Core2, Tough; CoreS3, AtomS3...) |
lilygo-t-display, lilygo-t-display-s3 |
LilyGO T-Display and T-Display-S3 |
esp32-2432s028r |
ESP32-2432S028R (CYD) |
bitaxe-gamma-601 |
Bitaxe Gamma 601 (BM1370) |
nerdnos |
NerdNOS (BM1397) |
esp32, esp32s3, esp32s2, esp32c3 |
Development boards without a screen |
The settings keep the C++ firmware's format and place: flashing a Rust image
keeps the configuration, and going back to the C++ firmware keeps it too.
Same features as the C++ firmware
Firmware updates (upload from the dashboard, signed GitHub releases, trial
and automatic rollback), market data (price, fees, retarget, recent blocks),
the pool's statistics, block confirmation checks, remote monitoring ("My
miners"), the anonymous public statistics, MQTT/Home Assistant, the daily
summary, crash reports, mDNS (http://<name>.local/), the live dashboard and
the beeper.
Updates
The next Rust betas install from the dashboard (GitHub update, or upload of
<board>-rust-firmware.bin from the release). A new firmware starts on
trial: it is kept after a few minutes connected to the pool and mining, else
the previous one comes back by itself. The C++ firmware's updates never
offer these images, and the Rust firmware only installs Rust releases: to
go back to the C++ firmware, flash it over USB.
The 4 MB boards with a screen (m5stack-esp32, lilygo-t-display,
esp32-2432s028r) have room for one firmware only: they update over USB.
The 4 MB boards without a screen use a new partition table with two
firmware slots; flashing the full image at 0x0 keeps their settings.
Testing
Built by the workflow for every board; the portable code (mining, pools,
settings, dashboard, screen layout) is tested on a PC. On hardware, only the
M5StickC Plus2 ran an earlier build. Check the boot log for
hardware SHA: self-test OK and, on the Bitaxe Gamma 601, for
regulator and sensors configured. Report problems with the boot log, read
with a serial monitor that leaves DTR and RTS inactive (the M5StickC Plus2
turns off otherwise), e.g.
python -m serial.tools.miniterm --dtr 0 --rts 0 /dev/ttyACM0 115200
BDLMiner 2.6.1
BDLMiner V2 2.6.1
Recognise 16 more public pools in the anonymous statistics. A miner using one
of these pools now reports its fixed public group instead of Other / private
pool, when anonymous hashrate and pool sharing are enabled:
- BDL Pool, SoloPool.org, KanoPool and AtlasPool;
- Solomining.de, Satoshi Radio, Noderunners and D-Central;
- Mining-Dutch, Luxor, NiceHash and SECPOOL;
- SpiderPool, HMPool, Molepool and Peermining.
The statistics page provides the matching names and official links. The
collector was updated first and its deployed API has accepted all 16 groups.
Existing saved sharing choices are retained. The configured pool hostname,
port, payout address and worker are never added to the anonymous report.
Updating and validation
Use the signed GitHub updater or the matching <board>-firmware.bin through
the local dashboard. Factory images are for USB installation. Existing
settings are kept.
The firmware's sharing regressions cover all 16 groups, public subdomains and
lookalike/private hosts. The deployed collector was checked with isolated
private test readings, which were erased afterward, without adding simulated
miners to the public statistics. The release workflow runs the native and
browser suites, builds all 12 board profiles, validates the images and signs
the firmware centrally. This change has not been tested on a physical miner.
What's Changed
- Recognise 16 more public pools in the anonymous statistics by @bdlglua in #46
- chore(release): prepare v2.6.1 public pool statistics by @bdlglua in #47
Full Changelog: v2.6.0...v2.6.1
BDLMiner 2.6.0
BDLMiner V2 2.6.0
A security release, from a review of the firmware, the dashboard and the site. It
changes how a miner accepts updates, who may read or change it from a web page, and
the password of its setup network. Settings and statistics are kept.
What changes for you
- The setup network of a configured miner has its own password.
MineYourCoins
remains the password of a miner that has no payout address yet. Once it has one, the
miner opens its setup network (BDLMinerV2-XXXX) with a random password of its own,
so that nobody nearby can reconfigure it while your WiFi is down. Read it on the
miner's screen and QR code when the portal opens, on the USB serial console, or
beforehand in the dashboard under Settings › Network (below Fallback WiFi 1):
on a board without a screen, note it there after updating. Erasing everything
bringsMineYourCoinsback. - The portal no longer shows the web password. Leave the field empty to keep the
current one, type a new one to replace it; the dashboard's settings remove it. - A NerdNOS whose temperature sensor does not read no longer mines. See below.
Updates
- A signed update must be this board's firmware, at the announced version. The
release signature covers one firmware file, not the answer that announces it, and
that answer's connection may be unverified. A signed image of another board, or of
an older version, was therefore accepted. The updater now also requires the board
and version every release image carries, and refuses the file otherwise.
Dashboard
- Changes only from the miner's own pages, harder to get around. The miner is
opened by its IP address, a local name (bdlminer-xxxx.local,.lan,.home…) or
the name your router gives it (bdlminer-xxxx.fritz.box). After three requests
under a name that is not the miner's, that last form is refused for an hour: a web
page trying names to reach the miner can no longer find the right one. Open the
miner by its IP address or.localname meanwhile. /api/statsno longer names you to other sites. Pages of your local network
(the other miners' dashboards) read everything as before. A page of any other site
gets the readings without the payout address, the WiFi name, the IP address, the
other miners, the MQTT broker and the crash report. A dashboard opened under a name
that is neither local nor the miner's own shows the same reduced view.
Mining
- NerdNOS: a corrupted answer of the ASIC could read past the job table. The
BM1397's answers are not protected by a checksum; a job number damaged on the serial
line pointed outside the driver's 32 jobs. Such answers are now dropped. - NerdNOS: no temperature, no mining. The 80 °C hard stop needs a reading. With an
open or shorted sensor and the temperature limit at 0, nothing stopped the ASIC.
Without a valid reading for 10 s it is now stopped whatever the setting, and starts
again by itself once the sensor reads. Until now such a board mined at 25 % with a
limit set. - Bitaxe Gamma 601: a failed start is tried again. A start that failed with no
safety limit involved (the chip not answering, a serial write refused) stopped mining
until a restart at the first failure. It now gets the three automatic restarts an
hour that a chip going silent while mining already had; a fourth failure stops it as
before. Temperature, fan, supply and regulator faults still stop it at once. - Clock. When NTP does not answer, the clock comes from the pool's job time. A
time older than the firmware's own build is no longer used: it would make an expired
certificate look valid.
Site and tools
- The flash page's USB installer (ESP Web Tools 10.4.0) and the chat's QR code library
are served by the site itself instead of a CDN: no page loads a script from another
site. - Fleet counts on the statistics page are written as numbers only; the fleet hub no
longer fails on a non-ASCII token.
Updating and validation
Use the signed GitHub updater or the matching <board>-firmware.bin through the local
dashboard. Factory images are for USB installation. Miners on 2.5.9 or earlier install
this version with their current updater; the new checks apply from this version on.
The native suite (with new regressions for each change above), 124 browser
regressions, the site and hub tests and the builds of all 12 board profiles pass. The
release pipeline tests, builds, validates the images and signs the firmware centrally.
None of these changes was run on a board before this release: the update check,
the setup network's password, the NerdNOS sensor stop and the Gamma restart are
verified by tests only. On a NerdNOS, check that the ASIC starts (the sensor must read
within 10 s of the start); on a Gamma, that it starts as before.
What's Changed
- Security review fixes: signed updates, dashboard host check, WiFi portal, self-hosted USB installer by @bdlglua in #42
- fix(nerdnos): ignore BM1397 results whose job id names no slot by @bdlglua in #43
- Bound the pool clock fallback, stop NerdNOS without a temperature reading, retry a failed Gamma start by @bdlglua in #44
- chore(release): prepare v2.6.0 security review by @bdlglua in #45
Full Changelog: v2.5.9...v2.6.0
BDLMiner 2.5.9
BDLMiner V2 2.5.9
Correct the Bitaxe Gamma 601 fault diagnosis when the voltage regulator has
already shut down its output.
- A latched regulator output-overcurrent fault (
IOUT_OC) now reports
Regulator output overcurrent; restart required. Previously, the resulting
near-zero core voltage could mask it behindASIC voltage fault. - Regulator fault status is checked before the core-voltage window. A low core
voltage without a regulator fault still reports the ASIC voltage fault.
Raw regulator status and measured values remain in the saved fault record. - The dashboard translates overcurrent, regulator and ASIC-voltage faults into
French.
This changes fault attribution, not electrical or cooling settings. Frequency,
voltage, fan control, fault thresholds, power shutdown and operator restart
requirements remain in force. The update does not repair or bypass the cause
of a regulator overcurrent or overheating event. Existing settings are retained.
Updating and validation
Use the signed GitHub updater or the matching bitaxe-gamma-601-firmware.bin
through the local dashboard. Factory images are for USB installation. Other
board profiles are included as usual.
Native regressions reproduce regulator status 0x4851 with core voltage
0.027 V and verify the diagnosis, reset, power shutdown, full fan and saved
fault. The native suite, 122 browser regressions and local Gamma cross-build
pass. The release pipeline tests, builds all 12 board profiles, validates images
and signs the firmware centrally. This release makes no new physical cooling
or electrical stability claim.
Full Changelog: v2.5.8...v2.5.9
BDLMiner 2.5.8
BDLMiner V2 2.5.8
Fix a false Bitaxe Gamma 601 overtemperature fault while the ASIC is powered
off, including during a normal thermal pause.
- The external ASIC diode is used only after core power and diode routing are
initialized. While the ASIC is off, the board sensor supplies the cooldown
temperature. A floating diode value such as 106 C no longer blocks startup
or turns a thermal pause into a restart-required fault. - Full fan cooling during startup and pauses remains active. The running ASIC's
temperature, regulator, supply, current and stopped-fan interlocks remain
active.
Temperature and fan settings
With the default 65 C thermal limit, reaching that temperature pauses mining.
The ASIC stays off for at least two minutes and may resume only once the
temperature is at most 60 C. During the pause the board sensor is used because
the ASIC diode is unpowered. The fan stays at 100 percent.
During mining, temperature safety forces 100 percent fan at ASIC 60 C or
regulator 80 C, including in manual mode. A lower configured thermal limit
makes it intervene earlier. The requested manual speed remains saved. The
independent hard stops at ASIC 75 C and regulator 105 C remain active.
This fix addresses a false reading while stopped; it does not reduce measured
heat under load. If thermal pauses recur, check the cooling and the saved
frequency/voltage profile. Stock Gamma settings are 525 MHz, 1150 mV and manual
fan 100 percent. Higher frequency or voltage increases heat and power. Existing
settings are retained; the update does not silently reset an overclock.
Updating and validation
Use the signed GitHub updater, or upload the matching
bitaxe-gamma-601-firmware.bin through the Gamma's local dashboard. Factory
images are for USB installation. Other board profiles are included as usual.
The Gamma driver regressions cover false off-state readings, full cooling,
the 65 C pause, reset and regulator shutdown, the minimum cooldown hold and
restart, real ASIC/regulator overtemperature, and fan failures. Native, browser
and tooling checks and a local Gamma cross-build pass. The release pipeline
builds all 12 board profiles, validates the images and signs them centrally.
The cooling sequence is tested with simulated I2C; no new physical cooling
measurement is claimed for this release.
What's Changed
Full Changelog: v2.5.7...v2.5.8
BDLMiner 2.5.7
BDLMiner V2 2.5.7
Public statistics and optional personal monitoring now send directly to the
BDL server at https://api.bdl-pool.com:36018, replacing the Cloudflare Worker
address embedded in older firmware.
- Anonymous hashrate reports and the opt-in personal reports keep their existing
five-minute schedule and data formats. Saved sharing preferences still apply. - HTTPS uses the API hostname for certificate verification and the relay's
explicit port, 36018, for the connection. Neither report path falls back to
unverified TLS. - The remote-dashboard link opens
miner.bdl-pool.com/remote.html. The public
website and its private viewer read the same server directly.
Updating
Use the miner's signed GitHub updater, or upload its matching
<board>-firmware.bin from this release through its local dashboard. Existing
settings are retained. A factory image is for USB installation and should not
be uploaded as an OTA update.
This update removes the statistics Worker's request allowance from firmware
reporting. Server capacity and relay availability still apply. Older firmware
continues through the compatibility Worker until updated. The public chart
history was imported; personal history on the new server starts with the
reports received there.
Validation
Host regressions cover verified HTTPS on port 443 and explicit port 36018,
report scheduling, opt-in settings and the isolation of personal readings.
Browser checks cover public statistics, remote monitoring and the updated
dashboard link. The release pipeline builds all 12 board profiles, checks image
versions and hashes, and signs the firmware centrally before publication.
What's Changed
- Prepare stable release v2.5.6 by @bdlglua in #38
- Retry transient GitHub release asset failures by @bdlglua in #39
- feat(gitignore): add optional gitignore for build artifacts and IDE s… by @bdlglua in #40
Full Changelog: v2.5.6...v2.5.7
BDLMiner 2.5.6
BDLMiner V2 2.5.6
Completes digest-word polling for hardware SHA-256 on ESP32-S2, ESP32-S3 and
ESP32-C3. Mining results and the user interface are unchanged from
2.5.5.
- Use the digest word as the completion signal. The resumable SHA mining
loops now poll word 7 of the digest instead of waiting only on the engine's
busy flag. Once the word is nonzero, its value is reused for the target
comparison, avoiding a separate read. - Handle a zero final word. A completed digest may have a zero most-
significant word. The poll periodically checks the engine's busy state so
this valid result is recognized without an unbounded wait. - The change applies to the resumable SHA engine used by ESP32-S2, ESP32-S3 and
ESP32-C3. The classic ESP32 SHA assembly path is unchanged.
Validation
The complete host test suite passes, including exact digest and target-filter
checks for the resumable SHA kernels and the ESP32-S3 overlapped kernel. The
release workflow builds and validates the firmware images for all release
environments before creating the signed draft.
Full Changelog: v2.5.5...v2.5.6
BDLMiner 2.5.5
What's Changed
- site: aligned live-fleet table, hero card below the screens, centered card arrows by @bdlglua in #33
- test(web): wait for the history request in the ten-second polling test by @bdlglua in #34
- Serve the website at miner.bdl-pool.com by @bdlglua in #35
- Publish the My miners viewer at miner.bdl-pool.com/remote/ by @bdlglua in #36
- feat(site): My miners as a page of the website (remote.html) by @bdlglua in #37
Full Changelog: v2.5.4...v2.5.5
BDLMiner 2.5.4
BDLMiner V2 2.5.4
Fixes for updates from GitHub and for the web pages, and remote monitoring by wallet
address; mining and screens are unchanged from 2.5.3 and the update
installs over WiFi.
- Updates from GitHub no longer stop on "HTTP 618". GitHub now serves release files
from a host that takes a download link valid for only five minutes, and answers a
link it refuses (expired or not yet valid) with the non-standard status 618. The
miner then gave up for five minutes. It now asks GitHub for a fresh link at once, up
to three times, and the log says what happened. - Faster, guarded downloads. Since the move to Arduino-ESP32 3.x, every download
from GitHub made a second, unguarded secure connection: the HTTP client closed the
one the firmware had opened. It now uses the firmware's own connection, which halves
the handshakes of an update. - Remote monitoring by wallet address. No key to create and copy any more: in
Settings → Network → Private remote monitoring, enable it (and name the miner); it reports
under its payout address, the part before any.worker. On
My miners, enter the same address. The page has
the site's look and can remember the address on the device. As on a pool's address
page, anyone who knows the address can see these readings; a private key created
before 2.5.4 still works and keeps them secret. See remote monitoring. - Web pages: the home page's live card no longer covers the first screen thumbnail; a
board search without a match says so; the FAQ finds "wifi" in "Wi-Fi"; the site, the
demos and the Linux hub show the logo as their icon. - Firmware: no compiler warning left in its own sources (deprecated calls replaced).
A miner still on 2.5.2 or 2.5.3 may need several tries before it can download this
update (the issue fixed here); it retries by itself every five minutes. To update at
once, install <board>-firmware.bin from the release through its web page.
Validation
All host, tool and browser tests and every board build pass. The redirect test now
covers a refused link followed by a fresh one, and the bounded number of tries. The
618 responses were reproduced against GitHub's release file host with an expired
(618 jwt:expired) and an altered (618 jwt:signature-fail) link.
What's Changed
- fix: bugs found by a full sweep of the site, demos, hub and firmware by @bdlglua in #31
- 2.5.4: fresh GitHub link after HTTP 618, remote monitoring by payout address by @bdlglua in #32
Full Changelog: v2.5.3...v2.5.4