Skip to content

Release qbit v0.1.2-testnet4 - #65

Merged
djh58 merged 29 commits into
mainfrom
release-v0.1.2-testnet4
Jul 2, 2026
Merged

djh58 merged 29 commits into
mainfrom
release-v0.1.2-testnet4

Conversation

@kiwidream

@kiwidream kiwidream commented Jul 2, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Merge the current 0.1.x release train into main, including the latest
    main scanner fix.
  • Add v0.1.2-testnet4 release notes covering the merged maintenance changes.
  • Bump release metadata to v0.1.2-testnet4, including generated manpage
    version strings and version-sensitive util test expectations.

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: full local build, unit, and functional test suites were
    not run for this release-merge PR.

Checks run:

  • git diff --check origin/main...HEAD
  • python3 -m py_compile ci/scanners/run-scanners.py
  • DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file ./ci/lint_imagefile .
  • Docker lint with COMMIT_RANGE=origin/main..HEAD using the bitcoin-linter
    image

Target Branch

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

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: This PR intentionally carries the 0.1.x maintenance train plus the
v0.1.2-testnet4 release notes/version bump into main.

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: src/libbitcoinpqc was not changed by this PR.

  • 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.

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


Note

High Risk
Touches merged-mining RPC decoding, witness-pruned startup with assumevalid, wallet PQC signing and counter semantics, and extensive P2MR/script validation coverage in a broad release merge.

Overview
Release v0.1.2-testnet4 bumps client build metadata and generated man pages, adds full release notes, and refreshes the PR template’s libbitcoinpqc checklist for immutable release-tag imports and test/lint/libbitcoinpqc-subtree-check.sh.

Mining and nodes: submitauxblock accepts legacy Dogecoin-style AuxPoW hex (extra parent hash field), normalizes to qbit’s canonical layout, and docs spell out createauxblock commitment fields plus accepted payload order. Permissionless getblocktemplate / block assembly clears AuxPoW signalling on regtest -blockversion overrides. Witness-pruned -reindex-chainstate now validates -assumevalid before chainstate/snapshot wipes, with snapshot detection deferred until after that preflight.

Wallet / Qt: P2MR-only chains get Sign/Verify data UI (UTF-8 or 32-byte hash → proof JSON aligned with signdatapqchash / verifydatapqchash), shared VerifyP2MRDataSignatureProof, default encrypted wallet creation, and related wallet/RPC behavior called out in release notes (PQC counter reservation, keypool, funding guards).

libbitcoinpqc process: Subtree updates and CI/scanners drop the curated-branch model; provenance checks pin Qbit-Org/qbit-libbitcoinpqc tags (e.g. v0.3.0) and invoke the dedicated subtree lint script; TS evidence scripts rename metadata accordingly.

Test / tooling: Adds independent P2MR OP_CHECKSIGPQC witness vector generators (Python devtool + Rust testgen crate), scanner unit tests, and large fixture/coverage expansions documented in the release notes.

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

kiwidream added 29 commits June 29, 2026 11:02
* wallet: defer P2MR getnewaddress keypool refill

* wallet: bound internal P2MR keypool refill

* wallet: align P2MR top-up lock ordering

* wallet: schedule raw change P2MR refills

* wallet: report paused P2MR refills as failed

* wallet: log inline P2MR refill failures

* ci: fix BuildKit helper lint
* Restrict explicit wallet output types

* test: run BECH32 wallet suites on unrestricted regtest

* fuzz: run wallet transaction target on unrestricted regtest

* Fix BuildKit helper lint

* Report missing wallet output managers accurately

* Allow managerless wallets with default output options
* test: add independent P2MR PQC witness vector

* test: verify P2MR wrong-domain vector signature

* Fix AuxPoW legacy payload disambiguation
* wallet: avoid MarkUnused P2MR full top-up

* wallet: avoid MarkUnused lock inversion

* wallet: preserve P2MR recovery lookahead
* ci: verify libbitcoinpqc tagged subtree imports

* ci: handle peeled libbitcoinpqc tag refs

* ci: peel libbitcoinpqc tag objects before compare

* ci: pass auth to libbitcoinpqc verifier

* ci: pin libbitcoinpqc verifier inputs

* ci: verify libbitcoinpqc import tree
* Add P2MR PQC annex sighash vectors

* Guard annex mutation vector test
* qt: add P2MR data signature dialog

* qt: support text data in P2MR signatures

* qt: align P2MR proof verification with RPC
* Fix PQC data-hash counter accounting

* Fix PQC data-hash leaf error priority

* Report final PQC slot failures as exhausted
# Conflicts:
#	ci/scanners/README.md
#	ci/scanners/run-scanners.py
#	src/wallet/test/wallet_tests.cpp
@djh58
djh58 self-requested a review July 2, 2026 19:24
@djh58
djh58 merged commit 6f29b4a into main Jul 2, 2026
51 of 87 checks passed
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.

2 participants