Skip to content

Add BlockRangeUpdate message for eth69 #16337

@mattsse

Description

@mattsse

Describe the feature

eth69 introduces a new message variant:

https://github.com/fjl/devp2p/blob/ba7f9abf5cde472914015a527878f9e914f12980/caps/eth.md#blockrangeupdate-0x11

for this we need a new struct and messageid variant:

pub enum EthMessageID {

and

pub enum EthMessage<N: NetworkPrimitives = EthNetworkPrimitives> {

and update

/// Returns the max value.
pub const fn max() -> u8 {
Self::Receipts.to_u8()
}

TODO

  • add types and message variants for BlockRangeUpdate

Additional context

No response

Metadata

Metadata

Assignees

Labels

A-devp2pRelated to the Ethereum P2P protocolC-enhancementNew feature or requestD-good-first-issueNice and easy! A great choice to get started

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions