mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
2526e804f7
We do this (send warnings) in almost all cases anyway, so mainly this is a textual update, but there are some changes: 1. Send ERROR not WARNING if they send a malformed commitment secret. 2. Send WARNING not ERROR if they get the shutdown_scriptpubkey wrong (vs upfront) 3. Send WARNING not ERROR if they send a bad shutdown_scriptpubkey (e.g. p2pkh in future) 4. Rename some vars 'err' to 'warn' to make it clear we send a warning. This means test_option_upfront_shutdown_script can be made reliable, too, and it now warns and doesn't automatically close channel. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
test | ||
broadcast.h | ||
gossip_generation.c | ||
gossip_generation.h | ||
gossip_store_wire.csv | ||
gossip_store.c | ||
gossip_store.h | ||
gossipd_peerd_wire.csv | ||
gossipd_wire.csv | ||
gossipd.c | ||
gossipd.h | ||
Makefile | ||
queries.c | ||
queries.h | ||
routing.c | ||
routing.h | ||
seeker.c | ||
seeker.h |