
Ph.D. Candidate @tu_wien, Researcher @CommonPrefix
Joined March 2017
- Tweets118
- Following301
- Followers239
- Likes275
Giulia Scaffino retweeted
Idk who needs to hear this, but formal verification of software (mathematically checking that software is correct) is by no means done, even now that we have LLMs and the proof tedium is gone. Instead, having LLMs lets us focus on the spec, where humans remain in the loop, and where people were often sloppy in the past. By sloppy I mean they often touted “formally verified!!11”, without even mentioning the spec. And upon closer inspection, the spec often turned out to miss critical guarantees you would naturally expect.
Formal verification IS hard. First, you need to figure out what behavior you even want to check: the spec. Then, you need to go through the tedium of writing a proof that your program indeed satisfies the spec.
LLMs massively speed up the second step. That’s because the proof can automatically be checked by a compiler. If the compiler is happy, the LLM did its job and you can trust the result, namely that your program satisfies the spec, without reading the proof yourself. (Ofc assuming you don't hit a compiler bug.)
But the first step is still there: What’s the spec? Writing the spec is still tedious and error-prone, and while LLMs help, a human needs to remain in the loop, at least to some extent, to assess whether the spec matches with the programmer's intention and the user's expectation. If you vibe that part, that’s where the bugs will creep back in.
Also: not all specs are equal. Don't trust "formally verified" without checking the spec. If the spec only says "the program doesn't crash", that is much less useful than a spec that reflects in detail the intended and expected functionality of the program.
So, humans are not leaving the loop, we're just moving up a level. With the proof tedium gone, we can finally focus our attention on the spec!
Giulia Scaffino retweeted
Dolev–Strong is arguably the best-known consensus protocol, and for roughly 45 years, no deterministic protocol improved on its O(n³) communication.
A new paper by @komasito55, Yuval Efron and Ling Ren improves that bound to O(n² log⁴ n) for Byzantine Broadcast, tolerating t < n faults in O(t) rounds.
After thinking about the problem on and off for years, they started leveraging AI models. The paper is the result of a month of human experts digesting and simplifying the discourse with AI.
Giulia Scaffino retweeted
We're excited to share that 4 papers co-authored by Common Prefix researchers have been accepted at this year's Advances in Financial Technologies (AFT).
An overview of each paper in the thread below 🧵
Giulia Scaffino retweeted
Common Prefix has three papers accepted at SBC'26:
- BitVM3: Efficient Bitcoin Bridges via Garbled Circuits.
eprint.iacr.org/2026/933
- Ark: Offchain Transaction Batching in Bitcoin.
arxiv.org/abs/2605.20952
- Sunfish: Reading Ledgers with Sparse Clients.
eprint.iacr.org/2024/1680
Congratulations to Lukas Aumayr (@lukas_aumayr), Zeta Avarikioti (@zetavar1) and Giulia Scaffino (@GScaffino).
Giulia Scaffino retweeted
I am thrilled to see Ling bring the whole field of consensus together in this extraordinary book! For beginners and experts alike, interested in theory, practice, or both, it spans the classics and latest advances with Ling’s signature elegance and rigor
github.com/renling/Consensus…
Giulia Scaffino retweeted
Gatling: Rapid-Fire Consensus from Parallel Composition | NYC | July 8 | Recap
Thank you all for joining this whitepaper reading sessions!
Thank you @BigBrainVC for the pizza and @SolanaSkyline for the venue ( @nbelenkov & @jonnymevs)
Thank you @zeebradoom for organizing.
It was pleasant surprise to have @MaxResnick (@anza_xyz one of the authors) join us for a while!
Discussion Highlights:
1️⃣ What is a simple analogy?
Imagine you went to a grocery store and each reciept of each order required the hash of the previous reciept. There may be a cashier available, but the cashier has to wait for the previous receipt before they can start on your order. Instead, you are required to only have the hash of an order 10 orders ago.
2️⃣ The bottleneck is network bandwidth
Eth PBS auction concludes in ~20ms these days with a 12 second block. Requiring better node hardware is no longer a taboo topic and is the core bottleneck for Gatling. The bottleneck for confirmation time is 3Δ (propose → notarize votes → finalize votes).
3️⃣ The probability of a higher skip rate increases as K increases
Gatling's confirmation rule means one stalled slot blocks all subsequent Gatling blocks, even ones already confirmed at the component level. The paper finds that a realistic operating point is K = 9, inter-proposal time ≈ 56ms, end-to-end transaction latency = 244ms (at a 1% proposal-drop rate, on their testbed with T_ipt = 500ms per instance and Δ ≈ 70ms).
Some other questions we discussed:
• What does it take for Solana (and other chains) to improve slots? In terms of political, social, economic considerations.
• What are possible implementations of execution ordering with Gatling?
• How have priorities for consensus designs changed over time?
• How could we place blocks to further increase the number of blocks proposed?
• Why was this built with @commonwarexyz 's primitives?
Giulia Scaffino retweeted
We’re thrilled to finally share what we’ve been working on with @XRPLF.
At Common Prefix, we are strong advocates of provable security. With the XRP Ledger Foundation, we are taking the XRPL consensus protocol the full distance, from pen-and-paper proofs to formal verification.
We’re also making sure the Payment Engine specification we wrote in collaboration with @RippleXDev stays in sync with xrpld releases.
Excited to team up with @CommonPrefix to shape the new security standards for the XRP Ledger. Upcoming:
Formal verification and security analysis of the XRPL consensus mechanism.
Maintaining the Payment Engine spec, keeping it in sync with xrpld releases and monitoring changes.
Giulia Scaffino retweeted
Liskov is fantastically inspiring in this episode
First Principles Ep. 2 w/ Barbara Liskov
Every blockchain alive today leans on replication ideas worked out in the 1980s, by a Turing Award winner who wasn’t thinking about how it might apply to money at all.
Hosted by @Tim_Roughgarden with @ittaia.
00:00 How do systems stay reliable when parts fail?
01:18 Barbara Liskov’s path from programming languages to distributed systems
05:45 Why modularity is “everything”
07:22 The replication problem: keeping data available across many machines
09:58 Viewstamped replication and the “ledger” before blockchains
16:32 Why good research starts with what you don’t understand
18:10 Leslie Lamport, Paxos, and the inevitability of ideas in the right time, in the right place
21:48 Practical Byzantine Fault Tolerance: what changes when replicas can lie
19:35 How PBFT bridged theory and practical systems
22:38 Why you should never trust an individual replica
28:39 Why blockchains are state machine replication in the wild
31:27 AI, verification, and the future of computer science
Giulia Scaffino retweeted
Two of my heroes, Barbara Liskov and Leslie Lamport, are headlining the @a16zcrypto First Principles series. Must watch🔥🔥
To set the stage, @Tim_Roughgarden and I discuss the scientific roots of consensus and how they connect to blockchain technologies:
youtu.be/u2jTgXcGimU?si=VPup…
Giulia Scaffino retweeted
Very exciting to finally be releasing this work! Most traditional blockchain architectures have slot times bounded by the global network delay "Δ" because the next leader has to receive the block before building on top of the previous one. This is known as the "leader handoff" in Solana engineering land, and we do a lot of work to make it smaller.
But this work is about asking the question: do we really need to include a reference to the immediate parent block in every block? If we can figure out how not to do that, then we can make slot times arbitrarily small.
This gif is based on logs from @anza_xyz invalidator cluster 1, a 10-node cluster that we maintain for testing consensus and networking changes. It is a global cluster with nodes in Asia, Europe, and North America, so network delays can be over 100ms between some nodes. But we were able to demonstrate 10ms slot times with leaders rotating every 10ms live on this cluster.
This is just research and doesn't represent a change in our direction with respect to Constellation. This type of architecture is orthogonal to multiple proposer designs. You can essentially do both of them. Gatling pipelines traditional Simplex consensus, a simplified version of Alpenglow, but you could just as easily pipeline Constellation or any of our other MCP designs the same way.
Huge shout out to @a16zcrypto research for always helping to push the boundaries of what is possible and being very generous with their time and alpha.
1/ Bitcoin 2009: 10min block times
Ethereum 2014: 12s block times
Solana 2020: 400ms block times
New chains in 2026: still 400ms!
Gatling 2026: 10ms slots with 214ms end-to-end tx latency
Gatling: Rapid-Fire Consensus from Parallel Composition, w/ @jneu_net & @MaxResnick 🧵
Giulia Scaffino retweeted
Since the start, its been a dream of ours to accelerate systems research with the @commonwarexyz Library.
Stoked to see @GScaffino, @jneu_net, and @MaxResnick find a use for 10+ primitives in their new Gatling prototype (~200ms e2e tx latency 🤯):
1/ Bitcoin 2009: 10min block times
Ethereum 2014: 12s block times
Solana 2020: 400ms block times
New chains in 2026: still 400ms!
Gatling 2026: 10ms slots with 214ms end-to-end tx latency
Gatling: Rapid-Fire Consensus from Parallel Composition, w/ @jneu_net & @MaxResnick 🧵
1/ Bitcoin 2009: 10min block times
Ethereum 2014: 12s block times
Solana 2020: 400ms block times
New chains in 2026: still 400ms!
Gatling 2026: 10ms slots with 214ms end-to-end tx latency
Gatling: Rapid-Fire Consensus from Parallel Composition, w/ @jneu_net & @MaxResnick 🧵
10/ Want the full story?
📄 Read the paper:
arxiv.org/abs/2606.18220
💻 Check out our Gatling prototype at:
github.com/scaffino/Gatling
9/ The catch is head-of-line blocking: if one instance stalls (crashed leader), it holds up the merged log. So there's an optimal K, which we derive in closed form. More reliable validator set → more barrels you can run.
8/ Key point: extreme protocol-level optimization is not needed for ultra-low latency. Parallel composition of a simple, slow component protocol beats highly-tuned single-instance designs. Gatling stays compatible with pipelined / fast-path tricks layered inside the components.
7/ We built Gatling from the production Simplex deployment by @commonwarexyz @_patrickogrady with a deliberately unoptimized 500ms per-instance block time, on a global cluster. Result: 214ms end-to-end transaction latency and 10ms inter-proposal time. Rotating leaders every 10ms.
5/ Each instance still obeys the 3Δ confirmation bound. The speedup comes purely from composition, not from tuning any single protocol. Crank K up and the inter-proposal time shrinks toward zero, below the network delay itself.
4/ Gatling does exactly that. Run K parallel instances of an off-the-shelf consensus protocol (PBFT, Tendermint, Simplex) each with the same proposal cadence, but offset by 1/K. A deterministic merge rule interleaves their outputs into a single totally-ordered log.
3/ A single-shot rifle has the same problem: you fire, reload, fire. Latency is capped by one barrel's cycle time. Richard Gatling's 1862 answer: don't make one barrel faster, spin several, staggered, and fire them in rapid succession. Same per-barrel speed, higher rate of fire.















