core-lightning/plugins
Rusty Russell b80b746cd9 pay: don't wait forever if we're already past deadline.
I don't know why it thinks that blockheight is INT_MAX, but
we shouldn't wait forever anyway.

```
lightningd-1: 2021-05-25T01:22:19.472Z DEBUG   plugin-pay: cmd 67 partid 0: Blockheight disagreement, not aborting.
lightningd-1: 2021-05-25T01:22:19.483Z INFO    plugin-pay: cmd 67 partid 0: failed: WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS (reply from remote)
lightningd-1: 2021-05-25T01:22:19.483Z INFO    plugin-pay: cmd 67 partid 0: Remote node appears to be on a longer chain, which causes CLTV timeouts to be incorrect. Waiting up to 49 seconds to catch up to block 2147483647 before retrying.
lightningd-1: 2021-05-25T01:23:08.489Z INFO    plugin-pay: cmd 67 partid 0: Timed out while attempting to sync to blockheight returned by destination. Please finish syncing with the blockchain and try again.
lightningd-1: 2021-05-25T01:23:08.489Z INFO    plugin-pay: cmd 67 partid 0: Remote node appears to be on a longer chain, which causes CLTV timeouts to be incorrect. Waiting up to 18446744073709551615 seconds to catch up to block 2147483647 before retrying.
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-25 16:25:17 +02:00
..
spender libplugin: Add notification topics to plugin_main 2021-05-03 11:20:15 +09:30
test funder: print reason that we don't contribute funds 2021-05-23 08:19:50 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
autoclean.c libplugin: Add notification topics to plugin_main 2021-05-03 11:20:15 +09:30
bcli.c bcli: become less aggressive with onchain fee levels. 2021-05-11 11:25:16 +09:30
fetchinvoice.c common/route: route_from_dijkstra returns route_hop array. 2021-05-22 17:53:04 +09:30
funder.c funder: print reason that we don't contribute funds 2021-05-23 08:19:50 +09:30
funder_policy.c funder: print reason that we don't contribute funds 2021-05-23 08:19:50 +09:30
funder_policy.h funder: print reason that we don't contribute funds 2021-05-23 08:19:50 +09:30
keysend.c pay: Add pay_failure notification 2021-05-03 11:20:15 +09:30
libplugin-pay.c pay: don't wait forever if we're already past deadline. 2021-05-25 16:25:17 +02:00
libplugin-pay.h common/route: route_from_dijkstra returns route_hop array. 2021-05-22 17:53:04 +09:30
libplugin.c common/route: route_from_dijkstra returns route_hop array. 2021-05-22 17:53:04 +09:30
libplugin.h common/route: route_from_dijkstra returns route_hop array. 2021-05-22 17:53:04 +09:30
Makefile funder-test: tests for our policy configurations 2021-05-03 11:06:10 +09:30
offers.c libplugin: Add notification topics to plugin_main 2021-05-03 11:20:15 +09:30
offers.h plugin/offers: hoist send_onion_reply into core. 2021-01-09 14:34:35 +10:30
offers_inv_hook.c common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 2021-01-09 12:45:31 +01:00
offers_inv_hook.h plugins/offer: handle receiving an invoice in an onion_message. 2021-01-09 14:34:35 +10:30
offers_invreq_hook.c offers: handle re-fetching the same invoice twice. 2021-02-25 14:44:03 +10:30
offers_invreq_hook.h plugins/offers: add code to catch invoice_request onion messages. 2020-12-23 14:24:39 +01:00
offers_offer.c offer: allow offers in other currencies if we can convert. 2021-01-09 12:45:31 +01:00
offers_offer.h offers: split offer send_invoice generation into new JSON command 2021-01-09 14:34:35 +10:30
pay.c pay: Add notification for pay_success 2021-05-03 11:20:15 +09:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
txprepare.c libplugin: Add notification topics to plugin_main 2021-05-03 11:20:15 +09:30

Plugin Directory

Any file in this directory which is executable and whose name only consists of alphanumeric characters, space, '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).