feat(supercomputer,experimental): deepen share, steal, beacon, whisper

Bandwidth revoke/best offer, work-stealer batch/flush, entropy snapshot,
whisper clearSeen, and phase-shift setPhase/maxPeerDelta.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:28:21 -04:00
co-authored by Cursor
parent 8ac24ac6a2
commit a4e9131f66
7 changed files with 73 additions and 4 deletions
@@ -71,6 +71,17 @@ class HyperP2PWhisperMesh extends EventEmitter {
seenCount () { return this._seen.size }
setMaxHops (n) {
this.maxHops = Math.max(0, n | 0)
return this.maxHops
}
clearSeen () {
const n = this._seen.size
this._seen.clear()
return n
}
async ready () {
if (this.swarm || !this.topic) return this
await initModuleSwarm(this, {