worker

package
v0.0.0-...-1bc71c5 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCachedSwap

func DeleteCachedSwap(fromChainID, txid string, logIndex int)

DeleteCachedSwap delete cached swap

func ReplaceRouterSwap

func ReplaceRouterSwap(res *mongodb.MgoSwapResult, gasPrice *big.Int) error

ReplaceRouterSwap api

func StartAcceptSignJob

func StartAcceptSignJob()

StartAcceptSignJob accept job

func StartReplaceJob

func StartReplaceJob()

StartReplaceJob replace job

func StartRouterSwapWork

func StartRouterSwapWork(isServer bool)

StartRouterSwapWork start router swap job

func StartStableJob

func StartStableJob()

StartStableJob stable job

func StartSwapJob

func StartSwapJob()

StartSwapJob swap job

func StartVerifyJob

func StartVerifyJob()

StartVerifyJob verify job

Types

type MatchTx

type MatchTx struct {
	MPC        string
	SwapTx     string
	SwapHeight uint64
	SwapTime   uint64
	SwapValue  string
	SwapNonce  uint64
}

MatchTx struct

Jump to

Keyboard shortcuts

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