challenge

package
v1.9.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// New challenge is calculated based on 10 blocks before.
	ChallengeInterval = 10
	MaxReferredBlocks = ChallengeInterval * 2
)

Variables

This section is empty.

Functions

func BytesCombine added in v1.5.2

func BytesCombine(pBytes ...[]byte) []byte

func BytesCombines added in v1.5.2

func BytesCombines(pBytes ...[]byte) []byte

func CalcNextChallenge

func CalcNextChallenge(parent *types.Header) *common.Hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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