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
@@ -148,6 +148,7 @@ pub struct I2pDht {
pub fn I2pDht::alloc_tx_id(Self) -> Bytes
pub fn I2pDht::closest_nodes(Self, Bytes, limit? : Int32) -> Array[DhtNode]
pub fn I2pDht::get_peers_local(Self, Bytes, UInt64) -> Array[@common.Hash]
pub fn I2pDht::has_node(Self, @common.Hash, UInt32) -> Bool
pub fn I2pDht::make_token(Self, @common.Hash) -> Bytes
pub fn I2pDht::new(@common.Hash, Bytes, Bytes, query_port? : UInt32, reply_port? : UInt32) -> Self raise BtError
pub fn I2pDht::prune_expired_txs(Self, UInt64) -> Unit