core-lightning/tests
Rusty Russell b7bf414ac4 gossipd: prune announced-but-not-updated channels eventually.
We currently give them a free pass.  The simplest fix is to give them
an old timestamp on initialization.

We still skip unannounced channels, on the assumption that they're
ours.  And we set the last_update_timestamp to -1 when we convert to
gossip_getchannels_entry to indicate no update.

This breaks the DEVELOPER=1 pruning test, since we hardcode the 1
week timeout.  That's fixed in the next patch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-03 19:29:35 +01:00
..
benchmark.py Fix flake8 warnings 2018-02-26 12:38:00 +01:00
requirements.txt pytest: Using python-bitcoinlib instead of python-bitcoinrpc 2017-01-23 10:37:34 +01:00
test_lightningd.py gossipd: prune announced-but-not-updated channels eventually. 2018-03-03 19:29:35 +01:00
utils.py Fix flake8 warnings 2018-02-26 12:38:00 +01:00