Manuscript Offprint
arXiv:2610.32803Quantum Cadence: Post-Quantum Consensus with Multiple Concurrent Proposers
Mohammad Mussadiq Jalalzai , Tobias Klenze , and Jovan Komatovic
Category Labs
Abstract. The consensus protocols of most high-performance blockchains use quorum certificates, which bundle the signatures of a quorum of validators. Signature schemes such as BLS can aggregate the signatures of a whole quorum into a single short signature, which keeps these certificates small. A large-scale quantum computer would break these schemes, and no post-quantum scheme with comparable aggregate size and aggregation time is known. Without aggregation, a certificate holds one large post-quantum signature per member of the quorum, so it becomes infeasible for each validator to broadcast certificates, as modern consensus protocols often require.
We present QUANTUM CADENCE, a post-quantum consensus protocol with multiple concurrent proposers that avoids certificates altogether: every validator counts quorums among the messages it has received itself. Its safety and liveness do not even depend on signatures, although we add signatures to obtain accountability. QUANTUM CADENCE builds on CADENCE and replaces its slot consensus, CHORUS, with QUANTUM CHORUS, which keeps the optimal fast-path latency of CHORUS: dissemination followed by two rounds of votes. When its fast path fails, QUANTUM CHORUS runs CODA, our signature-free Byzantine agreement for multiple proposers. We also outline how the CONDUCTOR, which schedules the slots of CADENCE, can be adapted to QUANTUM CADENCE. In simulations with 200 validators, QUANTUM CHORUS has a latency comparable to that of CHORUS and scales better with the number of proposers.
1 Introduction
Large-scale quantum computers would break the signature schemes that blockchains use today. Several parts of a blockchain rely on these signatures, from the transactions that users sign to the votes that validators exchange in the consensus protocol. This paper is about consensus: we present QUANTUM CADENCE, a post-quantum version of CADENCE [4], a consensus protocol with multiple concurrent proposers.
CADENCE divides time into slots and finalizes one block per slot, which merges the proposals that several proposers disseminate for that slot. Each slot is finalized by its own instance of a single-shot consensus protocol, which CADENCE calls the slot consensus and instantiates with CHORUS. Because blocks do not build on their predecessors, these instances run independently, and many slots can be in progress at once. CADENCE calls this extreme pipelining: no slot waits for the block of an earlier slot, so blocks can follow one another at intervals shorter than the network delay. A second protocol, the CONDUCTOR, schedules the slots, at a regular interval in normal operation and more slowly under asynchrony, so that the number of open slots stays bounded. In the common case, CHORUS finalizes a slot on its fast path in three communication rounds, and a fallback path takes over when the fast path cannot finish. Besides safety and liveness, CADENCE provides short-term censorship resistance: shortly after the network becomes synchronous, the block of every slot contains the proposal of every correct proposer.
Many messages of CHORUS carry quorum certificates, most of them made of signatures from of the validators, of which at most are faulty. In CHORUS, these signatures are combined into one compact aggregate signature that anyone can verify, with a pairing-based scheme such as BLS [7], which a quantum computer would break. Moving to post-quantum signatures changes two things. Each post-quantum signature is at least several times larger than a traditional one, and the post-quantum aggregation schemes known today produce aggregates that are orders of magnitude larger than a BLS aggregate signature and take far longer to compute. Without aggregation, a certificate is a list of of these larger signatures, whose size grows with the number of validators. If every validator broadcast even one such certificate per slot, the transmission delays alone would be unacceptable at the bandwidth available to validators, and CHORUS sends certificates for every proposer.
QUANTUM CADENCE therefore keeps the structure of CADENCE, one instance of the slot consensus per slot under the CONDUCTOR, but does without certificates: no validator ever has to prove a quorum
Author order: alphabetical by last name.
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
to another, as each validator observes quorums in the messages it receives itself. Simply removing the certificates from CHORUS does not work, because several of its parts rely on them. Our slot consensus, QUANTUM CHORUS, changes these parts. Its fast path keeps the structure of CHORUS, dissemination followed by two voting rounds, but no vote carries a certificate. Its fallback path is new: CHORUS ends its fallback path with an agreement that accepts only certified inputs, and QUANTUM CHORUS replaces it by CODA, a signature-free Byzantine agreement based on Forget-IT [1].
QUANTUM CHORUS goes further than removing certificates: it needs no signatures for safety and liveness, which rest only on authenticated channels and collision-resistant hashing. We add post-quantum signatures to obtain accountability: validators sign their messages, so the correct validators can prove to anyone that a validator misbehaved. Proofs of finality for parties outside consensus, such as light clients and bridges, are outside the scope of this paper; certificates of ordinary post-quantum signatures can serve them, since such a certificate need not be broadcast by every validator.
The CONDUCTOR needs changes too. CADENCE proves the guarantees of the CONDUCTOR with the help of certificates: a correct validator that finishes a slot forwards its certificate, so the others finish within one message delay. The CONDUCTOR also relies on an agreement among the validators, which has to be made post-quantum as well. We outline how the CONDUCTOR can work without certificates and with a signature-free agreement, and leave its full specification and analysis to a later version.
The fast path of QUANTUM CHORUS keeps the optimal latency of CHORUS [4]: correct validators finalize in three communication rounds, dissemination included, and reach speculative finality one round earlier, even when some proposers are offline. Even without certificates, post-quantum signatures are large enough that their number matters, and QUANTUM CHORUS is designed to keep the number of signatures small: in each slot, a validator signs at most two votes, each covering all proposers, and CODA uses no signatures at all. In CHORUS, by contrast, a validator signs its vote on each proposer separately, so its number of signatures grows with the number of proposers. We evaluate QUANTUM CHORUS against CHORUS in simulation, for 200 validators with 1 Gbps links: its latency is comparable to that of CHORUS, and it scales better with the number of proposers. With 20 proposers, a validator finalizes a slot on average about 200 ms after a proposer's broadcast, and reaches speculative finality about 50 ms earlier.
After recalling CADENCE and CHORUS in Section 2, we turn to the core of the paper: QUANTUM CHORUS, which Section 4 describes step by step together with its guarantees, and its fallback consensus, CODA, presented in Section 5. We then outline how the slot consensus runs within the CONDUCTOR in Section 6, evaluate the cost of QUANTUM CHORUS in Section 7, and discuss related work in Section 8; the proofs are in Appendices A and B.
Each slot has a fixed set of proposers. A proposer erasure-codes its proposal into chunks, any of which suffice to decode it, commits to the chunks with a Merkle root, and sends each validator its chunk, together with a Merkle proof under the root and the proposer's signature on the root. (In CHORUS, proposals are also encrypted before encoding and can be decrypted no earlier than the deadline. This provides hiding, a property that fairness between proposers requires: no proposer can craft its proposal in reaction to the others'. We leave this step out, as this paper does not address hiding.) A correct proposer does so when it starts participating, so in a slot whose starting time is at least , the chunks of correct proposers arrive by the deadline. At , each validator votes once per proposer: for the Merkle root of the proposer's chunk, with the chunk attached, if it holds a valid one, and for the empty value otherwise. A validator that holds a valid chunk from every proposer before may cast its votes right away instead (early voting).
CHORUS agrees on one entry per proposer: either the Merkle root of the proposer's proposal, which selects the proposal for the slot's block, or , which excludes the proposer. The block consists of the selected proposals, except any whose chunks turn out not to be a valid encoding. Every correct validator
- MODEL
3
can recover the proposals of every block that CHORUS finalizes (data availability). Validators exchange entries in meta-blocks, vectors with one entry per proposer, in which every entry carries a certificate that justifies it. In the common case, the certificate is a FastQC: a quorum certificate formed from matching votes, all for the same root or all for , which CHORUS implements as a compact aggregate signature. A validator that holds a FastQC for every proposer assembles the fast meta-block and broadcasts a fast vote on it, together with the meta-block, and it finalizes the entries once it receives fast votes on the same entries. This is the fast path, three communication rounds in all: dissemination and two rounds of votes. A validator may also speculatively finalize one round earlier, that is, treat the fast meta-block as final as soon as it assembles it; this speculation is reverted only if some validator equivocated.
If the fast path does not finish, for instance because a proposal reached only some correct validators by the deadline, the fallback path takes over. From time on, a validator that holds votes but cannot assemble a fast meta-block announces that it casts no fast vote and casts a second round of per-proposer votes, after which the validators run a multi-valued validated Byzantine agreement (MVBA). Each validator proposes a fast meta-block if it has assembled one or received one with a fast vote, and otherwise a fallback meta-block. A fallback meta-block carries announcements that no fast vote was cast, and it certifies each entry in one of three ways: with a FastQC, with matching votes of the second round, or, for , with two different roots signed by the proposer, which prove that it equivocated. The external validity of the MVBA admits only such certified meta-blocks, so each validator can check a proposed meta-block on its own. Once the MVBA decides, validators cast commit votes on the decided meta-block, and a validator finalizes the slot once it holds of these votes.
CHORUS guarantees proposal inclusion: in a slot whose starting time is at least GST + G, the block contains the proposal of every correct proposer. This gives CADENCE its short-term censorship resistance: a transaction that a correct proposer includes in its proposal enters the block of that slot, so it is neither censored nor deferred to a later block. QUANTUM CHORUS keeps this property, as well as agreement, termination, and speculative finality.
3 Model
We consider validators, at most f of which are Byzantine and may deviate arbitrarily from the protocol; the others are correct. Validators communicate over point-to-point authenticated channels: the recipient of a message can tell who sent it. Reliability, however, is not assumed. A broadcast unicasts its message to every validator and retransmits it, again and again, until the broadcast is explicitly abandoned; a point-to-point send retransmits to its recipient in the same way. A message is alive at time if its broadcast or point-to-point send has been initiated, but not abandoned, by time , and forever-alive if, once initiated, it is never abandoned. A forever-alive message of a correct validator is eventually received by every correct recipient, including after the recipient recovers from a crash or starts participating. We use this model throughout the paper. It is similar to the model of Forget-IT [1], which, however, communicates by broadcasts only. Bounding memory is meaningful only with unreliable channels: with reliable channels, undelivered messages must be buffered until delivery, as CADENCE observes while retaining reliable channels [4]. With signatures and certificates, bounded memory is well understood; without them, it is not obvious, which motivates our model and the persistent-memory bound for CODA (Section 5).
Crashes and persistent memory. Beyond corrupting validators, the adversary may temporarily crash a correct validator, which eventually recovers. A crash strikes only between handler executions. It leaves the validator's persistent memory intact, timers included, and wipes the rest of its state, notably the received messages that it has not stored in persistent memory. Upon recovering, the validator resumes execution from its persistent memory. We assume that a crash does not abandon the validator's ongoing broadcasts: their retransmission resumes upon recovery. This assumption costs no generality, as every message a validator broadcasts is recorded in its persistent memory, so that a recovery procedure could simply re-initiate their broadcasts.
Partial synchrony and clocks. We adopt the standard partially synchronous model: an unknown Global Stabilization Time (GST) splits the execution into an asynchronous period and a synchronous one. After GST, message delays are bounded by the known : for every time , a message of a correct validator that remains alive throughout is received by every correct recipient during . This applies to broadcasts and point-to-point sends, including messages
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
received and lost before . Since a message sent before GST may be lost, also covers the wait for its next retransmission. The adversary crashes correct validators only before GST, and every crashed validator recovers before GST, so that all correct validators are continuously online from GST onward. Local computation is instantaneous, and each validator executes only finitely many handlers in any finite time interval. As in CADENCE, validators have synchronized clocks.
Cryptography. We use a collision-resistant hash function. Every validator holds a key pair of a post-quantum signature scheme. The protocol needs signatures only for accountability, that is, to prove misbehavior, as the accountability lemmas and the speculation lemma do (Lemmas 2, 7 and 8). Agreement, proposal inclusion, termination, and halting rest on the authenticated channels and on the hash function.
Slots. Each slot of QUANTUM CADENCE has a deadline , and we call the slot's starting time. A validator participates in a slot from the time it starts running the slot consensus for that slot, a time that the CONDUCTOR determines (Section 6). We call a slot timely if its starting time is at least GST and every correct validator starts participating in it by . In CADENCE, the CONDUCTOR ensures that every slot whose starting time is at least GST + is timely, where the grace period is the time the CONDUCTOR needs to settle after GST (Section 2). We expect the CONDUCTOR of QUANTUM CADENCE to do the same (Section 6).
4 Quantum Chorus: The Slot Consensus of Quantum Cadence
QUANTUM CHORUS takes the place of CHORUS: in every slot, it finalizes one block. Like CHORUS, it agrees on one entry per proposer, a Merkle root or a value that excludes the proposer, but its meta-blocks carry no certificates: a meta-block is just a vector with one entry per proposer. Validators agree on a meta-block, and finalizing a meta-block finalizes the slot's block, which consists of the proposals behind its roots. For every finalized block, these proposals can be recovered. Here, we first describe the protocol and present its pseudocode. Then, we state its guarantees.
4.1 Protocol Description
Setting. QUANTUM CHORUS runs in the model of Section 3. Some of the validators are proposers, each of which disseminates one proposal in the slot we describe. Proposals are encoded with an erasure code, any of whose n symbols suffice to decode, and committed to with Merkle trees over the hash function.
Conventions. Every rule fires as soon as its condition holds, and a handler runs to completion before the next one starts. Time guards remain enabled after their deadline. Algorithm 1 never abandons a broadcast or a point-to-point send, also not when the validator halts, so all its messages are forever-alive. A validator keeps no message of the slot that arrives before it starts participating: retransmission delivers the message again once it participates (Section 3). Every message, and every tuple that a validator signs, also contains the slot number, which we omit from the notation. Throughout the paper, “ messages” means messages from different validators, and likewise for other counts.
The steps. We now describe the protocol step by step. Figure 1 gives a bird's-eye view, simplified for a single proposer, and Algorithm 1 gives the pseudocode for a validator . Steps 1 to 3 (dissemination, a vote at the deadline, and a path vote) serve both paths. The fast path ends after them: a validator finalizes once, for every proposer, path votes (defined in Step 3) carry matching fast entries. The fallback path continues with Steps 4 to 6 and ends in CODA.
Step 1: Dissemination ( time before the deadline). Dissemination proceeds exactly as in CHORUS. Each proposer encodes its proposal into erasure-coded symbols and builds a Merkle tree over them, with root . It then sends to each validator the -th symbol, 's assigned chunk, together with the Merkle proof of the chunk's inclusion under and the header signed by (line 36).
In QUANTUM CADENCE, we expect the CONDUCTOR to keep the number of open slots bounded, as in CADENCE, and to end the broadcasts of slots that no correct validator needs any more (Section 6).
Algorithm 1 QUANTUM CHORUS: Pseudocode (for validator )
1: Notation: 2: - Entries for a proposer are positive, , or negative, . 3: Local variables (persistent memory): 4: none for every proposer 5: none for every proposer 6: none for every proposer 7: false 8: Messages sent, halt status, and completion of once-only steps 9: Received FINALIZED messages (at most one per validator) 10: 11: 12: Rules: 13: - Persist all received messages of this algorithm; halting does not abandon broadcasts. 14: - A received from a proposer is valid only if is a valid signature of on and proves that is the -th symbol under . 15: - A received from is added to only if is a valid signature of on , holds an entry for every proposer , and holds, for every positive entry , 's symbol with a valid Merkle proof under . 16: - A received from is added to only if is a valid signature of on . 17: - At most one VOTE from each validator is added to , and at most one PATHVOTE to . 18: - A path-vote entry for is accepted upon receipt. An entry for is accepted as soon as holds positive entries ; an entry once holds negative entries for . 19: Functions: 20: - clean(j): 21: return the first set obtained by of accepted entries for , from different validators, such that all fast entries in carry the same value; none if no such set exists 22: - adopt(S): 23: if holds an entry : return 24: else if holds an entry : 25: Decode the proposal from the chunks that corroborated the entry, and re-encode it 26: if the recomputed root equals : return 27: else return 28: else if holds entries for the same : return 29: else return 30: upon starting: 31: if is a proposer: 32: Encode the proposal into erasure-coded symbols 33: Build a Merkle tree over with root 34: 35: for each validator : 36: send to 37: upon receipt of a valid from a proposer and and time has not passed : 38: 39: upon time reaches or for every proposer : 40: for each proposer : 41: if : 42: else 43: 44: 45: 46: broadcast 47: upon time reaches and , or for every proposer , holds entries for that name the same value: 48: for each proposer : 49: if holds positive entries for the same Merkle root : 50: else if holds negative entries for : 51: else if holds positive entries for some Merkle root : 52: Decode the proposal from the chunks attached to these entries, and re-encode it 53: if the recomputed root equals : 54: else 55: else 56: 57: 58: broadcast 59: if every entry of is fast, with for every proposer , and : 60: for each whose is a root: re-encode the proposal decoded from chunks under 61: if the root differs: 62: speculatively finalize the meta-block 63: upon for every proposer , holds messages whose entry for is for the same , and, for every whose is a root, holds positive entries : 64: for each whose is a root: decode the proposal from these chunks and re-encode it; if the root differs: 65: finalize the meta-block and broadcast , unless already finalized 66: upon time reaches and for every proposer : 67: for each proposer : 68: 69: 70: input to the fallback consensus 71: upon the fallback consensus outputs : 72: for every proposer with 73: finalize the meta-block and broadcast , unless already finalized 74: upon receipt of from validators, for the same : 75: finalize the meta-block and broadcast , unless already finalized 76: upon receipt of from validators, for the same : 77: finalize the meta-block and broadcast , unless already finalized; halt
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic

Fig. 1: QUANTUM CHORUS, simplified for a single proposer . Time flows left to right. In a timely slot (Section 3), a step starts at the latest at the time marked below its box, and in the common case every correct validator finalizes on the fast path by . With several proposers, every vote and path vote carries one entry per proposer, and a validator speculates, finalizes on the fast path, or inputs to CODA only once the condition shown holds for every proposer; a path vote may thus hold a fast entry for one proposer and a fallback entry for another. Crucially, no message ever carries a certificate: every quorum is observed locally, by each validator in the messages it receives.
Step 2: Voting (at the deadline). The deadline step, too, mirrors CHORUS. When time reaches the deadline D, a correct validator forms one entry per proposer: a positive entry if a valid chunk of 's proposal has arrived (the chunk assigned to , whose Merkle proof verifies against a header signed by ), and a negative entry otherwise, attesting that nothing arrived on time. It broadcasts the entries in a single VOTE message, attaching for every positive entry its assigned chunk, that is, the root, the symbol, and its Merkle proof (line 46). Crucially, the message carries one signature, computed over the entire vector of entries: unlike in CHORUS, where each entry is signed on its own, no entry is ever signed individually, and a validator vouches for its whole vote. We also underline that the signed header is not included in the vote. Therefore, a vote contains a single signature. A correct validator that holds a valid chunk from every proposer before the deadline sends this vote right away instead of at the deadline (early voting, as in CADENCE).
Step 3: Path votes. At the end of the first post-deadline round, namely, once valid votes have been received and time has reached , a correct validator examines the received votes and forms, for each proposer separately, a path-vote entry, distinguishing three cases.
– First, if observes positive entries for with the same Merkle root , or negative entries for , its entry is a fast entry, carrying in the former case and in the latter (lines 49 and 50). The important difference from CHORUS lies in what a fast entry carries. In CHORUS, a fast vote comes with its own justification: the FastQC that aggregates the deadline votes behind it. Here, there is no certificate to attach. A fast entry is only a claim: states that it has seen a quorum for , and offers no proof.
– Second, if no such quorum exists but observes positive entries for with the same root (ties broken arbitrarily), it proceeds as in CHORUS: it collects the chunks attached to those entries, decodes the proposal, and re-encodes it. If the recomputed root matches, its entry is a fallback entry for (line 51).
– Third, if the reconstruction fails, or if no root gathers even positive entries, its entry is a fallback entry for .
Having formed all entries, broadcasts them in a single PATHVOTE message (line 58). A validator does not wait for if, for every proposer, it already holds votes whose entries for that proposer name the same value: all its entries are then fast, and waiting cannot change them, since no two values can each be matched by of at most votes. From the deadline onward, the fast path thus proceeds at the speed of the network, as in CHORUS. As with the deadline vote, the message carries a single signature, computed over the entire vector of entries. Finally, speculatively finalizes the meta-block formed by its fast entries if and only if every entry of its path vote is fast and it has not finalized yet (line 62), after checking the encodings. A fast entry is formed without decoding and may carry the root of an invalid encoding, so, for every fast entry for a root, rebuilds the proposal from the chunks attached to the votes behind the entry and re-encodes it; if the recomputed root differs, it replaces the root by . A speculatively finalized block can still be reverted, but any reversion leaves behind a proof of misbehavior (Lemma 2).
Finalizing on the fast path (at any time). If, at any point in time, a correct validator holds, for every proposer , path votes whose entries for are fast entries for the same value , a root or , it finalizes the meta-block (line 65). Before finalizing, it waits until it holds, for every root , VOTES positive for (the correct validators whose VOTES are behind the fast entries have broadcast them), rebuilds the proposal from their chunks, and re-encodes it; if the recomputed root differs from , the encoding is invalid, and the validator replaces by . The result of this check does not depend on which chunks are used: a valid encoding decodes to the same proposal from any of its symbols, and an invalid one never re-encodes to the root, whichever symbols are used. A correct validator finalizes at most once, and announces its finalization with a FINALIZED message, which the halting rule below uses. Finalizing does not end its part in the slot: it keeps running the protocol, the fallback consensus included, until it halts.
Step 4: Accepting second-round entries. We now turn to the second post-deadline round, the round during which path votes travel, and, from here on, refer to the entries of path votes collectively as second-round entries. The key notion of this step is that of accepting a second-round entry. Crucially, accepting an entry is not the same as receiving the path vote that carries it, and acceptance is decided entry by entry (line 18).
– A fallback entry is accepted the moment it is received.
– A fast entry, in contrast, must earn its acceptance. Namely, recalling that a fast entry is a bare claim of a quorum, accepts one only once it sees the claim corroborated by matching deadline entries: a fast entry for a root is accepted once has received votes with a positive entry , each carrying its sender's chunk of the proposal, whereas a fast entry for is accepted once has received votes with a negative entry for . The chunks are essential for data availability (as we explain later).
A single path vote may therefore contain, at the same time, an accepted entry for one proposer and a not yet accepted entry for another.
Now, a clean set for proposer is a set of accepted second-round entries for , from different validators, whose fast entries all agree: any two fast entries in the set carry the same root, or both carry . Fallback entries are left unconstrained. For example, a set of accepted fallback entries for is clean: it holds no fast entries to disagree. Similarly, a set in which five fast entries all carry the same root, and all remaining entries are fallback entries, is clean as well. By contrast, a set holding a fast entry for one root and a fast entry for a different one is not clean, and neither is a set holding a fast entry for some root alongside a fast entry for .
With this notion in hand, the second post-deadline round ends at once (1) time has reached , and (2) holds a clean set for every proposer. We underline that the clean sets of different proposers may come from different validators. Also, several clean sets may exist for one proposer, and they need not agree, so reads the first one it obtains (line 21).
Step 5: Adopting a meta-block. With the second post-deadline round over, adopts a value for every proposer, a Merkle root or , thereby forming the meta-block it inputs to the fallback path. The adoption rule for proposer reads 's clean set for (line 68).
-
If the clean set holds a fast entry for , adopts . If it holds a fast entry for a root , does not take the root on faith: it decodes the proposal from the chunks that corroborated the entry and re-encodes it, and it adopts if the recomputed root is , and otherwise (line 26). (The rule is unambiguous: the set being clean, all fast entries in it agree.) Adopting a root from a fast entry thus rests on a proposal that has rebuilt itself.
-
If, instead, the clean set consists of fallback entries alone, examines them: if of them carry the same root, adopts that root, and otherwise it adopts .
It then inputs the adopted meta-block to the fallback consensus (line 70).
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
Step 6: The fallback consensus. The fallback path now takes over. In CHORUS, the fallback consensus black box is an MVBA, whose external validity admits only certified meta-blocks. Here, we replace it with Byzantine agreement with per-proposer strong unanimity, which CODA implements (Section 5). The primitive takes as input, from each validator, a meta-block: one entry per proposer, each a Merkle root or . It outputs a meta-block in which an entry may also take the special value EMPTY, the primitive's own way of outputting nothing for a proposer (note that ). The primitive satisfies the following four properties:
– Agreement: No two correct validators output different meta-blocks.
– Termination: If every correct validator inputs, every correct validator eventually outputs.
– Strong unanimity (per proposer): If all correct validators that input a meta-block input the same value for proposer , a root or , then no correct validator outputs EMPTY for .
– Obligation (per proposer): If a correct validator outputs a value for proposer , then some correct validator input for .
Agreement, strong unanimity, and obligation hold even if some correct validators stop taking part in the primitive, possibly before inputting, as validators do when they halt (see the paragraph on halting below); termination is required only when no correct validator stops taking part, since once a correct validator halts, the halting gadget makes every correct validator that participates finalize without the fallback consensus. With the primitive in place, the fallback path is simple. Every correct validator inputs its adopted meta-block. Once the primitive outputs a meta-block x, a correct validator replaces every entry EMPTY of x by and finalizes the result: a root includes its proposer, whereas excludes it (line 73). Inputting the adopted meta-block to the primitive (line 70) and starting the primitive form one handler, and so do an output of the primitive and the finalization it causes (line 73), so that a crash cannot fall between them.
On halting. In CHORUS, a correct validator halts the moment it finalizes — and it can afford to. Namely, it holds a quorum certificate (an aggregate signature) attesting to its finalization: a self-contained proof it can disseminate reliably, so that it reaches everyone even after the validator halts, to convince everyone else to stop as well. Here, that luxury is gone: there is no aggregate signature to hand out. And simply halting upon finalizing would be dangerous — the protocol could silently lose a quorum of correct validators and, with it, termination for the validators still running. In QUANTUM CHORUS, therefore, a correct validator must not halt upon finalizing.
Fortunately, the problem admits an easy fix: a halting gadget, in the style of Bracha's amplification [8] (lines 74 and 76).
– Upon finalizing a value v, a correct validator broadcasts a special message: .
– Upon receiving matching FINALIZED messages, a correct validator finalizes v and broadcasts itself, unless it has already finalized.
– Upon receiving matching FINALIZED messages, a correct validator finalizes v (if it has not already) and halts.
The threshold keeps the echo honest: among matching messages, at least one comes from a correct validator, so the echoed value is indeed the finalized one. Finalizing at this threshold is therefore safe, and it lets every correct validator that starts participating at time finalize by time , where is the time at which the first correct validator halts. The threshold makes halting safe: among matching messages, at least come from correct validators, whose echoes eventually push every correct validator over the bar: no correct validator halts alone. Halting also has a constant bound: if every correct validator starts participating by time , every correct validator halts by time , since it finalizes by time and then halts within (Lemma 5). The FINALIZED messages of correct validators match, since all correct validators finalize the same meta-block. Until it halts, a correct validator keeps taking part in the fallback consensus, even after finalizing on the fast path. A validator that has halted handles no more messages of the slot, including those of the fallback consensus, but its ongoing broadcasts remain alive and keep retransmitting. In this version, these broadcasts never end. We expect the protocol that schedules the slots (in QUANTUM CA-DENCE, the CONDUCTOR) to end them once it has moved far enough ahead that no correct validator needs the slot's messages any more (Section 6). A correct validator that finalizes through the halting gadget finalizes a meta-block that some correct validator finalized on the fast path or on the fallback path: the first correct validator to broadcast did so upon finalizing on one of the two paths, since finalizing through the gadget requires FINALIZED messages for , one of them from a correct validator that broadcast earlier.
This replaces the commitment certificates of CHORUS: instead of receiving a transferable certificate from another validator, each validator observes a quorum of matching FINALIZED messages itself.
Data availability. As described, validators agree, proposer by proposer, on a Merkle root or on exclusion. A Merkle root, however, is only a digest, whereas what QUANTUM CHORUS must ultimately provide is the proposal the proposer originally disseminated. We must therefore argue that whenever a root is finalized for , some correct validator holds the corresponding proposal and can send it to the others. The argument is per proposer, so we fix a proposer .
Consider first the fast path. A correct validator that finalizes a root for on the fast path holds the proposal itself: before finalizing, it rebuilt the proposal from chunks under , and it kept only because the proposal re-encodes to it (line 64).
The fallback path asks for slightly more care. Suppose a Merkle root is output for on the fallback path. As , obligation guarantees that some correct validator input for proposer . We argue that some correct validator then holds the proposal behind in full. Recall from the adoption rule the two ways in which a correct validator comes to input .
-
It may have adopted off a clean set holding a fast entry for . Before adopting, it decoded the proposal from the chunks that corroborated the entry and checked that it re-encodes to (line 26). It therefore holds the proposal.
-
Otherwise, it adopted off a clean set consisting of fallback entries alone, of which carry . Recall how a fallback entry for comes to be: its sender collected chunks, decoded the proposal, and re-encoded it back to . Among these senders, at least one is correct, and that validator holds the proposal in its entirety.
In either case, some correct validator holds the proposal and can send it to the others. Finally, a correct validator that finalizes through the halting gadget finalizes a meta-block that some correct validator finalized on the fast path or on the fallback path (see the paragraph on halting), so some correct validator holds the proposal in this case too. How a correct validator obtains chunks it lacks, for instance after finalizing through the halting gadget, lies outside the protocol. We assume only a retrieval mechanism, with retransmission over the same unreliable channels, by which a correct validator eventually obtains data that another correct validator holds. It runs outside the slot's instance, so halting stops neither side: correct validators keep the data in persistent memory also after halting, and a halted validator still obtains data through it.
4.2 Guarantees
We now state the guarantees of the slot consensus; Appendix A proves them. Agreement, termination, and proposal inclusion are three of the properties that CADENCE requires of a slot consensus, and we state them similarly to CADENCE [4]; of the other three, slot safety (a finalized block carries the slot's number) holds trivially, and we do not address hiding and quiescence (a correct validator sends messages for a slot only while it participates in it). Agreement, speculation, and the complexity bound hold for every slot, termination and halting for every slot in which every correct validator starts participating, and proposal inclusion and the accountability lemmas for every timely slot (Section 3).
Lemma 1 (Agreement). QUANTUM CHORUS satisfies agreement: correct validators never finalize conflicting blocks for the slot.
Lemma 2 (Speculation). In QUANTUM CHORUS, if a correct validator speculatively finalizes a block that differs from the block that a correct validator finalizes, then the misbehavior of at least one faulty validator can be proven.
Lemma 3 (Proposal inclusion). QUANTUM CHORUS satisfies proposal inclusion: if the slot is timely, the finalized block contains the proposals of all correct proposers.
Lemma 4 (Termination). QUANTUM CHORUS satisfies termination: if every correct validator starts participating in the slot, every correct validator eventually finalizes a block for the slot.
Each correct validator then obtains the block's proposals through the retrieval mechanism of Section 4.1.
A correct validator keeps taking part in the slot after finalizing, until it halts (see the paragraph on halting in Section 4.1), and the protocol that schedules the slots, the CONDUCTOR in QUANTUM CADENCE, would complete the slot at that point (Section 6).
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
Lemma 5 (Halting). If every correct validator starts participating in the slot, every correct validator eventually halts. Moreover, if every correct validator has finalized by time T, every correct validator halts by time .
Lemma 6 (Message complexity & signature count). In QUANTUM CHORUS, every message that a correct validator sends in dissemination (CHUNK) or in voting (VOTE and PATHVOTE) carries exactly one signature. Moreover, a correct validator initiates at most one broadcast of a VOTE, at most one of a PATHVOTE, and at most one of a FINALIZED message, and, if it is a proposer, initiates at most one CHUNK send to each validator, retransmissions aside.
Accountability. We now turn the signatures of the voting path into evidence. When the fast path fails in a timely slot, someone is to blame, and we show that, as long as the Byzantine validators are few enough, the correct validators collectively hold a transferable proof against a specific proposer. The threshold is half the fault tolerance: with up to f Byzantine validators, f of them can each sign a negative entry for a correct proposer, so no count of negative entries below proves anything, and, as it turns out, the protocol cannot guarantee of them per proposer. With at most Byzantine validators, however, signed negative entries are enough to convict, and the protocol does guarantee them.
Lemma 7 (Accountability under faults). Suppose that the slot is timely and that at most validators are Byzantine. If some correct validator has not finalized by time , then there exists a proposer such that the correct validators collectively hold either (1) two CHUNK messages signed by that carry different roots, or (2) a CHUNK message signed by together with at least VOTE messages, from different validators, whose entry for is negative.
Lastly, we exploit a feature of the fallback consensus presented in Section 5. Its first view is a leaderless view, in which every validator votes for its own input. When the inputs of all correct validators coincide, this view decides within two message delays, whatever the faulty validators do. A failure to decide quickly therefore reveals that correct validators adopted different values, and the evidence behind that disagreement can be traced back either to a proposer or to a validator that equivocated.
Lemma 8 (Accountability under f faults). Suppose that QUANTUM CHORUS runs with CODA as its fallback consensus and that the slot is timely. If some correct validator has not finalized by time , then there exists a proposer such that either some correct validator holds PATHVOTE messages, from different validators, whose entry for is a fallback entry, or two correct validators together hold two VOTE messages signed by the same validator whose entries for differ.
5 Coda: Our Fallback Consensus
This section presents CODA, an implementation of the Byzantine agreement with per-proposer strong unanimity that QUANTUM CHORUS requires. Unlike a generic Byzantine agreement, CODA is built for multiple concurrent proposers: validators input and decide meta-blocks, with one entry per proposer, and strong unanimity and obligation hold for each proposer separately. CODA builds on Forget-IT [1], a leader-based Byzantine agreement protocol that needs no cryptography beyond authenticated channels and keeps its persistent memory constant. Section 5.3 lists how it differs from Forget-IT. CODA satisfies the four properties that Step 6 of Section 4 requires, which Section 5.2 restates in the terms of CODA. Under favorable conditions, CODA decides within two message delays, in its first view, which has no leader. Moreover, CODA bounds its persistent memory: for a fixed number of proposers, it is constant in the number of validators when no proposer equivocated before CODA started, and at most linear in it otherwise. It does not grow with the number of views, so a long asynchronous period costs no persistent memory.
The leaderless view. The first view of CODA has no leader. It consists of two voting rounds, with an implicit proposal step: each validator votes right away for its own input. When all correct validators start CODA at the same time, after GST, with the same meta-block, this view decides within two message delays. For the guarantees of CODA, the leaderless view is an optimization. Without it, CODA would begin with a view change that starts at once and turns the validators' inputs into the values that the first leader proposes, and would remain correct, but its best-case latency would grow from two message delays to five: two for the view change and three for the view of the first leader, if that leader is correct.
The leaderless view has a practical motivation. In a deployment, proposers do not send their chunks at the slot's starting time, but as late as they can while still reaching all correct validators by the deadline, so that their proposals include the transactions that arrived shortly before it. Occasionally, a proposer fails to do so, and its chunks reach only between and validators in time. The votes for that proposer then hold neither positive nor negative entries, and the fast path fails. Suppose that the slot is timely and that all validators follow the protocol, except that some proposers send their chunks after the starting time, so that these reach only between and validators in time, which makes these proposers faulty in the model of Section 3. Suppose also that their other messages still arrive within , which the model guarantees only for correct validators. Then every correct validator receives the same votes and path votes, adopts the same meta-block at time , with the late proposals included through fallback entries, and finalizes in the leaderless view by , instead of by without it, and then only if the first leader is correct. Omission failures, asynchrony, and Byzantine voters can give correct validators different inputs or delay the votes of view 1 past its timeout, in which case the leaderless view may end without a decision and a later view decides.
The leaderless view also gives Lemma 8 its time bound. Faulty validators can make the fast path fail without leaving evidence of their faults while all correct validators still adopt the same meta-block. Without the leaderless view, a faulty first leader could then delay the decision further, again without evidence. With it, if all correct validators adopt the same meta-block, they finalize by whatever the faulty validators do. If some correct validator has not finalized by then, the correct validators thus adopted different values for some proposer, and such a difference always leaves evidence, as the proof of the lemma shows.
5.1 Protocol Description
Model. CODA runs in the model of Section 3, but it does not need the synchronized clocks of that model: each validator uses only its local clock, and only to measure the time elapsed since it entered a view. Its proofs allow arbitrary drift of the local clocks before GST and require only drift-free clocks after GST. CODA uses no cryptography beyond the authentication of channels, so its guarantees hold even against a computationally unbounded adversary, unlike those of QUANTUM CHORUS, which relies on a collision-resistant hash function. The conventions of Section 4.1 on firing rules, time guards, and counting messages apply to Algorithm 2 as well. From the time it starts CODA, a validator keeps the CODA messages it receives for its previous view and later views. Upon entering a view, it discards the kept messages of views below its new previous view, and a crash erases them all. Kept messages count toward every rule whose condition they complete later, also one that a view entry completes. Before it starts CODA, a validator executes none of its rules. A correct validator may also stop taking part in CODA, that is, execute none of its handlers from some time on while its broadcasts remain alive, as validators of QUANTUM CHORUS do when they halt.
Protocol overview. Every validator starts CODA with a meta-block, its input (input for validator ): in QUANTUM CHORUS, the meta-block it adopted in Step 5 of Section 4, which holds a root or for each proposer. CODA decides a meta-block whose entry for each proposer is either a value that a correct validator input for or the special value EMPTY, which, like , excludes . CODA decides EMPTY for only if the inputs of correct validators differ for . Inside CODA, an entry of a meta-block may also be EMPTY. The protocol unfolds in views 1, 2, 3, ... View 1 has no leader, and every later view V has a leader, leader(V), which rotates round-robin among the validators and proposes a meta-block at the beginning of its view. In each view, validators vote in two rounds. They first send VOTE-1 messages for a meta-block, in view 1 for their own input and later for the leader's proposal. A validator that receives VOTE-1 messages for the same meta-block x sends a VOTE-2 message for x, unless it has sent one in the view already. A validator that receives VOTE-2 messages for x decides x. Every view, also one that decided, ends with a view change, in which validators exchange ECHO messages. These announce, for each proposer, values that are safe to carry into the next view, that is, consistent with every decision made in this view or an earlier one. A validator enters the next view with a meta-block of such values, its guard for that view. CODA has no rule for stopping: validators keep running it after they decide, since the others may still need their messages to decide. In QUANTUM CHORUS, a validator stops running CODA when it halts through the halting gadget of Section 4, which it does only after finalizing.
State. A validator keeps two meta-blocks for each of its current and previous views. Its guard for view V is the meta-block with which it entered V: its input for view 1, and safe values from the view change for later views. A correct leader of V proposes its guard. The guard reflects the earlier views: if a meta-block
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
Deciding in view V

view , with guard x
Fig. 2: One view V of CODA. A correct validator sends at most one VOTE-2 message in V, with its lock in Step 3 or without a lock in Step 5, and both the decision of Step 4 and the echoes of Step 6 use these messages. The view change ends every view, also one that decided, and moves the validator to view with a guard, which it proposes in Step 1 if it leads . View 1 has no leader and starts at Step 2.
was decided in a view smaller than V, it is the guard for V of every correct validator that enters V. A validator's lock for view V is the meta-block for which it received VOTE-1 messages in V before sending its VOTE-2 message, or none if there is none. The lock reflects view V itself: a view can decide only a meta-block that at least correct validators locked in it. The VOTE-2 message of a validator in view V carries its lock and its guard: the view change needs both to determine which values are safe.
In persistent memory, a validator keeps its current view, the time it entered that view, and whether it has decided. For its current and previous views, it also keeps its guard, its lock, and the votes and echoes it has broadcast. The CODA messages that a validator receives, echoes included, are not kept in persistent memory, so a crash erases them. After a crash, retransmission delivers again the messages whose broadcasts are still alive.
Corroboration. Without certificates, a validator cannot show others that it holds a quorum. CODA relies instead, in two places, on corroboration by messages, as QUANTUM CHORUS does for fast entries. A validator votes for a leader's proposal only once the proposal is justified, that is, for each of its entries, echoes of the previous view announce that entry as safe. The view change counts a VOTE-2 message that claims a lock only once it is accepted, that is, VOTE-1 messages for the lock have arrived. Among messages from different validators, at least one comes from a correct validator. Every entry of a justified proposal thus has an echo from a correct validator, possibly a different one for each entry, and every accepted lock has a VOTE-1 message for it from a correct validator.
The steps of a view. Algorithm 2 gives the pseudocode, which we describe in seven steps, shown in Figure 2: Steps 1 to 4 follow the message rounds of a view, and Steps 5 to 7 form the view change.
Step 1: Proposal (views ). The leader of a view opens it by broadcasting its guard x in a message (line 33). View 1 has no leader and skips this step.
Step 2: First vote. In view 1, every validator broadcasts upon starting, for its own input (line 32). A validator in a view that has received the leader's broadcasts as soon as is justified: for every proposer , it has received ECHO messages of view that announce as safe for , so that at least one correct validator announced it (line 34). A validator sends at most one VOTE-1 message per view.
Step 3: Second vote. A validator that receives VOTE-1 messages of its current view V for the same meta-block x sets its lock for V to x, whether or not it voted for x itself, and broadcasts , where g is its guard for V (lines 37 to 40). It skips this step if it has already broadcast a VOTE-2 message in V. No two correct validators lock different meta-blocks in the same view, since two sets of VOTE-1 messages from different validators share a correct sender, which sends only one VOTE-1 message per view.
Step 4: Decision. Upon receiving VOTE-2 messages of the same view, its current or its previous one, with the same lock , a validator decides , unless it has decided before (line 41). The previous view counts as well, since a validator may enter the next view before these messages reach it.
The view change. A view may end without a decision, for instance view 1 when correct validators have different inputs, and a later view when its leader is faulty. The view change, Steps 5 to 7, ends every view and moves the validators to the next one. It carries every decision forward: if a meta-block x was decided in view V or earlier, every correct validator that enters a later view has guard x there, and correct validators vote only for x in later views.
Step 5: Timeout. A validator that has been in a view V for , measured on its local clock, and has not broadcast a VOTE-2 message in V broadcasts one without a lock, , where g is its guard for V (line 45). The view change, which needs VOTE-2 messages, can thus proceed even if no meta-block gathers VOTE-1 messages.
Step 6: Echoing safe values. The view change reads the locks and guards that the VOTE-2 messages of the view carry, and it counts only accepted messages (see the paragraph on corroboration): a VOTE-2 message with a lock x is accepted once VOTE-1 messages for x of the same view have arrived (line 17), one without a lock on receipt, and at most one per sender and view. A lock needs this corroboration here because a single lock determines the values echoed for a whole set of messages. The decision of Step 4 needs none, as it counts messages with the same lock.
Once has elapsed since the validator entered its current view , for every set of accepted VOTE-2 messages of whose locks are all the same meta-block, and for every proposer , it echoes a value , that is, it broadcasts , which announces as safe for in view (line 47). It chooses as follows.
– If holds a lock , then .
– Otherwise, v is the entry for that the guards of messages in S share, or EMPTY if there is none.
The set S may mix messages without a lock and messages with the same lock. Two different locks, however, are never allowed in the same set S. Since no two correct validators lock different meta-blocks in a view (Step 3), one of the senders of conflicting locks is faulty, and the messages of the correct validators carry no conflicting locks. As long as it cannot form a set without conflicting locks, the validator therefore waits for further messages. As the rule fires for every such set S, a validator may echo several values for one proposer in a view. A validator need not enumerate the sets S, however: it suffices to count the accepted VOTE-2 messages by lock and by guard entry, and Appendix B.3 gives the conditions on these counts. The delay of is long enough that, if every correct validator has started CODA by GST and none stops taking part, then in a view whose leader is correct and which no correct validator enters before GST, every correct validator locks the leader's meta-block before any correct validator leaves the view.
The values that correct validators echo are safe. If view V decided a meta-block x, at least correct validators locked x, so every such set S holds the lock x. If an earlier view decided x, every correct validator entered V with guard x and votes in V only for x, so an accepted lock in S is x, and if S holds no lock, the guards of the correct validators in S share the entry .
Step 7: Entering the next view. Echoes are amplified as in Bracha's broadcast [8]: upon echoes with the same value for the same proposer, of its current or previous view, a validator echoes that value too, for the same view (line 61). A validator enters the next view once, for every proposer, echoes of the same view agree. Precisely, let V be its current view, or a later one if the validator has fallen behind. Once it has received, for every proposer , messages with the same value v, it enters view with the guard whose entry for each proposer is the value v of these echoes (line 53). The echoes for one proposer may come from other validators than those for another proposer. A validator keeps the state of its current and previous views only, and upon entering a view, it abandons its broadcasts of the views before the previous one (lines 14 and 15), which bounds its persistent memory however many views pass. A validator that has fallen behind may therefore never receive the messages of the views it missed. Instead, once it has received, for a later view V and every proposer , messages
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
with the same value , it catches up by entering view directly, with the guard built in the same way from these echoes (line 57). One of these echoes comes from a correct validator, which has thus reached view , and values safe for view are safe for as well.
5.2 Guarantees
In this subsection, we state the correctness and complexity guarantees of CODA, which Appendix B proves.
CODA satisfies the four properties that Step 6 of Section 4 requires of the fallback consensus (Lemmas 11 to 14). In the terms of CODA, in which a validator inputs a meta-block and decides one, they read as follows.
– Agreement: No two correct validators decide different meta-blocks.
– Termination: If every correct validator starts CODA, every correct validator eventually decides.
– Strong unanimity (per proposer): If all correct validators that input a meta-block input the same value other than EMPTY for a proposer , no correct validator decides a meta-block whose entry for is EMPTY.
– Obligation (per proposer): If a correct validator decides a meta-block whose entry for a proposer is a value , some correct validator input for .
Agreement, strong unanimity, and obligation hold in every execution, whatever the timing, and also when correct validators stop taking part in CODA, possibly before inputting (Appendix B). Termination needs every correct validator to start CODA at some point and none to stop taking part. To simplify its proof, Appendix B adopts the participation convention that every correct validator starts CODA by GST. Under this convention, Lemma 12 also bounds the time. Let V be the first view greater than 1 that no correct validator enters before GST and whose leader is correct. Then every correct validator decides within of the first entry into V by a correct validator. In QUANTUM CHORUS, a correct validator starts CODA when it adopts a meta-block (Step 5 of Section 4), possibly after GST. The convention costs no generality: if the last correct validator starts CODA at a time after GST, the termination proofs hold with in place of GST, as Appendix B shows. In QUANTUM CHORUS, a correct validator may also halt before it inputs, in which case it never starts CODA. Once a correct validator halts, the halting gadget of Section 4 makes every correct validator that participates finalize (Claim 2).
Complexity Finally, we bound, in terms of the number of proposers, the message complexity of CODA, the number of messages that correct validators send per view, retransmissions aside, and the size of the persistent memory of a correct validator. We count memory and message sizes in words: a word holds a value (a root, , or EMPTY), a view number, or a validator identifier, so a meta-block occupies words, and a message occupies a constant number of words, for its type and view number, beyond the meta-blocks or value that it carries. For every proposer , let is correct and inputs} denote the set of values that correct validators input for , and let . In general, , as each correct validator inputs one value per proposer. When QUANTUM CHORUS invokes CODA and the proposer did not equivocate, every correct validator inputs for either the Merkle root of 's proposal or , so . The per-validator broadcast counts and the persistent-memory bound below are stated in terms of : they do not depend on when , and they grow by a factor of in the worst case.
Lemma 9 (Message complexity). For every view V, each correct validator initiates at most broadcasts of messages of view V. Hence, retransmissions aside, correct validators send messages of each view, which is when .
The same accounting bounds the communication of a correct validator in words: a PREPARE or a VOTE-1 message carries one meta-block, a VOTE-2 message carries two, and an ECHO message carries one value, for words per view. We now turn to memory.
Lemma 10 (Persistent memory). Each correct validator stores words in persistent memory for CODA, which is words when .
5.3 Differences from Forget-IT
CODA keeps the structure of Forget-IT's views: a PREPARE message, two rounds of votes, locks, guards carried in VOTE-2 messages, the acceptance rule for these messages, and a view change that reads their
Algorithm 2 CODA: Pseudocode (for validator )
1: Notation: 2: - A meta-block assigns a value to each proposer . 3: - Value is the set of values that validators input for a proposer (in QUANTUM CHORUS, a root or ), and EMPTY . 4: - none denotes absent state (no lock, no message); it is never proposed, voted for, or decided.
5: Global variables (persistent memory): 6: View 7: Time of entry into the current view and whether has decided
8: View-specific variables (persistent memory), indexed by view : 9: MetaBlock 10: MetaBlock 11: Message , 12: Set(Message)
13: Rules: 14: - Validator maintains (in persistent memory) view-specific variables for views and only, and no received CODA messages. 15: - Upon entering view , abandon all ongoing broadcasts of CODA messages from views smaller than . 16: - A VOTE-2 message is accepted only if its guard is a meta-block and its lock is either none or a meta-block. 17: - A received message with is accepted only after has received messages . 18: - A received message is accepted immediately upon reception. 19: - For each view , at most one message is accepted from each validator.
20: Functions: 21: - echo(View , Proposer , Value ): 22: if : 23: ; broadcast 24: - justified(MetaBlock ): 25: return whether has received messages for every proposer
26: upon starting: 27: 's input 28: enter view 1
29: upon entering view : 30: ; record the time of entry 31: if : 32: ; broadcast 33: else if : broadcast
34: upon receipt of from leader( ) and justified( ): 35: if : 36: ; broadcast
37: upon receipt of messages for the same meta-block : 38: if : 39: 40: ; broadcast
41: upon receipt of messages for the same meta-block and some : 42: if has not decided yet: trigger decide( ) 43: upon time has elapsed since entering view : 44: if : 45: ; broadcast
46: the view change: what is safe to carry into the next view, proposer by proposer 47: upon time has elapsed since entering view and existence of a set of accepted messages whose non-none locks are all identical: 48: if there exists a non-none lock in : invoke echo( ) for every proposer 49: else: for every proposer : 50: if some is the entry for in the guards of messages in : 51: invoke echo( ) 52: else: invoke echo( )
53: upon receipt of messages for every proposer , for some meta-block and some : 54: 55: enter view
56: catching up: a correct validator has reached view , and is safe to carry into it 57: upon receipt of messages for every proposer , for some meta-block and some : 58: 59: enter view
60: amplification, for the current view and the one below it 61: upon receipt of messages for some , some , and some : 62: invoke echo( )
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
locks and guards. It differs in five main points. First, every view of Forget-IT has a leader, and its guards start as a special value SAFE, which means that every value is safe. CODA adds the leaderless view 1, and its guards start as the validators' inputs. Second, a Forget-IT validator votes for a proposal only if it equals its guard or its guard is SAFE, it may relax its guard to SAFE within a view, and a leader whose guard is SAFE proposes its own input. A CODA validator votes for any justified proposal of the leader, its guard stays fixed within a view, and a leader proposes exactly its guard. Third, Forget-IT passes the outcome of a view change through three phases of echoes, in which SAFE counts toward a quorum for every value. CODA has a single phase of echoes per proposer, amplified as in Bracha's broadcast, in which EMPTY is an ordinary value that counts only for itself. These changes give CODA strong unanimity and obligation per proposer, whereas Forget-IT guarantees validity only when all processes are correct and the network is synchronous from the start. Fourth, a Forget-IT validator sends at most two echoes per phase and view, the second one for SAFE. As EMPTY counts for no other value, a CODA validator may instead echo, for one proposer, EMPTY and every value that correct validators input for it, so its messages and persistent memory grow with the number of such values (Section 5.2). Fifth, CODA lacks two entry rules of Forget-IT, by which the next leader enters on echoes of the last phase and the other validators on its proposal and echoes of the second phase, and which let Forget-IT decide within three message delays of a correct leader's entry after GST. In CODA, the first view with a correct leader that starts after GST decides within of the first entry into it (Lemma 12).
6 Integration with the Conductor
Within CADENCE, the slot consensus runs under the CONDUCTOR, which opens the slots. The CONDUCTOR groups slots into windows of consecutive slots with evenly spaced deadlines, and a validator opens the next window only once enough slots of the earlier windows are complete, which in CADENCE means that the validator has finalized the blocks of these slots; this keeps the number of open slots bounded. Once per window, the validators agree on the first deadline of the next window through an agreement on a core set (ACS) [4]. We expect QUANTUM CADENCE to keep the algorithm of the CONDUCTOR and to change two things around it: the ACS and the point at which a validator completes a slot. This version of the paper outlines these changes but does not specify them in full or analyze them. In the model of Section 3, in which validators may crash and channels are unreliable, the CONDUCTOR also needs changes similar to those made to the slot consensus: a validator keeps retransmitting the messages that others may still need, such as its FINALIZED messages and those of the ACS, until the CONDUCTOR has moved far enough ahead; we leave these changes to a later version.
A signature-free ACS. The ACS can be built without signatures, following Ben-Or, Kelmer, and Rabin [6]: each validator disseminates its proposal with a reliable broadcast [8], and one binary agreement per validator decides whether that validator's proposal enters the set. For the binary agreements, CODA can be used with a single proposer and the values 0 and 1, reading an output of EMPTY as 0. An ACS instance would end with the same halting rule as a slot (Section 4.1), with the set in place of the meta-block: a validator would hand the set to the CONDUCTOR when it halts in the instance, and then stop running it.
Completion at halting. The analysis of the CONDUCTOR in CADENCE relies on totality: once a correct validator completes a slot after GST, every correct validator does so shortly after. In QUANTUM CHORUS, finalizing has no such constant bound, but halting does (Section 4.1): if every correct validator starts participating by time T, every correct validator halts by time , where H is the time at which the first correct validator halts. A validator therefore completes a slot when it halts, and it opens a window when it halts in the ACS instance that fixes the window's first deadline.
This bound counts from the last correct validator's start, however, and a validator that is behind does not participate yet. To bring it up to date, each validator retransmits one cumulative FINALIZEDUPTo message, which it replaces every with an up-to-date one, and keeps only the most advanced one from each peer. The message refers to a single chain that lists the finalized meta-blocks in slot order, with the output of each window's ACS instance inserted where the CONDUCTOR may open that window, that is, after the earlier slots that must be complete first. It names the last point of the chain up to which its sender has finalized every slot and every ACS instance, with a hash over the chain up to that point. These messages need not name the same point: once validators have named a point or a later one, with hashes that fit a single chain, a validator fetches the chain from them, checks it against the hashes, and finalizes every slot and every ACS instance up to that point, and once have, it halts in them,
- EVALUATION
17


Fig. 3: Average upload per validator (left) and mean latency to full finality (right), for 200 validators with 1 Gbps links. CHORUS uses BLS signatures, and the signature sizes refer to QUANTUM CHORUS. Each latency bar consists of the latency with unlimited bandwidth (light, value inside the bar) and the increase at 1 Gbps (dark), with the total above the bar. With unlimited bandwidth, the latency of QUANTUM CHORUS does not depend on the signature size.
which completes these slots and opens these windows. Totality would then hold within a constant time, whatever a validator's lag, for the prefixes of completed slots that the CONDUCTOR counts.
With these changes, we expect the guarantees of the CONDUCTOR to carry over: the number of open slots would stay bounded at all times, correct validators would open each slot within a constant time of one another after GST, and, for a constant grace period , every slot whose starting time is at least would be timely (Section 3).
7 Evaluation
We compare QUANTUM CHORUS with CHORUS in simulation, for 200 validators of equal stake, each with a 1 Gbps link, whose locations follow the geographic distribution of stake in the Monad validator set on October 1, 2026. The simulation covers propagation, transmission and queueing delays, but no local computation. We simulate only the fast path, without faults or message loss. Slots start every 100 ms, and each carries 500 KB of proposal data, divided equally among 5, 20 or 100 proposers. We do not fix a signature scheme and instead vary the signature size up to 5000 bytes. This range covers the parameter sets of ML-DSA [19] and of Falcon [15], which NIST has selected for standardization. It excludes the larger SLH-DSA signatures [20]. Since safety and liveness need no signatures, we also simulate a signature size of zero, which gives the cost of the protocol without signatures.
Figure 3 shows the average upload of a validator and the mean latency from a proposer's broadcast until a validator finalizes the slot (full finality, as opposed to speculative finality), averaged over all pairs of proposer and validator. Speculative finality comes about 50 ms earlier: with 20 proposers, for instance, QUANTUM CHORUS reaches it after 145 to 155 ms on average, depending on the signature size.
In terms of bandwidth, the two protocols differ mainly in the size of their consensus messages. Chunks account for about 180 Mbps of every validator's upload, in every configuration and for both protocols, and consensus messages for the rest. Since post-quantum signatures are much larger than BLS signatures, QUANTUM CHORUS with large signatures needs more upload than CHORUS when there are few proposers. However, a QUANTUM CHORUS vote carries one signature, while a CHORUS vote carries a signature or certificate for every proposer, so QUANTUM CHORUS scales better with the number of proposers.
Message sizes matter less for latency. With 1 Gbps links, they cause transmission and queueing delays that are small relative to the propagation delays: compared with no signatures, even 5000-byte signatures add at most 16 ms to the latency of QUANTUM CHORUS. With 5 or 20 proposers, CHORUS finalizes up to 19 ms earlier than QUANTUM CHORUS. At 100 proposers, the larger messages of CHORUS delay it enough that QUANTUM CHORUS finalizes up to 18 ms earlier.
The two protocols send the same kinds of messages in the same rounds, dissemination followed by two rounds of votes, so one might expect them to have the same latency when bandwidth is unlimited.
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
and message sizes do not matter. In fact, CHORUS is then slightly faster (by less than 10 ms), because its validators broadcast the certificates they form or receive: a validator can cast its fast vote as soon as it receives a meta-block of certificates from another validator, and can finalize as soon as it receives a certificate of fast votes. QUANTUM CHORUS forms no compact certificates, so each validator collects the votes itself. Without this forwarding, the two protocols behave identically from a networking standpoint and have the same latency.
Simulation details. Each run covers three overlapping slots, of which we measure the middle one, and we average over 200 trials. Both protocols use early voting and quorums of 135 validators. All messages of a validator share its 1 Gbps uplink, and propagation delays follow RIPE Atlas measurements. We make optimizations that a deployment would make. Votes do not carry chunks. Instead, as in Deterministic RaptorCast [10], which CADENCE uses in practice [4], each proposer sends every validator its chunks in separate packets, and validators forward enough of these packets for every validator to decode every proposal. A validator's votes take priority over the chunks it forwards, and, as in the evaluation of CADENCE [4, Section 8], each proposer starts disseminating at its own lead time before the deadline rather than at the starting time , as in Algorithm 1.
8 Related Work
Byzantine consensus. Byzantine consensus asks n processes, of which at most f may deviate arbitrarily from the protocol, to agree on a common value [21,18]. Fischer, Lynch, and Paterson showed that no deterministic protocol solves it under asynchrony, even if only one process may crash [14]. Deterministic protocols do solve it under synchrony [12] and under partial synchrony [13], the model of CADENCE and of this paper, and randomized protocols solve it under asynchrony [5,22]. QUANTUM CHORUS and CODA are deterministic.
Byzantine consensus without signatures. Protocols that use no cryptography beyond authenticated channels, called information-theoretic or unauthenticated, tolerate a computationally unbounded adversary. Their safety and liveness thus rest on no signature that a quantum computer could forge. Since a validator cannot prove a quorum to another without signatures, these protocols often use the amplification of Bracha's reliable broadcast [8]: a validator that receives matching messages repeats the message, and one that receives acts on it. CODA uses this rule for the echoes of its view change (Section 5.1), and QUANTUM CHORUS for the FINALIZED messages of its halting gadget (Section 4.1). Among the information-theoretic protocols for partial synchrony, IT-HotStuff [3] and TetraBFT [24] keep persistent memory constant, send messages per view, and are optimistically responsive. Their good-case latency, the latency when the network is synchronous from the start and the leader of the first view is correct, is six and five message delays, respectively. Forget-IT [1] reduces it to three, which is optimal [2]. CODA builds on Forget-IT (Section 5.3). Simple-IT [25] replaces quorum certificates by reliable broadcast and a reliable notification primitive. With Bracha's reliable broadcast, its good-case latency is four message delays, one more than that of Forget-IT, but its design allows pipelining.
Consensus with post-quantum signatures. Protocols can keep their certificates with post-quantum signatures, but at a cost. Post-quantum signatures can be aggregated, although the aggregates are much larger than a BLS aggregate signature and take much longer to compute [16,11]. Certificates can also stay lists of ordinary signatures: in HotStuff-style protocols [23], the leader collects the votes and disseminates the certificate together with its next proposal, for instance with AVID [9]. The drawback of these protocols is latency: every round of votes passes through the leader, so a decision typically takes more message delays than in protocols in which validators send their votes to all. The distributed quorum signature (DQS) [16] instead stops sending certificates: it turns them from network messages into local events, weak certificates for safety and strong ones for liveness, and is built from ordinary signatures and a Bracha-style broadcast of approvals. It takes the place of quorum signatures in an existing protocol: a validator that creates a weak certificate broadcasts an approval for it. Quantumglow, the post-quantum version of Alpenglow, follows this approach [17, Section 5].
Use of AI Tools
The protocols and the main ideas of this paper are our own. We used large language models to help draft and revise parts of the text and the simulator. The authors take full responsibility for the content of this paper.
- RELATED WORK
19
References
-
Abraham, I., Das, S., Efron, Y., Komatovic, J.: Forget-IT: Optimal good-case latency for information-theoretic BFT. In: Proceedings of the ACM Symposium on Principles of Distributed Computing (PODC). pp. 478–488 (2026). https://doi.org/10.1145/3796701.3815965, also IACR ePrint 2026/355
-
Abraham, I., Nayak, K., Ren, L., Xiang, Z.: Good-case latency of Byzantine broadcast: A complete categorization. In: Proceedings of the 2021 ACM Symposium on Principles of Distributed Computing (PODC). pp. 331–341 (2021). https://doi.org/10.1145/3465084.3467899
-
Abraham, I., Stern, G.: Information theoretic HotStuff. In: 24th International Conference on Principles of Distributed Systems (OPODIS 2020). LIPIcs, vol. 184, pp. 11:1–11:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2021). https://doi.org/10.4230/LIPIcs.OPODIS.2020.11
-
Babel, K., Elsheimy, F., Heimbach, L., Jalalzai, M.M., Klenze, T., Komatovic, J., Milionis, J., Setrin, M., Shoup, V.: Cadence: Extreme pipelining with multiple concurrent proposers. arXiv:2607.02275 (2026)
-
Ben-Or, M.: Another advantage of free choice: Completely asynchronous agreement protocols (extended abstract). In: Proceedings of the Second Annual ACM Symposium on Principles of Distributed Computing (PODC). pp. 27–30 (1983). https://doi.org/10.1145/800221.806707
-
Ben-Or, M., Kelmer, B., Rabin, T.: Asynchronous secure computations with optimal resilience. In: Proceedings of the Thirteenth Annual ACM Symposium on Principles of Distributed Computing (PODC). pp. 183–192 (1994). https://doi.org/10.1145/197917.198088
-
Boneh, D., Lynn, B., Shacham, H.: Short signatures from the Weil pairing. In: Advances in Cryptology – ASI-ACRYPT 2001. LNCS, vol. 2248, pp. 514–532. Springer (2001). https://doi.org/10.1007/3-540-45682-1_30
-
Bracha, G.: Asynchronous Byzantine agreement protocols. Information and Computation 75(2), 130–143 (1987). https://doi.org/10.1016/0890-5401(87)90054-X
-
Cachin, C., Tessaro, S.: Asynchronous verifiable information dispersal. In: Proceedings of the 24th IEEE Symposium on Reliable Distributed Systems (SRDS). pp. 191–202 (2005). https://doi.org/10.1109/RELDIS.2005.9
-
Category Labs: MIP-10: Deterministic RaptorCast. Monad Improvement Proposals, no. 10 (2026), https://mips.monad.xyz/MIPs/MIP-10
-
Centelles, A., Dao, Q., Badakhshan, M., Thaler, J.: Aerie: Efficient aggregation of Falcon signatures. IACR Cryptology ePrint Archive, Paper 2026/2501 (2026), https://eprint.iacr.org/2026/2501
-
Dolev, D., Strong, H.R.: Authenticated algorithms for Byzantine agreement. SIAM Journal on Computing 12(4), 656–666 (1983). https://doi.org/10.1137/0212045
-
Dwork, C., Lynch, N., Stockmeyer, L.: Consensus in the presence of partial synchrony. Journal of the ACM 35(2), 288–323 (1988). https://doi.org/10.1145/42282.42283
-
Fischer, M.J., Lynch, N.A., Paterson, M.S.: Impossibility of distributed consensus with one faulty process. Journal of the ACM 32(2), 374–382 (1985). https://doi.org/10.1145/3149.214121
-
Fouque, P.A., Hoffstein, J., Kirchner, P., Lyubashevsky, V., Pornin, T., Prest, T., Ricosset, T., Seiler, G., Whyte, W., Zhang, Z.: Falcon: Fast-Fourier lattice-based compact signatures over NTRU. Specification v1.2, https://falcon-sign.info/falcon.pdf (2020)
-
Kniep, Q., Sliwinski, J., Wattenhofer, R.: Byzantine fault-tolerant post-quantum distributed quorum signatures. arXiv:2607.17700 (2026)
-
Kniep, Q., Sliwinski, J., Wattenhofer, R.: Solana Alpenglow consensus: Increased bandwidth, reduced latency. White paper v1.2, Anza, July 29, 2026, https://www.anza.xyz/alpenglow (2026)
-
Lamport, L., Shostak, R., Pease, M.: The Byzantine generals problem. ACM Transactions on Programming Languages and Systems 4(3), 382–401 (1982). https://doi.org/10.1145/357172.357176
-
National Institute of Standards and Technology: Module-lattice-based digital signature standard. Federal Information Processing Standards Publication 204, National Institute of Standards and Technology (2024). https://doi.org/10.6028/NIST.FIPS.204
-
National Institute of Standards and Technology: Stateless hash-based digital signature standard. Federal Information Processing Standards Publication 205, National Institute of Standards and Technology (2024). https://doi.org/10.6028/NIST.FIPS.205
-
Pease, M.C., Shostak, R.E., Lamport, L.: Reaching agreement in the presence of faults. Journal of the ACM 27(2), 228–234 (1980). https://doi.org/10.1145/322186.322188
-
Rabin, M.O.: Randomized Byzantine generals. In: 24th Annual Symposium on Foundations of Computer Science (FOCS). pp. 403–409. IEEE Computer Society (1983). https://doi.org/10.1109/SFCS.1983.48
-
Yin, M., Malkhi, D., Reiter, M.K., Gueta, G.G., Abraham, I.: HotStuff: BFT consensus with linearity and responsiveness. In: Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing (PODC). pp. 347–356 (2019). https://doi.org/10.1145/3293611.3331591
-
Yu, Q., Losa, G., Wang, X.: TetraBFT: Reducing latency of unauthenticated, responsive BFT consensus. In: Proceedings of the 43rd ACM Symposium on Principles of Distributed Computing (PODC). pp. 257–267 (2024). https://doi.org/10.1145/3662158.3662783
-
Yu, Q., Villacis, J., Losa, G., Xiang, Z., Wang, X.: Simple-IT: Practical low-latency signature-free BFT consensus. arXiv:2606.14404 (2026)
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
A Proofs for Quantum Chorus
This appendix proves the lemmas of Section 4.
A.1 Core Properties
A correct validator finalizes on the fast path (line 65), on the fallback path (line 73), or through the halting gadget (lines 74 and 76). We first show that a finalization through the halting gadget repeats a finalization on one of the two paths.
Claim 1 (Finalizations through the halting gadget). If a correct validator finalizes a meta-block x through the halting gadget at time t, then some correct validator finalized x on the fast path or on the fallback path by time t.
Proof. A correct validator broadcasts exactly when it finalizes . Finalizing through the halting gadget requires messages from validators, at least one of them correct, which therefore finalized earlier. Hence, the first correct validator to finalize did so on the fast path or on the fallback path, and if a correct validator finalizes through the halting gadget at time , this first finalization happened by time .
The proofs below compare finalized meta-blocks entry by entry. A speculative or fast-path finalization does not take the values of the fast entries as they are: before finalizing, a validator replaces a root whose proposal does not re-encode to it by (lines 60 and 64). For a value , a root or , we call the result of this check the checked value of : if is a root whose proposal does not re-encode to , and otherwise. It does not depend on which chunks are used (see finalizing on the fast path in Section 4).
Lemma 1 (Agreement). QUANTUM CHORUS satisfies agreement: correct validators never finalize conflicting blocks for the slot.
Proof. It suffices to show that correct validators finalize the same meta-block, as a meta-block determines its block. Fix a proposer , and consider two correct validators finalizing meta-blocks and . By Claim 1, some correct validator also finalizes on the fast path or on the fallback path, and so does one for ; we may therefore assume that both finalizations are made on these two paths. To prove the lemma, we show that , going through the three possible combinations of paths.
– If both validators finalize on the fast path, quorum intersection settles the matter: there are path votes whose entry for is a fast entry for some value whose checked value is , and whose entry for is a fast entry for some value whose checked value is . The two sets of senders intersect in a correct validator, which issued a single path vote (Lemma 6), and thus a single entry for . Hence, , and .
– If both validators finalize on the fallback path, the agreement property of the fallback consensus gives them the same output. Both finalize this output after replacing its entries EMPTY by (line 73), so .
– The interesting case is the mixed one: without loss of generality, say is finalized on the fast path and on the fallback path. As is finalized on the fast path, there exist path votes whose entry for is a fast entry for some value whose checked value is . By quorum intersection, any clean set for , being a set of accepted entries for from different validators, contains at least one of these fast entries: the two sets of senders intersect in a correct validator, whose unique entry for is a fast entry for . The adoption rule then leaves little choice. If , every correct validator adopts for . If is a root , every correct validator decodes the proposal from the chunks that corroborated the fast entry and re-encodes it. As the result of the check does not depend on the chunks used, either every correct validator adopts (if the check passes) or every correct validator adopts (if it fails). In all cases, all correct validators that input a meta-block input the same value, namely the checked value of , for . Strong unanimity now ensures that no correct validator outputs EMPTY for , while obligation ensures that the output value for was input by a correct validator. Hence, is the checked value of , that is, .
In every case, : the two validators finalize the same meta-block, and therefore the same block, which concludes the proof.
Lemma 2 (Speculation). In QUANTUM CHORUS, if a correct validator speculatively finalizes a block that differs from the block that a correct validator finalizes, then the misbehavior of at least one faulty validator can be proven.
A. PROOFS FOR QUANTUM CHORUS
21
Proof. Suppose a correct validator speculatively finalizes a meta-block , and fix a proposer . Let be the value of the fast entry of for , a Merkle root or , and let be its checked value, so that (line 62). Throughout the proof, we say that a VOTE message matches if its entry for is : a positive entry for when is a root, and a negative entry when . The speculation rests on VOTE messages matching , sent by distinct validators, and holds all of them (lines 49, 50, and 62).
A finalization through the halting gadget repeats one on the fast path or on the fallback path (Claim 1), so it suffices to consider these two paths.
Observe first that every fast-path finalization rests, for , on fast entries for , and thus finalizes for . Namely, a fast-path finalization rests on PATHVOTES whose entries for are fast entries for the same value, and at least one of them comes from a correct validator. That validator issued its fast entry upon receiving VOTE messages matching the entry's value, while holds VOTE messages matching . The two sets of senders intersect in a correct validator, which sent a single VOTE (Lemma 6), so the fast entry is for . A reversion, therefore, can only originate from the fallback path.
On the fallback path, the proof relies on signatures. A VOTE message is signed by its sender as a whole: it carries a single signature over the entire vector of entries. Consequently, two VOTE messages from the same validator whose entries for differ are two distinct messages signed by that validator, which is a transferable proof of its misbehavior. In particular, if distinct validators send VOTE messages that do not match , then, as , one of them also sent one of the VOTES matching that holds, and whoever holds the two messages holds the proof. The argument below produces exactly such a pair of sets: the matching VOTES held by , and non-matching VOTES held by some correct validator.
We claim that, short of provable misbehavior, no correct validator inputs to the fallback consensus a value for with . Strong unanimity and obligation, applied to proposer , then ensure that the fallback consensus outputs , and the lemma follows: every correct validator that inputs a meta-block inputs for , so strong unanimity rules out EMPTY, and obligation gives . As is arbitrary and , every meta-block that a correct validator finalizes is unless misbehavior can be proven, and its block is then the block that speculatively finalized.
To prove this claim, suppose that a correct validator inputs a value for with , and recall the three ways in which it may have adopted (line 68). This implies that : a root that a correct validator inputs passes the check, as the paragraph on data availability shows, so would give . In each of the three scenarios below, we show that some correct validator holds VOTE messages that do not match , which gives the proof of misbehavior described above.
– In the first scenario, 's clean set for holds a fast entry for , and is either or a root that passed the decode-re-encode check. For that fast entry to enter the clean set, it had to be accepted: received VOTE messages matching (line 18). As , these messages do not match , and holds them.
– In the second scenario, 's clean set holds a fast entry for a root that failed the check, so adopted . If , the VOTEs that corroborated the fast entry do not match , and holds them. If , then fails the check as well, as its result does not depend on the chunks used, so , which contradicts .
– In the third scenario, 's clean set consists of fallback entries alone. If is a root, the clean set holds fallback entries for , at least one issued by a correct validator , which issued it only upon receiving VOTE messages with a positive entry for (line 51). As , these messages do not match , and holds them.
If , then : is a root with a valid encoding. Moreover, fewer than fallback entries of the clean set carry , for otherwise would have adopted . The clean set holds entries from distinct validators, of which at least come from correct validators, so some correct validator issued a fallback entry for that does not carry . Consider the VOTE messages that held when it issued its PATHVOTE, at least of them (line 58). We claim that at least of them are not positive for . If they hold fewer than positive entries for , the claim is immediate. Otherwise, they hold positive entries for . As the encoding is valid, decoding them would have yielded a fallback entry for , which did not issue. The rule (line 51) allows this only if decoded another root instead, that is, only if some also gathered positive entries at . Those messages, positive for , are not positive for . In both cases, holds VOTE messages that do not match , as required.
In every case that does not contradict , a correct validator holds signed VOTE messages that do not match , while holds signed VOTE messages that do. Both sets remain in persistent memory
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
across crashes. Together, the two sets expose a validator that signed two different VOTE messages, which is precisely the misbehavior the lemma promises to prove.
Lemma 3 (Proposal inclusion). QUANTUM CHORUS satisfies proposal inclusion: if the slot is timely, the finalized block contains the proposals of all correct proposers.
Proof. Fix a correct proposer . Let denote the Merkle root of 's proposal. Every correct validator receives its chunk, with a valid Merkle proof under and a header signed by , by the deadline, while it participates: as the slot is timely, initiates its send upon starting, by time (line 36), and never abandons it, and every correct validator participates from on, so the delay bound of Section 3 delivers the chunk during , and the validator records it (line 37) unless it has halted by then. As channels are authenticated and sends each validator a single chunk, every VOTE that a correct validator broadcasts thus includes a positive entry . Hence, every fast entry for that a correct validator issues names : it rests on VOTES with matching entries for , at least of them from correct validators. Moreover, as is correct, its encoding is valid: any chunks under decode to its proposal, which re-encodes to . It suffices to show that every meta-block that a correct validator finalizes satisfies , as the block of such a meta-block contains the proposal of .
Consider first a correct validator finalizing a meta-block on the fast path. It holds PATHVOTES whose entry for is a fast entry for some value whose checked value is . At least one of them comes from a correct validator, whose fast entry for names . Hence, , and, as the encoding is valid, .
The fallback path is no more accommodating. First, no correct validator ever accepts a fast entry for naming a value : acceptance requires VOTES whose entry for matches , whereas every correct validator's entry for is positive for , leaving at most such VOTES. Second, every fallback entry for that a correct validator issues names : the validator holds at least VOTES, at least of them from correct validators and thus positive for , and only the at most Byzantine validators can send VOTES that are not positive for , whether negative or positive for another root (a VOTE carries no header signed by the proposer, so the checks of line 15 allow any root), so no other root reaches positive entries. It therefore decodes the proposal from chunks under , and the proposal re-encodes to . Consequently, every set of accepted entries for from different validators is clean, its fast entries name , and at least of its entries, those from correct validators, are fast or fallback entries for . The adoption rule therefore returns for every correct validator's clean set for : if the set holds a fast entry, the entry names , and the decode-re-encode check passes, the encoding being valid; otherwise, at least of its fallback entries, those from correct validators, name , and only the at most entries from Byzantine validators can name another root or , so no other root reaches entries. Every correct validator thus adopts for , and inputs a meta-block whose entry for is , if it inputs one. Strong unanimity for proposer ensures that no correct validator outputs EMPTY for , and obligation ensures that the output value for was input by a correct validator. Hence, the output meta-block satisfies . A finalization through the halting gadget repeats one on the two paths (Claim 1), so its meta-block satisfies this as well.
In both cases, every meta-block that a correct validator finalizes satisfies , and its block contains the proposal of .
Once a correct validator halts, the halting gadget makes every correct validator that participates finalize; the proofs of termination and accountability below use this.
Claim 2 (Finalization after a halt). If a correct validator halts at time H, then every correct validator that starts participating at time S finalizes by time .
Proof. By time , the halting validator received messages, for some meta-block , from validators, at least of them correct (line 76). These correct validators initiated their broadcasts by time and never abandon them. By the delay bound of Section 3 with , a correct validator that starts participating at time therefore receives their messages during . This interval starts no earlier than , so the validator participates when the messages arrive, unless it has halted. A correct validator that has halted by then has finalized, as it finalizes when it halts. Any other correct validator keeps the messages in persistent memory, and thus holds of them by time and finalizes by then (line 74).
Lemma 4 (Termination). QUANTUM CHORUS satisfies termination: if every correct validator starts participating in the slot, every correct validator eventually finalizes a block for the slot.
A. PROOFS FOR QUANTUM CHORUS
23
Proof. If some correct validator halts, every correct validator finalizes by Claim 2, as it eventually participates. Otherwise, no correct validator halts, so that all of them keep taking part in the fallback consensus, and it suffices to prove that every correct validator eventually inputs a meta-block to the fallback consensus: from there, the termination of the fallback consensus carries the day, as a correct validator finalizes the output meta-block (line 73). We prove this below.
Every correct validator eventually participates and broadcasts a VOTE (line 46), so every correct validator eventually holds VOTES and, once time reaches (or earlier, see Step 3), forms an entry for every proposer and broadcasts its PATHVOTE (line 58). Fix a proposer . Crucially, if a correct validator issues a fast entry for , then every correct validator eventually accepts it. Namely, the issuer formed its fast entry upon receiving VOTES whose entry for matches the fast entry, at least of which come from correct validators, and correct validators keep their VOTE broadcasts forever-alive. The corroborating VOTES thus eventually reach every correct validator, and the fast entry is accepted (line 18). Fallback entries, recall, are accepted the moment they are received. Consequently, every correct validator eventually accepts the entries for of all correct validators, of which there are at least .
Once that happens, if not before, the accepted entries for contain a clean set. Indeed, no two correct validators issue fast entries for naming different values: each rests on VOTES with matching entries for , and two such sets of VOTES intersect in a correct validator, which sent a single VOTE and thus a single entry for . The entries of the correct validators for thus form a set of accepted entries whose fast entries all agree: a clean set. Hence, every correct validator eventually holds a clean set for every proposer, and, once time has reached , adopts a value for each of them (line 68). The adoption rule is a local computation that always completes: where it calls for decoding, the chunks it needs arrived with the VOTES that corroborated the fast entry in question. Every correct validator therefore inputs a meta-block to the fallback consensus, which is all we needed.
Lemma 5 (Halting). If every correct validator starts participating in the slot, every correct validator eventually halts. Moreover, if every correct validator has finalized by time T, every correct validator halts by time .
Proof. For the time bound, suppose that every correct validator has finalized by time T. All correct validators finalize the same meta-block (see the proof of Lemma 1), and each of them broadcasts when it finalizes. By time T, the at least correct validators have thus initiated these broadcasts, which are forever-alive and so reach every correct validator by time . A correct validator that has not halted by then holds from validators, participates, as it has finalized, and halts by that time (line 76).
For the first statement, if every correct validator starts participating in the slot, every correct validator eventually finalizes (Lemma 4), so there is a time T by which all of them have, and the bound applies. □
A.2 Complexity
Lemma 6 (Message complexity & signature count). In QUANTUM CHORUS, every message that a correct validator sends in dissemination (CHUNK) or in voting (VOTE and PATHVOTE) carries exactly one signature. Moreover, a correct validator initiates at most one broadcast of a VOTE, at most one of a PATHVOTE, and at most one of a FINALIZED message, and, if it is a proposer, initiates at most one CHUNK send to each validator, retransmissions aside.
Proof. We inspect the three message types (Algorithm 1). A CHUNK carries the proposer's signature on its header , together with a symbol and a Merkle proof. A VOTE carries the sender's single signature over its entire vector of entries. Its entries are unsigned, and the chunks attached to positive entries consist of a root, a symbol, and a Merkle proof: the proposer's signed header, which the sender verified upon receiving the chunk, is stored locally and never forwarded (line 46). A PATHVOTE only carries the sender's single signature over its entire vector of entries (line 58). As for the number of messages, Step 1 runs at most once at each proposer and sends one CHUNK to each validator (line 36). Step 2 runs at most once and broadcasts one VOTE (line 46). Step 3 runs at most once and broadcasts one PATHVOTE (line 58). No rule initiates any of these sends or broadcasts a second time, also after recovery. Retransmissions repeat a send or broadcast that was already initiated, and the counts exclude them. The halting gadget adds at most one FINALIZED message per correct validator, which carries no signature.
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
A.3 Accountability
Lemma 7 (Accountability under faults). Suppose that the slot is timely and that at most validators are Byzantine. If some correct validator has not finalized by time , then there exists a proposer such that the correct validators collectively hold either (1) two CHUNK messages signed by that carry different roots, or (2) a CHUNK message signed by together with at least VOTE messages, from different validators, whose entry for is negative.
Proof. As the slot is timely, every correct validator starts participating in it by time , and none crashes from then on (Section 3). Let denote the number of Byzantine validators, so that at least validators are correct.
We first show that halting does not interfere with the argument below. If some correct validator halts by time , every correct validator finalizes by (Claim 2, as and every correct validator starts participating by ), and there is nothing to prove. Otherwise, no correct validator halts by , and every correct validator broadcasts its PATHVOTE by then, as used below. A correct validator that halts later has finalized before halting; in particular, a correct validator that has not finalized by has not halted by then.
Next, we show that some correct validator issued a fallback entry for some proposer . Let be a correct validator that has not finalized by time , and hence has not halted by then. As the slot is timely, has received, by time , the PATHVOTES of all correct validators, broadcast by time . If, for every proposer, the entries of all correct validators were fast entries naming the same value, would hold, for every proposer, PATHVOTES with matching fast entries, and would finalize by time (line 65), the chunks it needs having arrived with the VOTES by , contrary to its choice. Hence, for some proposer , either two correct validators issued fast entries for naming different values, or some correct validator issued a fallback entry for . The former is impossible: each of the two fast entries rests on VOTES whose entries for match its value, the two sets of senders share at least validators, hence a correct one, and a correct validator sends a single VOTE, and thus a single entry for . Therefore, some correct validator issued a fallback entry for .
We now examine what saw. As issued a fallback entry, it formed its path vote at time , since a path vote formed earlier holds fast entries only. As the slot is timely, by time , has received the VOTES of all correct validators, broadcast by time . Let denote the number of these VOTES whose entry for is positive, and the number whose entry for is negative, so that . As issued a fallback entry for , it observed fewer than negative entries for , and, for every root , fewer than positive entries naming (lines 49 and 50). In particular, , hence : some correct validator formed a positive entry for , which it does only upon receiving a CHUNK whose header is signed by (line 37), and which it stores. The correct validators thus hold a CHUNK signed by . Two cases remain.
– If the positive entries of correct validators for name two different roots, then two correct validators hold CHUNK messages signed by with different roots: this is item (1).
– Otherwise, all positive entries name the same root , so , and . These VOTES come from different correct validators, are signed by their senders, and holds them, as it received the VOTES of all correct validators by : together with the CHUNK above, this is item (2).
Lemma 8 (Accountability under f faults). Suppose that QUANTUM CHORUS runs with CODA as its fallback consensus and that the slot is timely. If some correct validator has not finalized by time , then there exists a proposer such that either some correct validator holds PATHVOTE messages, from different validators, whose entry for is a fallback entry, or two correct validators together hold two VOTE messages signed by the same validator whose entries for differ.
Proof. As the slot is timely, every correct validator starts participating in it by time , and none crashes from then on (Section 3). At least validators are correct. We first show that halting does not interfere with the argument below. If some correct validator halts by time , every correct validator finalizes by (Claim 2, as and every correct validator starts participating by ), and there is nothing to prove. Otherwise, no correct validator halts by , and the broadcasts below are made by then. A correct validator that halts later has finalized before halting; in particular, a correct validator that has not finalized by has not halted by then.
Next, we pin down the timeline. Every correct validator broadcasts its VOTE by time D and its PATHVOTE by time , and every correct validator receives them by times and , respectively. By time , moreover, every correct validator has accepted every entry of every correct PATHVOTE: fallback entries are accepted on receipt, and a correct fast entry is corroborated by correct VOTES that arrived by . As in the proof of termination, the entries of the correct validators form a clean set for every proposer, so every correct validator adopts a meta-block and inputs it to the fallback consensus at time (line 70). The pre-fallback broadcasts are forever-alive, and the view-1 broadcasts of CODA remain alive through : as all correct validators enter view 1 at time , none enters a higher view before (by the proof of Claim 14, which applies unchanged when validators halt), and a validator abandons a broadcast of CODA only upon entering a higher view (line 15), not when it decides or halts.
Suppose that all correct validators input the same meta-block . Upon entering the leaderless view 1 at time , every correct validator broadcasts (Algorithm 2). By time , every correct validator has received such messages, locks , and broadcasts . By time , every correct validator has received VOTE-2 messages with lock (line 41), and finalizes. Consequently, if some correct validator has not finalized by time , the inputs of the correct validators are not all identical: two correct validators and adopted different values for some proposer . We fix this and distinguish two cases, according to the fast entries for issued by correct validators. Recall that all such fast entries name the same value : each rests on VOTES matching it, and two such sets of VOTES intersect in a correct validator, which sent a single VOTE.
– No correct validator issued a fast entry for . Then all or more correct validators issued fallback entries for , and, by time , every correct validator holds their signed PATHVOTES: the conclusion of the lemma.
– Some correct validator issued a fast entry for , naming . If the clean set of or of for consists of fallback entries alone, that validator holds signed PATHVOTES, from different validators, with fallback entries for : the conclusion of the lemma. Otherwise, both clean sets hold fast entries, naming values and . Adopting from a fast entry is a deterministic function of the value it names (line 68): is adopted as , and a root is adopted as itself if the decode-re-encode check passes and as if it fails, where the result of the check depends only on the root: every chunks under a valid encoding decode to the same proposal, and no chunks under an invalid one re-encode to it. Had , the two validators would therefore have adopted the same value, decoding failure or not. Hence , and at least one of them, say , differs from . The fast entry for was accepted by , which therefore holds VOTES, from different validators, matching (line 18). Meanwhile, holds VOTES, from different validators, matching . As , some validator sent both a VOTE matching and a VOTE matching , that is, two VOTES with different entries for . Validators and together hold them: two VOTES signed by the same validator that differ, a transferable proof of that validator's misbehavior.
B Proofs for Coda
This appendix proves the guarantees of CODA stated in Section 5.2, under the model and conventions of Section 5.1.
B.1 Core Properties
The proofs of agreement, strong unanimity, and obligation allow correct validators to stop taking part in CODA (Section 5.1). They reason only about the events that correct validators cause: the messages they broadcast and accept, the views they enter, the variables they write, and their decisions. They trace each such event to the rule that caused it and to messages received, or events that occurred, before it, and none of them uses that a correct validator keeps running, which only the termination proofs assume. A validator that stops taking part causes no events from then on: it executes no handler, and its retransmissions repeat messages it broadcast before.
We start by proving that CODA satisfies agreement.
Agreement. We begin with a few structural observations about CODA, and then prove agreement. The first observation is that the current view of a correct validator only grows.
Claim 3. If a correct validator enters a view at some time, and enters a view at a later time, then .
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
Proof. Validator updates exactly when it enters a view, setting to the entered view (line 30). Views are entered at three places only. The first is line 28, upon starting, which happens once and precedes every other entry. The second is line 55, which enters a view under the condition (line 53). The third is line 59, which enters a view under the condition (line 57). The last two thus enter a view greater than . Recovery preserves and does not repeat initialization. Hence, .
Next, we show that a correct validator commits to a single vote of each kind per view, and that its lock, once set, is the one its VOTE-2 message carries.
Claim 4. Let be a correct validator, and let be a view. Then:
-
Validator writes , , and only at times at which , and at most once each.
-
Validator broadcasts at most one and at most one message, each at a time at which .
-
If broadcasts , then is the value of and is the value of at the time of the broadcast, and holds from that time onward.
Proof. We first prove part (1). The variable is written at line 32, within the handler that enters view and hence after is set to 1 (line 30), and at line 36, which acts on view . The two sites are mutually exclusive: the second belongs to a rule triggered by a PREPARE message from leader( ) (line 34), whereas view 1 has no leader (line 31). The first site is reached only once, as view 1 is entered only once (Claim 3), and the second is guarded by (line 35). The variable is written at line 40 and at line 45. Both sites act on view , and both are guarded by (lines 38 and 44). The variable is written at line 39 alone, within the same handler and under the same guard. It remains to observe that these variables are never reset: the only mechanism that discards them is the memory rule (line 14), which discards the variables of a view once it falls below . By Claim 3, such a view is never entered again, and, as shown above, the variables of a view other than are never written.
Part (2) follows: each of these write sites broadcasts the message it has just written, while by part (1) (lines 32, 36, 40, and 45), and no other line of CODA broadcasts a VOTE-1 or a VOTE-2 message. Part (3) follows as well. Both sites that create a VOTE-2 message for view V fill it with the current value of . The site at line 40 fills in the current value of , and the site at line 45 fills in none, which is the current value of there: is written only in the handler that also writes (line 39), and at the timeout site (line 44). By part (1), is never written again.
The next two claims trace the values that correct validators vote for, and the locks that they accept, back to their origin.
Claim 5. If a correct validator broadcasts for a view , then, for every proposer , validator has received messages from distinct validators.
Proof. As established in the proof of Claim 4, the only site that creates a VOTE-1 message for a view is line 36, and its rule is triggered only by a message that is justified (line 34), where . A meta-block is justified only if, for every proposer , the validator has received messages from distinct validators (line 25).
Claim 6. If a correct validator accepts a message with , then some correct validator has broadcast .
Proof. Such a message is accepted only once its recipient has received messages from distinct validators (line 17), at most of which are faulty.
We now introduce the first decision of the execution. If no correct validator ever decides, agreement holds vacuously. We therefore assume throughout the remainder of the agreement proof that some correct validator does decide.
We say that a correct validator decides in view V if it triggers decide on the strength of messages (line 41). Its current view is then V or .
Definition 1 (View ). Let denote the smallest view in which a correct validator decides.
Before naming the meta-block that view decides, we check that there is only one.
Claim 7. If a correct validator decides a meta-block in view , and a correct validator decides a meta-block in view , then .
Proof. Each of the two decisions requires the receipt of messages carrying the decided meta-block, from distinct senders (line 41). As , the two sets of senders share at least validators, at least one of which is correct. By Claim 4(2), that validator broadcasts a single VOTE-2 message for view , which implies .
We may therefore speak of the meta-block that view decides.
Definition 2 (Meta-block ). Let denote the meta-block decided by a correct validator in view .
The following claim is the counting heart of the proof. A decision in view leaves behind a residue of correct VOTE-2 messages so large that no quorum of VOTE-2 messages for view can avoid it, however it is assembled.
Claim 8. Let denote the set of correct validators that broadcast . Then:
.
– Every set of messages from distinct senders contains a message broadcast by a member of .
Proof. Let denote the number of validators that are faulty in the execution under consideration. The decision on in view requires the receipt of messages from distinct senders (line 41), at most of which are faulty. The rest were broadcast by correct validators, which therefore belong to . Thus, .
Now, consider any set of messages from distinct senders. At most validators lie outside : the faulty ones, and the at most correct ones. As has distinct senders, at least one of them belongs to . By Claim 4(2), that validator broadcasts a single VOTE-2 message for view , namely , which is thus the message of that it sent.
We are ready for the central claim of the agreement proof: once view has decided , no correct validator ever echoes, or votes for, anything else.
Claim 9. Let m be a message broadcast by a correct validator . Then:
-
If with , then .
-
If with , then .
Moreover, holds at every time at which .
Proof. We proceed by induction on the order of the events of interest at correct validators, namely the broadcasts covered by the claim and the entries into views greater than . Fix such an event, and suppose that the claim holds for every event that precedes it. We establish the claim through three subclaims.
Subclaim 1 If a correct validator enters a view , then from that moment onward.
Proof of Subclaim 1. As , validator enters view at line 55 or at line 59, and sets its guard for to a meta-block (line 54 or 58). In the former case, for a view , and, for every proposer , a set of messages from distinct senders exists (line 53), at least of them broadcast by correct validators. In the latter case, for every proposer , a set of messages from distinct senders exists (line 57), at least one of them broadcast by a correct validator, and . Either way, for every proposer , some correct validator broadcast an echo for , for a view at least , before the entry. The induction hypothesis (part 1) yields . As this holds for every proposer, , and the entry sets . No other line writes : guards are written upon entering a view alone, and view is entered once (Claim 3), which concludes the proof.
Subclaim 2 If with , then .
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
Proof of Subclaim 2. As , Claim 5 applies: for every proposer , validator has received messages from distinct validators, at least one of which was broadcast by a correct validator. As , the induction hypothesis (part 1) gives for every proposer , that is, .
Subclaim 3 If with , then .
Proof of Subclaim 3. Echo messages are broadcast at line 23 alone, so broadcasts upon an invocation of , of which CODA has two sources.
– The amplification rule (line 61) requires a set of messages from distinct senders, at least one of which was broadcast by a correct validator, and thus earlier. The induction hypothesis (part 1) gives .
– The view-change rule (line 47) is triggered while by a set of accepted messages, from distinct senders, whose non-none locks are all identical. The rule echoes for every proposer at once. We fix the proposer of and distinguish two cases.
-
Case . By Claim 8, the set contains a message broadcast by a correct validator. Hence, contains a non-none lock, so the rule takes its first branch (line 48) and echoes for the lock it exhibits. As all non-none locks in are identical, , and thus .
-
Case . At least messages of were broadcast by correct validators. Each was broadcast at a time at which its sender's current view was (Claim 4(2)), and thus carries the guard of its sender at that time, whose entry for is (Claim 4(3) and the induction hypothesis, applied to that sender's entry into view ). We distinguish the branch the rule takes.
-
The first branch (line 48) echoes for a non-none lock of an accepted message of . By Claim 6, some correct validator broadcast , so by the induction hypothesis (part 2), and thus .
-
The second branch (line 50) is reached otherwise. Its condition asks for a value that is the entry for in the guards of messages of , and is such a value: as established above, at least messages of carry a guard whose entry for is . It is the only such value, as two values would require messages; hence . The condition therefore holds, and the last branch, which echoes EMPTY, is not taken (line 52).
The three subclaims cover every event of interest, which completes the induction.
Agreement now follows.
Lemma 11 (Agreement). CODA (Algorithm 2) satisfies agreement.
Proof. As is the smallest view in which a correct validator decides, it suffices to prove that no correct validator decides a meta-block other than in a view . For , this is Claim 7.
Hence, let , and suppose that a correct validator decides a meta-block in view . The decision requires the receipt of messages from distinct senders (line 41), at least one of which was broadcast by a correct validator . By Claim 4(3), , which is set only upon the receipt of messages from distinct senders (lines 37 and 39), at least one of which was broadcast by a correct validator. By Claim 9(2), , which concludes the proof.
Termination. Termination assumes that every correct validator starts CODA and none stops taking part, and its proofs also assume that every correct validator starts by GST (the participation convention of Section 5.2). We first establish that correct validators keep advancing through views, and then that the first post-GST view with a correct leader decides. Where the proofs below speak of the correct validators, they mean an arbitrary but fixed set of correct validators, in case there are more. The following two claims tie echoes and view entries to one another.
Claim 10. If a correct validator broadcasts for a view , then some correct validator has previously entered view V.
Proof. We first observe that a correct validator broadcasts an ECHO message for view V only while its current view is at least V: the view-change rule (line 47) echoes for view , and the amplification rule (line 61) echoes only for views and . As is set to a view only upon entering it (line 30), the sender of such a message has entered a view at least V beforehand.
Let denote the first entry by a correct validator into a view at least , and let be the entered view. It suffices to show that . If , then is an initial entry (line 28), and follows from . Otherwise, , so occurs at line 55 or at line 59, the only two places where a view other than view 1 is entered. It does not occur at the latter: the catch-up rule requires messages from distinct senders (line 57), one of which was broadcast by a correct validator, and thus before , while that validator's view was at least . That validator thus entered a view at least before , contradicting the minimality of . Hence, occurs at line 55, which requires messages from distinct senders (line 53), at least of them broadcast by correct validators before , while their views were at least . By the minimality of , , and, as , .
Claim 11. If a correct validator enters a view , then the first such entry occurs at line 55, and some correct validator has previously entered view .
Proof. Let denote the first entry by a correct validator into view . As , it occurs at line 55 or at line 59. It does not occur at the latter: the catch-up rule requires messages from distinct senders (line 57), one of which was broadcast by a correct validator, and, by Claim 10, some correct validator entered view before that broadcast, hence before , a contradiction. Therefore, occurs at line 55, which requires a set of messages from distinct senders (line 53), at least of which were broadcast by correct validators before . Claim 10 then places an entry into view before those broadcasts.
Next, we record which messages survive on an unreliable network. Recall that a broadcast is abandoned only upon a view entry, and only for messages outside the two-view window that the entry retains (line 15).
Claim 12. Let be a view such that no correct validator ever enters a view greater than V. Then every VOTE-1, VOTE-2 and ECHO message for view V or view V - 1 broadcast by a correct validator is forever-alive, and is therefore eventually received by every correct validator.
Proof. Let be such a message, for a view , broadcast by a correct validator . Its broadcast is initiated by hypothesis, so it suffices to show that it is never abandoned. The only mechanism that abandons broadcasts is the rule at line 15, which fires upon a view entry: entering a view abandons the ongoing broadcasts of the messages of views smaller than . Consider the moment at which broadcasts . Its current view is then or : a VOTE-1 or VOTE-2 message for view is broadcast while (Claim 4(2)), and an ECHO message for view is broadcast by the view-change rule while (line 47), or by the amplification rule while (line 61). As entered views only grow (Claim 3), every later entry of is into a view , and such an entry abandons the broadcast of exactly when is smaller than . An entry into view therefore spares , and only an entry into a view abandons it. Since , such a view satisfies , and no correct validator ever enters a view greater than by assumption. Hence, is forever-alive, and its retransmissions eventually reach every correct validator, also after recovery or the start of participation.
The next claim is the engine of progress: whenever correct validators would otherwise be stranded in a view, they all reach the same verdict about it and move on.
Claim 13. For every view , some correct validator eventually enters view V.
Proof. Suppose, by contradiction, that some view is never entered by any correct validator. By Claim 11, the set of views entered by correct validators is closed downward, and every correct validator enters view 1 upon starting (line 28). Let be the greatest view that some correct validator enters. No correct validator ever enters a view greater than , so Claim 12 applies to views and throughout.
Step 1: Every correct validator eventually enters view . If , this holds by initialization. Otherwise, by Claim 11, the first entry into occurs at line 55, and thus rests on a set of messages for every proposer and some meta-block , at least of them, for every proposer, from correct validators. These are forever-alive, so every correct validator eventually receives of them for every proposer after its last recovery. A correct validator whose view is then at most enters view on the spot, through the catch-up rule (line 57, with ). Hence, every correct validator is eventually in view or view , so and the amplification rule fires (line 61): broadcasts for every proposer , unless it has done so already. Hence all correct validators broadcast these echoes, which are forever-alive,
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
so every correct validator eventually holds of them for every proposer. A correct validator whose view is then enters view at line 55 (with ), and one whose view is is there already.
Step 2: Every correct validator broadcasts a single VOTE-2 message for view , and every correct validator eventually accepts all of these messages. Every correct validator is in view forever, and its clock advances at the rate of real time from GST onward, so the timer of line 43 eventually reaches and it broadcasts a VOTE-2 message for (line 45), unless it has broadcast one earlier (line 40). By Claim 4(2) this message is unique, and it is forever-alive. Let denote the set of these messages. Every member of is eventually accepted by every correct validator: those carrying none upon reception (line 18), and one carrying a lock once messages arrive (line 17), which they do: its sender locked upon receiving such messages (line 39), at least of them broadcast by correct validators and hence forever-alive. So every correct validator eventually holds , with every member accepted.
Step 3: All correct validators echo a common value for every proposer. The set satisfies the condition of the view-change rule (line 47): it consists of accepted messages, and all of its non-none locks are identical. The latter holds because these locks are the locks of correct validators, and no two correct validators lock different meta-blocks in the same view. Indeed, two locks on different meta-blocks would require two sets of VOTE-1 messages for view , from distinct senders each, sharing senders, at least one of them correct and hence broadcasting two VOTE-1 messages for , contradicting Claim 4(2). Moreover, the gate of line 47 is eventually open at every correct validator, as every correct validator is in view forever and its clock advances after GST. The rule fires for every set that satisfies its condition (line 47), so it fires for at every correct validator, and is the same set at every correct validator. The values it echoes are determined by alone. If contains a lock , every correct validator echoes for every proposer . Otherwise, for every proposer , at most one value is the entry for in the guards of messages of , as two such values would require messages, and every correct validator echoes that value, or EMPTY if there is none. Contradiction. These echoes are forever-alive, so every correct validator eventually holds of them for every proposer and enters view (line 55), contradicting the maximality of .
For every view , let denote the earliest time at which a correct validator enters view V. It is well defined by Claim 13, and by Claim 11. We call a view V a post-GST view if and only if . The gate of line 47 now buys us a floor on how quickly post-GST views can pass.
Claim 14. For every post-GST view , no correct validator broadcasts an ECHO message for view V before time . Hence .
Proof. By Claim 11, the entry into view at time occurs at line 55, and thus rests on messages from distinct senders, at least one of which was broadcast by a correct validator before . The first ECHO message for view broadcast by a correct validator is not produced by the amplification rule (line 61), which presupposes an earlier such message. It is produced by the view-change rule, which its sender evaluates for view only once has elapsed since it entered (line 47). That entry occurs at or after , and clocks exhibit no drift from GST onward, so no correct validator broadcasts an ECHO message for view before , and the entry at , which follows such a message, is not earlier.
Claim 15. For every post-GST view , every correct validator is in view V at time .
Proof. By Claim 14 and repeated applications of Claim 11, no correct validator enters a view greater than V before . Since views never decrease (Claim 3), a validator that has entered view V by time , and that cannot have entered a view above V by then, is in view V at that time. It therefore suffices to show that every correct validator enters view V by time .
If , every correct validator starts by GST under the participation convention of Section 5.2 and enters view 1 upon starting, so . As view 1 is post-GST, , and every correct validator enters view 1 at that time. Hence, let . By Claim 11, the entry at time , being the first into view , occurs at line 55, and thus rests, for every proposer , on messages from distinct senders for some meta-block (line 53), at least of them broadcast by correct validators before . Each of those broadcast by a correct validator is abandoned only upon its sender entering a view greater than , which does not happen before . These echoes per proposer are therefore alive throughout and, as , received by every correct validator by time . A correct validator whose view is then at most enters view on the spot, through the catch-up rule (line 57). Hence, at time , every correct validator is in view or view , so and the amplification rule fires (line 61): every correct validator broadcasts for every proposer by time , unless it has done so already. These echoes are alive until for the same reason, hence received by every correct validator by time , at which point every correct validator holds echoes for every proposer and has entered view .
We are ready to prove termination.
Lemma 12 (Termination). Assume that every correct validator starts CODA by GST and that no correct validator stops taking part. CODA (Algorithm 2) satisfies termination. Moreover, every correct validator decides by time , where is the first post-GST view greater than 1 whose leader is correct.
Proof. The view exists: every correct validator performs finitely many steps by any given time, so only finitely many views are entered before GST and post-GST views exist (Claim 13). Moreover, the leader rotates round-robin and at least validators are correct. Write and . Throughout, we use Claim 14, which gives and , so that no correct validator is in a view greater than before time , nor in a view greater than before time .
Step 1: By time , every correct validator holds a justified proposal from . By Claim 15, every correct validator, included, is in view at time . Upon entering , the correct broadcasts for (line 33), the meta-block with which it entered the view. This broadcast is abandoned only upon entering view , impossible before , so every correct validator receives the proposal by time . The entry of into is not a catch-up entry (line 59): that would require an ECHO message for view from a correct validator, none of which exists before (Claim 14), whereas enters by . Hence, entered with guard on the strength of messages for every proposer , at least of them from correct validators. These are alive until their senders enter view , hence received by every correct validator by time , at which point justified( ) holds everywhere (line 25).
Step 2: By time , every correct validator has broadcast . Consider a correct validator at time , holding the justified proposal of Step 1 and still in view , as no correct validator enters before . If , the rule at line 34 fires and broadcasts . Otherwise, has already broadcast a VOTE-1 message for , and that message carries as well, since in view a correct validator votes only for a proposal received from (line 34), and the correct broadcasts a single one. All correct validators thus broadcast by time . These are alive until their senders enter view , impossible before , so every correct validator receives them by time . At that time is still in view , again because no correct validator enters before , so the rule at line 37, which acts on the current view only, fires for . This is where the gate of line 47 earns its length: a shorter gate would let a correct validator leave before its VOTE-1 quorum for completes, and it would then never broadcast a VOTE-2 message for . At that moment, either , in which case locks and broadcasts (lines 39 and 40), or was set earlier at line 40, the timeout of line 43 firing no earlier than . In the latter case, the lock is a meta-block backed by VOTE-1 messages for , at least one of them from a correct validator, and is therefore . Either way, has broadcast by time .
Step 3: Every correct validator decides by time . By Step 2, all correct validators broadcast by time . These messages are alive until their senders enter view , impossible before , so every correct validator receives all of them by time . As , the rule at line 41 then fires, provided at that moment: this holds, since no correct validator is in a view greater than before . Hence, every correct validator decides by time .
The participation convention, that every correct validator starts CODA by GST, costs no generality. Suppose that every correct validator starts CODA and none stops taking part, and let , where is the time at which the last correct validator starts. From on, every correct validator runs CODA, message delays are bounded, clocks do not drift, and no correct validator crashes. A late starter may miss broadcasts that others abandoned before it started (line 15), but the proofs above rely on the delivery only of messages of correct validators that stay alive long enough after
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
(Claims 12 to 15 and the proof of Lemma 12), and the model delivers these to late starters as well, also if they dropped an earlier copy before starting. The termination proofs thus hold with in place of GST: every correct validator decides by time , where is the first view greater than 1 that no correct validator enters before and whose leader is correct.
Strong unanimity. We now turn to strong unanimity, which CODA owes to each proposer separately. The proof rests on a single invariant, the per-proposer counterpart of Claim 9: once the correct validators agree on a proposer's entry, that entry never departs from the agreed value, in any guard and in any message.
Claim 16. Let be a proposer and let be a value such that for every correct validator that inputs. Let be a message broadcast by a correct validator . Then:
-
If , then .
-
If , then .
Moreover, guard holds at every time at which view .
Proof. As in the proof of Claim 9, we proceed by induction on the order of the events of interest at correct validators, namely the broadcasts covered by the claim and the entries into views. Fix such an event, and suppose that the claim holds for every event that precedes it. We establish the claim through three subclaims.
Subclaim 4 If a correct validator enters a view , then from that moment onward.
Proof of Subclaim 4. If , the entry sets to (line 27), and by assumption, as entered view 1 upon starting CODA, when it input (line 28). If , then enters view at line 55, with and a meta-block for which a set of messages from distinct senders exists (line 53), or at line 59, with a meta-block for which a set of messages from distinct senders exists (line 57). In both cases, at least one of the certifying messages was broadcast by a correct validator, so by the induction hypothesis (part 1), and the entry sets (line 54 or 58). In both cases, . Moreover, guards are written upon entering a view alone, and view is entered once (Claim 3), so the value persists.
Subclaim 5 If , then .
Proof of Subclaim 5. If , then is created at line 32 and carries , which is (line 27), so by assumption, as is in view 1 and has thus input. If , then, by Claim 5, validator has received messages from distinct validators, at least one of which was broadcast by a correct validator. The induction hypothesis (part 1) gives .
Subclaim 6 If , then .
Proof of Subclaim 6. Message m is broadcast at line 23 upon an invocation of , of which CODA has two sources.
– The amplification rule (line 61) requires a set of messages from distinct senders, at least one of which was broadcast by a correct validator, and thus earlier. The induction hypothesis (part 1) gives .
– The view-change rule (line 47) is triggered while by a set of accepted messages from distinct senders. At most of these senders are faulty, so at least messages of were broadcast by correct validators. Each was broadcast at a time at which its sender's current view was (Claim 4(2)), and thus carries the guard of its sender at that time, whose entry for is (Claim 4(3) and the induction hypothesis, applied to that sender's entry into view ). We distinguish the branch the rule takes.
-
The first branch (line 48) echoes for a non-none lock of an accepted message of . By Claim 6, some correct validator broadcast , so by the induction hypothesis (part 2), and thus .
-
The second branch (line 50) is reached otherwise. Its condition asks for a value that is the entry for in the guards of messages of , and is such a value: as established above, at least messages of carry a guard whose entry for is . It is the only such value, as two values would require messages; hence . The condition therefore holds, and EMPTY is not echoed for (line 52).
◇
The three subclaims cover every event of interest, which completes the induction.
We are finally ready to prove strong unanimity.
Lemma 13 (Strong unanimity). CODA (Algorithm 2) satisfies strong unanimity.
Proof. Suppose that all correct validators that input input the same value for a proposer , and suppose, by contradiction, that a correct validator decides a meta-block with in some view . The decision requires the receipt of messages from distinct senders (line 41), at least one of which was broadcast by a correct validator . By Claim 4(3), , which is set only upon the receipt of messages from distinct senders (lines 37 and 39), at least one of which was broadcast by a correct validator. By Claim 16(2), . As and (line 3), this contradicts .
Obligation. Obligation is, like strong unanimity, owed to each proposer separately, and it is proved by the same induction, with provenance in place of uniqueness. We call a value admissible for a proposer if or some correct validator input it for , that is, . The invariant below is the counterpart of Claim 16: instead of pinning a proposer's entry to one value, it confines that entry to the values a correct validator stands behind.
Claim 17. Let be a proposer, and let be a message broadcast by a correct validator . Then:
-
If , then is admissible for .
-
If , then is admissible for .
Moreover, guard is admissible for at every time at which .
Proof. We proceed by induction on the order of the events of interest at correct validators, exactly as in the proof of Claim 16, and we establish the claim through the same three subclaims.
Subclaim 7 If a correct validator enters a view W, then is admissible for from that moment onward.
Proof of Subclaim 7. If , the entry sets to (line 27), and is admissible by definition, being correct. If , then enters view at line 55 or at line 59, and sets (line 54 or 58) for a meta-block backed, for the proposer , by a set of messages (line 53) or of messages (line 57) from distinct senders. Either way, at least one of them was broadcast by a correct validator, so is admissible by the induction hypothesis (part 1). Guards are written upon entering a view alone, and view is entered once (Claim 3), so the value persists.
Subclaim 8 If , then is admissible for .
Proof of Subclaim 8. If , then is created at line 32 and carries , which is (line 27), whose entry for is admissible. If , then, by Claim 5, validator has received messages from distinct validators, at least one of which was broadcast by a correct validator. The induction hypothesis (part 1) makes admissible.
Subclaim 9 If , then is admissible for .
Proof of Subclaim 9. Message m is broadcast at line 23 upon an invocation of , of which CODA has two sources.
– The amplification rule (line 61) requires a set of messages from distinct senders, at least one of which was broadcast by a correct validator, and thus earlier. The induction hypothesis (part 1) applies.
– The view-change rule (line 47) is triggered by a set of accepted messages from distinct senders. Unlike in the proof of Claim 16, all three of its branches are reachable here, and we inspect each.
- The first branch (line 48) echoes for a non-none lock of an accepted message of S. By Claim 6, some correct validator broadcast , so is admissible by the induction hypothesis (part 2).
Mohammad Mussadiq Jalalzai, Tobias Klenze, and Jovan Komatovic
- The second branch (line 51) echoes a value G that is the entry for in the guards of messages of S. These come from distinct senders, at most f of which are faulty, so at least one of them was broadcast by a correct validator, at a time at which that sender's current view was V (Claim 4(2)), and it carries the sender's guard at that time (Claim 4(3)). That guard's entry for is admissible by the induction hypothesis, applied to that sender's entry into view V. Hence, so is G.
• The third branch (line 52) echoes EMPTY, which is admissible by definition.
The three subclaims cover every event of interest, which completes the induction.
We are now ready to prove the obligation property.
Lemma 14 (Obligation). CODA (Algorithm 2) satisfies obligation.
Proof. Suppose that a correct validator decides a meta-block in some view , and let be a proposer with . We must exhibit a correct validator that input for . The decision requires the receipt of messages from distinct senders (line 41), at least one of which was broadcast by a correct validator . By Claim 4(3), , which is set only upon the receipt of messages from distinct senders (lines 37 and 39), at least one of which was broadcast by a correct validator. By Claim 17(2), is admissible. As , some correct validator input for , which is precisely obligation.
B.2 Complexity
We begin by bounding the echoes that a correct validator broadcasts for a single view.
Claim 18. For every view and every proposer , a correct validator broadcasts at most distinct messages, and it initiates the broadcast of each of them at most once.
Proof. By Claim 17(1), every message broadcast by a correct validator carries a value that is admissible for , that is, . This leaves at most distinct messages.
Each of them is broadcast at most once. Echoes are broadcast only by the function echo, which records every message it broadcasts in (line 23) and does not broadcast a recorded message again (line 22). It remains to check that the record survives as long as it is needed. A correct validator invokes only while : the view-change rule echoes for view (line 47), and the amplification rule echoes for views and (line 61). Throughout that period, the memory rule retains (line 14), which starts empty, and the period never resumes once exceeds , as views never decrease (Claim 3).
Lemma 9 (Message complexity). For every view V, each correct validator initiates at most broadcasts of messages of view V. Hence, retransmissions aside, correct validators send messages of each view, which is when .
Proof. Fix a correct validator and a view . Validator broadcasts at most one message, upon entering view as its leader (line 33), which happens at most once (Claim 3). It broadcasts at most one VOTE-1 message and at most one VOTE-2 message for view (Claim 4(2)). Finally, for every proposer , it broadcasts at most ECHO messages for view (Claim 18), for at most echoes in total. Every broadcast unicasts its message to each of the validators, and at most validators are correct, which yields the bound.
Lemma 10 (Persistent memory). Each correct validator stores words in persistent memory for CODA, which is words when .
Proof. We count memory in words, where a word holds a value, a view number, or a validator identifier, so that a meta-block occupies k words. By the memory rule (line 14), a correct validator retains the view-specific variables of at most two views, alongside , the time at which it entered its current view, and its decision flag (one word each). For each retained view V, the variables and are meta-blocks, is a message carrying one meta-block, and is a message carrying two, for words in total, while holds at most messages of words each (Claim 18). The CODA messages whose broadcasts are alive belong to views and (line 15), and each of them is either recorded in these variables or a PREPARE message carrying , so keeping track of them costs words as well. In total, words.
B.3 Evaluating the View-Change Rule
The view-change rule (line 47) fires once for every set of accepted VOTE-2 messages that satisfies its condition, but a validator can avoid enumerating these sets, since the values that the rule echoes are determined by counts. Fix a correct validator in view . Let be the messages that has accepted, at most one per sender (line 19), those without a lock, and those with lock . For a proposer and an entry , let be the number of messages in whose guard has entry for . Once have elapsed since entered view , some set satisfying the condition of the rule causes it to invoke if and only if one of the following holds.
-
for a meta-block with and . We can choose messages from , including at least one from , to form a set with lock , on which the rule echoes the entry of for every proposer.
-
and . Then messages of with entry for , together with further messages of , form a set without locks in which messages carry , so the rule echoes (no other entry can also reach in a set of ).
-
and . The rule echoes EMPTY for on a set without locks in which no entry for is carried by messages. Such a set contains at most messages with each entry, so it exists exactly when at least messages remain after keeping, for each entry, at most of the messages of that have this entry for .
Conversely, a set satisfying the condition either has locks that are all the same meta-block , so it lies in and condition 1 holds, or has no locks, so it lies in and condition 2 holds if it echoes an entry carried by of its messages, and condition 3 holds otherwise.