$NOSTRA

Paper 3, 5 December 2026

Proof of work after quantum computers

Abstract

Quantum computers threaten signatures far more than mining. Grover’s algorithm gives at best a square-root speed-up to a hash search, and it needs hardware far beyond any published roadmap to matter. Nostra therefore picks its mining method for who can take part: scrypt on the testnet, RandomX planned for the mainnet, with a block every 60 seconds.

A fluted stone column with a pickaxe resting on a block on top

1What Grover changes

Mining is a search: change a number until the block’s hash falls below a target. With N candidates to try, a classical miner needs about N tries. Grover’s algorithm needs about √N quantum steps [1].

That sounds large, but each quantum step runs the whole hash as a reversible circuit on error-corrected qubits, far slower than a classical chip. And the steps have to run one after another, so the speed-up shrinks when the work is split across many machines. A quantum miner that beats ordinary hardware would need a machine much bigger and steadier than anything announced.

2Signatures are the real target

Shor’s algorithm breaks elliptic-curve signatures outright, not by a square root [2]. That’s why every Nostra payment carries two post-quantum signatures, while mining keeps ordinary hash functions.

3The testnet: scrypt

The testnet mines with scrypt [3] at N = 4,096, r = 8 and p = 1. Each try needs about 4 MiB of memory, so raw speed alone doesn’t win, and an ordinary computer can take part. It’s also simple to build, which let the testnet come sooner.

  • A block every 60 seconds.
  • Difficulty follows the speed of the last 90 blocks.
  • A block can’t be dated more than ten minutes ahead of the clock, and must be later than the middle of the 11 before it.

4The mainnet: RandomX

The mainnet plan is RandomX [4], the method Monero uses. It runs random programs that suit a normal processor, so specialised machines have less of an edge. More people can mine, and no single farm gets an easy lead. It’s decided, and not built yet.

Miners on the mainnet will be paid in three ways: the block reward, all the fees in the block, and a small tail reward of 2 coins a block that never stops. 500 million coins are mined, starting at about 119 a block and halving every 4 years. From year 24 the tail reward takes over, adding about 0.1% a year, so mining stays paid for after the halvings end.

5Why not proof of stake

Proof of stake reaches agreement through validator signatures. Those signatures would themselves need to be post-quantum, and they’d sit on the path that decides every block. With proof of work, agreement comes from the work itself. That’s one less thing a quantum computer can attack.

Proof of work also lets anyone join with a computer, without buying coins beforehand.

6The cost

A young proof-of-work network has few miners, and someone could rent enough power to rewrite recent blocks. They couldn’t forge a payment, but they could undo one. The answer is more independent miners, which takes time. It’s one reason the testnet comes before any real money.

References

  1. L. K. Grover, A fast quantum mechanical algorithm for database search, Proceedings of the 28th ACM Symposium on Theory of Computing, 1996
  2. P. W. Shor, Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer, SIAM Journal on Computing, 1997
  3. C. Percival and S. Josefsson, RFC 7914: The scrypt Password-Based Key Derivation Function, 2016
  4. tevador et al., RandomX: a proof-of-work algorithm designed for general-purpose CPUs

This paper goes deeper into one part of the whitepaper: Consensus by proof of work. The whitepaper covers the whole protocol in one place.