Expand supercomputer, pear, storage, network, and workflow modules
Add manual API helpers across categories: net gateway capacity, compute shard plan cancel, ram pool lease release, pear target matrix and bundle/detached registry clears, argv flag reset, autobase writer full/slots, view sync isSynced, indexer bus batch publish, inverted index clear, blind relay and DHT hint listing, blind pair handoff cleanup, retransmission resolve all, version vector and OR-map clear, workflow graph complete-all-ready, and wire registry decode batch. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -81,6 +81,16 @@ class HyperP2PCrdtVersionVector extends EventEmitter {
|
||||
return m
|
||||
}
|
||||
|
||||
peerCount () {
|
||||
return this._clock.size
|
||||
}
|
||||
|
||||
clear () {
|
||||
const n = this._clock.size
|
||||
this._clock.clear()
|
||||
return n
|
||||
}
|
||||
|
||||
_onGossip (d) {
|
||||
if (!d || d.type !== 'crdt-version-vector-sync' || !d.peer) return
|
||||
this._stats.gossipIn++
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "hyper-p2p-crdt-version-vector",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "hyper-p2p-crdt-version-vector",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"b4a": "^1.6.7",
|
||||
|
||||
Reference in New Issue
Block a user