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