Repository navigation
release: prepare v1.1.0-rc1 - #256
Conversation
The "mainnet publication posture" job checks that the source being released keeps the mainnet launch posture: the AuxPoW chain ID, the genesis and ASERT launch data, the mainnet bootstrap, and the default-mainnet build. The "Classify release target" step only set mainnet_publish_gate_required for target branch 1.0.0, so pull requests, merge-queue runs and pushes into 1.1.0, the next mainnet release line, skipped the job and the Core Checks Gate never asked for its result. Set the output for 1.1.0 as well, and keep 1.0.0. The job's `if:` and the Core Checks Gate both read this output, so for source and release-policy changes into 1.1.0 the job now runs and a failure blocks the gate. Pin both branches in the existing workflow contract test, and update the release process, which names the branches the job runs for. Refs #222 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set CLIENT_VERSION_MINOR to 1, CLIENT_VERSION_BUILD to 0 and CLIENT_VERSION_RC to 1 so the source identifies as v1.1.0-rc1, the first release candidate of v1.1.0, the release after v1.0.1 that adds the hybrid post-quantum v2 transport (#184). CLIENT_VERSION_IS_RELEASE stays true: 1.1.0 is a release line, so candidate binaries carry no commit suffix, as for v1.0.0 and the v1.0.1 candidates. CMake appends "-rc1" to CLIENT_VERSION_STRING, so every binary reports v1.1.0-rc1, the user agent becomes /qbit:1.1.0-rc1/, and the Windows installer metadata and the RPC docs manifest's project version derive from the same string. The Guix archive name comes from the v1.1.0-rc1 tag itself. Regenerate the seven manual pages with contrib/devtools/gen-manpages.py (help2man 1.49.3) from a build of this tree with the GUI, the wallet and every tool. Besides the version and date lines, qbitd.1 and qbit-qt.1 gain -v2pqtransport, which #184 added as a connection option. The other options #184 added (-mlkemportable and the regtest-only -test values) are debug options that only -help-debug lists, so the pages don't show them. util_tests/test_FormatSubVersion expected the "Test" client name to format as CLIENT_VERSION_STRING, which fails for every version with a release-candidate suffix: FormatSubVersion uses that string only for the qbit user agent and formats any other name numerically. Apply the same fix as the v1.0.1-rc1 preparation (#181), byte for byte, so that merging 1.x.x into 1.1.0 brings an identical change: expect the numeric form built from the version components. The qbit user-agent checks on the next lines still cover CLIENT_VERSION_STRING. Refs #222 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add doc/release-notes-1.1.0.md in the structure of the v1.0.1 notes (#181). It covers every change merged to 1.1.0 since it branched from 1.x.x at 45e9e72: the hybrid post-quantum v2 transport, with the parts and fixes merged through #233 (#223 to #254), and #249. Behavior changes come first: the hybrid transport is on by default, how to switch it off, the numeric -v2pqtransport value, the single I2P session-creation limit and qbit-photon's OpenSSL configuration loading. A compatibility table states how v1.1.0 nodes connect with v1.0.0 and v1.0.1 nodes and over v1, in both directions, as p2p_v2_previous_release.py and rpc_pqtransport.py test it. Known limitations summarize the release fuzz campaign and the limits its report on #222 states, the basis of the load-shedding threshold, the portable ML-KEM code on AArch64 Linux, and the unsigned-platform waiver (#70). The only performance figures are the handshake benchmark results published in #240. Fold in and delete the 1.1.0 fragments doc/release-notes-223.md, -240.md and -249.md, and point the specification's and the operator guide's release-note links at the new notes' hybrid transport section. The v1.0.0 and v1.0.1 fragments are left alone. The notes say that v1.1.0 contains every change in v1.0.1. That holds once 1.x.x is merged into 1.1.0 after v1.0.1 ships; the short "Changes in v1.0.1" section then gains a link to the v1.0.1 notes. Refs #222 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The comment on DEFAULT_PQ_SHED_THRESHOLD_PER_S said that the release gate's flood measurement (#222, R3) would set its final value. R3 was settled with CPU benchmarks of the handshake instead, and the threshold stays at 1,000 offers per second, as the v1.1.0 release notes say. Say so, so the comment no longer points at a change that is not coming. Refs #222 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
#255 merged into 1.1.0 after the notes were drafted. It adds generated seeds to the required fuzz corpus for the hybrid transport's targets, so the test section now cites it alongside the earlier seed changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…nd a release issue form (#376) * doc: replace the release docs with a runbook, a publisher reference and a release issue form The launch-era release-process.md mixed the release procedure with publisher internals, and several of its statements no longer matched the code. It named `main` or `0.1.x` as the release source. It referred to workflow inputs and a workflow run URL, although #135 removed the Actions publisher. It said Core Checks enforces the mainnet posture, although that job runs only for the `1.0.0` branch. It did not separate what the publisher checks about trusted_release_ref from process, and it presented the P2MR release-note sentence as enforced when the publisher only checks that the notes are UTF-8. release-process.md is now a checklist runbook for a mainnet release cut from a release branch. It takes roles and quorums from keys.json, gives the prep-PR commands from the scripts themselves, lists the candidate checks and the trust-record fields, and shows one complete publisher command whose flags all exist in publish-local-release.sh. The publisher and validator details move to a new publisher-reference.md, corrected against the code. README.md drops the obsolete staging-phase text, guix.md describes the attestation layout, and a new Release issue form mirrors the runbook. The immutable-publication recovery heading stays in release-process.md because the publisher's error message points there. Co-Authored-By: Claude Opus 5.5 <[email protected]> * doc: apply review findings to the release runbook and publisher reference An adversarial review of the first commit found policy wording the operator has not decided and statements the code does not support. Policy: integration into main now follows the operator's recorded branch-model decision and main's ruleset, which allows only squash or rebase merges, so the docs no longer call it a fast-forward. The general CI-waiver path is gone; Full Validation and the Required Merge Gate must be green on the final commit, as #181 requires, and v1.0.0's deviation is history. Release candidates are decided per release: the FORCE_VERSION build is pre-tag smoke evidence, and an rc variant (--prerelease, --make-latest false, one trust record per rc) follows #256. The release branch is stated as fact, and --allow-unsigned-platform-artifacts is conditional on this release's #70 waiver. Facts, each checked against the code or live settings: posture-job coverage differs per branch copy of core-checks.yml; gen-manpages.py needs a GUI, wallet and all-tools build; only fragments for PRs merged since the previous tag are folded; the tag is signed with the keys.json fingerprint, checked by VALIDSIG and pushed by an account the tag-creation ruleset allows; testnet needs posture evidence and the issue form is mainnet-only; the trust-record list points to the public evidence list; RPC docs deploy only from main; qbit-wallet's pin is listed; fuzz evidence, staging rules, the public guix-attest SIGNER form, asset-list retries, matrix owner and limitations, the commit that lands the trust record, admin-bypassable tag immutability and x.y.0 chainparams scope are stated precisely. Co-Authored-By: Claude Opus 5.5 <[email protected]> * doc: make the release runbook's commands fail closed and fix evidence gaps Fixes from local review of the runbook: - The release-note fragment sort now runs in a `set -eu` subshell. It fails, and sorts nothing, unless PREVIOUS_TAG is set and the tag exists locally. Before, an empty PREVIOUS_TAG resolved paths against the index and labelled every fragment as older. - The manual mainnet posture check runs both checks that the CI job runs, the posture validator and verify_mainnet_ci_posture.py, in a fresh temporary worktree of TAG_TARGET. It needs no tag, and the worktree is removed on every exit path. - The trust-record PR no longer lists values that exist only after publication. Those values move to the follow-up PR. - The counted builder and signer aliases come from the validators run directly on the staged set, and their fingerprints from keys.json, as the earlier docs required. - The evidence includes each publisher run's evidence lines, saved with a pipefail-safe tee, and the line confirming that the published assets match. - The man-page build step states the real constraints. A release build never reports -dirty, so the tree must be clean. A Debug build adds Debug-only options, such as the lock debug category. - The rc-tag statement is dated, and both docs cite the same 1.x.x commit for the CI-coverage claim. The issue form matches the runbook. Co-Authored-By: Claude Opus 5.5 <[email protected]> * doc: run the release runbook with the staging tools and the key policy gate Update the release docs for the release staging tools (#374), the single key policy and Key Policy Gate (#375), and the posture check on every mainnet line (#385). Runbook: - Step 3 stages, signs and combines SHA256SUMS with stage-release-artifacts.py, sign-sha256sums.py and combine-sha256sums-signatures.py, as contrib/release-process/README.md shows. - All three run at a STAGING_REF pinned on the release branch, with the publisher's waiver flags and both artifact sets named. - The qbit-guix.sigs checkout is checked first. - Each signer checks STAGING_REF and the key policy, derives the manifest independently and signs with --expected-sha256sums-sha256 set to their own digest. - The coordinator checks each signature digest, combines with the expected manifest digest and restages to confirm status=unchanged. - The trust record takes its counts and digests from the tools' output. Right before it merges, the release branch must still have STAGING_REF's keys.json and certificates. - The publisher's validation-only output is compared with step 3 and the trust record before a draft is created: the key policy, the aliases, the artifact total, the pinned tag and qbit-guix.sigs refs, the source digest and the staged file digests. - After the release: - builders remove their build roots only once the published SHA256SUMS matches their attestation; - v1.0.1 reaches main by an admin fast-forward, from a fail-closed block that checks main, the target and both trust records first; - the Key Policy Gate is armed once, in the order contrib/keys/README.md gives. - The manual posture check runs the validator alone, wherever no push run on the tag target passed the Core Checks posture job. Publisher reference: - Tag pinning reads exactly refs/tags/<tag>, and checks that the tag object names the tag and that the bare name resolves to it. - Validators and the key policy are exported from git objects. Replace refs and grafts are ignored, shallow and partial clones are refused, and qbit-guix.sigs is read from the pinned commit's objects. - A new key policy section covers the canonical policy and its derived mirror, good-signature rules (revoked and expired keys never count), quorums by distinct primary keys, and the merge gate's continuity checks. - CI coverage describes #385's rule. The removed staging-policy text is gone, from the release README too. The issue form tracks the same items. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…nd a release issue form (#376) * doc: replace the release docs with a runbook, a publisher reference and a release issue form The launch-era release-process.md mixed the release procedure with publisher internals, and several of its statements no longer matched the code. It named `main` or `0.1.x` as the release source. It referred to workflow inputs and a workflow run URL, although #135 removed the Actions publisher. It said Core Checks enforces the mainnet posture, although that job runs only for the `1.0.0` branch. It did not separate what the publisher checks about trusted_release_ref from process, and it presented the P2MR release-note sentence as enforced when the publisher only checks that the notes are UTF-8. release-process.md is now a checklist runbook for a mainnet release cut from a release branch. It takes roles and quorums from keys.json, gives the prep-PR commands from the scripts themselves, lists the candidate checks and the trust-record fields, and shows one complete publisher command whose flags all exist in publish-local-release.sh. The publisher and validator details move to a new publisher-reference.md, corrected against the code. README.md drops the obsolete staging-phase text, guix.md describes the attestation layout, and a new Release issue form mirrors the runbook. The immutable-publication recovery heading stays in release-process.md because the publisher's error message points there. Co-Authored-By: Claude Opus 5.5 <[email protected]> * doc: apply review findings to the release runbook and publisher reference An adversarial review of the first commit found policy wording the operator has not decided and statements the code does not support. Policy: integration into main now follows the operator's recorded branch-model decision and main's ruleset, which allows only squash or rebase merges, so the docs no longer call it a fast-forward. The general CI-waiver path is gone; Full Validation and the Required Merge Gate must be green on the final commit, as #181 requires, and v1.0.0's deviation is history. Release candidates are decided per release: the FORCE_VERSION build is pre-tag smoke evidence, and an rc variant (--prerelease, --make-latest false, one trust record per rc) follows #256. The release branch is stated as fact, and --allow-unsigned-platform-artifacts is conditional on this release's #70 waiver. Facts, each checked against the code or live settings: posture-job coverage differs per branch copy of core-checks.yml; gen-manpages.py needs a GUI, wallet and all-tools build; only fragments for PRs merged since the previous tag are folded; the tag is signed with the keys.json fingerprint, checked by VALIDSIG and pushed by an account the tag-creation ruleset allows; testnet needs posture evidence and the issue form is mainnet-only; the trust-record list points to the public evidence list; RPC docs deploy only from main; qbit-wallet's pin is listed; fuzz evidence, staging rules, the public guix-attest SIGNER form, asset-list retries, matrix owner and limitations, the commit that lands the trust record, admin-bypassable tag immutability and x.y.0 chainparams scope are stated precisely. Co-Authored-By: Claude Opus 5.5 <[email protected]> * doc: make the release runbook's commands fail closed and fix evidence gaps Fixes from local review of the runbook: - The release-note fragment sort now runs in a `set -eu` subshell. It fails, and sorts nothing, unless PREVIOUS_TAG is set and the tag exists locally. Before, an empty PREVIOUS_TAG resolved paths against the index and labelled every fragment as older. - The manual mainnet posture check runs both checks that the CI job runs, the posture validator and verify_mainnet_ci_posture.py, in a fresh temporary worktree of TAG_TARGET. It needs no tag, and the worktree is removed on every exit path. - The trust-record PR no longer lists values that exist only after publication. Those values move to the follow-up PR. - The counted builder and signer aliases come from the validators run directly on the staged set, and their fingerprints from keys.json, as the earlier docs required. - The evidence includes each publisher run's evidence lines, saved with a pipefail-safe tee, and the line confirming that the published assets match. - The man-page build step states the real constraints. A release build never reports -dirty, so the tree must be clean. A Debug build adds Debug-only options, such as the lock debug category. - The rc-tag statement is dated, and both docs cite the same 1.x.x commit for the CI-coverage claim. The issue form matches the runbook. Co-Authored-By: Claude Opus 5.5 <[email protected]> * doc: run the release runbook with the staging tools and the key policy gate Update the release docs for the release staging tools (#374), the single key policy and Key Policy Gate (#375), and the posture check on every mainnet line (#385). Runbook: - Step 3 stages, signs and combines SHA256SUMS with stage-release-artifacts.py, sign-sha256sums.py and combine-sha256sums-signatures.py, as contrib/release-process/README.md shows. - All three run at a STAGING_REF pinned on the release branch, with the publisher's waiver flags and both artifact sets named. - The qbit-guix.sigs checkout is checked first. - Each signer checks STAGING_REF and the key policy, derives the manifest independently and signs with --expected-sha256sums-sha256 set to their own digest. - The coordinator checks each signature digest, combines with the expected manifest digest and restages to confirm status=unchanged. - The trust record takes its counts and digests from the tools' output. Right before it merges, the release branch must still have STAGING_REF's keys.json and certificates. - The publisher's validation-only output is compared with step 3 and the trust record before a draft is created: the key policy, the aliases, the artifact total, the pinned tag and qbit-guix.sigs refs, the source digest and the staged file digests. - After the release: - builders remove their build roots only once the published SHA256SUMS matches their attestation; - v1.0.1 reaches main by an admin fast-forward, from a fail-closed block that checks main, the target and both trust records first; - the Key Policy Gate is armed once, in the order contrib/keys/README.md gives. - The manual posture check runs the validator alone, wherever no push run on the tag target passed the Core Checks posture job. Publisher reference: - Tag pinning reads exactly refs/tags/<tag>, and checks that the tag object names the tag and that the bare name resolves to it. - Validators and the key policy are exported from git objects. Replace refs and grafts are ignored, shallow and partial clones are refused, and qbit-guix.sigs is read from the pinned commit's objects. - A new key policy section covers the canonical policy and its derived mirror, good-signature rules (revoked and expired keys never count), quorums by distinct primary keys, and the merge gate's continuity checks. - CI coverage describes #385's rule. The removed staging-policy text is gone, from the release README too. The issue form tracks the same items. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary Merges `1.x.x` (through #425, 51 commits, the v1.0.1 work) into `1.1.0`, which has not moved since the v1.1.0-rc1 prep (#256) on 2026-10-27. After this, `1.1.0` is `1.x.x` plus the PQ transport line (#233, #249, #255, #256). ## Sync point This commit is the squash of the merge of `1.x.x` at `a7a70660ad6ecadbf77b89bc2fe85ba068a86a71` into `1.1.0` at `1b6e6b677ddd7e965a374cf3419bde4dd09747e4` (reviewed merge commit `2f01f54d8dbc3984fbdc848b4d96eb220d75464e`, tree `d588767f7af07c937ea4d6525313897e9c9daf6e`). A squash does not record `1.x.x` as a parent, so the next sync must name that `1.x.x` commit as its merge base (`git merge-tree --merge-base=<that commit>`, or a local join commit with it as second parent) instead of using the base Git finds, which stays at `45e9e72c2d` and would raise every conflict below again. ## Conflict resolutions | Files | Resolution | | --- | --- | | `CMakeLists.txt`, `doc/man/*.1` | Keep v1.1.0-rc1. | | `src/init.cpp` | Keep both `-mlkemportable` and `-txvalidationbudget`. | | `required-merge-gate.yml`, `test_merge_gate_poller.py` | Both lines independently taught the gate to read only its own event's runs. Took the `1.x.x` implementation (#345) whole and re-added the `1.1.0` triggers, the PQ CI contract step and the `1.1.0` ruleset template. | | `ci.yml`, `core-checks.yml` | Took the `1.x.x` spelling of the identical `--no-renames` change and its mainnet-line rule (already covers `1.1.0`); kept the PQ jobs, the apt cache and the fuzz tooling step. | | `ci-nightly-heavy.yml` | Kept the job catalog; carried the 300 minute ARM shard limit (#377) into it. `test_scheduled_validation_contract.py` now reads the catalog. | | `classify_merge_profile.py` | Kept the `1.x.x` operator-key routing and the PQ unit and functional file sets. | | `release-process.md`, `test_verify_mainnet_ci_posture.py` | Took the `1.x.x` runbook and the removal (#376, #385). | | `.github/rulesets/1.1.0.json` | Not a conflict: matched to the `1.0.0` template, which the ruleset check from `1.x.x` requires. | ## Testing (local, x86_64 Linux, Release build) - Build: clean. - Unit tests: 187 of 188 pass, `script_assets_tests` skipped as usual. - Functional, in `--v2pqtransport` mode and again in default mode: every `p2p_v2_*`, `feature_pq_*`, `rpc_net`, `rpc_pqtransport`, and the 12 functional tests `1.x.x` added or changed (including `p2p_tx_validation_budget` and `p2p_auxpow_headers_size`). All pass. - `ci/checks/test_*.py`, `ci/release/test_*.py`, PQ canary, fuzz coverage anchors, seed check, PQ doc token lint: pass, except `test_verify_testnet_release_posture.py`, which fails identically on both parents on this host. Not run locally: the full functional suite, sanitizers, non-x86 and macOS jobs, fuzz replay. ## Follow-ups, not in this PR - Man pages keep the October date and are not regenerated; do that when the next release candidate is cut. - `test/rpc_docs/test_site_builder.py` fails on `1.1.0` before and after this merge (`getpqtransportinfo` is missing from the sample manifest). - `1.x.x` does not contain the v1.0.1 release commit on `main`; nothing here depends on it. Squashed commits: 4fb9dbe doc: fix pipe rendering and tighten P2MR v1 consensus profile (#252) d38cbd8 doc: document bounded30 usage-dependent security margin and raw-key counter limits (#264) 02a465d script: cache verified P2MR data-signature checks (v1.0.1) (#265) aa8ea86 policy: bound P2MR runtime stack bytes (#263) a1e8bd9 net: bound the size of headers messages we send (#266) e374ba2 subtree: import libbitcoinpqc v0.3.2 signer stack scrub (#268) 330b370 crypto: clear stack released by PQC secret-key operations (#270) b27130a wallet: take descriptor locks before EncryptWallet's transaction (#277) 21fee6e mining: reset cached block checks in IPC submitSolution (backport bitcoin/bitcoin#33745) (#289) 9c831be wallet: keep the SQLite lock when probing loaded wallet files (#297) 635919d wallet: fail a send whose inputs a concurrent call spent (#298) a5967f6 depends: Update Qt to 6.8.4 and fix macOS accessibility use-after-free (#347) baf158a fuzz: re-anchor PQC coverage checks after #270 and run them in CI (#342) dd86425 wallet: deferred P2MR keypool refill at startup and unlock; Lock() waits for key copies (#299) ee85afc test: fix race in p2p_auxpow_headers_size (#358) e112622 qt: fix send confirmation re-entrancy and dialog deletion during confirmation (#348) 863e6b1 wallet: fallback-fee follow-ups for #151 (discard rate, GUI warning, default test, help texts) (#346) 621b330 ci: bind the Required Merge Gate to its own event's runs, fail drafts, keep both sides of renames (#345) b5486bf qt: keep PSBT signing results across shutdown, close and unload (#344) 49b5013 test: keep wallet_p2mr_deferred_keypool_tests within time limits under sanitizers (#361) 993ab75 ci: run runner selection on GitHub-hosted Ubuntu (#362) 9574775 qt: ignore PSBT Sign while a signing attempt is in progress (#353) 594b934 contrib: import libbitcoinpqc releases as one verified main-line commit (#360) 535f69f guix: ship macOS debug symbols as dSYM bundles (#343) ea571b8 wallet: remove deleted plaintext keys from the wallet file after encryption (#300) 3a12925 wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock (#301) b10c761 ci: allowlist fuzz-seed format tags in the gitleaks scan (#367) 0a936d6 ci: retry the cargo-audit database fetch and fix the clang analyzer scan (#368) d647580 contrib: add the rulesets for qbit-guix.sigs main (#371) 26ebfc9 contrib: add public tools to stage, sign and combine release checksums (#374) d6a72d6 contrib: keep the release key policy in one place and tighten key-policy continuity checks (#375) bdc43f3 wallet: keep the lock state when changing the passphrase (#379) 33cb6e8 ci: keep the 32-bit ARM nightly unit-test shards within their time limit (#377) e26c22e ci: run the mainnet publication posture check on every mainnet line (#385) 73c704b qt: wait for open dialogs before shutdown and wallet unload (#354) dfbf4b8 qt: keep the GUI responsive during wallet encryption started outside it (#352) 843ba29 doc: replace the release docs with a runbook, a publisher reference and a release issue form (#376) c53393d net: only use service bits learned from a direct connection when deciding which addresses to avoid (#380) 9fc25e0 photon: bound inbound relay state per peer and check blocks before submission (#381) 3723aeb ci: parse gpg status output on newline only and reject other line separators (#387) 9935217 net: budget per-peer time spent validating rejected transactions (#386) a811585 photon: announce blocks under the low-order bits of their hash (#410) 1efb3ae wallet: refill P2MR keypools before walletpassphrase returns (#411) e9f4499 wallet: fail descriptor key encryption when the plaintext record is not erased (#418) 694c26d ipc: return false from submitSolution for a missing or undecodable coinbase (#419) 2f2ad3e net: request transactions held back by the validation budget later, and limit each connection's share of the pool (#422) 273353b net, validation: attribute received blocks to their sender and check recovered blocks (#414) 889d3e2 qt: add a play-money poker lobby based on Satoshi's 2009 design (#378) 6a3421d script: limit standard hashing of large P2MR stack elements (#415) 29c0ec9 release: prepare v1.0.1 (#181) a7a7066 net: pass held-back transaction announcements on at most once per retry delay (#425) 2f01f54 Merge 1.x.x into 1.1.0 Synced-From: 1.x.x@a7a70660ad6ecadbf77b89bc2fe85ba068a86a71 git-subtree-dir: src/libbitcoinpqc git-subtree-split: 1965d0da1eb4d9e196613b8f3a5d0d866a221c53 Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Alexander Miller <[email protected]> Co-authored-by: Sjors Provoost <[email protected]> Co-authored-by: Fabian Jahr <[email protected]> Co-authored-by: Dan Hepworth <[email protected]>
Summary
This PR prepares v1.1.0-rc1 from
1.1.0for the hybrid post-quantum v2 transport release (#184, gate #222). It is a draft until the maintainer checklist below is resolved.Mainnet posture gate for
1.1.0(ci: check mainnet publication posture for 1.1.0):mainnet_publish_gate_requiredonly for target branch1.0.0, so themainnet publication posturejob never ran for1.1.0. It now runs for1.0.0and1.1.0.if:and the Core Checks Gate both read that output, so a posture failure now blocks the gate for source and release-policy changes into1.1.0, including this PR.doc/release/release-process.md, which names the branches, is updated;doc/release-trust-1.0.0.mdis a historical record and is left alone.Version metadata (
build: bump version to v1.1.0-rc1):CLIENT_VERSION_MINOR=1,CLIENT_VERSION_BUILD=0andCLIENT_VERSION_RC=1.CLIENT_VERSION_IS_RELEASEstaystrue, as in release: prepare v1.0.1 #181.qbitd.1andqbit-qt.1gain-v2pqtransport, exactly as-helpprints it.-mlkemportableand the new-testvalues are debug options that only-help-debuglists, so the pages don't show them.util_tests/test_FormatSubVersionfix is release: prepare v1.0.1 #181's hunk, byte for byte (same resulting blob,d3317cbe1a), so merging1.x.xlater brings an identical change.Release notes
doc/release-notes-1.1.0.md(doc: draft v1.1.0 release notes):1.1.0since it branched from1.x.xat45e9e72c2d: the parts and fixes merged through Hybrid post-quantum v2 transport (#184) — integration #233 (i2p: request post-quantum leasesets (6,4) and retry once with 4,0 on explicit rejection #223 to test: end a failed v2 handshake without resetting the connection #254, per its tables) and depends: upgrade OpenSSL for photon from 3.0.15 to 3.5.9 #249.-v2pqtransportvalue, the single I2P session-creation limit (i2p: request post-quantum leasesets (6,4) and retry once with 4,0 on explicit rejection #223, i2p, test: steady SAM creation deadline, test framework fixes #246), andqbit-photonno longer loading OpenSSL engines or providers (depends: upgrade OpenSSL for photon from 3.0.15 to 3.5.9 #249).p2p_v2_previous_release.pyandrpc_pqtransport.pytest it.release-notes-223.md,-240.mdand-249.mdare folded in and deleted. The operator guide's and the specification's three links torelease-notes-240.mdnow point at the new notes'#hybrid-post-quantum-v2-transportsection. The v1.0.0 fragments (95, 102, 128, 132) and the v1.0.1 fragments (150, 151) are left alone.A stale comment (
net: say how the load-shedding threshold was set):DEFAULT_PQ_SHED_THRESHOLD_PER_Ssaid release: hybrid v2 transport release gate and default-on (#184 part 9) #222's flood measurement (R3) would set its final value. R3 was settled with CPU benchmarks, and the threshold stays at 1,000 per second, as the notes say.Maintainer checklist (must be resolved before tagging or publishing)
The publisher does not enforce any of this: it only checks that the notes file is UTF-8.
1.x.xafter v1.0.1 ships. Merge1.x.xinto1.1.0, then rebase this PR.CMakeLists.txt(keep1.1.0-rc1) and in the seven man pages: regenerate them from the merged tree. Thetest_FormatSubVersionhunk is identical on both sides. release: prepare v1.0.1 #181 deletes the 150 and 151 fragments, and the merge brings that deletion.1.x.xafter1.1.0branched.1.1.0already contains v1.0.1's code changes, because it branched from1.x.xafter them. So if rc1 has to be tagged before v1.0.1's notes are published, first fold v1.0.1's behavior changes into these notes instead of pointing to them.release-notes-1.0.1.mdand add a short section with its behavior changes (the-fallbackfeedefault wallet: default -fallbackfee to the minimum relay fee #151, fee-onlysendentries wallet: show fee-only change-only self-transfers #150, and theencryptwalleterror code wallet: close races around CWallet::EncryptWallet #183). The notes already say v1.1.0 contains every v1.0.1 change; that holds only after this merge.1.1.0before the rc1 tag, or record that it follows rc1. It adds generated fuzz seeds only. Re-check1.1.0for other new merges before tagging.testnet4soak across platforms, on the release candidate.-v2pqtransportbullet under "Hybrid post-quantum v2 transport";-v2pqtransport's help text, which prints(default: 1), so theqbitd.1andqbit-qt.1pages must be regenerated;v1.1.0-rc1is tagged, open a PR addingdoc/release-trust-1.1.0-rc1.mdto1.1.0, followingdoc/release-trust-1.0.0.mdand release: prepare v1.0.1 #181's checklist. Its merge commit becomes thetrusted_release_reffor publishing rc1. Repeat this for the final release.45e9e72c2dand include the release: fail closed when the release asset list cannot be read #170 publisher fix.contrib/keys/operator-keys/keys.jsonis unchanged (f04ae262…).mainnet publication posturejob on pull requests into1.1.0, so the trust doc can cite a run of it on the rc1 source.--prereleaseand an explicit--notes-filepointing to a publish-time copy ofdoc/release-notes-1.1.0.md. In that copy, "Release verification" carriesConforms to qbit P2MR v1 corpus <digest> on source commit <SHA>; independent oracle report <digest>., filled from the evidence run on the rc1 tag target (release-process.md steps 1–10).--allow-unsigned-platform-artifactsand do not pass--allow-codesigning-artifacts. If signing accounts are ready by then, remove the waiver from the notes.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:
Build: a Release build of this tree with the GUI (system Qt 6.10), the wallet, IPC and every tool.
qbitd,qbit-cli,qbit-tx,qbit-util,qbit-wallet,qbitandqbit-qtprintv1.1.0-rc1. A regtest node reportssubversion/qbit:1.1.0-rc1/andversion10100, and logsqbit version v1.1.0-rc1 (release build)andv2 pq: enabled arith=x86_64-avx2 keccak=x86_64-avx2.Mainnet posture: the job's two steps, run as written on a
v0.0.0-mainnet-posture-ci.<sha>annotated tag at the version-bump commit, pass:verify_mainnet_release_posture.pyreports no failures, andverify_mainnet_ci_posture.pyreports publication-ready for thefinalpolicy. The classify step's script givestruefor1.0.0and1.1.0with thesourceandrelease-policyprofiles, andfalseotherwise. The classifier puts this PR in thesourceprofile, so the job runs on it.Tests:
test_qbit --run_test=util_testspasses.interface_bitcoin_cli,feature_help,feature_uacomment,rpc_net(v1 and v2),feature_pq_quickstartandrpc_pqtransportpass.ci/release: 8 suites, 228 tests, pluscontrib/guix/test_build_config.py.test_verify_testnet_release_posture.pyneeds a git config without commit signing, as on CI runners, because it makes commits in temporary repositories.ci/checks: all 10 suites pass.Lints: actionlint 1.7.12 on
core-checks.yml,lint-qbit-public-docs,lint-pq-doc-tokens(141 tokens in 3 documents, with the binaries and from the sources), the P2MR integration-matrix test the public-docs job runs,generate-pq-transport-vectors.py --check,lint-files,check-doc, the classifier tests, a relative-link and anchor check of the changed docs, andgit diff --check.Notes review: each bullet was checked against its merged PR's description and, for numbers and names, against the code: the fallback windows, history caps, local-fault threshold, shedding threshold and quiet period, the I2P limit, the startup line, the RPC fields and the man-page help text.
Not run: the full unit and functional suites,
test_qbit-qt, Guix builds,mlc(not installed here; the relative-link check covers the changed links), codespell, and CI.Notes for reviewers:
/qbit:1.1.0-rc1/.1.1.0yet:ci-nightly-heavy,ibd-perf-manualandrpc-perf-manualuseMAINTAINED_BRANCH: 1.x.x. Full Validation runs the hybrid functional suite on changes that need it.Target Branch
mainor a maintainer-requested release branch such as0.1.x.Targets
1.1.0.Risk / Review Notes
Notes: this changes release metadata and one CI condition: the version and user agent, man pages, release notes and the mainnet posture gate's target branches. There are no code-behavior changes beyond the test expectation. The posture gate now runs on every source or release-policy PR into
1.1.0, so a later change that breaks the mainnet launch posture fails Core Checks there instead of at publication.Docs / Process Impact
Choose exactly one:
Refs #222 · Part of #184
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.