utils

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: LGPL-3.0 Imports: 4 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDifficult

func GetDifficult(time uint64, parentHeader *types.BlockHeader) *big.Int

getDifficult adjust difficult by parent info

func VerifyDifficulty

func VerifyDifficulty(parent *types.BlockHeader, header *types.BlockHeader) error

func VerifyHeaderCommon

func VerifyHeaderCommon(header, parent *types.BlockHeader) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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