Expand consensus, agents, indexes, economy, pear, and observability modules
Add raft clearLog and logEntryAt, workflow nodeIds and failAllPending, runtime session endAllActive, message envelope resetStats, trie removeBatch, fulltext and marketplace clear helpers, credit accountCount, trace span bulk end, link probe clearAll, import map clearAll, grow-only set clearAll, and geo router peer listing utilities. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -60,6 +60,14 @@ class HyperP2PRaftLite extends EventEmitter {
|
||||
return removed
|
||||
}
|
||||
|
||||
clearLog () {
|
||||
return this.truncateLog(0)
|
||||
}
|
||||
|
||||
logEntryAt (index) {
|
||||
return this._log[index] || null
|
||||
}
|
||||
|
||||
currentTerm () {
|
||||
return this._currentTerm
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user