fsmltc

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSM

type FSM struct {
	// contains filtered or unexported fields
}

func NewFSM

func NewFSM(
	l logger.Logger,
	conf *config.Config,
	st store.IStore,
	bs baseservices.IBaseServices,
	transfer *models.Transfer,
) (*FSM, error)

func (*FSM) Run

func (s *FSM) Run(ctx context.Context) error

Run executes the workflow.

type UTXO

type UTXO struct {
	TxHash   string
	Sequence int32
	// Amount in satoshis
	Amount   decimal.Decimal
	PkScript string
}

Jump to

Keyboard shortcuts

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