ANNOUNCEMENT • 17 NOVEMBER 2026 • UTC
Bitcoin Private (BTCP) new network identifiers - verifiable draw
A public, verifiable draw of BTCP's new network identifiers
Draw version V1. Announced 17 November 2026.
What is being chosen
Every message between two BTCP nodes starts with four "network magic" bytes that say which
network it belongs to. Project Phoenix gives each BTCP network new magic bytes: Mainnet, the public
testnet, regtest and the devnet. So that nobody, the project included, can pick them, they are drawn
from a Bitcoin block that does not exist yet, by the fixed rule below. Anyone can repeat the draw
and get the same four values.
The anchor block
The anchor is the first Bitcoin block, by height, whose header timestamp is at or after
12:00:00 UTC on Saturday 28 November 2026 (Unix time 1795867200), the fourteenth anniversary of
Bitcoin's first halving.
- "Header timestamp" is the block header's time field, as bitcoin-cli getblockheader prints it
("time"), not the median time.
- We take the anchor's hash after it has 6 confirmations, from two independent sources. If they
disagree, or the chain reorganises first, we wait until both agree on the anchor under the same
rule with at least 6 confirmations.
- The hash is written as 64 lower-case hexadecimal digits in display order: the byte order that
block explorers and bitcoin-cli getblockhash print.
The rule
For each network, in this order: mainnet, testnet, regtest, devnet; and for k = 0, 1, 2, ...:
1. Form the ASCII message
BTCP-PHOENIX-MAGIC-V1|<network>|<anchor hash>|<k>
with the network name in lower case, k in decimal with no leading zeros, the fields joined by
"|" with no spaces, and no trailing newline.
2. The candidate is the first four bytes of the message's SHA-256, in that order.
3. The candidate passes only if all three hold:
F1. every one of the four bytes is 0x80 or more;
F2. the four bytes are not valid UTF-8 (strict UTF-8, as Rust's std::str::from_utf8 and
Python's bytes.decode("utf-8") define it);
F3. read as a 32-bit integer, the value is 0xD0000000 or more in both byte orders.
4. A passing candidate is rejected if it equals, or differs in exactly one of its four byte
positions from, any of these:
- any magic on the published list of known magics (below);
- a8eaa2cd, a8eaa2ce or a8eaa2cf;
- a value already drawn for an earlier network in this draw.
5. The network takes the first candidate, the lowest k, that passes and is not rejected.
The list of known magics
The list holds the network magics and default ports of Bitcoin, Zcash and the other Equihash-family
chains, and legacy BTCP's own values, each cited to its source. It will be published here, with its
SHA-256 and a reference script, by 24 November 2026, before the anchor block can exist, and its
SHA-256 is also posted in our Telegram and Discord channels. A correction, if one is needed, is
published in the same places with its reason and the new hash by 27 November 2026, 12:00 UTC. There
are no changes after that.
A worked example of the format (this is not the draw)
On Bitcoin's block 0, whose hash is
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
the message for mainnet with k = 0 is
BTCP-PHOENIX-MAGIC-V1|mainnet|000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f|0
Its SHA-256 begins 2dd997e3, which fails F1. With only the three a8eaa2.. values to reject (an
empty list), the rule on block 0 gives mainnet faca9be9 (k = 67), testnet dcab9dd0 (k = 72),
regtest dab1bcd1 (k = 4) and devnet dfbae7d8 (k = 62). To check one step yourself:
printf '%s' 'BTCP-PHOENIX-MAGIC-V1|mainnet|000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f|67' | sha256sum
prints a hash beginning faca9be9.
After the draw
We will publish the anchor block's height, hash and header, each network's value and k, and every
rejected candidate with its reason, here and in our Telegram and Discord channels. The values then
go into the BTCP node's code. Any change to the
date or to this rule would be a new draw version, announced here and in our community channels.
SHA-256 of this text: b7bfbe870a0031fcc1fbcf2e89947e4ee256bc8de5b83941b16e725ad7f0c64a
Download the plain-text file
Update 1, 17 November 2026
Update 1, 17 November 2026: the list of known magics and the reference script The list of known magics named in the rule above is published with this update as known-magics.tsv. It has 35 entries: the network magics and default ports of Bitcoin, Zcash, ZClassic, Ycash, Komodo, Horizen, Flux, BitcoinZ, Verus, Pirate Chain and Hush, legacy BTCP's own values, and three superseded draft values of the new BTCP node. Each entry cites its source file and commit. SHA-256 of known-magics.tsv: fcc6d85ec423efda08c8d61f3b1961d39768d994c175d64f663823353285f337 The reference script draw.py carries out the rule above. It needs Python 3 and nothing else. SHA-256 of draw.py: bae7f8a2b3033cad075e09ab7262c1805523a8662a84c2e58df47d9da23677da To check the worked example yourself: python3 draw.py 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f known-magics.tsv prints mainnet faca9be9 (k = 67), testnet dcab9dd0 (k = 72), regtest dab1bcd1 (k = 4) and devnet dfbae7d8 (k = 62). No entry on the list changes the example. A correction, if one is needed, is published here and in our Telegram and Discord channels with its reason and the new hash by 27 November 2026, 12:00 UTC. There are no changes after that. The draw itself uses the first Bitcoin block at or after 12:00 UTC on 28 November 2026.
SHA-256 of this update: 2c0873b2e33d62719f2ce6800db671e9ec657bd307a03624c206978914fb72f9
Download this update as plain text
-
known-magics.tsv
SHA-256:
fcc6d85ec423efda08c8d61f3b1961d39768d994c175d64f663823353285f337 -
draw.py
SHA-256:
bae7f8a2b3033cad075e09ab7262c1805523a8662a84c2e58df47d9da23677da