From 16b4386f1ee167efe15d7af7265d976cff8471b4 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 23 May 2024 11:55:10 +0200 Subject: [PATCH] p2p/discover: add documentation --- p2p/discover/table_reval.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/p2p/discover/table_reval.go b/p2p/discover/table_reval.go index 333de4a10a..9a13900ebc 100644 --- a/p2p/discover/table_reval.go +++ b/p2p/discover/table_reval.go @@ -28,6 +28,8 @@ import ( const never = mclock.AbsTime(math.MaxInt64) +// tableRevalidation implements the node revalidation process. +// It tracks all nodes contained in Table, and schedules sending PING to them. type tableRevalidation struct { fast revalidationList slow revalidationList