core-lightning/channeld
Rusty Russell ca53c1b699 gossipd: push our own gossip messages harder.
I had a report of a 0.7.2 user whose node hadn't appeared on 1ml.  Their
node_announcement wasn't visible to my node, either.

I suspect this is a consequence of recent version reducing the amount of
gossip they send, as well as large nodes increasingly turning off gossip
altogether from some peers (as we do).  We should ignore timestamp filters
for our own channels: the easiest way to do this is to push them out
directly from gossipd (other messages are sent via the store).

We change channeld to wrap the local channel_announcements: previously
we just handed it to gossipd as for any other gossip message we received
from our peer.  Now gossipd knows to push it out, as it's local.

This interferes with the logic in tests/test_misc.py::test_htlc_send_timeout
which expects the node_announcement message last, so we generalize
that too.

[ Thanks to @trueptolmy for bugfix! ]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-10-14 15:00:37 -05:00
..
test elements: Remove global is_elements variable in favor of chainparams 2019-10-03 04:32:57 +00:00
channel_wire.csv JSON-API: Allow close channel to specified address 2019-10-09 21:04:16 -05:00
channeld_htlc.h channeld: get current block height when an HTLC fails. 2019-08-29 09:01:48 +02:00
channeld.c gossipd: push our own gossip messages harder. 2019-10-14 15:00:37 -05:00
commit_tx.c elements: Change function prefix to elements_ for some functions 2019-10-03 04:32:57 +00:00
commit_tx.h tx: Add chainparams to struct bitcoin_tx as context 2019-07-31 23:22:54 +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 channeld: reject wumbo payments with more style. 2019-10-03 23:27:23 +00:00
full_channel.h channeld: set option_static_remotekey when negotiated. 2019-09-10 16:18:25 -05:00
Makefile per-peer-daemons: tie in gossip filter. 2019-09-06 14:35:01 +02:00