Skip to content

Document AuxPoW commitment order fields - #35

Merged
kiwidream merged 1 commit into
0.1.xfrom
document-auxpow-order-fields
Jun 28, 2026
Merged

kiwidream merged 1 commit into
0.1.xfrom
document-auxpow-order-fields

Conversation

@kiwidream

@kiwidream kiwidream commented Jun 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Document the commitmentorder and commitmentactivationheight fields in the mining pool quickstart createauxblock return table.
  • Clarify that pool software must use the RPC-returned commitment order when constructing the parent coinbase AuxPoW commitment.
  • Explicitly warn operators not to infer byte order from Namecoin/Dogecoin conventions or local serializer assumptions.

Validation

  • git diff --check origin/0.1.x...HEAD
  • docker run --rm -v "$PWD":/bitcoin -v /Users/miller/conductor/repos/qbit-v1/.git:/Users/miller/conductor/repos/qbit-v1/.git:ro qbit-linter test/lint/lint-qbit-public-docs.py
  • docker run --rm -v "$PWD":/bitcoin -v /Users/miller/conductor/repos/qbit-v1/.git:/Users/miller/conductor/repos/qbit-v1/.git:ro qbit-linter mlc --offline --gitignore --gituntracked --root-dir . doc/integration/mining-pool-quickstart.md

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


Note

Low Risk
Documentation-only change to the mining integration guide; no runtime, consensus, or RPC behavior is modified in this PR.

Overview
Updates mining-pool-quickstart so AuxPoW integrators treat createauxblock as authoritative for parent coinbase commitment serialization.

The createauxblock return table now documents commitmentorder and commitmentactivationheight, including that submissions at/after the activation height must follow the returned order. The AuxPoW commitment requirements section adds an explicit rule: pools must serialize aux_merkle_root using RPC commitmentorder, not Namecoin/Dogecoin habits or local serializer guesses.

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

@kiwidream
kiwidream merged commit 58bb334 into 0.1.x Jun 28, 2026
25 checks passed
kiwidream added a commit that referenced this pull request Jun 29, 2026
djh58 pushed a commit that referenced this pull request Jul 2, 2026
* Accept legacy AuxPoW RPC payloads (#23)

* Prevent AuxPoW signalling in permissionless GBT (#22)

* wallet: defer P2MR getnewaddress keypool refill (#13)

* 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

* Document AuxPoW commitment order fields (#35)

* Restrict explicit wallet output types on P2MR-only chains (#25)

* 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 and CTV script vectors (#29)

* Add independent P2MR PQC witness vector tests (#30)

* 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 (#31)

* wallet: avoid MarkUnused P2MR full top-up

* wallet: avoid MarkUnused lock inversion

* wallet: preserve P2MR recovery lookahead

* Split P2MR wallet unit tests (#52)

* Remove unused P2MR wallet test import (#58)

* Shard P2MR wallet unit tests (#60)

* Add independent CHECKDATASIGPQC vector tests (#38)

* test: add P2MR data-hash proof fixtures (#43)

* test: add independent P2MR commitment vectors (#47)

* Reject invalid raw funding outputs (#37)

* Validate witness-pruned assumevalid before wipe (#59)

* Add independent CHECKDATASIGADDPQC vector tests (#42)

* qt: recommend wallet encryption by default (#62)

* Verify libbitcoinpqc tagged subtree imports (#41)

* 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 (#54)

* Add P2MR PQC annex sighash vectors

* Guard annex mutation vector test

* Add P2MR data signature support to Qt Sign/Verify (#63)

* qt: add P2MR data signature dialog

* qt: support text data in P2MR signatures

* qt: align P2MR proof verification with RPC

* test: add P2MR CHECKSIGPQC sighash vectors (#55)

* Add rawmr future-leaf coverage (#64)

* test: cover P2MR SIGHASH_SINGLE missing outputs (#57)

* test: add P2MR PQC codeseparator vectors (#56)

* Fix PQC data-hash counter accounting (#46)

* Fix PQC data-hash counter accounting

* Fix PQC data-hash leaf error priority

* Report final PQC slot failures as exhausted

* doc: add v0.1.2-testnet4 release notes

* build: bump version to v0.1.2-testnet4
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