loopout: show expiry range in terms

This commit is contained in:
Joost Jager 2020-07-15 13:00:27 +02:00
parent 05fd1da496
commit e72d998e78
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7
7 changed files with 152 additions and 103 deletions

View file

@ -124,6 +124,12 @@ type LoopOutTerms struct {
// MaxSwapAmount is the maximum amount that the server accepts for a
// swap.
MaxSwapAmount btcutil.Amount
// MinCltvDelta is the minimum expiry delta for loop out swaps.
MinCltvDelta int32
// MaxCltvDelta is the maximum expiry delta for loop out swaps.
MaxCltvDelta int32
}
// LoopOutQuote contains estimates for the fees making up the total swap cost