test: cover ratchet NSR expiry and add I2pDht::has_node
check / check (macos-latest) (push) Failing after 27s
check / check (ubuntu-latest) (push) Failing after 26s
check / check (windows-latest) (push) Failing after 28s

- Add Proposal 144 test for high-concurrency NSR survival, same-tag multi-NSR, and zombie ES expiry
- Add public I2pDht::has_node and assert node presence in the DHT round-trip test
- Reformat DHT announce cooldown call and query match arms in torrent_engine
This commit is contained in:
nandi committed 2026-11-28 19:48:22 -08:00
1 parent 5d97ad8b28
commit d95d4962f4
5 files changed
+202 -24

No files matched your search

+1
View File
@@ -122,6 +122,7 @@ pub struct RatchetSessionManager {
sessions : Array[RatchetPeerSession]
outbound_pending : Array[(Bytes, PendingNewSession)]
inbound_pending : Array[PendingNewSession]
// private fields
}
pub fn RatchetSessionManager::create_next_key_block(Self, Bytes, () -> Bytes) -> RatchetBlock? raise RatchetError
pub fn RatchetSessionManager::decrypt_incoming(Self, Bytes, now_sec? : UInt32) -> (Bytes?, Array[RatchetBlock]) raise RatchetError