87 Commits (90a69e04cd192302d890544f9586792d88751dbf)

Author SHA1 Message Date
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 bdbfbf7e55 fundchannel: Remove the link of `lightningd/json.h` 5 years ago
trueptolemy b4c6a5c0f0 plugins/.gitignore: Add `fundchannel` entry 5 years ago
trueptolemy 22e8d242fc pay: Exclude nodes if the failcode of `sendpay` has the NODE bit set 5 years ago
lisa neigut a35677fa0f fundchannel: use plugin; delete interior impl 5 years ago
lisa neigut 548672ea0a fundchannel: populate max_funding from chainparams 5 years ago
lisa neigut 42ef64941a fundchannel: have address work with any network 5 years ago
lisa neigut 7d069239aa fundchannel: only cap to 'max' if keyword 'all' passed in 5 years ago
lisa neigut d9843c1957 fundchannel: handle 'all' for satoshi amount 5 years ago
lisa neigut f155c61bdf fundchannel: cancel the fundchannel request if error 5 years ago
lisa neigut 03a30c0981 fundchannel: wire in utxos 5 years ago
lisa neigut f433f637ea plugins: add fundchannel plugin, as 'fc' 5 years ago
lisa neigut 2fe490294e libplugin: new helper method for passing a raw error 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
Rusty Russell a134062f98 bolt11: handle `9` fields for new features. 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 cc70b9c4ec wire: use common/bigsize routines 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 c77e29c403 libplugin: use json_out internally. 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 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 4640d18ef0 Plugins: allow to specify plugin option type in libplugin.c, then specify it to autoclean options 5 years ago
darosior 9d34121ec5 libplugin.c: Handle command categories then set them in pay and autoclean 5 years ago
ZmnSCPxj 09761cd4c9 plugins/.gitignore: Also ignore autoclean. 5 years ago
ZmnSCPxj a80e5c7212 plugins/Makefile: Add PLUGIN_AUTOCLEAN_OBJS to ALL_OBJS. 5 years ago
ZmnSCPxj 30ad98a3ea plugins/autoclean.c: Remove unnecessary inclusions. 5 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. 5 years ago
Rusty Russell 44196e7d82 libplugin: logging support. 5 years ago
Rusty Russell 6a8cd9a016 libplugin: allow freeing in timer callback, clarify docs, allow nested timers. 5 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