miniheader

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 5 modules, 20 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiniHeader

type MiniHeader struct {
	Hash      common.Hash
	Parent    common.Hash
	Number    *big.Int
	Timestamp time.Time
	Logs      []types.Log
}

MiniHeader is a representation of a succinct Ethereum block headers

func (*MiniHeader) ID

func (m *MiniHeader) ID() []byte

ID returns the MiniHeader's ID HACK(fabio): This method is only used by DBStack and not SimpleStack Ideally this would live in the `meshdb` package but it adds the need to cast back-and-forth between two almost identical types so we keep it here for convenience sake.

Jump to

Keyboard shortcuts

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