multi: store swap cost in database

This commit is contained in:
Joost Jager 2019-05-15 14:01:27 +02:00
parent 24a1b8d642
commit 6efa62347b
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7
9 changed files with 146 additions and 15 deletions

View file

@ -83,15 +83,6 @@ type Out struct {
SwapInfoKit
}
// SwapCost is a breakdown of the final swap costs.
type SwapCost struct {
// Swap is the amount paid to the server.
Server btcutil.Amount
// Onchain is the amount paid to miners for the onchain tx.
Onchain btcutil.Amount
}
// LoopOutQuoteRequest specifies the swap parameters for which a quote is
// requested.
type LoopOutQuoteRequest struct {