LPsLux Proposals
Consensus Systems
LP-4015

Q-Chain Pulsar Finality Blocks

Final

The compact finality-block log for Quasar — a few hundred bytes of header and roots plus one Pulsar-65 threshold signature per block, so per-block bandwidth is O(1) in committee size and adding validators makes Z-Chain heavier, not Q-Chain

Category
Core
Created
2026-05-10

Abstract

Q-Chain is the compact finality-block log for the Quasar consensus engine on the Lux primary network. Each Q-Block carries a few hundred bytes of header and roots — anchored to Z-Chain per LP-8030 — plus a single ~3.3 KB Pulsar-65 threshold signature (LP-4450).

Per-block bandwidth is O(1) in committee size. Adding validators makes Z-Chain heavier; it does not make Q-Chain heavier. That is the whole point of the split: Z-Chain holds the bulky identity state, Q-Chain references its roots by hash.

The locked profile

Q-Chain runs under the canonical strict post-quantum profile:

ProfileID:             0x01  (ProfileLuxStrictPQ)
ProfileName:           LUX_STRICT_PQ
HashSuiteID:           SHA3_NIST                (0x01)
IdentitySchemeID:      ML_DSA_65                (0x42)
FinalitySchemeID:      PULSAR_M_65              (0x52)
HighValueSchemeID:     PULSAR_M_87              (0x53)
ProofPolicyID:         STARK_FRI_SHA3_PQ        (0x10)
AllowedBackends:       SP1_COMPRESSED_STARK, RISC0_SUCCINCT_STARK,
                       P3Q_PLONKY3_STARK_FRI, STONE_CAIRO_STARK_CPP,
                       STWO_CIRCLE_STARK
MinSoundnessBits:      128
MinHashOutputBits:     384
RequireTransparent:    true
ForbidPairings:        true
ForbidKZG:             true
ForbidTrustedSetup:    true
ForbidClassicalSNARKs: true
ForbidDevProofs:       true
ForbidFallbacks:       true

Source of truth: luxfi/consensus/config.LuxStrictPQProfile. The profile hash is pinned at mainnet genesis and bound into Certificate.TranscriptHash(), so a flipped byte breaks signature verification rather than merely failing a string comparison.

Production defaults

ParameterValue
version0x0001
proof_system_id0x10 (STARK_FRI_SHA3_PQ)
hash_suite_id0x01 (SHA3_NIST)
sig_scheme_id0x52 (Pulsar-65)
Committee size n64
BFT fault bound f21
Threshold t43-of-64
Epoch lengthnetwork-configurable; starts at 1 hour

High-value roots — governance, bridge, slashing checkpoints — MAY upgrade sig_scheme_id to 0x53 (Pulsar-87) for the duration of the operation. Devnet and CI may use 0x51 (Pulsar-44); mainnet refuses 0x51.

Transcript binding

The canonical transcript-binding function is TupleHash256 over 23 axes with the customisation string PULSAR-Q-BLOCK-V1. A Q-Block is accepted only when its round digest reproduces under that binding, so every axis — profile hash, committee, epoch, anchored roots — is load-bearing rather than advisory.

Implementation surface

ConcernLocation
Wire encoder / decoder and round-digest computationluxfi/consensus/pkg/wire/qblock.go
Driver consuming Q-Blocks from WitnessSet.Runluxfi/consensus/protocol/quasar/
Transcript bindingluxfi/consensus/protocol/quasar/round_digest.go
Q-Chain VMluxfi/node/chains/quasarvm
Test vectors — acceptance, refusal on a forbidden proof system, transcript bindingluxfi/consensus/qblock-vectors/

Compliance

A node MUST reject any Q-Block whose proof_system_id is a forbidden marker (0x80 or 0x81), whose hash_suite_id is not 0x01 SHA3_NIST, or whose sig_scheme_id is not in the network allowlist. Rejection MUST happen before threshold-signature verification — a refused block never reaches the verifier.

A Q-Block carrying full validator ML-DSA-65 public keys, per-validator ML-DSA signatures, full DKG ceremony messages, per-validator attestation blobs, or non-epoch-boundary Z-Chain proof bytes violates this specification and MUST be rejected. The wire format has no field to hold them; that absence is the enforcement.

Rationale

Anchoring to Z-Chain rather than inlining identity is what keeps the block constant-size. The identity state — validator registry, pubkey commitments, revocation set, stake weights, DKG transcripts, committee selection — is bulky and changes at epoch cadence, not block cadence. Every Q-Block's zchain_state_root, validator_set_root, committee_root, dkg_transcript_root, and group_public_key_hash equal the corresponding fields in the Z-Chain EpochCommitment for that epoch. One hash reference per root replaces the whole set.

Pulsar threshold signatures verify directly at Q-Chain under unmodified FIPS 204 ML-DSA.Verify; their soundness does not require a Z-Chain proof. Per-block threshold-signing transcripts are therefore out of scope for the identity rollup.

References

  • LP-4450 — Pulsar, the threshold signature scheme a Q-Block carries.
  • LP-8030 — the Z-Chain identity rollup a Q-Block anchors to.
  • LP-7130 — mesh identity under the same profile.
  • LP-0122 — cert composition.

Copyright and related rights waived via CC0.