Commit Graph

29 Commits

Author SHA1 Message Date
Jacob Karlsson 8f2bd08a60 Don't throw on missing local want range 2024-06-09 17:42:24 +02:00
Jacob Karlsson 5797116a87 Handle missing remoteWants without throwing 2024-05-29 17:17:47 +02:00
Jacob Karlsson 87b6b25685 Fix failing realtime test 2024-05-29 14:56:20 +02:00
Jacob Karlsson 636cd9adcc Add failing test where we don't create a message before realtime sync 2024-05-29 14:48:40 +02:00
Jacob Karlsson 6a8ed87f6f Remove todo comment in favor of #3 2024-05-04 18:54:32 +02:00
Jacob Karlsson 7e56b024c9 Use async db fns and rename to pzp 2024-05-04 15:54:04 +02:00
Powersource 5fef427ebb
Validate all incoming payloads in Stream (#6) 2024-03-13 13:04:45 +01:00
Andre Staltz 47eb2dd27f
realtime sync works in both connection directions 2024-02-29 11:30:39 +02:00
Andre Staltz 54aa67a08f
realtime sync 2024-02-22 16:37:28 +02:00
Andre Staltz e9971410eb
Improve error messages in Stream 2024-02-13 15:36:57 +02:00
Andre Staltz 2a4f39a832
minor refactor 2024-01-23 18:24:38 +02:00
Andre Staltz d7a5c2694f
update to msg-v4 2023-12-25 12:31:55 +02:00
Andre Staltz dd8499cf91
handle "none" goals 2023-12-19 16:29:42 +02:00
Andre Staltz f4ab599bd1
support start() before peers connect 2023-12-16 16:55:45 +02:00
Andre Staltz 6a9f46b337
account msgs piggyback on tangle msg sync 2023-12-16 16:18:23 +02:00
Andre Staltz 33ef08c62b
update protospec 2023-12-14 14:00:39 +02:00
Andre Staltz 6ba8d55dde
fix stream phase 9 again 2023-12-13 16:15:29 +02:00
Andre Staltz d1ccc3426e
fix stream phase 9 when no msgs received 2023-12-13 16:08:42 +02:00
Andre Staltz 20be886872
remove goal "oldest" 2023-10-12 15:31:41 +03:00
Andre Staltz eff0c57517
update goals API, add type checking 2023-09-29 14:48:54 +03:00
Andre Staltz 8e43c0efab
replace internal goals with ppppp-goals 2023-09-08 16:42:27 +03:00
Andre Staltz 2a2b184dd1
revise phases in Stream and write down spec 2023-04-21 17:30:20 +03:00
Andre Staltz a9fd222f0d always send tangle certpool to remote peer 2023-04-18 18:49:32 +03:00
Andre Staltz 1a76e665de pruneNewest 2023-04-17 16:49:58 +03:00
Andre Staltz b0d20287ce remove unnecessary wantRange() argument 2023-04-14 11:44:20 +03:00
Andre Staltz 7df89f3439 set goals: all, newest, oldest 2023-04-12 23:17:02 +03:00
Andre Staltz f3a8d805e9 Stream: put all phases in switch-case 2023-04-12 22:34:32 +03:00
Andre Staltz 08d9fd1eda make new algorithm.js 2023-04-10 22:53:36 +03:00
Andre Staltz a473c8fec1 init from dagsync 2023-04-09 11:24:49 +03:00