core-lightning/lightningd
Rusty Russell 11a4d46c44 chaintopology: fix crash if bcli doesn't include errmsg.
Interestingly, we required that "sendrawtx" include "errmsg" field even
on success, otherwise we crashed in broadcast_remainder.

We only actually insist on an "errmsg" if success is false.  And this
logic here is weird (the !success) was added by darosior in
947f5ddde1, which makes the msg checks redundant.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-07 19:32:47 +01:00
..
test jsonrpc: Allow filtering via bolt11 or payment_hash in listinvoices 2021-01-06 18:48:06 +01:00
.gitignore dualopend: new dualopend daemon, containing most of accepter side 2020-09-09 19:54:20 +09:30
bitcoind.c lightningd: forward notifications from plugins if enabled. 2020-10-23 13:53:16 +10:30
bitcoind.h plugins/bcli.c: sendrawtransaction now has a required allowhighfees argument. 2020-09-09 12:38:19 +09:30
chaintopology.c chaintopology: fix crash if bcli doesn't include errmsg. 2021-01-07 19:32:47 +01:00
chaintopology.h plugins/bcli.c: sendrawtransaction now has a required allowhighfees argument. 2020-09-09 12:38:19 +09:30
channel_control.c feat: adds state change cause and message 2020-11-06 14:47:04 -06:00
channel_control.h peer_channeld: pass over PSBT, remove second message 2020-10-20 12:50:31 +10:30
channel_state.h feat: adds state_changes to listpeers output 2020-11-06 14:47:04 -06:00
channel.c fix: closer set to remote for onchain settlement 2020-11-13 14:25:02 -06:00
channel.h db: persist channel closer and state change cause 2020-11-06 14:47:04 -06:00
closing_control.c feat: adds state change cause and message 2020-11-06 14:47:04 -06:00
closing_control.h
coin_mvts.c channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
coin_mvts.h coins: re-write API interface for htlc notices 2020-05-12 15:46:58 +09:30
connect_control.c connectd: implement connection timeout (60 seconds). 2020-09-11 21:27:45 +09:30
connect_control.h lightningd: return features in connect response. 2020-04-03 13:13:21 +10:30
dual_open_control.c json_to_psbt: fix API to match other allocating json_to functions. 2021-01-07 19:32:47 +01:00
dual_open_control.h dual-fund: accepter side implementation on lightningd 2020-09-09 19:54:20 +09:30
gossip_control.c Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
gossip_control.h gossipd: get fed the blockheight from lightningd when we know it. 2019-09-25 04:01:56 +00:00
gossip_msg.c wire: make fromwire_fail return non-const, use it more 2020-05-20 11:36:13 +02:00
gossip_msg.h gossipd: return channel_announcement features for listchannels. 2020-05-07 08:44:58 +09:30
hsm_control.c hsmd: cleanup encrypted hsm_secret detection 2021-01-06 13:50:01 +01:00
hsm_control.h hsm: decouple hsm from wallet; init before wallet 2020-06-11 13:13:13 +02:00
htlc_end.c coins: have we_fulfilled be fully 'ternary' 2020-05-12 15:46:58 +09:30
htlc_end.h common/sphinx: make TOTAL_PACKET_SIZE a macro. 2020-12-11 15:51:24 +01:00
htlc_set.c lightningd: note whether payment secret is used or not. 2020-10-28 12:03:14 +01:00
htlc_set.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
invoice.c jsonrpc: Allow filtering via bolt11 or payment_hash in listinvoices 2021-01-06 18:48:06 +01:00
invoice.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
io_loop_with_timers.c
io_loop_with_timers.h
json.c json_command: command_fail_badparam helper. 2020-09-02 09:46:37 +09:30
json.h common: hoist param_bitcoin_address where plugins can use it. 2020-08-11 08:39:24 +09:30
jsonrpc.c jsonrpc: Forward errors on malformed requests to cli 2020-12-09 06:56:21 +10:30
jsonrpc.h lightningd: infrastructure for internal notifications. 2020-10-23 13:53:16 +10:30
lightningd.c lightningd: group hsm_secret encryption key derivation 2021-01-06 13:50:01 +01:00
lightningd.h hsmd: code to sign bolt12 messages with a tweaked key. 2020-12-23 14:24:39 +01:00
log_status.c common: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
log_status.h lightningd: have logging include an optional node_id for each entry. 2019-11-18 04:50:22 +00:00
log.c lightningd/log.c: Fix up handling of SIGHUP. 2020-12-02 16:48:48 +10:30
log.h lightningd: use a simple array for less memory usage. 2019-11-18 04:50:22 +00:00
Makefile lightningd: group hsm_secret encryption key derivation 2021-01-06 13:50:01 +01:00
memdump.c common/memleak: simplify and document API. 2020-09-23 13:52:49 +09:30
memdump.h
notification.c db: adds a state_change history to database 2020-11-06 14:47:04 -06:00
notification.h feat: adds timestamp to state_change notification 2020-11-06 14:47:04 -06:00
offer.c lightningd: low-level createinvoicerequest API (EXPERIMENTAL_FEATURES) 2020-12-23 14:24:39 +01:00
onchain_control.c feat: adds state change cause and message 2020-11-06 14:47:04 -06:00
onchain_control.h closingd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
onion_message.c common/sphinx: make onionpacket.routinginfo a dynamic member. 2020-12-11 15:51:24 +01:00
onion_message.h lightningd: forward onion messages. 2020-04-02 14:32:38 +10:30
opening_common.c df: rename the dual_open wires to match other daemon wires 2020-12-02 14:19:08 +10:30
opening_common.h openingd/: Fail fundchannel_start if we already are, or will become, the fundee. 2020-11-07 17:18:49 +00:00
opening_control.c lightningd/opening_control.c: Remove predeclaration. 2020-11-07 17:18:49 +00:00
opening_control.h memleak: 'generify' the memleak calling to code for openingd/dualopend 2020-09-17 10:12:08 +09:30
options.c lightningd: regroup hsm_secret password input logic 2021-01-06 13:50:01 +01:00
options.h common: parse --allow-deprecated-apis extremely early. 2019-11-23 22:42:34 +00:00
pay.c fix memset for route_hop json parsing when no channel_id exists. 2021-01-04 11:24:55 +01:00
pay.h lightningd: don't report spurious temporary_node_failure on local failures. 2020-05-04 18:56:33 +09:30
peer_control.c setchannelfee: fix crash when channel is not in valid state. 2020-12-21 17:10:28 -06:00
peer_control.h peer_control: move open_command up to where channeld can get it, 2020-10-20 12:50:31 +10:30
peer_htlcs.c common/sphinx: make onionpacket.routinginfo a dynamic member. 2020-12-11 15:51:24 +01:00
peer_htlcs.h lightningd: separate fee_states out of struct channel_info. 2020-09-23 15:51:13 +09:30
ping.c gossipd: convert wire to new scheme. 2020-08-25 12:53:13 +09:30
ping.h
plugin_control.c Plugin: support extra args to "start". 2020-12-15 09:28:56 +10:30
plugin_control.h lightningd: attach plugins natively to the command which started it. 2020-05-05 13:45:17 +09:30
plugin_hook.c lightningd/plugin_hook.c: Make db_write a chained hook. 2020-11-30 10:40:11 +10:30
plugin_hook.h plugins: check order once all plugins have returned from getmanifest. 2020-11-09 15:22:33 -06:00
plugin.c Plugin: support extra args to "start". 2020-12-15 09:28:56 +10:30
plugin.h Plugin: support extra args to "start". 2020-12-15 09:28:56 +10:30
routehint.c lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
routehint.h lightningd: extract routehint selection code. 2020-09-08 19:47:11 +09:30
signmessage.c gossipd: convert wire to new scheme. 2020-08-25 12:53:13 +09:30
subd.c Makefile: use generic rules to make spec-derived sources. 2020-08-31 21:33:26 -05:00
subd.h lightningd: have optional node_id associated with subdaemons. 2019-11-18 04:50:22 +00:00
watch.c wallet: remove edgecase around transaction checks 2020-01-02 16:56:42 +01:00
watch.h