Commit Graph

83 Commits

Author SHA1 Message Date
Jacob Karlsson 358b673c5a Add codeberg ci 2024-05-05 16:48:00 +02:00
Powersource 5fef427ebb
Validate all incoming payloads in Stream (#6) 2024-03-13 13:04:45 +01:00
Andre Staltz 93f00dbd04
Test that dataless msgs can be replaced by dataful 2024-03-05 17:07:33 +02: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 1d3169724d
package.json ppppp deps specify commit tag 2024-01-31 13:49:18 +02:00
Andre Staltz 0bc100557e
treat cases where getTangle() is null 2024-01-30 17:50:09 +02:00
Andre Staltz 2a4f39a832
minor refactor 2024-01-23 18:24:38 +02:00
Andre Staltz cdbc2de15e
add tests for empty dict and set 2024-01-16 16:17:15 +02:00
Andre Staltz 6e54ca2724
close connect() stream on rpc closed 2024-01-14 13:09:44 +02:00
Andre Staltz ae3d1d83d8
update secret-stack to 8.1 2024-01-08 11:33:45 +02:00
Andre Staltz 26dcefc459
update plugin assertion errors 2024-01-02 13:13:27 +02:00
Andre Staltz 0cd2a56fc8
update secret-stack to 8.0 2023-12-29 13:00:45 +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 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