Files
bare-operating-system/packages/bare-os-booter/lib
Raven Scott b133e8afc5 Late peers — Pending block reads were only sent to peers that existed when read() ran; your plan’s rebroadcast on join fixes that.
Protomux timing — Even with a connected socket, messages[0].send() must run after the channel is fully open. A bare send() right after chan.open() often does nothing useful until pairing finishes. Waiting on peer.chan.fullyOpened() (from Protomux) before each send fixed the standalone TCP check and matches real Hyperswarm behavior.
Code changes (packages/bare-os-booter/lib/swarm-disk.js)
read(index) — For each peer, schedule the read request with
peer.chan.fullyOpened().then(() => … send(index)) instead of sending immediately.
addPeer — After this.peers.add(peer), for every pending index in pendingReads, schedule the same fullyOpened() → send path so joiners get block requests once their channel is ready.
2026-04-27 19:02:24 -04:00
..
2026-04-23 20:49:38 -04:00
2026-04-05 16:34:58 -04:00
2026-04-22 03:44:42 -04:00
2026-04-26 07:05:24 -04:00
2026-04-03 20:46:09 -04:00
2026-04-03 23:44:13 -04:00
2026-04-03 23:42:47 -04:00
2026-04-03 23:44:13 -04:00
2026-04-04 18:46:00 -04:00
2026-04-21 20:05:57 -04:00
2026-04-22 06:38:52 -04:00
2026-04-04 01:20:57 -04:00
2026-04-04 01:20:57 -04:00
2026-04-04 18:41:34 -04:00
2026-04-03 20:46:09 -04:00
2026-04-04 01:20:57 -04:00
2026-04-04 18:46:00 -04:00
2026-04-04 16:39:15 -04:00
2026-04-04 18:41:34 -04:00
2026-04-24 09:05:52 -04:00
2026-04-21 22:45:50 -04:00
2026-04-03 21:39:36 -04:00
2026-04-24 08:54:16 -04:00
2026-04-04 18:20:56 -04:00
2026-04-25 02:59:32 -04:00
2026-04-03 20:46:09 -04:00
2026-04-05 22:45:21 -04:00
2026-04-05 22:45:21 -04:00
2026-04-22 20:06:18 -04:00
2026-04-04 19:08:51 -04:00
2026-04-26 06:19:47 -04:00
2026-04-05 04:33:14 -04:00
2026-04-03 20:46:09 -04:00
2026-04-27 08:54:50 -04:00
2026-04-27 08:54:50 -04:00
2026-04-21 23:19:38 -04:00
2026-04-27 08:31:31 -04:00