mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
committed by
GitHub
parent
a074e9eb33
commit
9f1bec6372
@@ -570,6 +570,7 @@ pub enum ClientCode {
|
||||
Lodestar,
|
||||
Nethermind,
|
||||
Nimbus,
|
||||
TrinExecution,
|
||||
Teku,
|
||||
Prysm,
|
||||
Reth,
|
||||
@@ -588,6 +589,7 @@ impl std::fmt::Display for ClientCode {
|
||||
ClientCode::Lodestar => "LS",
|
||||
ClientCode::Nethermind => "NM",
|
||||
ClientCode::Nimbus => "NB",
|
||||
ClientCode::TrinExecution => "TE",
|
||||
ClientCode::Teku => "TK",
|
||||
ClientCode::Prysm => "PM",
|
||||
ClientCode::Reth => "RH",
|
||||
@@ -611,6 +613,7 @@ impl TryFrom<String> for ClientCode {
|
||||
"LS" => Ok(Self::Lodestar),
|
||||
"NM" => Ok(Self::Nethermind),
|
||||
"NB" => Ok(Self::Nimbus),
|
||||
"TE" => Ok(Self::TrinExecution),
|
||||
"TK" => Ok(Self::Teku),
|
||||
"PM" => Ok(Self::Prysm),
|
||||
"RH" => Ok(Self::Reth),
|
||||
|
||||
Reference in New Issue
Block a user