1848 Commits (connected_hook)

Author SHA1 Message Date
Christian Decker 05766d5e96
plugin: Parse and react to the result of the peer_connected hook 6 years ago
Christian Decker 32713b4379
json: Add utility to add a null-member 6 years ago
Christian Decker 408846f758
hooks: Serialize the peer that connected as hook call payload 6 years ago
Christian Decker e3655e33ca
moveonly: Move the channel details into json_add_channel 6 years ago
Christian Decker 71e0d55f23
plugin: Add `connected` hook 6 years ago
Rusty Russell cb6a97152e pytest: fix race in test_pay_direct. 6 years ago
Rusty Russell 8c22b91a70 lightningd: activate crashlog before forking off as daemon. 6 years ago
Michael Schmoock 5c0d658b30 fix: change type of config->fee_per_satoshi to uint32 6 years ago
Simon Vrouwe 34e40b9383 lightningd/json_dev_forget_channel: clarify message when both peer_id and scid are given 6 years ago
Simon Vrouwe b66d6a0d55 lightningd/json_fundchannel: use json_add_string to add hex_tx to response, similar as in json_withdraw 6 years ago
Richard Bondi 503360143a fix crash with lightning charge and plugin opts (#2358) 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 53c0a21d2c plugins: get usage from plugins (required unless deprecated_apis == True). 6 years ago
Rusty Russell 5770e0c700 jsonrpc: probe sites for usage information once, at start. 6 years ago
Rusty Russell e5c80f63d7 lightningd: add code to search strmaps for memleak detection. 6 years ago
Rusty Russell c506d42679 plugins: don't keep redundant jsonrpc pointer. 6 years ago
Rusty Russell dabdefefae jsonrpc: populate ld->jsonrpc ourselves, so we can use it. 6 years ago
Rusty Russell cc76416447 jsonrpc: use tal destructor to remove json commands when required. 6 years ago
Rusty Russell da355284de jsonrpc: help, even for a single item, should be in an array. 6 years ago
Rusty Russell 662bb0c565 gossipd: fix riskfactor passing. 6 years ago
Rusty Russell 6bd1e46b25 invoice: don't allow creation of unpayable invoices. 6 years ago
Simon Vrouwe 10057c8335 openingd/json_fund_channel: 6 years ago
Christian Decker 5d05694920 json-rpc: Remove double-quoting on errors in JSON-RPC 6 years ago
Rusty Russell f8ecd08721 pay: don't list dummy channel if error is from final hop. 6 years ago
Rusty Russell 4e6b8e13a4 lightningd/pay: simplify code significantly. 6 years ago
Rusty Russell 1c58351551 lightningd: hardcode callbacks again. 6 years ago
Rusty Russell a45a62aff6 lightningd: move pay internals back into pay.c 6 years ago
Rusty Russell afab1f7b3c gossipd: handle onion errors internally. 6 years ago
Rusty Russell 4eddf57fd9 gossipd: don't mark channels unroutable. 6 years ago
Rusty Russell 018a3f1d58 short_channel_id: make mk_short_channel_id return a failure. 6 years ago
Christian Decker c78d7e0f95 plugin: Increase manifest timeout to 60 seconds 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell e2777642c0 getroute: add direction to route returned. 6 years ago
Rusty Russell 0a8b4f8935 pay: remove inbuilt command in favor of plugin. 6 years ago
Christian Decker 05ec56a968 plugin: Plugin hook callbacks need to be wrapped in a DB transaction 6 years ago
Christian Decker a281f4b692 plugin: Send jsonrpc_request when calling hooks and dispatch results 6 years ago
Christian Decker a2fa0788fc plugin: Remove plugin_request_new and expose plugin_request_send 6 years ago
Christian Decker b8584a744b plugin: Add hooks that a plugin might register 6 years ago
Christian Decker ff897f8788 jsonrpc: Generalize plugin_request to jsonrpc_request 6 years ago
Christian Decker 1a952667ee plugin: Remove plugin_request argument from callbacks 6 years ago
Christian Decker f8f76e3d31 plugin: Add hook registration 6 years ago
Christian Decker 71934f983a notifications: Fix iteration over notification topics 6 years ago
Conor Scott 0535cbbc96 [rpc] Add funding allocation to listpeers command 6 years ago
Conor Scott 3d270fcca6 Skip README.md when reading in plugins dir 6 years ago
nicolas.dorier a565915d08 bitcoind: allow "getblock" to fail for txout lookup. 6 years ago
Rusty Russell a00c357854 JSON: remove redundant word "channel" from direction fields. 6 years ago
Rusty Russell 9f1f79587e short_channel_id_dir: new primitive for one direction of short_channel_id 6 years ago
Rusty Russell 80753bfbd5 Feedback from @niftynei. 6 years ago
Rusty Russell dc2ee9639b listchannels: allow source arg to list channels by their source node. 6 years ago
Rusty Russell de682f5806 json_getroute: don't return generic error. 6 years ago