swap_server_client: let the SwapPublicationDeadline be set during LoopOuts

This commit is contained in:
Johan T. Halseth 2019-11-14 10:35:32 +01:00
parent 2d1e41de5d
commit c70d0deecb
No known key found for this signature in database
GPG key ID: 15BAADA29DA20D26
4 changed files with 32 additions and 17 deletions

View file

@ -66,6 +66,10 @@ type OutRequest struct {
// LoopOutChannel optionally specifies the short channel id of the
// channel to loop out.
LoopOutChannel *uint64
// SwapPublicationDeadline can be set by the client to allow the server
// delaying publication of the swap HTLC to save on chain fees.
SwapPublicationDeadline time.Time
}
// Out contains the full details of a loop out request. This includes things