Equal Opportunity: A Correctness Condition for Ordered Consensus
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.
Tom: We're looking at the paper: "Equal Opportunity: A Correctness Condition for Ordered Consensus".
Paper summary: Tom: So we're looking at a paper called "Equal Opportunity: A Correctness Condition for Ordered Consensus." Basically, they’re taking ordered consensus, which is about making sure the sequence of transactions in a state machine replication blockchain is consistent, and they're adding this new idea called equal opportunity.
Jane: Equal opportunity sounds abstract. What exactly are they trying to fix? Why does the ordering of requests matter so much here?
Tom: They point out that even if all the nodes in the system are honest, you can still get unfair advantages based on things like how fast your network is or where you're physically located. This paper claims that existing protocols don't handle this fairness issue and are vulnerable to manipulation.
Lu: The core idea is defining equal opportunity as a concrete notion of fairness for how state machine replication orders client requests <ref:2509.09868#pg1>. Informally, it means if two candidates are equally qualified for a specific slot in the total order, they should have an equal chance of landing it.
Meng: So what makes someone qualified? If we think about this in terms of the paper's context, what features are relevant and which ones should be ignored when ranking things?
Jane: They say that a fair ranking relies only on the entries’ relevant features and ignores all the other irrelevant ones <ref:2509.09868#pg2>. In this specific case, they deem the time a client issues a request as the relevant feature for determining the ledger's order.
Tom: That means things like geographic location might be considered irrelevant, even though we see bias based on where people are located in real-world blockchain examples <ref:2509.09868#pg3>. That’s a big shift because it forces protocols to be agnostic about those extra details when they are trying to establish the order.
Lalam: I see this paper focuses on formalizing this fairness through two properties: epsilon ordering equality and delta ordering linearizability <ref:2509.09868#pg2>. Epsilon ordering equality means that the likelihood of all possible permutations of client requests with indistinguishable relevant features should differ by at most epsilon.
Jane: And delta ordering linearizability is about robustness against Byzantine tampering, which ensures the ledger respects the invocation order of two client commands issued at least delta time apart <ref:2509.09868#pg2>. So they’re trying to nail down both fairness and security simultaneously.
Lu: To enforce these properties, they introduce a Secret Random Oracle or SRO to add some noise to the final order computed from the replicas' indicators <ref:2509.09868#pg2>. They even look at two different designs for this SRO, one based on trusted hardware and another using threshold verifiable random functions <ref:2509.09868#pg3>.
Meng: From a production standpoint, adding randomness like that sounds complex to implement reliably at scale. How does this noise translate into a measurable performance hit?
Tom: The paper quantifies this tension between the epsilon ordering equality and the delta ordering linearizability as a trade-off <ref:2509.09868#pg3>. They show that adding more random noise can decrease epsilon, but it might expand the delta interval needed to ensure two commands are correctly ordered in time <ref:2509.09868#pg3>.
Jane: So, if we want fairer ordering, like a smaller epsilon value, we might have to tolerate a larger delta for linearizability. That’s a concrete way they show the trade-off.
Lalam: The evaluation shows that their resulting protocol, which they call Bercow, can approximate equal opportunity up to within a configurable factor <ref:2509.09868#pg3>. And it does this while incurring moderate performance overhead <ref:2509.09868#pg5>.
Tom: It’s interesting that they mention how this helps mitigate front-running and sandwich attacks in real life <ref:2509.09868#pg5>. That’s the practical application for people who just use the blockchain.
Lu: The authors also acknowledge some limitations when discussing this work <ref:2509.09868#pg3>. They point out that geographical bias, which they call something irrelevant in this context, has been observed and reported in other blockchains as well <ref:2509.09868#pg3>.
Meng: So if I were deploying this, what’s the biggest risk? Is it that the SRO itself becomes a single point of failure, or is it the complexity of tuning that noise level?
Jane: It seems like they are trying to make sure that even with real-world network dynamics influencing things, the system remains fair based only on what matters for ordering. This paper helps set a standard for what fairness should look like in these systems.
Tom: So, to wrap up this segment, we’ve seen how they formalize equal opportunity using epsilon and delta properties and how they use random oracles to enforce it. Next up, we’ll talk about what this whole thing means for the broader understanding of ordered consensus in blockchains.
Conclusion: Tom: So we've looked at how they define equal opportunity in this paper, which is titled "Equal Opportunity: A Correctness Condition for Ordered Consensus," and now we’re heading to the conclusion.
Jane: Basically, they’re saying that just getting a sequence of transactions right isn't enough; you also need to make sure that if two requests are equally good candidates for a spot in the chain, they get an equal chance of landing it.
Tom: Right. The authors are arguing that fairness in ordering needs to be made explicit, not left to chance based on network speed or location.
Lu: They formalize this using two specific things, epsilon ordering equality and delta ordering linearizability. It’s a mathematical way to say how close the system gets to being perfectly fair under different conditions.
Meng: So, for those of us trying to actually deploy this stuff, what does that formalization mean in practice? How do we know if our system is actually meeting those epsilon and delta requirements?
Jane: Well, they show you a trade-off. If you want better fairness—a smaller epsilon—you might have to accept a bigger delta for how much time separation the system can handle before it guarantees the ordering.
Tom: It sounds like there's always a cost involved in trying to be perfectly fair while keeping the system secure against tampering, which is exactly what they’re quantifying here.
Lu: The paper uses a Secret Random Oracle to add noise into that final order calculation, which helps approximate this equal opportunity concept within some configurable factor. It’s an approximation, not a perfect solution.
Meng: So the core implication for production is that you have to tune your randomness settings based on how much you can tolerate in terms of fairness versus how strictly you need to enforce timing guarantees.
Jane: Exactly. The authors suggest this approach, called Bercow, can actually help block things like front-running and sandwich attacks while keeping the performance overhead manageable for a real blockchain.
Tom: It seems like the big message here is that achieving consensus in these systems needs to move beyond just being "correct" to actively ensuring fairness when ordering requests.
Lu: And it sets a new standard for what we consider a correct ordering property in state machine replication blockchains. We’ll look next at how this specific noise mechanism actually performs under stress tests.
Cornell University · University of Washington · Microsoft Research · University of California, Santa Barbara
cs.DC, cs.CR, cs.MA
Submitted: 2025-09-11
Updated: 2026-11-24
Comments: Extended version of the OSDI 2026 paper, with an appendix of proofs
Journal ref: Proceedings of the 20th USENIX Symposium on Operating Systems Design and Implementation (OSDI 26), 2026
Code: https://github.com/Pompe-org/Pompe-HS
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 100/100
The gist: The paper extends ordered consensus by motivating, expressing, and enforcing equal opportunity to address ordering manipulations in state machine replication based blockchains.<ref:2509.09868#pg1…
Key concepts
- Equal Opportunity
- This is a fairness notion applied to how state machine replication orders client requests. It requires that two candidates who are equally qualified based on relevant criteria should have an equal chance of being assigned the same position in the total order, preventing unfair advantages based on irrelevant factors.
- \epsilon$-Ordering Equality
- This is a formal property ensuring fairness. It means that for any set of client requests with indistinguishable relevant features, the probability that any specific permutation of those requests appearing in the final order differs by no more than a small value $\epsilon$. This limits unfairness based on minor ordering variations.
- \Delta$-Ordering Linearizability
- This is an ordering guarantee robust against Byzantine tampering. It ensures that if two client commands are issued at least $\Delta$ time apart, the ledger will correctly respect their invocation order, even if malicious nodes try to interfere with the process.
Terminology
Summary
The paper extends ordered consensus by motivating, expressing, and enforcing equal opportunity to address ordering manipulations in state machine replication based blockchains. p. 0 We describe two SRO designs based, respectively, on trusted
hardware and threshold verifiable random functions, and
instantiate them in Bercow, a new ordered consensus protocol that, by approximating equal opportunity up to within a
configurable factor, can effectively mitigate the well-known
ordering attacks in SMR-based blockchains. 1 Introduction
This paper extends ordered consensus [80] by motivating, expressing, and enforcing equal opportunity, a concrete notion
of fairness that applies to how a state machine replication
(SMR) [71] protocol orders client requests. In
blockchains based on SMR, however, order matters, since
different orders could provide their clients with different
financial rewards. Ordered consensus augments the specification of SMR to include specific guarantees on such order,
with a focus on limiting the influence of Byzantine nodes.Where the paper says it
Where the paper says it
Motivation for Equal Opportunity
The paper introduces equal opportunity as a concrete notion of fairness applied to how state machine replication orders client requests.<ref:2509.09868#pg1, "Informally, equal opportunity requires that two candidates who, according to a set of criteria deemed to be relevant, are equally qualified for a position (in our case, a specific slot in the SMR total order), should have an equal chance of landing it">. p. 0 To address this challenge, this paper proceeds
to extend ordered consensus by requiring it to also support equal opportunity, a concrete notion of fairness, widely
adopted in social sciences. Informally, equal opportunity requires that two candidates who, according to a set of criteria
deemed to be relevant, are equally qualified for a position
(in our case, a specific slot in the SMR total order), should
have an equal chance of landing it. Ordered consensus augments the specification of SMR to include specific guarantees on such order,
with a focus on limiting the influence of Byzantine nodes. Real-world ordering manipulations, however, can and do
happen even without Byzantine replicas, typically because
of factors, such as faster networks or closer proximity to the
blockchain infrastructure, that give some clients an unfair
advantage. It has been widely
reported how a faster network can enable front-running not
just in traditional financial markets [56], but also in decentralized ones [37, 74]. No Byzantine replica is necessary for
these attacks to succeed in a blockchain based on SMR: when
using timestamps as ordering indicators, the difference in
network latency (either due to physical proximity or access
to faster network facilities) between clients and replicas may
provide some clients with a systemic advantage over others. For example, US employers and lending agencies are legally forbidden
to consider certain irrelevant features (protected classes) in
making decisions [1, 2]. Intuitively, a fair ranking is one that
relies only on the entries’ relevant features and ignores all
the other features. For example, US employers and lending agencies are legally forbidden
to consider certain irrelevant features (protected classes) in
making decisions [1, 2]. Intuitively, a fair ranking is one that
relies only on the entries’ relevant features and ignores all
the other features.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Defining Fairness Properties
The paper formalizes equal opportunity through two properties: epsilon-Ordering equality and Δ-Ordering linearizability.<ref:2509.09868#pg2, "In our second contribution is to specify \\epsilon-Ordering equality, a new ordering property based on this distinction">. p. 1 Although preventing Byzantine replicas from conducting
such attacks is provably impossible [80], we show that distinguishing between relevant and irrelevant features when
assigning ordering preference can mitigate the problem. Concretely, our second contribution is to specify 𝜖-Ordering
equality, a new ordering property based on this distinction,
and to propose a protocol that enforces it. Concretely, our second contribution is to specify 𝜖-Ordering
equality, a new ordering property based on this distinction,
and to propose a protocol that enforces it. Intuitively, 𝜖-
Ordering equality requires the likelihood of all permutations
of client requests with indistinguishable relevant features to
differ by at most 𝜖. Concretely, our second contribution is to specify 𝜖-Ordering
equality, a new ordering property based on this distinction,
and to propose a protocol that enforces it. Intuitively, 𝜖-
Ordering equality requires the likelihood of all permutations
of client requests with indistinguishable relevant features to
differ by at most 𝜖. Like ordering linearizability [80], Δ-Ordering linearizability is an ordering guarantee robust to Byzantine
tampering. However, while ordering linearizability depends
on timestamps reflecting when client commands are received,
and thus conflates both relevant and irrelevant features, ΔOrdering linearizability applies to timestamps that reflect
the real time when clients’ commands are issued: it ensures
that the ledger will respect the invocation order of two client
command issued at least Δ time apart. Our third contribution
is to quantify this tension as a trade-off between 𝜖-Ordering
equality and another ordering property, Δ-Ordering linearizability. Like ordering linearizability [80], Δ-Ordering linearizability is an ordering guarantee robust to Byzantine
tampering.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Mechanism for Enforcing Fairness
The protocol enforces these properties by leveraging a Secret Random Oracle (SRO) to add noise to the final order computed from the replicas’ ordering indicators.<ref:2509.09868#pg2, "To enforce it, we use a Secret Random Oracle (SRO), an abstraction that offers a fault-tolerant and unbiased source of randomness">. p. 1 Intuitively, 𝜖-
Ordering equality requires the likelihood of all permutations
of client requests with indistinguishable relevant features to
differ by at most 𝜖. To enforce it, we use a Secret Random
Oracle (SRO), an abstraction that offers a fault-tolerant and
unbiased source of randomness, to add some noise to the
final order computed from the replicas’ ordering indicators. We show how randomness can be leveraged to keep bias in check, and, to this end,
introduce the secret random oracle (SRO), a system component that generates randomness in a fault-tolerant manner. We describe two SRO designs based, respectively, on trusted
hardware and threshold verifiable random functions, and
instantiate them in Bercow, a new ordered consensus protocol that, by approximating equal opportunity up to within a
configurable factor, can effectively mitigate the well-known
ordering attacks in SMR-based blockchains. We show how randomness can be leveraged to keep bias in check, and, to this end,
introduce the secret random oracle (SRO), a system component that generates randomness in a fault-tolerant manner. We describe two SRO designs based, respectively, on trusted
hardware and threshold verifiable random functions, and
instantiate them in Bercow, a new ordered consensus protocol that, by approximating equal opportunity up to within a
configurable factor, can effectively mitigate the well-known
ordering attacks in SMR-based blockchains.Where the paper says it
Where the paper says it
Where the paper says it
Trade-offs and Performance
The paper quantifies the tension between epsilon-Ordering equality and Δ-Ordering linearizability as a trade-off between them.<ref:2509.09868#pg3>. The authors show that adding more random noise can decrease epsilon but at the price of potentially expanding the Δ interval necessary to ensure that two commands are correctly ordered in the ledger. p. 1 Ideally, we would like both the 𝜖 and the Δ in the respective
fairness guarantees to be as small as possible. Unfortunately,
however, there is a trade-off between them: adding more
random noise can decrease 𝜖, but at the price of potentially
expanding the Δ interval necessary to ensure that, independent of Byzantine ploys, two commands Δ or more apart will
be correctly ordered in the ledger. Specifically,
Bercow modifies Pompe by adding SRO-generated random ¯
noise to the fault-tolerant timestamp that Pompe uses to ¯
order commands. Our evaluation demonstrates that Bercow can be effective
in mitigating front-running and sandwich attacks while incurring moderate performance overhead.Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Equal opportunity enforcement in state machine replication (SMR) systems can be achieved by extending ordered consensus to include equal opportunity, which requires that
two candidates who, according to a set of criteria deemed to be relevant, are equally qualified for a position (in our case, a specific slot in the SMR total order), should have an equal chance of landing it.
This allows the system to mitigate ordering attacks arising from factors like faster networks without relying solely on Byzantine replicas. -
The system can enforce epsilon-Ordering equality, which
requires the likelihood of all permutations of client requests with indistinguishable relevant features to differ by at most epsilon.
By leveraging a Secret Random Oracle (SRO), this property ensures that the probability difference between any two orderings is bounded by a function of n and Δnet over Δnoise. -
The system can guarantee Δ-Ordering linearizability, which
applies to timestamps that reflect the real time when clients’ commands are issued: it ensures that the ledger will respect the invocation order of two client command issued at least Δ time apart.
This property is guaranteed by ensuring thatif i1 is invoked more than Δnet + Δnoise earlier than i2, then i1 is guaranteed to appear before i2 in the output.
-
The system can mitigate front-running and sandwich attacks by tuning the random noise parameter. For a target of epsilon approximately equal to 0.1, the protocol suggests choosing Δnoise = 5 times Δnet, which can keep bias under 0.087 across simulated geographical scenarios while matching Pompe's throughput.
-
The system can handle multiple relevant features by using a point system where
the score given by a correct node may be inaccurate,
allowing designers to create formulas combining features like invocation time and transaction fee into a single ordering score.
Abstract
In proof-of-stake blockchains based on State Machine Replication (SMR), the order of transactions directly affects client-visible financial outcomes. Ordered consensus augments the SMR specification by imposing correctness conditions on transaction ordering, with a focus on limiting Byzantine influence. However, real-world ordering attacks can occur even when these conditions hold, often enabled by advantages such as faster networks or proximity to the blockchain infrastructure that allow an adversary to systematically bias outcomes without violating the conditions. To address this gap, we extend ordered consensus with a new model and correctness condition based on equal opportunity, a notion of fairness widely used in legal contexts. Equal opportunity requires that candidates who are equally qualified---according to criteria deemed relevant---have equal chances of being selected (here, for a given position in the total order). We show how carefully introduced randomness can bound ordering bias, and we introduce the Secret Random Oracle (SRO), a fault-tolerant abstraction for generating such randomness. We present two SRO constructions, based on trusted hardware and threshold verifiable random functions, respectively, and use them to build Pompē-SRO, a new ordered consensus protocol that mitigates well-known ordering attacks. Our evaluation shows that Pompē-SRO effectively mitigates front-running and sandwich attacks at a moderate cost to latency.
Sources
Related papers
- CoordRoute: Coordinated Multi-Model Routing for Maximum Compute-Budget Utility
- A Datalog Framework for Conflict-Free Replicated Data Types
- The Complexity of Distributed Minimum Weight Cycle Approximation
- Sensor Placement for Tsunami Early Warning via Large-Scale Bayesian Optimal Experimental Design
- Programmable Probabilistic Computer with 1,000,000 p-bits
- BatchGen: An Architecture for Scalable and Efficient Batch Inference