txhistory

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxVersionV0

type TxVersionV0 struct {
	version.TxVersionMain
}

func (*TxVersionV0) CheckCoinbaseArbitratorsReward

func (v *TxVersionV0) CheckCoinbaseArbitratorsReward(coinbase *types.Transaction, rewardInCoinbase Fixed64) error

func (*TxVersionV0) CheckCoinbaseMinerReward

func (v *TxVersionV0) CheckCoinbaseMinerReward(tx *types.Transaction, totalReward Fixed64) error

func (*TxVersionV0) CheckOutputPayload

func (v *TxVersionV0) CheckOutputPayload(txType types.TransactionType, output *types.Output) error

func (*TxVersionV0) CheckOutputProgramHash

func (v *TxVersionV0) CheckOutputProgramHash(programHash Uint168) error

func (*TxVersionV0) CheckTxHasNoPrograms

func (v *TxVersionV0) CheckTxHasNoPrograms(tx *types.Transaction) error

func (*TxVersionV0) GetVersion

func (v *TxVersionV0) GetVersion() byte

type TxVersionV1

type TxVersionV1 struct {
	version.TxVersionMain
}

func (*TxVersionV1) CheckCoinbaseArbitratorsReward

func (v *TxVersionV1) CheckCoinbaseArbitratorsReward(coinbase *types.Transaction, rewardInCoinbase Fixed64) error

func (*TxVersionV1) CheckCoinbaseMinerReward

func (v *TxVersionV1) CheckCoinbaseMinerReward(tx *types.Transaction, totalReward Fixed64) error

func (*TxVersionV1) CheckOutputPayload

func (v *TxVersionV1) CheckOutputPayload(txType types.TransactionType, output *types.Output) error

func (*TxVersionV1) CheckTxHasNoPrograms

func (v *TxVersionV1) CheckTxHasNoPrograms(tx *types.Transaction) error

func (*TxVersionV1) GetVersion

func (v *TxVersionV1) GetVersion() byte

Jump to

Keyboard shortcuts

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