mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopd: quoting for static address loop-ins
This commit is contained in:
parent
549c33e08e
commit
82b95798ab
7 changed files with 105 additions and 20 deletions
|
|
@ -288,6 +288,12 @@ type LoopInQuoteRequest struct {
|
|||
// initiated the swap (loop CLI, autolooper, LiT UI and so on) and is
|
||||
// appended to the user agent string.
|
||||
Initiator string
|
||||
|
||||
// The number of static address deposits the client wants to quote for.
|
||||
// If the number of deposits exceeds one the server will apply a
|
||||
// per-input service fee. This is to cover for the increased on-chain
|
||||
// fee the server has to pay when the sweeping transaction is broadcast.
|
||||
NumDeposits uint32
|
||||
}
|
||||
|
||||
// LoopInQuote contains estimates for the fees making up the total swap cost
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue