worker

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: GPL-3.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSwapJob added in v0.3.0

func AddSwapJob(pairCfg *tokens.TokenPairConfig)

AddSwapJob add swap job

func AddTokenPairDynamically added in v0.3.0

func AddTokenPairDynamically()

AddTokenPairDynamically add token pair dynamically

func StartAcceptSignJob

func StartAcceptSignJob()

StartAcceptSignJob accept job

func StartAggregateJob

func StartAggregateJob()

StartAggregateJob aggregate job

func StartScanJob

func StartScanJob(isServer bool)

StartScanJob scan job

func StartStableJob

func StartStableJob()

StartStableJob stable job

func StartSwapJob

func StartSwapJob()

StartSwapJob swap job

func StartUpdateLatestBlockHeightJob

func StartUpdateLatestBlockHeightJob()

StartUpdateLatestBlockHeightJob update latest block height job

func StartVerifyJob

func StartVerifyJob()

StartVerifyJob verify job

func StartWork

func StartWork(isServer bool)

StartWork start swap server work

Types

type MatchTx

type MatchTx struct {
	SwapTx     string
	SwapHeight uint64
	SwapTime   uint64
	SwapValue  string
	SwapType   tokens.SwapType
	SwapNonce  uint64
}

MatchTx struct

Jump to

Keyboard shortcuts

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