genesis

package
v0.0.0-...-985cc99 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blocks

type Blocks interface {
	ForEach(fn func(ibr.LlrIdxFullBlockRecord) bool)
}

type Epochs

type Epochs interface {
	ForEach(fn func(ier.LlrIdxFullEpochRecord) bool)
}

type EvmItems

type EvmItems interface {
	ForEach(fn func(key, value []byte) bool)
}

type Genesis

type Genesis struct {
	Header

	Blocks      Blocks
	Epochs      Epochs
	RawEvmItems EvmItems
}

type Hashes

type Hashes map[string]hash.Hash

func (Hashes) Equal

func (hh Hashes) Equal(hh2 Hashes) bool

func (Hashes) Includes

func (hh Hashes) Includes(hh2 Hashes) bool
type Header struct {
	GenesisID   hash.Hash
	NetworkID   uint64
	NetworkName string
}

func (Header) Equal

func (h Header) Equal(h2 Header) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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