Add EIP-7636 support (#6793)

* Add eip7636 support

* Add `version()` to the `lighthouse_version` crate and make the `enr.rs` file use it.

* Hardcode version, Add `client_name()`, remove unneeded flag.

* Make it use the new function.

* Make cargo fmt zip it
This commit is contained in:
JKinc
2025-01-21 00:24:14 +00:00
committed by GitHub
parent 7a0388ef2a
commit 33c1648022
3 changed files with 34 additions and 1 deletions

View File

@@ -116,7 +116,8 @@ pub struct Config {
pub network_load: u8,
/// Indicates if the user has set the network to be in private mode. Currently this
/// prevents sending client identifying information over identify.
/// prevents sending client identifying information over identify and prevents
/// EIP-7636 indentifiable information being provided in the ENR.
pub private: bool,
/// Shutdown beacon node after sync is completed.