test: cover ratchet NSR expiry and add I2pDht::has_node
- 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:
1 parent
5d97ad8b28
commit
d95d4962f4
5 files changed
+202
-24
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user