gossipd: remove zombie handling.

We never enabled it, because we seemed to be eliminating valid
channels.  We discard zombie-marked records on loading.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2024-01-31 15:03:11 +10:30
parent af64d30407
commit e7ceffd565
9 changed files with 37 additions and 276 deletions

View File

@@ -651,9 +651,6 @@ static bool map_catchup(struct gossmap *map, bool *changed)
if (flags & GOSSIP_STORE_DELETED_BIT)
continue;
if (flags & GOSSIP_STORE_ZOMBIE_BIT)
continue;
/* Partial write, this can happen. */
if (map->map_end + reclen > map->map_size)
break;