feat(modules): deepen trust, experimental, routing, and search
Hyper-P2P Module Tests / unit-all (push) Failing after 1h17m5s

Session revoke and encrypted-topic JSON helpers; silence/void channel
snapshots; relay tunnel route listing; grow-only set algebra; CPU top
donors; attestation chain slice/export; fulltext bulk and top terms.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:25:10 -04:00
co-authored by Cursor
parent ed7f0ab34f
commit cce695e34a
12 changed files with 239 additions and 1 deletions
@@ -36,3 +36,14 @@ test('getStats', async (t) => {
t.is(m.getStats().rotations, 1)
await m.close()
})
test('validateToken revokeSession', async (t) => {
const m = new HyperP2PSessionRotation()
m.rotateSession('s', 'secret')
t.ok(m.validateToken('s', 'secret'))
t.not(m.validateToken('s', 'wrong'))
t.is(m.latestVersion('s'), 1)
t.ok(m.revokeSession('s'))
t.is(m.getSession('s'), null)
await m.close()
})