Add session bridge pair management, core replicator policy clear, drive mount unmount-all, relay tunnel bulk close, compact codec resetStats, peer bootstrap and noise session listing, graph and disk stripe clear, memetic clear, retry policy route management, bitfield drain, task orchestrator cancelAllPending, and distributed event bus topic/unsubscribe helpers. Co-authored-by: Cursor <[email protected]>
hyper-p2p-core-bitfield-scheduler
Schedules Hypercore bitfield download ranges by priority so replication can respect bandwidth budgets when composed with hyper-p2p-bandwidth-broker. Local-only scheduling layer (no Hyperswarm join).
Category: Storage (Hypercore)
Composes with: hyper-p2p-bandwidth-broker
Protocol: core-bitfield-scheduler/v1
When to use
You need ordered, deduplicated range requests over a Hypercore bitfield.
When not to use
You replicate whole cores without range scheduling, or you need cross-peer gossip (this module is local-only).
Quick start
const { HyperP2PCoreBitfieldScheduler } = require('hyper-p2p-core-bitfield-scheduler')
const mod = new HyperP2PCoreBitfieldScheduler()
mod.attach(/* Hypercore instance */)
await mod.ready()
// ... application logic ...
await mod.close()
Docs
- docs/api.md — constructor, methods, events, errors
- docs/architecture.md — wire types, state, composition
- ../_shared/PRODUCTION.md — production checklist
- ../_shared/DOC_STANDARDS.md — documentation standards
Test
npm install && npm test