Expand economy, autobase, network, observability, and scheduling modules.
Add auction withdraw/cancel, marketplace search helpers, update gossip history, autobase fork/lease/indexer/view APIs, link-probe and circuit-loom utilities, trace trees, pheromone ranking, and scheduling/measurement helpers with tests. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -31,6 +31,14 @@ Public API on `HyperPearUpdateGossip`. See [`index.js`](../index.js) for paramet
|
||||
|
||||
Public API on `HyperPearUpdateGossip`. See [`index.js`](../index.js) for parameters and return types.
|
||||
|
||||
### `isNewerThan(version) → boolean`
|
||||
|
||||
`true` when `latestUpdate().version` is newer than `version` (numeric or string compare).
|
||||
|
||||
### `updateHistory(limit = 10) → object[]`
|
||||
|
||||
Recent published updates (ring buffer, `maxHistory` constructor option, default 32).
|
||||
|
||||
### `getStats() → object`
|
||||
|
||||
Metrics plus `protocol: 'pear-update-gossip/v1'`.
|
||||
|
||||
Reference in New Issue
Block a user