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
@@ -29,6 +29,19 @@ test('silence-protocol: merge', async (t) => {
await a.close()
await b.close()
})
test('silence-protocol: listAbsent clear revoke', async (t) => {
const s = new HyperP2PSilenceProtocol()
s.assertAbsent('a')
s.assertAbsent('b')
t.is(s.absentCount(), 2)
t.is(s.listAbsent().length, 2)
t.ok(s.revokeAbsent('a'))
t.is(s.absentCount(), 1)
s.clear()
t.is(s.absentCount(), 0)
await s.close()
})
test('hyper-p2p-silence-protocol: close without leak', async (t) => {
const m = new HyperP2PSilenceProtocol()
await m.close()