Remove defunct PeerCache surface and legacy INI fallback reads
Summary¶
Current main no longer carries the defunct PeerCache packet/capability surface,
and Preferences.cpp no longer reads the old FileBufferSizePref and
QueueSizePref load-time fallback keys.
This landed as:
6751a50REF-018 remove defunct PeerCache surface
What Landed¶
Defunct PeerCache packet and constant removal¶
Removed the dead PeerCache packet surface from current main:
OP_PEERCACHE_QUERYOP_PEERCACHE_ANSWEROP_PEERCACHE_ACKPCPCK_VERSIONPCOP_*PCTAG_*
Touched files:
srchybrid/Opcodes.hsrchybrid/ListenSocket.cppsrchybrid/OtherFunctions.cpp
Inert PeerCache capability cleanup¶
Removed the remaining dead PeerCache capability bookkeeping from the client hello path:
- removed
m_fPeerCache - removed
SupportPeerCache() - removed the
PeerCache=%udebug hello string - removed the dead commented public-IP request block gated by
m_fPeerCache - removed the always-zero outgoing
uPeerCachecomposition term
Touched files:
srchybrid/BaseClient.cppsrchybrid/UpdownClient.h
Legacy INI fallback reads removed¶
Preferences.cpp now loads only the current keys:
FileBufferSizeQueueSize
The save-side DeleteKey(...) cleanup for the old names remains as harmless
hygiene:
FileBufferSizePrefQueueSizePref
Revalidation Notes¶
The older backlog wording bundled a Win95 runtime-detection cleanup into
REF-018. Revalidation against current main showed that scope was stale and
not a meaningful live subtask anymore, so it was not forced into this change.
Acceptance¶
- [x] No
OP_PEERCACHE_QUERY/ANSWER/ACKreferences remain in currentmain - [x] No live PeerCache capability state remains in
BaseClient.cpp/UpdownClient.h - [x]
Preferences.cppno longer readsFileBufferSizePref - [x]
Preferences.cppno longer readsQueueSizePref - [x] Supported
build-app --config Debug --platform x64passed after the change
Validation¶
build-app --config Debug --platform x64- Build artifact:
workspaces\v0.72a\state\build-logs\20260418-223305\summary.json