mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loop: add initiator string to user agent
This commit is contained in:
parent
e6e533aeda
commit
2a732a4385
8 changed files with 43 additions and 21 deletions
10
interface.go
10
interface.go
|
|
@ -81,6 +81,11 @@ type OutRequest struct {
|
|||
|
||||
// Label contains an optional label for the swap.
|
||||
Label string
|
||||
|
||||
// Initiator is an optional string that identifies what software
|
||||
// initiated the swap (loop CLI, autolooper, LiT UI and so on) and is
|
||||
// appended to the user agent string.
|
||||
Initiator string
|
||||
}
|
||||
|
||||
// Out contains the full details of a loop out request. This includes things
|
||||
|
|
@ -196,6 +201,11 @@ type LoopInRequest struct {
|
|||
|
||||
// Label contains an optional label for the swap.
|
||||
Label string
|
||||
|
||||
// Initiator is an optional string that identifies what software
|
||||
// initiated the swap (loop CLI, autolooper, LiT UI and so on) and is
|
||||
// appended to the user agent string.
|
||||
Initiator string
|
||||
}
|
||||
|
||||
// LoopInTerms are the server terms on which it executes loop in swaps.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue