From cdd2a2fc8518638387b8f36c4a33ce2fb77f1412 Mon Sep 17 00:00:00 2001 From: lion Date: Thu, 4 Sep 2025 12:33:58 +0800 Subject: [PATCH] update the comments for the latest changes --- maker/golang/xdb/maker.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maker/golang/xdb/maker.go b/maker/golang/xdb/maker.go index aef78f1..b81153c 100644 --- a/maker/golang/xdb/maker.go +++ b/maker/golang/xdb/maker.go @@ -12,11 +12,14 @@ // +----------------+-------------------+---------------+--------------+ // // 1. padding space : for header info like block index ptr, version, release date eg ... or any other temporary needs. -// -- 2bytes: version number, different version means structure update, it fixed to 2 for now +// -- 2bytes: version number, different version means structure update, +// it fixed to 2 before IPv6 supporting, then updated to 3 since IPv6 supporting // -- 2bytes: index algorithm code. // -- 4bytes: generate unix timestamp (version) // -- 4bytes: index block start ptr // -- 4bytes: index block end ptr +// -- 2bytes: ip version number (4/6 since IPv6 supporting) +// -- 2bytes: runtime ptr bytes // // // 2. data block: region or whatever data info.