looprpc: add payment_timeout to the LoopOutRequest

Andras Banki-Horvath 3 weeks ago
parent 3843c3906d
commit bb83b2d7f9
No known key found for this signature in database
GPG Key ID: 80E5375C094198D8

File diff suppressed because it is too large Load Diff

@ -278,6 +278,13 @@ message LoopOutRequest {
be equal to the sum of the amounts of the reservations.
*/
repeated bytes reservation_ids = 18;
/*
The timeout in seconds to use for off-chain payments. Note that the swap
payment is attempted multiple times where each attempt will set this value
as the timeout for the payment.
*/
uint32 payment_timeout = 19;
}
/*

@ -1268,6 +1268,11 @@
"format": "byte"
},
"description": "The reservations to use for the swap. If this field is set, loop will try\nto use the instant out flow using the given reservations. If the\nreservations are not sufficient, the swap will fail. The swap amount must\nbe equal to the sum of the amounts of the reservations."
},
"payment_timeout": {
"type": "integer",
"format": "int64",
"description": "The timeout in seconds to use for off-chain payments. Note that the swap\npayment is attempted multiple times where each attempt will set this value\nas the timeout for the payment."
}
}
},

Loading…
Cancel
Save