mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
paymod: Compute fee and CLTV delta limits for a payment
So far we got away with not caring about these but since we're implementing modifiers that impact these limits, we better keep track of them.
This commit is contained in:
@@ -201,7 +201,13 @@ struct payment {
|
||||
struct timeabs start_time, end_time;
|
||||
struct timeabs deadline;
|
||||
|
||||
struct amount_msat extra_budget;
|
||||
/* Maximum remaining fees we're willing to pay to complete this
|
||||
* (sub-)payment. */
|
||||
struct amount_msat fee_budget;
|
||||
|
||||
/* Maximum end-to-end CLTV delta we're willing to wait for this
|
||||
* (sub-)payment to complete. */
|
||||
u32 cltv_budget;
|
||||
|
||||
struct short_channel_id *exclusions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user