Download 29.5.knots20260508 for your architecture (for example x86_64-linux-gnu or aarch64-linux-gnu):

Check the build against SHA256SUMS and SHA256SUMS.asc in the files folder. Do not set chain=testnet4. Keep the same data directory if you already have a mainnet node.

1. Knots on mainnet

Minimal bitcoin.conf. txindex=1 is not required for DATUM or getblocktemplate. Working nodes often add extra knobs such as consensusrules=rdts, maxtipage, and a larger mempool. blocknotify via /NOTIFY or killall -USR1 both work:

server=1

rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcuser=USER
rpcpassword=PASS
# optional: notify DATUM on new blocks
blocknotify=curl -fsS -o /dev/null http://127.0.0.1:7152/NOTIFY

Default P2P port is 8333. Forward inbound TCP 8333 on your router to this machine so other nodes can connect to you. Default RPC port is 8332. Leave RPC on localhost.

bitcoin-cli getblockchaininfo
bitcoin-cli getdeploymentinfo
# blake2b.height == 961640 and blake2b.active == true
# deployments.reduced_data.height == 961640 and active == true
# deployments.long_coinbase_maturity.type == "flagday"
# deployments.long_coinbase_maturity.height == 979919
# deployments.long_coinbase_maturity.maturity == 25920
# deployments.long_coinbase_maturity.coinbase_expiry_time replaces height_end
# deployments.long_coinbase_maturity.active == true
# Before height 979919 the same deployment reported height 973440,
# height_end 979919, and maturity 6480.

Coinbase maturity in Knots 29.5: coinbases created before height 973440 use the 100-block rule. Coinbases from 973440 through 979918 need 6480 confirmations (~45 days). Coinbases created from 979919 until RDTS expires (1 September 2027, 00:00 UTC, previous block median time past) need 25920 confirmations (~180 days). Each of those rewards waits from its own height, and a reward mined before that expiry still finishes its 25920 blocks. Coinbases mined at or after expiry use the 100-block rule. Ordinary (non-coinbase) bitcoin is unchanged. Knots 29.4.2 treats coinbases from 979919 onward as mature after 100 blocks, or 6480 blocks when that node is mining. From block 980019 a 29.4.2 node may accept a block 29.5 rejects, and from block 986399 a miner still on 29.4.2 may produce one.

2. DATUM Gateway

Clone the header-v2 gateway from CONVOY:

git clone https://github.com/CONVOYMining/datum_gateway.git
cd datum_gateway
# build per README (cmake + libmicrohttpd, jansson, curl, libsodium, …)

Use a build that includes commit 56c31f4 (pow: Include header-v2 bit in BLAKE2b H1 commitment version) or later. Without that change, share proof of work will not match Knots 29.5 GetHash.

Example datum_gateway_config.json:

{
  "bitcoind": {
    "rpcuser": "USER",
    "rpcpassword": "PASS",
    "rpcurl": "http://127.0.0.1:8332"
  },
  "stratum": { "listen_addr": "0.0.0.0", "listen_port": 23334 },
  "api": {
    "listen_addr": "0.0.0.0",
    "listen_port": 7152,
    "admin_password": "CHANGE_ME",
    "modify_conf": true
  },
  "mining": {
    "pool_address": "bc1q…your_mainnet_address…",
    "coinbase_tag_primary": "MyTag",
    "allow_hasher_time_rolling": false
  },
  "datum": { "pool_host": "", "pooled_mining_only": false }
}
datum_gateway -c /path/to/datum_gateway_config.json

CONVOY serves header-v2 jobs when GBT advertises !blake2b. There is no pow_algorithm setting.

Solo needs pool_host empty and pooled_mining_only false. CONVOY's built-in defaults turn pooled mining on and point at a CONVOY pool host. If you empty the host and leave pooled mining on, the process exits. Their example config is a pool example; do not use it as the solo recipe. Solo can omit abw_verify_all_shares_on_disclosure.

3. Miners

CONVOY serves header-v2 jobs. If GBT does not advertise blake2b, it serves no work.

Point the miner at your stratum URL. The username can be any worker name DATUM accepts. A payout address is a common choice.

Confirm GBT advertises blake2b:

bitcoin-cli getblocktemplate '{"rules":["segwit","blake2b"]}'
# expect "!blake2b" in rules

4. Optional peer

addnode=OTHER_HOST:8333

What working looks like

Quick health checks

  1. Miners stay connected and jobs refresh on new tips.
  2. Shares are accepted. You are not flooded with unknown-work or high-hash rejects.
  3. The BLOCK FOUND hash equals the new chain tip.
  4. GBT from a supporting client shows !blake2b.
  5. After upgrading to 29.5, getdeploymentinfo shows long_coinbase_maturity active at the tip with maturity 25920.
  6. Rewards mined from block 979919 stay immature for about 25920 blocks (~180 days). Rewards from 973440 through 979918 stay immature for about 6480 blocks (~45 days).

Common mistakes

Checklist

  1. Knots 29.5 from the links above, using your existing mainnet data directory if you already have one.
  2. DATUM from CONVOY at 56c31f4 or later.
  3. Header-v2 miners on stratum port 23334.
  4. Confirm long_coinbase_maturity is active at the tip.
  5. Confirm the BLOCK FOUND hash matches the tip. Ignore a benign dual-submit duplicate.
  6. Expect rewards mined from block 979919 to remain immature for ~25920 blocks (~180 days). Rewards from 973440 through 979918 remain immature for ~6480 blocks (~45 days).