paymod: Add a deadline to the pay command and retry modifier

This commit is contained in:
Christian Decker
2020-06-11 11:38:41 +02:00
parent f557955515
commit 5601a1ab21
4 changed files with 83 additions and 1 deletions

View File

@@ -317,6 +317,7 @@ REGISTER_PAYMENT_MODIFIER_HEADER(routehints, struct routehints_data);
REGISTER_PAYMENT_MODIFIER_HEADER(exemptfee, struct exemptfee_data);
REGISTER_PAYMENT_MODIFIER_HEADER(shadowroute, struct shadow_route_data);
REGISTER_PAYMENT_MODIFIER_HEADER(directpay, struct direct_pay_data);
extern struct payment_modifier waitblockheight_pay_mod;
/* For the root payment we can seed the channel_hints with the result from
* `listpeers`, hence avoid channels that we know have insufficient capacity