cverifier

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: LGPL-3.0 Imports: 4 Imported by: 4

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