Shea Ketsdever Profile picture
Jul 3 9 tweets 3 min read Read on X
Introducing rbuilder – an Ethereum block builder written in Rust with a focus on performance, modularity, and contributor friendliness.

We've been running rbuilder in production at Flashbots for 3 months and are excited to open source it. Image
We're open-sourcing rbuilder because we believe that an efficient and decentralized block building market must be built in the open. It incorporates everything we’ve learned in 2 years since creating the original MEV-Boost builder for the merge.
rbuilder is the next frontier for block building. 100% of Flashbots blocks on L1 are built by rbuilder today and the same modular system can be extended to sequence L2s.
rbuilder is fast. It builds mainnet blocks in sub-100ms on average, with a p50 fill time of ~20ms and p50 seal time of ~40ms (last 7d). That’s 10x faster than the Flashbots geth builder.
Image
Image
By the end of the year our goal is to build 99% of blocks in sub-100ms. The next major bottleneck is the state root, which accounts for ~30% of rbuilder’s e2e latency and is significantly slower in reth than geth.

All of our optimizations have been and will be upstreamed.
rbuilder is delightful to test. We created a new backtesting framework that can be run in a single CLI command and benchmark PRs in CI.

rbuilder also comes with synthetic bundle data that mimics the behavior of real bots so anyone can test against mainnet-like conditions.
Image
Image
rbuilder is modular and can be extended to work with custom merging and bidding code. A next major feature will allow colocating private code with mainnet builders, so even sensitive contributions can be run in prod in the future.
Finally, and most importantly, rbuilder is built for the community. We're open-sourcing it with the express goal of sharing stewardship with contributors. To start, we’re interested to see PRs reduce e2e latency and experiment with new merging algos.

writings.flashbots.net/open-sourcing-…
rbuilder is available under dual MIT and Apache-2.0 license. You can find the code here.

github.com/flashbots/rbui…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Shea Ketsdever

Shea Ketsdever Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SheaKetsdever

Jul 12, 2023
We’re upgrading Flashbots Protect to make private transactions faster⚡️

You can now connect to more builders through the Protect RPC https://t.co/4GJT9z8i3Mdocs.flashbots.net/flashbots-prot…
Today, all Protect transactions are sent directly to the Flashbots Builder. This guarantees important protections like pre-trade and failed-trade privacy.

But it has a cost.
As the builder market becomes more decentralized, the Flashbots builder lands a smaller percentage of blocks. We think this competition is good for the market — but it results in slower inclusion rates for Protect users.
Read 9 tweets
May 2, 2023
MEV-Share is a new paradigm for searchers. It unlocks new orderflow, features, and searching strategies — all while keeping transaction data private.

But what does it mean to search on private orderflow? We put together a short guide writings.flashbots.net/searching-on-m…
To start, you can find all MEV-Share transactions sent to the Flashbots Matchmaker at mev-share.flashbots.net. This includes transactions that use Flashbots Protect, which is about 3% of traffic on Ethereum mainnet.
The Matchmaker only shares partial information about each transaction, like the token pair being traded for certain DEXes. Searchers can update their strategies in a few ways to handle this.
Read 9 tweets
Apr 20, 2023
MEV-Share beta is live on Ethereum mainnet

collective.flashbots.net/t/announcing-m… Image
TL;DR
1. Users should decide how, when and by who their transactions are executed
2. This lets them internalize their MEV and be included faster on chain
3. Flashbots is launching a beta release of MEV-Share with orderflow sharing to give users more power in the MEV supply chain
MEV-Share is a permissionless protocol for sharing orderflow between users and searchers. It prevents the MEV supply chain from centralizing around exclusive orderflow, by allowing any searcher to participate and not enshrining a single builder.
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(