111 Commits (6232b271715f17b3e62aa2ba742e42c30913a058)

Author SHA1 Message Date
Rusty Russell c77e29c403 libplugin: use json_out internally. 6 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 6 years ago
Rusty Russell 26cdf9d3dc plugins/pay: don't retry routehint if it contains already-eliminated channel. 6 years ago
Rusty Russell 260febd88b plugins/pay: fix attempt counter on failure message. 6 years ago
Simon Vrouwe bbedd3819d plugins/pay.c: add curly braces arround JSON data field 6 years ago
darosior 4640d18ef0 Plugins: allow to specify plugin option type in libplugin.c, then specify it to autoclean options 6 years ago
darosior 9d34121ec5 libplugin.c: Handle command categories then set them in pay and autoclean 6 years ago
ZmnSCPxj 09761cd4c9 plugins/.gitignore: Also ignore autoclean. 6 years ago
ZmnSCPxj a80e5c7212 plugins/Makefile: Add PLUGIN_AUTOCLEAN_OBJS to ALL_OBJS. 6 years ago
ZmnSCPxj 30ad98a3ea plugins/autoclean.c: Remove unnecessary inclusions. 6 years ago
Rusty Russell 15dc0a5c18 pay: fix transient status 'failed' in listpays. 6 years ago
Rusty Russell 71460ac073 pay: don't say "Could not find a route" unless we never tried a payment. 6 years ago
Rusty Russell aa62ae3385 pay: don't timeout, wait until we've succeeded or failed. 6 years ago
Rusty Russell 4370ffa978 autoclean: make this a plugin. 6 years ago
Rusty Russell 44196e7d82 libplugin: logging support. 6 years ago
Rusty Russell 6a8cd9a016 libplugin: allow freeing in timer callback, clarify docs, allow nested timers. 6 years ago
Rusty Russell 9b61c19a20 libplugin: simple timer support. 6 years ago
Rusty Russell c83066f8ed libplugin: make rpc_conn a global, so we can access it from timers. 6 years ago
Rusty Russell 688574b89c libplugin: support options. 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
William Casarin 9aaf2fe8d4 build: fix uninitialized variable error on gcc 7.4.0 6 years ago
Rusty Russell b99617312f plugins/pay: use json_ prefix for json command handlers. 6 years ago
Rusty Russell 203ef2ed0b listsendpays: updated version of listpayments. 6 years ago
Rusty Russell 56dfbec6bd listpays: new command to summarize pay commands. 6 years ago
Rusty Russell 1ec959752b plugin/pay: rename 'description' to 'label', deprecate 'description'. 6 years ago
Rusty Russell 26f60f83d5 libplugin: add deprecated_apis flag for plugins to access. 6 years ago
Rusty Russell 30e4b812d0 plugin/pay: feed bolt11 string through to sendpay. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 6 years ago
Rusty Russell cd341b34d6 plugins/pay: use struct amount_msat. 6 years ago
Rusty Russell b5dcb93e5f wallet: use amount_msat / amount_sat. 6 years ago
Rusty Russell 83adb94583 lightningd and routing: use struct amount_msat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell a25e22737c common/json_tok: add param_msat / param_sat. 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell a8d1588154 libplugin: provide usage in getmanifest. 6 years ago
Rusty Russell c58a4b9b42 libplugin: put method name into command struct. 6 years ago
Rusty Russell 3ae0c20026 getroute: change definition (and pay default) for riskfactor. 6 years ago
Rusty Russell 5d658012d6 plugins/pay: try without routehints first. 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell 7c0863f785 plugins/pay: add comment on why we don't use an empty string 6 years ago
Rusty Russell 4122f955c1 plugins/pay: simplify listpeers_done code a little. 6 years ago
Rusty Russell a393272ebf plugins/pay: clarify field names 6 years ago
Rusty Russell 02436a8e6d libplugin: mention error field in error message. 6 years ago
Rusty Russell 29b106720e plugins/pay: paystatus should explicitly describe why it is making each attempt. 6 years ago
Rusty Russell 9d33a3d752 plugins/pay: eliminate worst channel if we go over fee / delay threshold. 6 years ago
Rusty Russell 0a8b4f8935 pay: remove inbuilt command in favor of plugin. 6 years ago
Rusty Russell 3f8dd7a95f plugins/pay: add paystatus command to get gory details of payments. 6 years ago
Rusty Russell 5201c75d9d plugins/pay: store history of payment attempts (non-persisent). 6 years ago
Rusty Russell 9403df8d0d plugins/pay: add shadow CLTV calculation. 6 years ago