engine_v2

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XDPoS_v2

type XDPoS_v2 struct {
	// contains filtered or unexported fields
}

func New

func New(config *params.XDPoSConfig, db ethdb.Database) *XDPoS_v2

func NewFaker added in v1.4.3

func NewFaker(db ethdb.Database, config *params.XDPoSConfig) *XDPoS_v2

func (*XDPoS_v2) Author

func (consensus *XDPoS_v2) Author(header *types.Header) (common.Address, error)

func (*XDPoS_v2) VerifyHeader

func (consensus *XDPoS_v2) VerifyHeader(chain consensus.ChainReader, header *types.Header, fullVerify bool) error

Jump to

Keyboard shortcuts

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