Skip to content

Stage v1.0.0 mainnet launch; placeholder genesis and AuxPoW chain ID - #131

Merged
kiwidream merged 7 commits into
1.0.0from
100-launch-pr
Jul 15, 2026
Merged

kiwidream merged 7 commits into
1.0.0from
100-launch-pr

Conversation

@kiwidream

@kiwidream kiwidream commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Stage the qbit v1.0.0 mainnet launch preparation.

  • bump qbit to v1.0.0 and make mainnet-capable source and Guix builds the
    default, while retaining QBIT_TESTNET_ONLY_RELEASE=ON as an explicit opt-in
  • publish the mainnet DNS seeds, compiled fixed seeds, archive-node fallbacks,
    operator guidance, integration guidance, generated manpages, and launch
    release notes
  • set the initial assumed blockchain and chainstate sizes to zero
  • add a fail-closed mainnet publication-posture validator covering the AuxPoW
    chain ID, final genesis/ASERT provenance, bootstrap configuration, and
    default-mainnet assertions
  • run the real publication-posture validator in Core Checks for changes
    targeting 1.0.0, and rerun it against the signed release tag in the local
    publisher

Placeholder status

This PR intentionally retains two launch blockers. The checked-in mainnet
genesis and ASERT calibration remain draft, and the mainnet AuxPoW chain ID is
the conspicuous placeholder 31430, equal to testnet4.

The mainnet publish gate is expected to reject this source until a follow-up
replaces both placeholders with reviewed final values and corresponding tests.
Merging this preparation does not make the current mainnet parameters
publishable as v1.0.0.

Testing

  • Built locally.
  • Ran focused unit or functional tests for the changed area.
  • Ran lint or formatting checks relevant to this change.
  • Not run. Reason: N/A; the relevant checks were run.

Checks performed:

  • native default build, including daemon, CLI, wallet, tests, and GUI
  • explicit QBIT_TESTNET_ONLY_RELEASE=ON test build
  • build/bin/test_qbit --run_test=pow_tests,argsman_chain_tests
  • build-testnet-only/bin/test_qbit --run_test=pow_tests,argsman_chain_tests
  • release publisher, artifact-validator, and mainnet-posture test suites
  • full repository lint in the Docker lint image
  • exact fixed-seed regeneration and git diff --check
  • direct mainnet posture validation, which fails for only the intentional
    genesis/ASERT and AuxPoW chain-ID blockers described above

Target Branch

  • This PR targets main or a maintainer-requested release branch such as 0.1.x.

This PR targets the maintained 1.0.0 release branch.

Risk / Review Notes

  • Consensus, script, crypto, wallet, P2P, release, CI, or security-sensitive behavior changed.
  • No consensus, script, crypto, wallet, P2P, release, CI, or security-sensitive behavior changed.

Notes:

Review bootstrap endpoints, default-chain build behavior, seed generation, and
the publication gate carefully. Core Checks will deliberately report the
mainnet publish gate as failing until the placeholder follow-up lands.

Docs / Process Impact

Choose exactly one:

  • I updated public docs because this PR changes user-visible behavior, integration guidance, release/process guidance, or expected validation.
  • No public docs update needed. Reason:

libbitcoinpqc Subtree Checklist (if src/libbitcoinpqc changed)

Not applicable; this PR does not change src/libbitcoinpqc.

  • Source commit is reachable from an immutable release tag in Qbit-Org/qbit-libbitcoinpqc.
  • qbit imports the tagged upstream tree directly without pruning or a curated subtree branch.
  • Subtree import/update was performed with contrib/devtools/update-libbitcoinpqc-subtree.sh.
  • test/lint/libbitcoinpqc-subtree-check.sh passes locally.
  • Any default tag change in contrib/devtools/update-libbitcoinpqc-subtree.sh is intentional and matches doc/subtrees/libbitcoinpqc.md.

Note

High Risk
Touches consensus chainparams, release publication gates, and CI merge policy for the 1.0.0 line; incorrect gate or placeholder handling could block merges or allow premature mainnet publication.

Overview
Stages qbit v1.0.0 mainnet launch prep: version 1.0.0, mainnet-capable CMake/Guix defaults (QBIT_TESTNET_ONLY_RELEASE off unless explicitly enabled), and published DNS seeds, fixed seeds, and -connectarchive fallbacks wired through chainparams and operator docs.

Adds fail-closed mainnet publication posture (verify_mainnet_release_posture.py on the peeled signed tag; verify_mainnet_ci_posture.py with mainnet_ci_posture.json). Core Checks runs a mainnet publication posture job on 1.0.0 for source/release-policy changes; staging CI accepts validator failure only for the declared auxpow_chain_id and genesis_asert blockers. The local publisher always requires full validator success for mainnet and runs posture before P2MR/artifact steps.

In-tree mainnet genesis/ASERT and AuxPoW chain ID remain intentional placeholders (still equal to testnet4); merging this branch does not make v1.0.0 publishable until a follow-up lands final values and moves CI policy to final.

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

Comment thread .github/workflows/core-checks.yml Resolved
Comment thread .github/workflows/core-checks.yml Resolved
@kiwidream

Copy link
Copy Markdown
Member Author

The selected final mainnet genesis target remains 0x1a7f1ab5. This change restores the staging runtime header to its valid 0x1f00ffff target because the existing nonce does not satisfy the harder selected target and caused Windows Qt startup to fail with high-hash.

The temporary runtime target is now explicit in the fixture. The publication gate continues to block release, verifies that the staging genesis hash satisfies its declared target, and requires the final genesis to converge on 0x1a7f1ab5.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fc65ab7. Configure here.

@kiwidream
kiwidream merged commit 0a0e61b into 1.0.0 Jul 15, 2026
36 checks passed
kiwidream added a commit that referenced this pull request Jul 15, 2026
…131)

* Stage v1.0.0 mainnet launch configuration

* test: derive subversion expectation from release version

* ci: enforce staged mainnet publication posture

* release: lock staged mainnet launch difficulty

* ci: test chain ID finalization contract

* release: separate staged and final genesis targets

* ci: require live chain ID assertion
kiwidream added a commit that referenced this pull request Jul 15, 2026
* ci: enable validation on 1.0.0 (#73)

* Fix scanner high findings (#72)

* Resolve scanner medium findings (#74)

* Reject malformed P2MR leaf versions in Qt (#82)

* Bind builder attestations to signed-tag source (#84)

* Bind builder attestations to release source

* Fix builder workflow source environment

* Restore verified release tag after checkout

* qt: avoid wallet shutdown deadlock during model adoption (#87)

* Use aggregate work rate for assumevalid burial (#88)

* p2p: use recent chainwork for anti-DoS thresholds (#89)

* qt: bind P2MR proofs to expected signer (#85)

* Complete restricted-output fundrawtransaction edge coverage (#86)

* test: extend restricted-output raw funding coverage

* test: use documented raw funding fee option

* Prevent closing wallet progress dialogs (#97)

* qt: minimize P2MR proof exports (#95)

* Fix Qt wallet shutdown lifetime (#90)

* Fix Qt wallet shutdown lifetime

* Fix Qt shutdown CI coverage

* Test active wallet shutdown during transaction preparation

* Use portable thread in Qt shutdown test

* validation: reject height-invalid AuxPoW substitutions (#106)

* Bound qbit-qt P2MR proof parsing (#96)

* Bound Qt P2MR proof parsing

* Fix GCC range-loop warning

* qt: bind proof limit to minimal export

* rpc: default to portable P2MR proofs

* test: update PQC usage RPC expectations

* doc: qualify legacy P2MR proof compatibility

* Cache Cadence lane predecessors (#108)

* build: prohibit PQC runtime test controls in qbit (#107)

* build: prohibit PQC runtime test controls

* build: prevent PQC production mode cancellation

* ci: make PQC build policy check executable

* ci: reset cached IWYU sources before tidy setup

* docs: show qbit version and full logo in RPC sidebar (#119)

* doc: update RPC docs branding

* test: handle missing MkDocs in RPC docs suite

* Activate P2MR validation weight v2 on testnet4 at height 60,000 (#109)

* Activate P2MR validation weight v2 at height 60,000

* test: cover P2MR weight in getblockchaininfo

* validation: pre-enforce forthcoming P2MR weight rule

* doc: bound block-wide P2MR verification work

* test: cover P2MR validation-weight boundaries

* test: avoid mixed enum flag expressions

* Make resumed release draft notes deterministic (#116)

* release: make draft notes deterministic

* release: harden draft validation edge cases

* P2MR v1 conformance and release framework (#118)

* doc: define the qbit P2MR v1 consensus profile

* test: add the qbit P2MR v1 conformance corpus

* ci: gate qbit P2MR v1 conformance with an independent oracle

* release: gate qbit P2MR v1 conformance and integration signoff

* ci: execute P2MR CHECKSIGADD and release validator tests

* build: preserve P2MR corpus line endings

* test: hard-fail invalid P2MR oracle signatures

* ci: initialize P2MR target directory at runtime

* ci: test p2mr release gate in release-only profile

* test: make p2mr v1 corpus fully reproducible

* test: execute p2mr data signature opcodes

* test: type p2mr generator mutation fixtures

* release: sync p2mr support matrix digest

* test: require CHECKSIGADD boundary fixtures

* test: fix rebased P2MR conformance checks

* test: close P2MR conformance review gaps

* test: align P2MR conformance with weight v2

* Harden P2MR corpus and oracle conformance evidence (#127)

* test: prove P2MR corpus mutation resistance

* test: cover P2MR signature opcode underflow

* release: sync hardened P2MR evidence digest

* qt: preserve PQC usage after signing failures (#128)

* qt: preserve PQC usage after signing failures

* docs: align release note with PR 128

* Enforce immutable local release publication (#117)

* release: enforce immutable local publication

* release: preserve resumed draft metadata

* release: fail closed on remote verification

* release: discover resumable drafts safely

* release: re-pin immutable publication tags (#130)

* Establish mainnet 3-of-5 release-key policy (#134)

* release: establish mainnet 3-of-5 signer policy

* ci: always verify operator policy approvals

* ci: use merge queue base for policy history

* Stage v1.0.0 mainnet launch; placeholder genesis and AuxPoW chain ID (#131)

* Stage v1.0.0 mainnet launch configuration

* test: derive subversion expectation from release version

* ci: enforce staged mainnet publication posture

* release: lock staged mainnet launch difficulty

* ci: test chain ID finalization contract

* release: separate staged and final genesis targets

* ci: require live chain ID assertion

* Activate future block time v2 at testnet4 height 60,000 (#133)

* Activate future block time v2 on testnet4

* Fix future-time v2 CI regressions

* test: isolate mempool limit synthetic chain

* test: preserve legacy timestamp scenarios

* test: derive nulldummy block time from tip

* test: keep sequence-lock blocks within time limit

* ci: retrigger validation after release rebase

* test: isolate pruning timestamps from future-time v2

* docs: publish v1.0.0 mainnet guidance

* consensus: pin mainnet genesis and ASERT anchor
@kiwidream kiwidream mentioned this pull request Jul 15, 2026
9 of 14 tasks
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