upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-09 20:51:49 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-09 20:51:49 +0000
commit9bd58faad6be254f0221820fa5e8516b8b15e19d (patch)
treeb78870832e25f544f796bc80013eb3fea4016646 /docs
parentb28a356cb41077ccee12a9c52f4ef2054e76cac6 (diff)
refactor(sync): add EventType enum and unify rejected index methods
Add EventType enum (Announcement, State) to distinguish event types within RejectedEventsIndex. This consolidates the two-tier index design into a single unified interface. Changes: - Add EventType enum with Announcement and State variants - Add event_type field to HotCacheEntry and ColdIndexEntry - Create unified invalidate_and_get() with optional event_type filter - Update cleanup_expired_for_type() to handle both types - Remove deprecated wrapper methods (invalidate_and_get_events, invalidate_and_get_state_events, cleanup_expired, cleanup_states_expired) Consolidates phases 2, 3, and 7 of rejected events index refactoring.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions