Skip to content

Adjust AuxPoW commitment activation height - #9

Merged
kiwidream merged 1 commit into
0.1.1-testnet4from
auxpow-activation-20500
Jun 24, 2026
Merged

kiwidream merged 1 commit into
0.1.1-testnet4from
auxpow-activation-20500

Conversation

@kiwidream

@kiwidream kiwidream commented Jun 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Move the testnet4 AuxPoW display-commitment activation height from 27700 to 20500.
  • Update the release notes to publish the new activation height.
  • Keep the AuxPoW commitment height helper unit test aligned with the new boundary.

Validation

  • git diff --check
  • Scoped search for stale 27700 activation-height references in src, doc, and test excluding vendored/test-vector data

A built test binary was not present in this workspace, so the focused unit test was not run locally.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.


Note

Medium Risk
This is a testnet4 consensus schedule change; nodes and mining software must agree on height 20500 or they may reject blocks after activation.

Overview
Moves the testnet4 scheduled AuxPoW display-commitment consensus transition from block height 27700 to 20500.

The change updates QBIT_TESTNET4_AUXPOW_DISPLAY_COMMITMENT_HEIGHT in chain params (which drives consensus.nAuxpowDisplayCommitmentHeight for testnet4), the v0.1.1-testnet4 release notes (upgrade guidance, network table, and internal vs display byte-order boundary), and the auxpow_commitment_validation_height_helper unit test expectations at heights 20499/20500/20501.

No validation logic changes—only when testnet4 switches from internal to display commitment byte order.

Reviewed by Cursor Bugbot for commit 29980e0. Bugbot is set up for automated code reviews on this repo. Configure here.

@kiwidream
kiwidream merged commit 411a096 into 0.1.1-testnet4 Jun 24, 2026
1 check passed
kiwidream added a commit that referenced this pull request Jun 24, 2026
* test: fix unit tests for qbit fork parameters

Update test vectors and expectations that broke due to qbit's divergence
from Bitcoin (address/key prefixes, bech32 HRP "qb", BIP324 network magic,
MAX_MONEY 210M, WITNESS_SCALE_FACTOR=1, new genesis), and fix a null-deref
SEGFAULT in net_peer_connection_tests caused by the changed default port.

Affected: bip32, bip324, key_io, script_standard, transaction, feebumper,
net_peer_connection, and the qt RPCNestedTests. Full suite now passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* release: publish qbit v0.1.1-testnet4 source snapshot

* policy: require aggregate checks in public rulesets

* ci: fix public PR 4 validation failures

* lint: fix libbitcoinpqc README link

* Require squash or rebase merges in public rulesets (#7)

* policy: require squash or rebase merges

* policy: set default PR merge methods

* Adjust AuxPoW commitment activation height (#9)

* Pin libbitcoinpqc subtree to v0.3.0 (#10)

* subtree: pin libbitcoinpqc helper to v0.3.0

* subtree: remove legacy libbitcoinpqc import

* Squashed 'src/libbitcoinpqc/' content from commit ac72d1ffa0

git-subtree-dir: src/libbitcoinpqc
git-subtree-split: ac72d1ffa0ef486f08d37334a43f5db1adb731db

* cmake: suppress libbitcoinpqc subtree tests

* test: wait for PQC key validation before wallet signing (#8)

* test: wait for PQC key validation before wallet signing

* test: centralize PQC validation waits

* lint: tolerate pruned libbitcoinpqc vectors

---------

Co-authored-by: Steven Lee <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
@kiwidream
kiwidream deleted the auxpow-activation-20500 branch June 25, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant