Download v29.4.1.knots20260508rc4 for your architecture (for example x86_64-linux-gnu or aarch64-linux-gnu) from the test directory. These are not the published files on bitcoinknots.org:

test.bitcoinknots.org RC4 directory

Check the build against SHA256SUMS and SHA256SUMS.asc in that directory. Do not set chain=testnet4.

Install RC4 as an upgrade of a fully synced mainnet node. First run published Knots 29.4.knots20260508 until the tip is current, then replace that binary with RC4 and keep the same data directory. Get 29.4 from the 29.4.knots20260508 files or from the Bitcoin Knots download page.

1. Knots on mainnet

Minimal bitcoin.conf:

server=1
txindex=1
blake2b_headline=8-30 NYPost Deride And Conquer

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   # hardfork.height == 961640

2. DATUM Gateway fork

git clone https://github.com/innerhat-dev/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 RC4 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",
    "coinbase_tag_secondary": "8-30 NYPost Deride And Conquer",
    "pow_algorithm": "auto"
  },
  "datum": { "pool_host": "", "pooled_mining_only": false }
}
datum_gateway -c /path/to/datum_gateway_config.json

Keep "pow_algorithm": "auto". Do not force "blake2b" before block height 961640. Set coinbase_tag_secondary to exactly 8-30 NYPost Deride And Conquer. Knots requires the headline bytes in the coinbase. This DATUM build does not copy coinbaseaux.blake2b_headline into the coinbase for you, so the secondary tag is how those bytes get into scriptSig.

3. Miners

When Work Useful hardware
Tip at or below block 961639 SHA256d S9 / Bitaxe / similar
Tip at or after block 961640 BLAKE2b (header v2) BLAKE2b and BLAKE2b-sia miners

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

After activation, confirm GBT advertises blake2b:

bitcoin-cli getblocktemplate '{"rules":["segwit","blake2b"]}'
# expect "!blake2b" in rules; coinbaseaux.blake2b_headline should be hex for 8-30 NYPost Deride And Conquer

4. Optional peer

addnode=OTHER_HOST:8333

What working looks like

Before activation (tip at or below block 961639)

At and after activation (tip at or after block 961640)

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. After the hardfork, the BLOCK FOUND hash equals the new chain tip.
  4. The node has blake2b_headline=8-30 NYPost Deride And Conquer, DATUM's secondary tag is 8-30 NYPost Deride And Conquer, and those headline bytes are present in the coinbase.

Common mistakes

Checklist

  1. A mainnet datadir fully synced on published Knots 29.4, then RC4 from the URL above, with blake2b_headline set to 8-30 NYPost Deride And Conquer.
  2. DATUM fork at 56c31f4 or later, auto, and secondary tag 8-30 NYPost Deride And Conquer.
  3. Through block 961639: SHA256d miners. From block 961640: BLAKE2b and BLAKE2b-sia miners on stratum port 23334.
  4. Watch the tip reach block height 961640, then start BLAKE2b miners.
  5. Confirm the BLOCK FOUND hash matches the tip. Ignore a benign dual-submit duplicate.