HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions and GitHub Sync
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions and GitHub Sync Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with GitHub
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Sharded blob mempool and distributed block production **TL;DR:** Two scalable mempool designs have been discussed in the past: "horizontal" where blob transaction are transmitted as a whole with all data, but are split across several subnets for scaling; and "vertical", where nodes receive all transactions but blobs are split into erasure coded subnets (using the same sampling technique that is used to ensure included blob availability). While the horizontal technique is clearly easier to implement, we found that in the light of distributed block building, the vertical technique is preferrable. ## Horizontally sharded mempool ![](https://storage.googleapis.com/ethereum-hackmd/upload_594141d43c68ef33896b0e137d719d58.png) A horizontally sharded mempool is one where blob transactions are transmitted as a whole (including blob data), and transactions are split into several different mempools based on sender address. Advantages: * Very simple design Disadvantages: * No reliable way for local block builder to know if a transaction is available without downloading it; builder can ask peers but is trust based ## Vertically sharded mempool ![](https://storage.googleapis.com/ethereum-hackmd/upload_43c374acb8dfaacd491c54c863cbea3f.png) In a vertically sharded mempool, only the EL part of a transaction goes into the mempool (that stays as is), and blobs are split up into samples in the same way that the blob data will be samples as part of consensus blocks. One of the bigger problems with creating this type of mempool is that samples and transactions have to be distributed separately. This creates a "chicken and egg" problem: * If we allow transactions to be passed without the corresponding blob samples, it is a DOS vector on the tx pool * If we allow samples to be passed without a corresponding transaction, then this is a DOS vector on the sample pool * If we don't allow either of these, then no transaction will ever be propagated because no two nodes sampling requirements are identical A solution to this is to limit blob transaction creation to certain addresses, for example: * Addresses that have created a certain number of blob transactions over the last day or week * Addresses that have burned a certain small amount of Ether (e.g. 0.01 ETH) The second condition allows new addresses to enter the eligible pool. We then require that both samples and transactions are signed by the sender address, which means they can be propagated independently (and any address seen to be spamming can be eliminated from the allowed sender list). Advantages: * More reliable blob availability information * Data already split into samples, so distributed block building straightforward Disadvantages: * More complex to build * Requires limitation to certain addresses * Reliability of blob availability information is low; with many blobs this creates a chance of griefing attacks * This is still better than in a horizontally sharded mempool where there is no availability information ## Inclusion lists See note by @fradamt here: https://notes.ethereum.org/7EGS7DVtTAKnqlh9LDEWxQ?both ## Distributed block building The basic principle of distributed block building is that a block builder 1. Uses some mechanism (probably relying on ILs, since these are most reliable) to determine availability of blob tx 2. Locally build an execution block with the available blob transactions 3. Propagate execution block, while other nodes will fill in the subnets with samples from their transaction mempool There is a great advantage in using the vertically sharded construction as we can use the exact same subnets for sampling transactions and blocks. So nodes taking part in the mempool are likely to already have all the samples for any transaction from the mempool, which makes filling in samples very easy. In the case of a horizontally sharded mempool, each node in a column subnet would only be able to find some of the corresponding samples in its mempool.

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Sign in via SAML

or

Sign in via GitHub

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions and GitHub Sync

Sign in to link this note to GitHub Learn more
This note is not linked with GitHub Learn more
 
Add badge Pull Push GitHub Link Settings
Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub

      Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

       Sign in to GitHub

      HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Available push count

      Upgrade

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully