Skip to content

Running Bitcoin BLAKE2b with a shared node and two mining gateways

Our Bitcoin BLAKE2b (XBT) deployment uses one Bitcoin Knots node to serve two mining gateways: CONVOY DATUM for AlphaPool and the native Lazarus gateway. Each gateway has its own public Stratum endpoint, configuration and runtime state. Both obtain block templates from the same node.

Deployment

The node and gateways run inside an Ubuntu virtual machine. HAProxy handles incoming mining connections on the host, while a separate monitoring service collects node and gateway observations for a public dashboard.

The virtual machine provides the Ubuntu environment expected by the original installer and contains its changes to packages, system services and firewall settings. The monitoring website runs separately in Docker behind an HTTPS reverse proxy.

Mining and monitoring paths
Shared Bitcoin Knots nodeBlock templates for both gateways
Mining equipmentASIC
Mining gatewaysCONVOY DATUM
Upstream poolsAlphaPool
Mining equipmentASIC
Mining gatewaysLazarus
Upstream poolsLazarus
Read-only monitoringNode and gateway observations feed a separate dashboard.

Node and gateway separation

Bitcoin Knots maintains synchronization with the network and supplies block templates. CONVOY DATUM connects mining equipment to AlphaPool; the native Lazarus gateway connects to Lazarus Pool.

Sharing the node avoids maintaining a second copy of the blockchain for the additional gateway. It also creates a shared dependency: a node outage affects both mining routes. Separate gateway processes allow configuration changes and restarts to be handled individually, but the deployment remains a single-node system.

Connection routing

Each public mining endpoint maps to a specific gateway through HAProxy. Miners select the route in their equipment configuration. The proxies keep public addresses separate from the backend installation, allowing a replacement environment to be prepared before switching traffic. Existing connections still need to reconnect during a switch.

Node RPC and gateway administration stay on the private network. The public endpoints expose the mining connections.

HAProxy routing excerpt
frontend stratum
    use_backend %[str(active),map(/config/route.map,original)]

Excerpt from the migration proxy configuration. Listener addresses and backend definitions are omitted; this is not a complete configuration.

The map looks up the key active to select a backend. If that key is absent, original is the fallback backend name. Updating the map changes the route for new connections; the migration tooling closes sessions on the previous backend so miners reconnect.

Wallet attribution

The gateways forward the full wallet-and-worker username supplied by each miner. This allows multiple wallets to share the node infrastructure while retaining their identities at the upstream pool. The monitoring service uses those identities to group worker observations by wallet.

Monitoring

Python collectors store node and gateway observations in SQLite and publish selected data to the dashboard. The public interface shows synchronization, gateway availability, hashrate history and wallet-scoped worker activity. A protected operator view supports inspection across wallets.

Missing observations remain gaps in the history rather than becoming zero readings. Share acknowledgments at the gateway, acceptance by the upstream pool and wallet credit are separate observations; one does not establish the others.

Public XBT dashboard showing mining hashrate history
XBT node dashboard. November 2026.

XBT node dashboard

Check node status, view mining activity or find connection instructions.

The dashboard is read-only. Selecting a pool changes the displayed observations; changing the mining route requires updating the endpoint configured on the equipment.