core-lightning/tests
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
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins pytest: make test_plugin_slowinit a test again 2019-10-11 10:05:08 -05:00
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
btcproxy.py pytest: Do not edit the global copy of the bitcoind config 2019-10-03 04:32:57 +00:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py elements: Parametrize the sample addresses we test against 2019-10-03 04:32:57 +00:00
requirements.txt pytest: Add db_provider and db instances for configurable backends 2019-09-22 02:03:43 +00:00
test_closing.py pytest: Add the test for compact of deprecated close style 2019-10-09 21:04:16 -05:00
test_connection.py common/features: only support a single feature bitset. 2019-10-11 02:52:04 +00:00
test_db.py pytest: Mark some tests as skippable that are too bitcoin-specific 2019-10-03 04:32:57 +00:00
test_gossip.py common/features: only support a single feature bitset. 2019-10-11 02:52:04 +00:00
test_invoices.py pytest: Mark some tests as skippable that are too bitcoin-specific 2019-10-03 04:32:57 +00:00
test_misc.py gossipd: push our own gossip messages harder. 2019-10-14 15:00:37 -05:00
test_pay.py gossipd: use per-peer information to make messages clearer. 2019-10-10 21:48:52 -05:00
test_plugin.py pytest: make test_plugin_slowinit a test again 2019-10-11 10:05:08 -05:00
test_wallet.py pytest: test hsm_secret encryption 2019-10-09 22:00:38 -05:00
utils.py pytest: add filters arg to query_gossip() 2019-10-10 21:48:52 -05:00