wallets

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TRCWallet

type TRCWallet struct {
	// atomic variables
	Sqno uint64

	W     provider.Wallet
	Owner string

	Coin string
	Want decimal.Decimal

	Once bool

	Trc map[string]decimal.Decimal
}

type TRCWallets

type TRCWallets struct {
	RWlock sync.RWMutex

	Spec   map[string]Track
	Normal Track
}

func (*TRCWallets) Close

func (t *TRCWallets) Close()

func (*TRCWallets) Count

func (t *TRCWallets) Count(key string) int

func (*TRCWallets) Suspend

func (t *TRCWallets) Suspend(key string) error

func (*TRCWallets) Track

func (t *TRCWallets) Track(key string)

type Track

type Track utils.Queuer[TRCWallet]

Jump to

Keyboard shortcuts

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