tx

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assigner

type Assigner interface {
	SignAndChange(tx *types.Transaction) error
}

func NewAssigner

func NewAssigner(assignerType AssignerType, ac *account.Account,
	utxo *types.UTXO) Assigner

type AssignerType

type AssignerType byte
const (
	NoChanges AssignerType = 0x00
	FixAmount AssignerType = 0x01
)

type Generator

type Generator interface {
	Generate() *types.Transaction
}

func NewGenerator

func NewGenerator(txType types.TxType, ac ...*account.Account) Generator

Jump to

Keyboard shortcuts

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