Commit Graph

43 Commits

Author SHA1 Message Date
Andre Staltz 9ee6bd6d47
better readme 2023-04-21 14:27:35 +03:00
Andre Staltz 18b9c230d6 lets try this 2023-04-21 14:11:56 +03:00
Andre Staltz 9ddfeb43b2 improve feed-v1-create test 2023-04-18 21:37:00 +03:00
Andre Staltz d040da5409 remove dead comments 2023-04-18 20:34:46 +03:00
Andre Staltz f1e313461e new API validateTangle() 2023-04-18 18:41:28 +03:00
Andre Staltz 3ab7d98550 validate is synchronous 2023-04-18 18:40:52 +03:00
Andre Staltz 8288432785 fix a Tangle.topoSort() corner case 2023-04-18 16:55:53 +03:00
Andre Staltz 656d622271 update comments 2023-04-18 16:28:39 +03:00
Andre Staltz 837a78cbfc improve Tangle logic for unknown root msg 2023-04-18 13:54:15 +03:00
Andre Staltz 188d37fefc dont add deleted msgs to the DBTangle 2023-04-18 13:11:54 +03:00
Andre Staltz 3f7d299559 msg hash is only applied on msg.metadata 2023-04-17 21:49:17 +03:00
Andre Staltz 3686f5de24 add metadata.v, rename metadata.proof to metadata.hash 2023-04-17 18:39:33 +03:00
Andre Staltz faa7b13c92 remove metadata.when from FeedV1 2023-04-17 16:45:52 +03:00
Andre Staltz d2023b5bc0 Tangle class belongs to FeedV1 2023-04-17 16:25:43 +03:00
Andre Staltz 0917361305 validate who+type in feed tangles 2023-04-17 15:57:11 +03:00
Andre Staltz 5883e1df21 just getTangle() 2023-04-15 16:43:20 +03:00
Andre Staltz 01cb78c65a getTangleDeletablesAndErasables() 2023-04-15 16:42:27 +03:00
Andre Staltz fd7b76808b rename a Tangle method 2023-04-15 16:38:51 +03:00
Andre Staltz 0d166644c3 erase() API 2023-04-15 16:38:06 +03:00
Andre Staltz 4f8d2f1355 shuffle some things around 2023-04-15 16:31:16 +03:00
Andre Staltz 7e90efd48d plugin.js knows less about feed-v1 2023-04-15 16:29:01 +03:00
Andre Staltz babfd5e39f use Tangle data structure in feed format 2023-04-14 16:54:41 +03:00
Andre Staltz 6a19cd91a8 return Sets from some Tangle APIs 2023-04-14 16:41:25 +03:00
Andre Staltz 93d9b5425a add Tangle.has 2023-04-14 16:13:58 +03:00
Andre Staltz d76a4455df add Tangle class 2023-04-14 16:06:03 +03:00
Andre Staltz 4c2d2deae1 validation: tangle msgs can be from diff whos 2023-04-10 23:13:03 +03:00
Andre Staltz 3a77d02263 API: getFeedRoot() 2023-04-10 22:59:55 +03:00
Andre Staltz 4e334e242c make feed depth/prev a regular tangle 2023-04-10 22:08:24 +03:00
Andre Staltz 3041ffc60a create() has an easy API to create tangles 2023-04-09 11:21:25 +03:00
Andre Staltz 2696f44d1a rec.hash instead of rec.id 2023-04-09 11:05:09 +03:00
Andre Staltz 79ebb033fe simplify logAppend 2023-04-09 10:48:28 +03:00
Andre Staltz edfabd8d14 fix logic determining tips of the tangle 2023-04-08 18:46:02 +03:00
Andre Staltz 77a7d11044 rename a test case 2023-04-08 18:29:11 +03:00
Andre Staltz eec9e739c3 get() supports msg hash 2023-04-08 17:37:32 +03:00
Andre Staltz 448bd44a41 lipmaa in multi-author tangles 2023-04-07 17:57:53 +03:00
Andre Staltz e0337a2c68 test loading up the db from disk 2023-04-07 17:34:20 +03:00
Andre Staltz 544ca09e9c multi-tangle msgs 2023-04-07 17:27:49 +03:00
Andre Staltz 94ba7246e5 remove opts.tips as a FeedV1 API 2023-04-07 15:27:30 +03:00
Andre Staltz b4178b7420 tweaks 2023-04-07 15:19:26 +03:00
Andre Staltz 1f53758fe0 add lipmaa prev 2023-04-04 13:44:33 +03:00
Andre Staltz 83d941e2dc all tests pass 2023-04-02 23:53:20 +03:00
Andre Staltz ddbb3f367e tweak tests, include dagfeed 2023-04-01 11:52:11 +03:00
Andre Staltz 0cebc33d94 init from memdb 2023-04-01 11:36:06 +03:00