core-lightning/channeld
Rusty Russell 981ffb83f7 channeld: don't send updates for 0:0:0.
Some paths (eg reconnect) were unconditionally sending a channel_update.
valgrind wasn't catching it because we unmarshal short_channel_ids[LOCAL]
as all-zeroes, so it's technically "initialized".

Create a wrapper to do this, and change the 'bool disabled' flag to be
the explicit disable flag value for clarity.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-19 15:52:56 -04:00
..
test Force the use of the POSIX C locale for all commands and their subprocesses 2018-04-27 14:02:59 +02:00
channel_wire.csv channeld: get told when announce depth already reached. 2018-04-26 05:47:57 +00:00
channel.c channeld: don't send updates for 0:0:0. 2018-05-19 15:52:56 -04:00
channeld_htlc.h Remove unused functions not covered by unit tests 2018-03-28 11:22:05 +02:00
commit_tx.c utils: remove tal_tmpctx altogether, use global. 2018-03-16 00:16:10 +00:00
commit_tx.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c utils: remove tal_tmpctx altogether, use global. 2018-03-16 00:16:10 +00:00
full_channel.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
Makefile gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00