1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-12-22 14:45:19 +00:00

Merge pull request #2056 from ajtowns/202512-bip325-signet-powlimit

bip-325: document signet minimum difficulty
This commit is contained in:
Jon Atack 2025-12-15 10:40:23 -08:00 committed by GitHub
commit 870c7629ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,6 +75,15 @@ A block is considered fully validated only if the to_sign transaction is a valid
There is one other acceptable special case: if a block's challenge is e.g. `OP_TRUE` (`0x51`), where an empty solution would result in success, the block is also considered valid if the signet commitment is absent. There is one other acceptable special case: if a block's challenge is e.g. `OP_TRUE` (`0x51`), where an empty solution would result in success, the block is also considered valid if the signet commitment is absent.
=== Minimum Difficulty ===
The minimum difficulty for blocks in signet is approximately
0.0011265, corresponding to a maximum target of
<code>00000377ae000000000000000000000000000000000000000000000000000000</code>
which is represented by an nBits value of <code>0x1e0377ae</code>.
This value is chosen so that multiplying the maximum target by maximum retarget timespan (8 weeks measured in seconds) does not overflow a uint256, making it easier to do difficulty adjustment calculations.
== Genesis Block and Message Start == == Genesis Block and Message Start ==
The genesis block is the same for all signet networks, whereas the message start is defined as the first four bytes of the sha256d of the challenge script as a single data push (see below). The genesis block is the same for all signet networks, whereas the message start is defined as the first four bytes of the sha256d of the challenge script as a single data push (see below).