tx

package
v0.0.0-...-5ed304f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInputOutputAmountMismatch = fmt.Errorf("input and output sum mismatch")
	ErrNegativeFeeRemainder      = fmt.Errorf("negative fee remainder")
	ErrFeesNotDistributed        = fmt.Errorf("fees could not be distributed")
	ErrTxTooBig                  = fmt.Errorf("tx too big")
)

Functions

func DistributeFees

func DistributeFees(
	inputs []*types.TxInput,
	outputs []*types.TxOutput,
	fee uint64,
	strict bool,
) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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