UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

14 lines 627 B
import { Bytes32 } from "@lodestar/types"; import { ClientVersion } from "../execution/index.js"; /** * Parses a graffiti UTF8 string and returns a 32 bytes buffer right padded with zeros */ export declare function toGraffitiBytes(graffiti: string): Bytes32; /** * Converts a graffiti from 32 bytes buffer back to a UTF-8 string */ export declare function fromGraffitiBytes(graffiti: Bytes32): string; export declare function getDefaultGraffiti(consensusClientVersion: ClientVersion, executionClientVersion: ClientVersion | null | undefined, opts: { private?: boolean; }): string; //# sourceMappingURL=graffiti.d.ts.map