PQGrind Docs

Changelog

All entries are drafts. Nothing is frozen.

Draft v2 (December 2026)

  • Rewritten as a protocol description: notation, ordered validity conditions, exact score arithmetic, state-transition pseudocode, reorg rule.
  • Lock changed to PQSB-segwit with pins (79 commitments, 9 positions, 4 pins, 1,985-byte script); earlier drafts used a lock without pins.
  • Ledger changed from balances by address to units that follow satoshis first-in first-out; transfer claims removed.
  • Score defined in integer fixed point (ONE = 2^16) with display-order txid.
  • Difficulty fixed once per block.
  • Two issuance drafts collected on one page, Constants and difficulty, pending freeze.
  • Added: candidate definition, error codes (proposal), test vectors (inline), state-digest proposal, PSBT formats for listing and buying.
  • Proposed claim Format B: the claim as tag 127 inside a Runes runestone, optionally with a companion-rune mint in the same runestone ("dual mining"). Format A (13-byte direct push) remains what the test network runs.
  • Open items listed on the constants page.
  • Minting guide, troubleshooting, error code E07, judgment pseudocode, API examples and glossary moved to Draft C (leading hex zeros) and claim Format B. Test vectors for leading zeros and waves added. The score rule is kept for the earlier drafts.

Draft v1

  • First description centred on transaction-level proof of work; credited Atomicals bitwork as the precedent for indexer-checked transaction-ID work.