From 63a28d5951594455e050ea3a68ab5b63cb093964 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Tue, 6 May 2025 19:31:48 +0200 Subject: Reset the expire time of routing table on startup --- src/routing.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/routing.h') diff --git a/src/routing.h b/src/routing.h index be1ae8d..aee2c8e 100644 --- a/src/routing.h +++ b/src/routing.h @@ -43,6 +43,7 @@ bool routing_interested(struct nodeid* id); bool routing_offer(struct nodeid* id, struct entry **dest); void routing_oldest(struct entry** dest); size_t routing_closest(struct nodeid* needle, size_t n, struct entry** res); +void routing_reset_expire(time_t expire); void routing_status(int* filled, int* size, double* load_factor, size_t load_factor_len); struct entry* routing_get(struct nodeid* id); -- cgit v1.2.3