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.
Click to show internal directories.
Click to hide internal directories.