mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: store swap cost in database
This commit is contained in:
parent
24a1b8d642
commit
6efa62347b
9 changed files with 146 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue