ids

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2025 License: GPL-3.0, LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package ids provides common identifier types used throughout the EVM codebase. This package has no dependencies on other EVM packages to avoid import cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockID

type BlockID = ID

BlockID represents a block identifier

type ChainID

type ChainID [32]byte

ChainID is a 32-byte chain identifier

func (ChainID) String

func (id ChainID) String() string

String returns the string representation of a ChainID

type ID

type ID [32]byte

ID represents a generic 32-byte identifier

func (ID) String

func (id ID) String() string

String returns the string representation of an ID

type NodeID

type NodeID [32]byte

NodeID is a 32-byte identifier for nodes

func (NodeID) String

func (id NodeID) String() string

String returns the string representation of a NodeID

type SubnetID

type SubnetID [32]byte

SubnetID is a 32-byte subnet identifier

func (SubnetID) String

func (id SubnetID) String() string

String returns the string representation of a SubnetID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL