consensus

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDevnetTransactionValidators

func GetDevnetTransactionValidators() []modules.TransactionValidationFunction

func GetTestnetTransactionValidators

func GetTestnetTransactionValidators() []modules.TransactionValidationFunction

func GetTestnetTransactionVersionMappedValidators

func GetTestnetTransactionVersionMappedValidators() map[types.TransactionVersion][]modules.TransactionValidationFunction

func ValidateCoinOutputsAreValid

func ValidateCoinOutputsAreValid(tx modules.ConsensusTransaction, ctx types.TransactionValidationContext) error

ValidateCoinOutputsAreValid is a validator function that checks if all coin outputs are standard, meaning their condition is considered standard (== known) and their (coin) value is individually greater than zero, the exception is that Custody Fees are allowed to have a value equal to zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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