513 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 71e0d55f23
plugin: Add `connected` hook 6 years ago
Christian Decker a405c22fc9 daemon: Fix issue 2348, db->filenam not being correctly initialized 6 years ago
Simon Vrouwe 872c0c90b9 remove trailing space in logline and small coding style fix 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 5770e0c700 jsonrpc: probe sites for usage information once, at start. 6 years ago
Simon Vrouwe 35545f705f lightningd/json_withdraw: 6 years ago
Rusty Russell 018a3f1d58 short_channel_id: make mk_short_channel_id return a failure. 6 years ago
Rusty Russell d69680934e short_channel_id: catch parsing errors. 6 years ago
Rusty Russell be64dd84ca waitsendpay: indicate which channel direction the error was. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 7e01efbd1f lightningd: clean up htlc_in->shared_secret to be optional. 6 years ago
Christian Decker 26f17e87a3 plugin: Add connect and disconnect notifications 6 years ago
Rusty Russell add822a072 jsonrpc: don't be coy with details for command_its_complicated(). 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell 1ede7bc55b wallet_tx: make wtx_select_utxos return command_result. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 93bf7c4839 param: make command sinks (fail/success) return a special type. 6 years ago
Rusty Russell 31a375af53 lightningd: add runtime checking for all system-provided libs. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 55306fc3eb onchaind: wire up dev_memleak. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Jon Griffiths 087ef43a0d Call wally_init(0) on startup to enabled assembly-optimised SHA-256 6 years ago
Conor Scott 795bc1b3a7 [test] update test mocks for getinfo rpc update 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 6 years ago
arowser d5aaa11373 update match network log 6 years ago
Rusty Russell 8600ba403c wireaddr: remove handling for addr->type == ADDR_TYPE_PADDING 6 years ago
Rusty Russell 171006d17c lightnignd: peer addr is never NULL, adjust new_peer. 6 years ago
Rusty Russell c919551109 onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Rusty Russell 604638712b jsonrpc: Only show total fees collected in getinfo. 6 years ago
Christian Decker 6d333f16cc wallet: Correctly handle forwards when channels or htlcs are deleted 6 years ago
Christian Decker facd7d16aa json-rpc: Add `listforwardings` command 6 years ago
Christian Decker 5b924a7eb7 wallet: Add primitives to add forwarded payments to the DB 6 years ago
Christian Decker 07ebc525e9 wallet: Add new `forwards` table to keep track of forwarded payments 6 years ago
Rusty Russell 3991425111 gossipd: don't accept forwarding short_channel_ids we don't own. 6 years ago
Christian Decker 81f5b89fe3 wallet: Actually load wallet stats when asked to 6 years ago
lisa neigut b9331e5ac8 gossipd: parse and respect optional `htlc_maximum_msat` 6 years ago
Rusty Russell 0226ef0572 htlc: rename local flag to am_origin, add FIXME. 6 years ago
Rusty Russell 4146950496 lightningd: don't access htlc_in's failoutchannel on db restore. 6 years ago
Rusty Russell 79ebb8a92e db: save the failcode / failuremsg into db. 6 years ago
Rusty Russell 2293f4ce9e db: restore failuremsg/failcode from db. 6 years ago
Rusty Russell d85251ac6c db: fix up HTLCs which are missing failure information. 6 years ago