mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-01 13:24:31 +01:00
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>