alice

package
v0.0.0-...-04e8804 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoServers         = errors.New("no server available")
	ErrNoOffers          = errors.New("no offers received")
	ErrTimelockTooShort  = errors.New("proposed timelock is too short")
	ErrInvalidAdaptorSig = errors.New("unable to verify adaptor signature")
	ErrInvalidClaimSig   = errors.New(
		"unable to use adaptor secret to build a valid claim transaction - we were tricked somehow")
)

Functions

func PerformSwap

func PerformSwap(siacoin types.Currency, serverDetails []ethereum.ServerDetails,
	maxAntiSpamFee *big.Int, fundingConfirmations int64,
	frontend frontend.Frontend, ethChain ethereum.Blockchain, siaChain sia.Blockchain) error

func ReclaimDeposit

func ReclaimDeposit(ethChain ethereum.Blockchain, antiSpamID big.Int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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