Expand pear, encoding, consensus, supercomputer, and CRDT modules

Add manual API helpers across categories: pear link resolver cache,
applink reload, storage layout defaults, compact codec decodeBatch,
schema allValid/getSchema, session bridge removePair, udx sendRecvRatio,
cluster affinity and cpu-share clearAll, raft truncateLog/currentTerm,
quorum vote tally, silence and whisper seen helpers, qos unsubscribeAll,
LWW register clearAll, peer selector topRegions, graph hasPath, fork choice
clearViews, and trust gate untrustAll.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 02:43:36 -04:00
co-authored by Cursor
parent 32f4292036
commit 422b41f7e4
20 changed files with 171 additions and 0 deletions
@@ -88,6 +88,12 @@ class HyperP2PQosTopic extends EventEmitter {
return n
}
unsubscribeAll () {
const n = this._handlers.size
this._handlers.clear()
return n
}
_onGossip (data) {
if (!data || data.type !== 'qos-publish') return
this._stats.gossipIn++