Download Best Wallet
Download your #1 Monero wallet
Advanced Technical Topics

What are Monero's consensus rules?

Consensus rules act as the 'laws' of the Monero network, ensuring that everyone agrees on the current state of the ledger.

Quick Answer

Monero's consensus rules are a set of programmatic requirements that all nodes must follow to participate in the network. These rules dictate how transactions are verified, how blocks are built, and how new currency is emitted. Every node independently validates every block against these rules, ensuring that no party can cheat, such as by double-spending or creating unauthorized tokens.

Rules for Integrity

The consensus rules define the technical boundaries of the system. For instance, they ensure that every signature in a ring signature is valid, that the transaction amount balance is correct via Pedersen commitments, and that the block reward matches the current emission schedule. If a block fails any of these checks, the network treats it as invalid and ignores it.

Maintaining Synchronization

Consensus is reached when the vast majority of nodes agree on the validity of the longest chain. By running the same code and enforcing the same consensus rules, the distributed network creates a single, immutable, and trustless ledger. This adherence is what prevents the need for a central coordinator and provides the network's resilience.

Sources

Related reading

Key takeaways

  • Consensus rules define valid blocks and transactions.
  • Nodes enforce these rules independently to maintain synchronization.
  • They prevent cheating and unauthorized currency issuance.