Can your XBT setup use DATUM?
Yes, but only with a gateway version whose documentation states XBT support. Do not assume that a gateway running happily for SHA256d Bitcoin will work for Bitcoin BLAKE2b.
The sources disagree on nothing important here, but they do name different software. DxPool's gateway guide states that the original datum_gateway does not support XBT and that the RATUM Gateway is required. Lazarus Pool lists CONVOY, FlyTheElephant and Ratum as recommended gateways. Which of these fits you, and which release, depends on each project's own documentation. If you cannot find a version of your gateway that documents XBT support, treat the setup as unsupported rather than guessing at a configuration.
Why BTC instructions do not carry over
XBT is a separate chain. It shares Bitcoin's earlier history and uses BLAKE2b for new blocks after a hard fork, starting at block 961,640. It is not SHA256d Bitcoin. That has three practical consequences:
- A SHA256d miner is not configured for XBT work, so BTC miner settings should not be reused.
- A BTC-only DATUM guide is not an XBT procedure, even if the gateway software shares a name or a codebase.
- A gateway that works for BTC tells you nothing about whether it works for XBT.
Check these before you configure anything
- A ready XBT node. The gateway needs a node that can provide block templates. Installing the node is outside this guide; the XBT miner documentation is the place to start if yours is not ready.
- An XBT-documented gateway. Note the exact project and version, and keep its documentation open. You will need it for setting names.
- A BLAKE2b-capable miner. It must hash BLAKE2b and be able to point at a custom endpoint.
We back miners building templates with their own node, because it keeps transaction selection with the person who verifies the chain. Be careful with the inference, though: running a DATUM gateway is a necessary part of that arrangement, not proof of it. Who controls the templates in a given setup depends on what the node, gateway and any pool are actually configured to do.
Connect the miner through the gateway
A working setup has up to three separate connections. Mixing them up is the most common way to end up with a miner that points at the wrong thing.
- Gateway to node. The gateway gets block templates from your node over RPC and distributes work to your miners. This is a local backend link. The miner never talks to the node.
- Miner to gateway. Your miners reach the gateway over your own network. This is the only address the miner needs.
- Gateway to pool (optional). If your documented configuration includes a pool, the gateway makes an outbound connection to it. The pool coordinates how rewards are split based on work done, but does not create work for the miner.
Because the gateway connects outward and miners connect to it locally, B2Pool's documentation says nothing needs to be reachable from outside, and the node does not need inbound connections for this purpose. Check that against your own gateway's documentation before opening or closing any ports.
The ordered procedure
- Confirm the node is ready. It should be a Knots 29.5 build, running and synced, with RPC enabled for the gateway. If you plan to use a pool, B2Pool recommends setting
blockreservedweight=32000on the node; confirm the exact payout-output limit against the pool's guide. - Confirm the gateway version. Use a gateway whose documentation states XBT support. Install it from that project, not from a BTC guide.
- Set the node backend. Enter the RPC address and credentials exactly as your gateway's documentation names them. We do not list setting names here because they differ between gateways and versions.
- Set the miner-facing listener. Choose the host and port your miners will connect to, as documented for your gateway.
- Set the pool-facing side, only if you use a pool. Follow that pool's own guide. B2Pool’s guide says the public key pins the connection: a wrong key gets no session and serves no work. Copy it exactly. Leaving the field empty lets the gateway fetch it automatically, but then you trust the first answer you get, so do not.
- Start the node, then the gateway. DxPool recommends running the gateway as a service, for example under systemd, so it can restart cleanly after a reboot.
- Point the miner at the gateway. In the miner's pool settings, use the gateway machine's address and the miner-facing port, not the node's RPC address and not the pool's. Use the username and password format your gateway documents. If the documentation says that field carries a worker name or a payout identity, enter exactly that.
If you intend to mine through your own gateway, point the miner at the gateway rather than a public pool endpoint.
Pool terms are a separate decision from the connection itself. Fees, grace periods and payout rules change, so read the pool's own terms and check our published pool comparison rather than relying on a figure in a guide.
Check that the path actually works
Verify one hop at a time, starting at the node and moving outward. A miner showing as connected only proves the last hop.
Verify each hop
- Node. Confirm it is running, synced to the current chain tip, and answering RPC. If the node is behind, the templates the gateway passes on will be behind too. BlakeStack's network page shows an independently observed chain tip you can compare against, though it is a reference point rather than a guarantee.
- Gateway to node. The gateway log should show it connecting to the node and receiving templates. DxPool's guide says to open
http://your_gateway_ip:7152for the current job and miner status. Treat that port as specific to that guide and confirm it for your gateway and version. - Miner to gateway. The miner's pool page should show the gateway as alive, with the gateway's address. The gateway's status view or log should list the miner as connected and show it has received work.
- Share submission. A share is the miner's proof that it did a share of the work. Some shares may also be below the network target, which is what leads to a block. Check that the miner's submitted count rises and that the gateway records the shares.
- Gateway to pool, if used. In DxPool's guide, a
DATUM Server MOTDline in the gateway log means the gateway is connected to DxPool. Other pools log differently, so check their guide, then confirm shares on the pool's own dashboard.
Three different things
A share accepted by your gateway is not the same as a share the pool credits, and neither is a payout. A working gateway connection does not guarantee accepted pool shares, payouts, or that your node's transactions end up in a block. Judge each by its own evidence: gateway logs for local work, the pool dashboard for credited work, and the pool's terms for payment.
Targeted troubleshooting
Work from the outside in. Confirm a network path first, then DNS and the host and port, and only then suspect configuration or hardware. Bad URLs, blocked outbound ports, DNS failures and a wrong system clock breaking a TLS handshake are all common causes of "no connection" faults.
| Symptom | What to check |
|---|---|
| Gateway starts but never offers work | Confirm the project documents XBT support at your version. DxPool states the original datum_gateway does not support XBT. Switch to a documented gateway rather than editing around it. |
| Miner shows no connection | Check the miner points at the gateway's address and miner-facing port, not the node RPC or a pool. Test the network path, DNS, port and firewall from the miner to the gateway. |
| Gateway has no templates | Check the node is synced, is an XBT-capable build, and that the gateway's RPC address and credentials match the node. Read the gateway log for RPC errors. |
| No session with the pool | Recheck the pool's public key, copied exactly. A wrong key gets no session and no work. Also check outbound connectivity and the system clock. |
| Miner cannot authenticate | Compare the username and password format with your gateway's documentation. Check whether it expects a worker name or a payout identity. |
| Shares rejected | Confirm the miner hashes BLAKE2b and is configured for XBT, not SHA256d. If only some are rejected as stale, suspect latency or connection interruptions, since stale shares are valid work submitted too late. |
Stable connections and low latency matter more here than raw speed, so rule out network problems before changing mining settings. If everything checks out and you still see no work, the likeliest explanation is an unsupported gateway version. In that case, say so plainly and move to one that documents XBT support rather than guessing at a workaround.
