Skip to content

Censorship resistance

How Zero is designed so no zone's Block Producer can keep your transactions out: you can route them through the validators instead.

On this page

Each zone has a Block Producer that decides which transactions go into its blocks. If it leaves yours out, you can use force inclusion: a second way into every zone, through the validators, that a Block Producer can't refuse.

›Transcript
  1. On Zero, no Block Producer can quietly keep your transaction out of its zone.
  2. Force inclusion is how. It’s part of Zero’s design, and opens after launch.
  3. Each zone’s Block Producer decides which transactions go into its blocks.
  4. So what if it leaves yours out?
  5. Normally you send transactions straight to the Block Producer: the fast path.
  6. Or you hand it to the validators, who add it to the zone’s force-inclusion queue.
  7. Every queued transaction has a deadline, a fixed number of epochs away.
  8. Before it, the Block Producer includes it in a part of the block it can’t fake.
  9. Miss the deadline, and the settlement layer adds it itself, in an exit block.
  10. Letting that happen costs the Block Producer more than including it.
  11. A Block Producer still chooses what it’s sent directly, and applies its zone’s rules.
  12. But it can’t keep out, reorder or change a queued transaction.
  13. A queued transaction still has to pass the zone’s own rules.
  14. Force inclusion guarantees it runs, not that it succeeds.
  15. If the settlement layer resists censorship, so does every zone.
  16. Force inclusion opens after launch. Until then, send to the Block Producer.

Two ways into a zone

  1. Directly, to the zone's Block Producer. This is the normal path, and the fast one.
  2. Through the settlement layer. You hand the transaction to the validators, who add it to that zone's force-inclusion queue, kept on the settlement layer.

The second path is a fallback, expected to be used rarely. Because you can always go around a Block Producer, it gains nothing by refusing a transaction you send it directly.

How a queued transaction gets in

Every transaction in a zone's queue has a deadline, a fixed number of epochs after it was queued.

  • Before the deadline, the Block Producer is expected to include it in one of its own blocks. Queued transactions go in a separate part of the block, which the Block Producer can't fake: the settlement layer derives its contents from the queue and rejects a block that doesn't match.
  • At the deadline, if the Block Producer still hasn't included it, the settlement layer includes it itself. It creates an exit block for the zone holding every overdue transaction, places it in the zone's chain, and the zone must execute it like any other block.

Either way, the transaction runs. A Block Producer that lets the deadline pass also pays more than if it had included the transaction itself, so it has every reason not to.

What a Block Producer can and can't do

CanCan't
Choose which transactions sent to it directly go in its blocksKeep out a transaction from the force-inclusion queue
Reject transactions its zone's own rules rejectReorder or change a queued transaction
Hide censorship: any rule that blocks you has to be written into the zone's code, where anyone can see it

A queued transaction still has to pass the zone's own rules. If it's malformed, a duplicate, or fails when it runs, the zone records it as a failed transaction. Force inclusion guarantees your transaction is executed, not that it succeeds.

What the guarantee depends on

As long as the settlement layer itself is censorship-resistant, so is every zone. You never depend on a single Block Producer's goodwill to reach an application on Zero.