validation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTxVMContext

func NewTxVMContext(vs *validationState, entry bc.Entry, prog *bc.Program, args [][]byte) *vm.Context

func ValidateBlock

func ValidateBlock(b, prev *bc.Block) error

ValidateBlock validates a block and the transactions within. It does not run the consensus program; for that, see ValidateBlockSig.

func ValidateTx

func ValidateTx(tx *bc.Tx, block *bc.Block) (uint64, error)

ValidateTx validates a transaction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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