cverifier

package
v0.0.0-...-376a440 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// TxExecTimeLimit the maximum verify execution time of a transaction
	TxExecTimeLimit = 400 * time.Millisecond

	// MaxBlockTimeGap is the limit of the difference of block time and local time.
	MaxBlockTimeGap = 1 * time.Second.Nanoseconds()
)

Functions

func VerifyBlockHead

func VerifyBlockHead(blk *block.Block, parentBlock *block.Block) error

VerifyBlockHead verifies the block head.

Types

This section is empty.

Jump to

Keyboard shortcuts

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