为什么要使用 DATUM 矿池进行 XBT 挖矿?DATUM 允许您使用自己的验证节点构建挖矿任务,同时矿池仍然会跟踪份额并协调收益分配。本指南将逐步引导您完成 XBT 节点和 DATUM 网关的设置、检查其是否正常工作以及连接您的第一个矿机。最后,您将找到一个可复制的 Codex 或 Claude Code 提示,以帮助您完成设置。
命名说明: 这里,XBT 指的是 BLAKE2b 比特币分叉,也称为 BTCB2(有时) BTC2B),并非普通的比特币行情显示。连接硬件前,请确认区块链和算法。
XBT DATUM 矿池的工作原理
在传统的矿池架构中,矿池通常会创建区块模板。而使用 DATUM,您的 XBT 兼容节点会验证区块链并构建模板。DATUM 网关会将该模板转换为 Stratum 工作,供您的 ASIC 矿机挖矿,并与支持 DATUM 的矿池(例如 Lazarus)通信,以进行份额统计和共享奖励。矿池不会创建矿工的工作。这正是您需要运行自己的节点和网关的原因——并非因为每个 ASIC 矿机都需要自己的节点。

实际路径为:XBT 节点 → DATUM 网关 → ASIC 矿机进行挖矿,同时网关与DATUM 矿池通信以进行份额验证和收益分配。网关自身的文档描述了这些角色,并指出矿工端的 Stratum 份额计数可能与矿池端的最终结果有所不同。
开始之前您需要什么
- 一台美国 Contabo Cloud VPS 4(4 个虚拟 CPU、8 GB 内存、100 GB SSD),配备固定公网 IPv4 地址和 SSH 访问权限。月租费用为 8.20 美元;请查看您所需配置的当前结算价格。
- 本文将介绍一个兼容 XBT 的 Bitcoin Knots 节点构建方案、CONVOY DATUM 网关以及一个支持 DATUM 的 XBT 矿池。本指南以 Lazarus 作为主矿池;AlphaPool 和 XorPool 为可选的备用矿池。
- 公开的 XBT/BTCB2 付款地址和用于首次测试的候选 BLAKE2b ASIC。切勿提供助记词或私钥。
- Codex 或 Claude Code 具有终端访问权限,并且需要一些时间让节点同步,并在迁移其他矿工之前观察一个矿工。
仅凭匹配算法并不能证明特定的矿机和固件适用于该链和矿池。请验证确切的型号、固件、连接协议和已接受的份额。 BTCB2 矿机收藏 这是硬件研究的起点,而不是全面的兼容性保证。
设置您的 XBT DATUM 节点和网关
- 核实软件和池子的详细信息。 检查当前权威的 XBT 链源、Bitcoin Knots 构建版本、CONVOY 网关版本或提交记录、Lazarus 端点和密钥,以及矿工要求。记录来源、校验和以及日期。不要假设普通的比特币软件或记住的设置可以直接在 XBT 上运行。
- 安全地准备VPS。 选择您的软件支持的最新 Ubuntu LTS 版本。设置 SSH 密钥和非 root 管理员帐户,验证密钥登录有效后,再禁用密码登录。允许矿工访问 Stratum 端口和 SSH;节点 RPC 和网关管理应保留在服务器本地。
- 安装并同步 XBT 节点。 修剪后的节点可以减少磁盘使用量,但仍需验证区块链。启动网关之前,请确认同步完成,使用独立的 XBT 浏览器比较区块高度和区块哈希值,并验证 BLAKE2b/header-v2。
getblocktemplate. - 配置并启动网关。 将其连接到节点的仅回环 RPC,在相应的矿池/网关配置中设置公共支付地址,并使用其当前的 DATUM 指令配置 Lazarus。仅在节点通过上一步检查后才启动网关。确认矿池握手、当前模板流程、服务运行状况以及面向矿工的监听器。
- 保留回滚路径。 保存一份经过脱敏处理的版本记录、测试结果和工作设置。单独准备备用矿池;握手成功并不代表正在使用的矿池接受矿工份额。除非您特意测试某个切换,否则请保持当前使用的 Lazarus 配置处于活动状态。
在我们的部署中,节点 RPC 仅监听 127.0.0.1:8332网关 API 仅在 127.0.0.1:7152矿工通过 TCP 连接到 VPS。 42334. 那些是 我们的 设置,而非通用默认值。即使挖矿站点的公网 IP 地址发生变化,ASIC 矿机仍然可以向 VPS 的稳定 IP 地址或域名发起出站连接。
我们对一台 XBT 矿机进行了验证
2026年10月13日08:52 UTC,我们的第一台iBeLink BM-S3与网关建立了连接。Lazarus显示了工作进程。 bm-s3-01 在其 DATUM 路径上在线,该矿池快照显示有 78 个会话份额,且没有被拒绝的份额。在我们检查期间,已接受的份额数量有所增加。这证实了一个矿工连接和矿池份额归属;确实如此。 不会 我们并未针对每款 XBT/BLAKE2b 矿机建立稳定的算力、收益分配或兼容性测试。撰写本文时,我们并未独立记录 ASIC 矿机的仪表盘数据、确切的固件信息,也未进行完整的 1 小时稳定性测试。
有关当前设置详情,请参阅CONVOY 网关、XBT 节点源代码和Lazarus 连接指南。终端和软件要求可能会有所变更。如果您需要帮助选择合适的硬件,BT-Miners 可以协助您比较不同选项,但请务必在全面迁移前测试具体型号。
将您的第一台 XBT 矿机连接到新网关
将矿工现有的工作矿池条目保留为备份。在其私有矿池设置中,使用网关的可达地址,而不是节点的 RPC 地址。对于我们的配置,字段如下:
- 泳池网址:
stratum+tcp://YOUR_VPS_IP_OR_DOMAIN:42334 - 工人: 一个独特的标签,例如
miner-01请在您的网关/池配置文件中确认所需的格式。 - 密码: 矿工或配置文件所需的值;
x当不需要实际的池密码时,通常会使用这种方法。
在我们的设置中,公共支付地址是在网关/矿池端配置的,因此无需粘贴到示例矿工字段中。其他配置可能使用不同的用户名格式——请在保存前进行确认。首先使用一台矿工,然后检查其实时算力、已接受/已拒绝的份额、网关连接和任务交付情况,以及矿池的矿工数量和已计入的份额。观察足够长的时间,以便在添加更多机器之前发现间歇性故障。不要将“已连接”与“已盈利”混淆:矿池端已接受的任务才是更可靠的判断标准。
将此提示复制到 Codex 或 Claude Code 中
以下提示会要求 AI 助手执行可用的技术工作,在每个检查点提供证据,并暂停执行只有您才能执行的操作。请私下替换占位符。这不能替代对命令、成本和安全设置的审查。
Help me set up an XBT/BTCB2 DATUM mining gateway from zero, step by step. Assume I have no VPS, cloud account, SSH key, server configuration, or Linux experience. Start by helping me choose and purchase a suitable month-to-month VPS, then help me set it up. Do the safe technical work you can perform with my available browser and terminal access; explain each decision briefly, verify it, and keep a sanitized deployment log. Work with me one checkpoint at a time rather than giving me a long list of commands to execute alone.
My inputs:
- Network: the XBT/BTCB2 BLAKE2b Bitcoin fork, not ordinary Bitcoin. Verify chain identity and current requirements first.
- VPS preference: a low-cost US location, monthly billing, Ubuntu LTS, and an included stable public IPv4 address. I have not chosen or purchased a plan yet. Ask for my budget if needed.
- SSH access: help me create a local key and a non-root administrator after the VPS is ready. Never print, upload, or copy the private key.
- Primary pool: Lazarus DATUM. Treat AlphaPool and XorPool as optional standby profiles, not as proven live-share paths.
- First test miner: [EXACT BRAND, MODEL, FIRMWARE]. Do not assume all BLAKE2b miners are compatible.
- Public XBT payout address: [ENTER ONLY IN THE PRIVATE SERVER/POOL CONFIGURATION]. Never ask for my seed phrase or private key.
- Mining site: may have a changing public IP. Miners should make outbound connections to the VPS.
Work in this order:
1. Check current primary sources for the XBT chain, a chain-compatible Bitcoin Knots build, the CONVOY DATUM Gateway, Lazarus connection details, and VPS requirements. Record URLs, versions or commits, checksums, and check dates. Stop if chain identity or software authenticity is unclear.
2. Compare two or three currently available US VPS plans that meet the verified requirements. Check monthly billing, CPU architecture, RAM, SSD capacity for a pruned node, traffic limits, Ubuntu LTS support, and whether a stable public IPv4 address is included. Show the first-month total, any setup fee, and the recurring monthly total from current provider pages; explain trade-offs and recommend one. Do not assume an advertised price is the final checkout price or select an annual contract without my approval.
3. Guide me through account creation and checkout for the plan I choose. Help me check the region, image, billing term, IPv4 allocation, order summary, and cancellation terms before I confirm. I will personally enter payment details, complete CAPTCHA/2FA, and authorize the purchase. Do not place an order, accept terms, or submit payment for me. After provisioning, help me find the server's public IP and access method without posting credentials in chat.
4. Set up the VPS with me: create a local SSH key, establish and independently test key-based login with a non-root administrator, apply security updates, set a minimal firewall, and preserve a recovery path before disabling password or root login. Never expose passwords or tokens in chat, logs, or Git.
5. Install the verified XBT node and synchronize it natively. Pruning is acceptable if supported. Do not start the Gateway while initial block download is active. Compare current height and block hash with an independent explorer, confirm peers and pruning, and test BLAKE2b/header-v2 getblocktemplate.
6. Install a pinned, verified Gateway build. Configure node RPC and the management API on loopback only. Open only the necessary SSH and miner-facing Stratum ports. Configure my public payout address and current Lazarus DATUM endpoint/key in private files with restrictive permissions. Verify service health, pool handshake, template delivery, and listening addresses.
7. Prepare AlphaPool and XorPool as separate candidate profiles if their current official details can be verified. Test configuration and rollback without interrupting production miners. Return the active profile to Lazarus. Do not claim standby miner shares were tested unless they actually were.
8. Show me the exact fields for one miner: Gateway pool URL, worker name, and password format. Keep its known-good backup pools. Pause before I save the miner settings. After connection, collect miner-side, Gateway-side, and pool-side evidence for hashrate, accepted/rejected shares, and credited work for at least one hour. Do not migrate the rest until that test passes.
9. Give me a concise PASS/PARTIAL/UNVERIFIED checklist, a rollback plan, a weekly maintenance checklist, and a sanitized deployment record. Make no profitability or compatibility guarantees.
Human-only actions: I will authorize purchases, create the account with your guidance, enter payment and private credentials, complete CAPTCHA/2FA, and save miner settings. Pause at each of those checkpoints, then continue after I confirm completion. Ask for approval before a destructive change or a change that could interrupt mining. Never ask me to paste a wallet seed, private key, password, or SSH private key into chat.