-
Notifications
You must be signed in to change notification settings - Fork 0
WIP: Persist and prune blob data correctly #526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bane-main
Are you sure you want to change the base?
Conversation
|
Rebased to bane-main. |
|
|
||
| // ProtocolName is the official short name of the `neox` protocol used during | ||
| // devp2p capability negotiation. | ||
| const ProtocolName = "neox" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name it to blob or something similar, at least neox is not a good choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the block data message distribution will also be included in the neox protocol later, the name neox was chosen. It would be even better if there were other more preferable options.
| header.BlobGasUsed = new(uint64) | ||
| header.ParentBeaconRoot = new(common.Hash) | ||
|
|
||
| if cm.config.DBFT != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not limit this to dBFT? I mean, a general handling will be better.
| ReceivedFrom interface{} | ||
|
|
||
| // sidecars provides DA check | ||
| sidecars BlobSidecars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have Payload defined in miner to carry this.
|
@qianhh I've uploaded my proposal to https://github.com/bane-labs/go-ethereum/tree/blob-protocol. Just an idea, we need further development, but try to rebase onto it if possible. |
Close #520.
I will proceed with the following 3 steps to achieve it one by one.