txs

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRewardTx

func ApplyRewardTx(tx *types.Transaction, statedb *state.Statedb) (*types.Receipt, error)

ApplyRewardTx applies the reward tx with specified statedb.

func NewRewardTx

func NewRewardTx(coinbase common.Address, reward *big.Int, timestamp uint64) (*types.Transaction, error)

NewRewardTx creates a reward transaction with the specified coinbase, reward and timestamp.

func ValidateRewardTx

func ValidateRewardTx(tx *types.Transaction, header *types.BlockHeader) error

ValidateRewardTx validates the specified reward tx.

Types

This section is empty.

Jump to

Keyboard shortcuts

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