Skip to main content

Proof of Useful Work (PoUW)

BelizeChain's consensus channels validator compute into useful work — federated learning updates and quantum workloads — instead of wasting it on arbitrary hashing.

Block Production and Finality

LayerMechanismNotes
Block productionBABE (VRF-based slot assignment)6-second slots
FinalityGRANDPAByzantine fault-tolerant finality gadget
Useful workPoUW scoringThe validator's reward is scaled by verified contribution weights

Block producers are selected by BABE's verifiable random function. GRANDPA finalizes produced blocks. PoUW determines how reward flows to validators who also contribute useful work.

The Federated Learning Loop

Validators can register as federated learning nodes. In each cycle:

  1. Task assignment — the coordinator issues a federated learning task.
  2. Local computation — the validator trains on its private dataset. Data never leaves the node.
  3. Proof of computation — the validator produces a verifiable commitment over the update (BLAKE2-256 commitments in the current implementation; full zero-knowledge proof verification is a later-stage goal).
  4. Submission — the encrypted model delta is submitted to the network.
  5. Aggregation — contributions are aggregated with privacy safeguards, including differential privacy noise and secure aggregation.

How Rewards Are Scored

The on-chain reward in pallet-staking weighs two verified dimensions plus a stake bonus:

  • Timeliness (20%) — the submission block measured against the assigned deadline
  • Honesty (20%) — derived from adjudicated offences recorded via slash_validator
  • Stake bonus (5%) — the validator's actual staked capital

There is no quality term on-chain. The remaining 40% was a quantum-work weight that was removed deliberately: record_quantum_contribution took accuracy_score, job count and qubits × depth from the same call that recorded them, so nothing independently verified the claim. Emissions per validator are consequently 40% lower than before that change. A verified quantum term should restore the share; until then the chain does not pay for an unverifiable claim.

Nawal's own client-side scoring in blockchain/rewards.py still uses quality 40% / timeliness 30% / honesty 30%, but that is a local estimate of what a round was worth — it is not the on-chain payout formula.

Safeguards

Misbehavior is penalized through the staking pallet's slashing framework:

  • Invalid computation proofs
  • Missing round deadlines
  • Privacy violations
  • Model poisoning attempts
  • Consensus violations (double signing/equivocation)

Severity is set by the reporting authority: report_validator_offense is root-only and takes the slash percentage as a call argument, rather than computing it from the number of offenders. First-time offenders have their slash escrowed in the Justice pallet pending mediation; repeat offenders bypass that path.

Quantum Workloads

The Quantum pallet (via the Kinich platform) registers quantum jobs and apportions rewards for verified computations, connecting PoUW scoring to quantum-classical hybrid workloads.

Related