From d085ac0e0c3c3fe03d2445d87bb1e5592467bab6 Mon Sep 17 00:00:00 2001 From: Martin Paulucci Date: Wed, 29 Jan 2025 18:12:17 +0100 Subject: [PATCH] chore(l1): change `clientId` to `Ethrex` in p2p. (#1836) **Motivation** So that when communicating with other nodes, they know we're Ethrex and not this generic name. --- crates/networking/p2p/rlpx/p2p.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/networking/p2p/rlpx/p2p.rs b/crates/networking/p2p/rlpx/p2p.rs index a190bbbe27..bcc0fd4fba 100644 --- a/crates/networking/p2p/rlpx/p2p.rs +++ b/crates/networking/p2p/rlpx/p2p.rs @@ -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