87 Commits (8207b4eac872f7e2bff50597dea42370903c07a3)

Author SHA1 Message Date
Christian Decker 5c32e33aab paymod: Add a retry modifier that retries payments on failure 5 years ago
Christian Decker 23b4dca3c7 paymod: Add a simple test-command to test the paymod state-machine 5 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
Antoine Poinsot 4bb7b4621f pay: respect maxfeepercent when choosing a shadow route 5 years ago
Christian Decker e03acd9663 libplugin: Add features to plugin_main and getmanifest 5 years ago
ZmnSCPxj jxPCSnmZ 919d371fe8 common/json_stream.c: Implement a `json_add_jsonstr` to add already-JSON strings to `json_stream` objects. 5 years ago
lisa neigut b51772ff68 pay: fix #3613; string output must be quoted 5 years ago
lisa neigut 3124d43d9f pay: check for null route in maybe_exclude 5 years ago
Christian Decker 891adfca1e pay: Speed up `pay` and fix the shadow route construction 5 years ago
Rusty Russell ca512e3cb2 plugins/pay: use feature set from lightningd to decode bolt11. 5 years ago
Rusty Russell cf43e44378 common/features: don't use internal global. 5 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
Vasil Dimov 89ceb273f5 wire: remove towire_double() 5 years ago
Rusty Russell 5e2053feea pay: fix crash when we paystatus too soon. 5 years ago
darosior b91433cb42 libplugin: use json_stream for all plugins' commands 5 years ago
darosior 2bff80e3de libplugin: use json_stream helpers for RPC calls 5 years ago
darosior b31e3b1541 libplugin: pass a pointer to plugin to send_outreq 5 years ago
darosior 765626875e libplugin: use ccan/io for notifications 5 years ago
darosior 499dce1c38 libplugin: include the rpc conn into the global state 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
ZmnSCPxj a9f0f05eea pay: Implement retry in case of final CLTV being too soon for receiver. 5 years ago
ZmnSCPxj 6c0d7ca737 pay: Implement tracking of blockheight for starting payment attempts. 5 years ago
ZmnSCPxj e9aa690d44 pay: Factor out execution of `getroute` from starting of payment attempt. 5 years ago
Rusty Russell 207689c274 plugins: listpays will now consolidate multi-part payments. 5 years ago
Rusty Russell f1bc0b21f1 plugins: listpays ignores pre-0.7.0 or manual sendpay payments w/ no bolt11. 5 years ago
darosior fcbd11f0c5 plugins/libplugin: hook support 5 years ago
darosior 3371f0cf78 plugins/libplugin: notifications support 5 years ago
Rusty Russell 18e9144675 plugins/pay: hand payment_secret from bolt11 through to sendpay. 5 years ago
darosior f3d304901b pay: add a dev-only parameter to deactivate shadow routing 5 years ago
darosior 16f5af00c7 common/json: add a helper for json to u16 5 years ago
darosior 5766231d98 pay: restore payment value randomization through shadow routing 5 years ago
Jorge Timón 61383408a4 pay: Return error when trying to pay to an invoice from unkown or different chain 5 years ago
Rusty Russell 2a74d53841 Move gossip_constants.h into common/ 5 years ago
trueptolemy 765416f0ca cleanup: Use `json_out_add_u32` helper to add `max_hops` and `cltv` in `pay` plugin 5 years ago
trueptolemy 2d1a153975 plugins: Return `command_param_failed()` if `param()` fail 5 years ago
trueptolemy c737fa6b91 pay: Fix logic of the intereface `find_worst_channel` 5 years ago
trueptolemy 22e8d242fc pay: Exclude nodes if the failcode of `sendpay` has the NODE bit set 5 years ago
lisa neigut f784863603 libplugin: add required import 5 years ago
Rusty Russell 884f4fa6d0 JSON: Remove description fields. 5 years ago
Rusty Russell acf3952acc JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids. 5 years ago
darosior 0cd3823c98 libplugin: pass configuration to plugin's 'init' callback 5 years ago
darosior 017ee7c916 libplugin: Add 'getmanifest' 'dynamic' field 5 years ago
Rusty Russell 068b593d98 plugins/pay: fix crash when we reach retry timeout. 5 years ago
Rusty Russell 0e336ac252 plugins/pay: use proper JSON construction for failure paths. 5 years ago
Rusty Russell c585f22711 libplugin: update API to use json_out. 5 years ago
Rusty Russell 26cdf9d3dc plugins/pay: don't retry routehint if it contains already-eliminated channel. 5 years ago
Rusty Russell 260febd88b plugins/pay: fix attempt counter on failure message. 5 years ago
Simon Vrouwe bbedd3819d plugins/pay.c: add curly braces arround JSON data field 5 years ago
darosior 9d34121ec5 libplugin.c: Handle command categories then set them in pay and autoclean 5 years ago
Rusty Russell 15dc0a5c18 pay: fix transient status 'failed' in listpays. 5 years ago