go-ethereum/beacon/light
Fibonacci747 d9aaab13d3
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
beacon/light/sync: clear reqFinalityEpoch on server unregistration (#33483)
HeadSync kept reqFinalityEpoch entries for servers after receiving
EvUnregistered, while other per-server maps were cleared. This left
stale request.Server keys reachable from HeadSync, which can lead to a
slow memory leak in setups that dynamically register and unregister
servers.

The fix adds deletion of the reqFinalityEpoch entry in the
EvUnregistered handler. This aligns HeadSync with the cleanup pattern
used by other sync modules and keeps the finality request bookkeeping
strictly limited to currently registered servers.
2025-12-30 18:27:11 +01:00
..
api beacon/types, beacon/blsync: update for electra (#31243) 2025-03-11 17:17:47 +01:00
request all: fix problematic function name in comment (#32513) 2025-08-29 08:54:23 +08:00
sync beacon/light/sync: clear reqFinalityEpoch on server unregistration (#33483) 2025-12-30 18:27:11 +01:00
canonical.go beacon/light: optimize database key assembling (#33292) 2025-11-27 10:35:22 +08:00
committee_chain.go beacon/blsync: remove cli dependencies (#30720) 2024-11-08 15:21:00 +01:00
committee_chain_test.go beacon/blsync: remove cli dependencies (#30720) 2024-11-08 15:21:00 +01:00
head_tracker.go beacon/blsync: add checkpoint import/export file feature (#31469) 2025-04-03 16:04:11 +02:00
range.go beacon/light: add CommitteeChain (#27766) 2023-12-08 13:38:00 +01:00
test_helpers.go beacon/types, beacon/blsync: update for electra (#31243) 2025-03-11 17:17:47 +01:00