This commit is contained in:
Raven Scott
2026-05-20 21:19:52 -04:00
parent 14d0980b4f
commit 31e9728ef8
759 changed files with 54218 additions and 392 deletions
@@ -0,0 +1,23 @@
# hyper-p2p-raft-lite API
**Status:** scaffold · **Protocol:** `raft-lite/v1`
## Class `HyperP2PRaftLite`
Scaffold stub — methods throw `not implemented: scaffold` until promoted to production tier.
### `constructor(opts?)`
### `getStats()`
Returns `{ created, errors, protocol, tier: 'scaffold' }`.
### `ready()`
Resolves immediately (no-op).
## Wire (planned)
| Message | Direction | Notes |
|---------|-----------|-------|
| TBD | gossip | Defined in implementation pass |
@@ -0,0 +1,15 @@
# hyper-p2p-raft-lite architecture
**Tier:** scaffold · **Category:** `consensus-coordination`
## Role
Raft-lite leader election.
## Composition
Uses `../../_shared/p2p-bare.js` for Hyperswarm + Protomux when implemented. Does **not** duplicate Holepunch core storage/transport.
## Holepunch boundary
Inspiration: n/a