clearAcceptedPayloads

fun clearAcceptedPayloads(currentDSC: Int, currentSSC: Int)

Clears accepted payloads from the map based on their type:

  • ACKs are cleared when DSC <= currentDSC

  • Writes are cleared when PSC <= currentSSC This matches the logic in PersistenceManager.removeStaleServerStateUpdatesForDevice