Skip to content

Commit

Permalink
chore(l1): change clientId to Ethrex in p2p. (#1836)
Browse files Browse the repository at this point in the history
**Motivation**
So that when communicating with other nodes, they know we're Ethrex and
not this generic name.
  • Loading branch information
mpaulucci authored Jan 29, 2025
1 parent a356b64 commit d085ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/networking/p2p/rlpx/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl RLPxMessage for HelloMessage {
fn encode(&self, mut buf: &mut dyn BufMut) -> Result<(), RLPEncodeError> {
Encoder::new(&mut buf)
.encode_field(&5_u8) // protocolVersion
.encode_field(&"Ethereum(++)/1.0.0") // clientId
.encode_field(&"Ethrex/0.1.0") // clientId
.encode_field(&self.capabilities) // capabilities
.encode_field(&0u8) // listenPort (ignored)
.encode_field(&pubkey2id(&self.node_id)) // nodeKey
Expand Down

0 comments on commit d085ac0

Please sign in to comment.