Commit Graph

64 Commits

Author SHA1 Message Date
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 782b435a98
better secret-stack plugin shape 2023-12-13 15:14:36 +02:00
Andre Staltz 0ae7704994
update shse 2023-11-28 10:09:09 +02:00
Andre Staltz fd559349f2
ci: use node.js 18 and 20 2023-11-28 10:08:17 +02:00
Andre Staltz 4b11ab9d9c
fix tests 2023-11-28 10:08:05 +02:00
Andre Staltz 6aeaf896de
update readme 2023-11-24 15:09:26 +02:00
Andre Staltz e7bc0e1918
update db, rename to ppppp-sync 2023-11-24 15:08:48 +02:00
Andre Staltz ecd604a46f
support goal=dict and goal=set 2023-11-03 13:34:02 +02:00
Andre Staltz 4c29073028
replace ppppp-record with ppppp-dict 2023-10-26 13:27:23 +03:00
Andre Staltz 0bc405739e
update a test 2023-10-26 12:55:27 +03:00
Andre Staltz 4218dabb60
can replicate record tangles containing ghosts 2023-10-25 19:35:27 +03:00
Andre Staltz 31ed9d0036
cosmetic refactor 2023-10-25 15:33:44 +03:00
Andre Staltz 574d43f1a6
fix algorithm wantRange plus test it 2023-10-25 14:13:15 +03:00
Andre Staltz 20be886872
remove goal "oldest" 2023-10-12 15:31:41 +03:00
Andre Staltz 4637a24960
fix calculation of wantRange for newest goal
We shouldn't use maxLocalHave+1 because we are interested in
EVERYTHING the remote peer has, as long as it is inside the "size"
defined for this goal. Bloom filters will then make sure we are
not getting what we already have in this range.
2023-10-12 13:13:52 +03:00
Andre Staltz eff0c57517
update goals API, add type checking 2023-09-29 14:48:54 +03:00
Andre Staltz 30b5e7cf8a
remove unused dep 2023-09-29 12:18:50 +03:00
Andre Staltz 8e43c0efab
replace internal goals with ppppp-goals 2023-09-08 16:42:27 +03:00
Andre Staltz c4bd7f9b49
improve test of feed sync when pruning range hole 2023-09-08 13:47:21 +03:00
Andre Staltz cfb186c0fe
refactor algorithm commit() 2023-09-08 13:46:54 +03:00
Andre Staltz fc30b3e2d2
refactor range 2023-09-08 13:46:18 +03:00
Andre Staltz 317f7c0a05
update to new ppppp-db with rec.id 2023-09-07 17:31:11 +03:00
Andre Staltz f6f16bdd47
rename identity to account 2023-08-10 10:40:11 +03:00
Andre Staltz ffb8860fb8
use cutting-edge secret-stack with bare and shse.pubkey 2023-07-14 13:35:38 +03:00
Andre Staltz 403fcefc3a
improve logic when an RPC connect is detected 2023-07-13 11:15:16 +03:00
Andre Staltz af5ac3435d
replace tape with node:test 2023-07-11 11:08:53 +03:00
Andre Staltz 07f83677d4
update to msg-v3 format 2023-07-11 11:02:22 +03:00
Andre Staltz 17b720cb60
use ppppp-db latest 2023-06-05 11:31:44 +03:00
Andre Staltz 7a84f8b51e
tests for identity tangle sync 2023-05-26 14:46:08 +03:00
Andre Staltz 1a2d73cf8d
use feed.getId() in tests 2023-05-26 14:45:42 +03:00
Andre Staltz 82fead6c2d
update tests to not directly use MsgV2 APIs 2023-05-26 14:14:11 +03:00
Andre Staltz 32c5b903b1
update to support msg-v2 2023-05-26 13:54:32 +03:00
Andre Staltz 37bdc344f3
fix some JSDoc arguments 2023-05-25 17:39:59 +03:00
Andre Staltz 8be82ba6a2
boring license headers 2023-04-28 14:09:34 +03:00
Andre Staltz b503476824
format code 2023-04-26 14:32:08 +03:00
Andre Staltz 1aac2f56a2
fix protospec.md 2023-04-26 14:26:51 +03:00
Andre Staltz 2a2b184dd1
revise phases in Stream and write down spec 2023-04-21 17:30:20 +03:00
Andre Staltz 4051ba00e2
tiny refactor 2023-04-21 15:57:22 +03:00
Andre Staltz 80168f77cc
improve package.json files and exports 2023-04-21 14:56:32 +03:00
Andre Staltz 39c6fd00a2
update CI tool 2023-04-21 14:41:14 +03:00
Andre Staltz 45118c7e01
set module type to commonjs 2023-04-21 14:40:32 +03:00
Andre Staltz c2b98014a5
fix ppppp-db dep 2023-04-21 14:33:52 +03:00
Andre Staltz 9d8e7cf4cd
MITMIT 2023-04-21 14:31:31 +03:00
Andre Staltz 5c10949194
update usage of feedv1 2023-04-21 14:30:48 +03:00
Andre Staltz aea89ed525 lets try this 2023-04-21 14:14:26 +03:00
Andre Staltz 51f3f52b95 add helper API: setFeedGoal(who,type) 2023-04-21 13:59:53 +03:00
Andre Staltz fb95886055 test that threads with reactions can sync too 2023-04-21 13:58:36 +03:00
Andre Staltz 2f4c07d505 improve tests 2023-04-21 13:07:15 +03:00
Andre Staltz af33dc691f fix thread sync when one peer has nothing 2023-04-21 11:53:34 +03:00