@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
17 lines • 599 B
TypeScript
export declare enum ClientKind {
Lighthouse = "Lighthouse",
Nimbus = "Nimbus",
Teku = "Teku",
Prysm = "Prysm",
Lodestar = "Lodestar",
Grandine = "Grandine",
Unknown = "Unknown"
}
/**
* Get known client from agent version.
* If client is not known, don't return ClientKind.Unknown here.
* For metrics it'll have fallback logic to use ClientKind.Unknown
* For logs, we want to print out agentVersion instead for debugging purposes.
*/
export declare function getKnownClientFromAgentVersion(agentVersion: string): ClientKind | null;
//# sourceMappingURL=client.d.ts.map