miniheader

package
v5.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 20

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
	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