core-lightning/lightningd
niftynei cead5e16c0 openingd: return more informative error message for v2 opens
Fixes #4562

Reported-By: William Casarin @jb55

New error message:

	zircon:lightning (nifty/fix-4562)$ l1-cli fundchannel_start 03fce775508719e4064b7f19d4e884ddaf51db23bbfc560286ce872f9ed106fee0 10000 253perkw
	{
	   "code": 312,
	   "message": "Peer negotiated `option_dual_fund`, must use `openchannel_init` not `fundchannel_start`."
	}
2021-06-03 11:30:16 +09:30
..
test rbf: update the channel's funding_txid to match what's mined 2021-05-24 12:17:48 +09:30
.gitignore
bitcoind.c typo: information is an uncountable mass noun 2021-03-16 10:45:40 +10:30
bitcoind.h
chaintopology.c chaintopology: remove deprecated urgent/normal/slow feerate display. 2021-04-07 14:34:39 +09:30
chaintopology.h
channel_control.c EXPERIMENTAL: dev-quiesce to initiate (and test) quiescence. 2021-06-01 12:08:51 -05:00
channel_control.h channel_fallen_behind: break out functionality into two methods 2021-01-10 13:44:04 +01:00
channel_state.h channel-state: add two new states, for dualopend 2021-01-10 13:44:04 +01:00
channel.c rbf: update the channel's funding_txid to match what's mined 2021-05-24 12:17:48 +09:30
channel.h lightningd: attach HTLC timeout to htlc itself, fix gratuitous disconnect bug. 2021-05-21 14:45:05 +09:30
closing_control.c lightningd: check closing tx signature 2021-05-30 09:49:44 +09:30
closing_control.h
coin_mvts.c
coin_mvts.h
connect_control.c Refuse to parse v2 onion addresses without deprecated_apis 2021-05-24 20:22:45 +09:30
connect_control.h lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
dual_open_control.c lightningd: respect anysegwit on dual-funding opens too. 2021-05-26 20:01:03 +09:30
dual_open_control.h rbf: update the channel's funding_txid to match what's mined 2021-05-24 12:17:48 +09:30
gossip_control.c gossipd / plugin: clean up names in struct route_hop. 2021-05-22 17:53:04 +09:30
gossip_control.h
gossip_msg.c gossipd / plugin: clean up names in struct route_hop. 2021-05-22 17:53:04 +09:30
gossip_msg.h
hsm_control.c hsmd: cleanup encrypted hsm_secret detection 2021-01-06 13:50:01 +01:00
hsm_control.h
htlc_end.c lightningd: attach HTLC timeout to htlc itself, fix gratuitous disconnect bug. 2021-05-21 14:45:05 +09:30
htlc_end.h lightningd: attach HTLC timeout to htlc itself, fix gratuitous disconnect bug. 2021-05-21 14:45:05 +09:30
htlc_set.c lightningd: note whether payment secret is used or not. 2020-10-28 12:03:14 +01:00
htlc_set.h
invoice.c plugin: Call invoice_payment hook before the matching notification 2021-03-19 10:18:42 +10:30
invoice.h
io_loop_with_timers.c
io_loop_with_timers.h
json.c common/json_tok: hoist param_short_channel_id from inside lightningd/ 2021-05-22 17:53:04 +09:30
json.h
jsonrpc.c plugins: make rpc_command hook chainable 2021-03-03 09:18:53 +10:30
jsonrpc.h lightningd: infrastructure for internal notifications. 2020-10-23 13:53:16 +10:30
lightningd.c lightningd: option_shutdown_anysegwit is no longer experimental. 2021-05-26 20:01:03 +09:30
lightningd.h lightningd: don't abort on incorrect versions, but try to re-exec. 2021-04-24 13:56:58 +09:30
log_status.c
log_status.h
log.c lightningd: implement --log-timestamps=false. 2021-05-05 17:19:19 -05:00
log.h
Makefile dual-funding: convert to runtime flag, --experimental-dual-fund 2021-03-25 20:05:11 +10:30
memdump.c common/memleak: simplify and document API. 2020-09-23 13:52:49 +09:30
memdump.h
notification.c plugin: Move list of notification topics to each plugin 2021-05-03 11:20:15 +09:30
notification.h plugin: Prevent plugins from registering native notification topics 2021-05-03 11:20:15 +09:30
offer.c offers: make 'used' flag more useful. 2021-02-25 14:44:03 +10:30
onchain_control.c subd: remove ctype (channel_type) 2021-03-03 16:19:04 -06:00
onchain_control.h
onion_message.c lightningd: control onion messages by experimental-onion-messages option. 2021-01-13 14:45:36 +01:00
onion_message.h gossipd, channeld: handle onion messages in gossipd so we don't need a channel. 2021-01-09 14:34:35 +10:30
opening_common.c memleak,df: patchup memleak code for v2 channels 2021-03-03 16:19:04 -06:00
opening_common.h lightningd/opening_control: store funding scriptpubkey. 2021-03-16 13:10:07 +10:30
opening_control.c openingd: return more informative error message for v2 opens 2021-06-03 11:30:16 +09:30
opening_control.h memleak: 'generify' the memleak calling to code for openingd/dualopend 2020-09-17 10:12:08 +09:30
options.c Refuse to parse v2 onion addresses without deprecated_apis 2021-05-24 20:22:45 +09:30
options.h
pay.c "createonion" to accept an optional custom onion_size. 2021-05-24 12:52:19 +02:00
pay.h
peer_control.c close: add "unopened" type if we simply discard channel. 2021-05-27 20:28:49 +09:30
peer_control.h lightningd: set "direction" correctly for connect which is already connected. 2021-03-26 13:22:33 +10:30
peer_htlcs.c lightningd: attach HTLC timeout to htlc itself, fix gratuitous disconnect bug. 2021-05-21 14:45:05 +09:30
peer_htlcs.h lightningd: separate fee_states out of struct channel_info. 2020-09-23 15:51:13 +09:30
ping.c
ping.h
plugin_control.c plugin: add log-level to plugin_kill, make it take format string. 2021-03-01 12:16:42 +01:00
plugin_control.h
plugin_hook.c plugins: remove now-unused single-hook infrastructure. 2021-04-07 14:34:39 +09:30
plugin_hook.h plugins: remove now-unused single-hook infrastructure. 2021-04-07 14:34:39 +09:30
plugin.c plugin notifications: minor cleanups. 2021-05-14 10:24:05 +09:30
plugin.h plugin: Remember the shortname for a plugin 2021-05-03 11:20:15 +09:30
routehint.c
routehint.h
signmessage.c
subd.c lightningd: don't send other messages until we've received version. 2021-04-24 13:56:58 +09:30
subd.h lightningd: don't send other messages until we've received version. 2021-04-24 13:56:58 +09:30
watch.c
watch.h