Commit Graph

34 Commits

Author SHA1 Message Date
Jacob Karlsson 8e6128f238 Rename to pzp (#4)
For https://codeberg.org/pzp/pzp-sdk/issues/1

Reviewed-on: https://codeberg.org/pzp/pzp-db/pulls/4
Co-authored-by: Jacob Karlsson <jacob.karlsson95@gmail.com>
Co-committed-by: Jacob Karlsson <jacob.karlsson95@gmail.com>
2024-04-27 21:47:50 +00:00
Powersource 15cfc7459d
Make all APIs async, internally wait for rescanning (#29) 2024-04-07 17:04:32 +02:00
Andre Staltz ba6f727417
moot can be added without sigkey validation 2024-03-12 12:59:40 +02:00
Andre Staltz 6661b73fd4
add() can replace a dataless msg with a dataful 2024-02-28 15:32:36 +02:00
Andre Staltz 667b33779d
add() supports concurrency 2024-01-31 13:12:55 +02:00
Andre Staltz cc1f83c064
use config.global.keypair 2023-12-29 12:14:59 +02:00
Andre Staltz 3a2bfe25d0
msg-v4 2023-12-25 12:24:35 +02:00
Andre Staltz 42acbc310f
add() supports inferring tangleID 2023-12-15 15:49:54 +02:00
Andre Staltz 5b81c6ea82
move config.path to config.db.path 2023-11-24 15:44:25 +02:00
Andre Staltz cfebe1f46c
expose log methods: stats, compact 2023-11-23 15:49:54 +02:00
Andre Staltz 5e63142e50
log: fix how stats are counted 2023-11-23 15:38:05 +02:00
Andre Staltz 3e4fe864f7
align impl and spec regarding account key purposes 2023-11-16 14:09:55 +02:00
Andre Staltz 1ff84756bc
flatten tagged union in msg AccountData 2023-11-16 11:29:55 +02:00
Andre Staltz 153e75da8e
log: implement naive overwrite() 2023-11-10 14:39:15 +02:00
Andre Staltz b6d17e947f
log reading methods match log codec type 2023-11-07 10:48:20 +02:00
Andre Staltz 5a405be367
add API logStats(cb) 2023-09-13 14:27:53 +03:00
Andre Staltz c76584953b
some breaking change renaming
msgHash => msgID
Feed root => moot
rec.hash => rec.id
2023-08-28 15:14:20 +03:00
Andre Staltz af4325ef94
rename identity to account 2023-08-08 16:33:36 +03:00
Andre Staltz df98d499f1
identity tangle always has metadata.identity=self 2023-06-25 20:48:20 +03:00
Andre Staltz 1ee69de573
replace ssb-caps with ppppp-caps 2023-06-25 11:38:19 +03:00
Andre Staltz d97d29fca0
rename type=>domain, group=>identity 2023-06-25 11:07:22 +03:00
Andre Staltz aa5d49d512
replace tape with node:test 2023-06-14 11:56:00 +03:00
Andre Staltz fa16916e82
use ppppp-keypair instead of ssb-keys 2023-06-14 10:48:54 +03:00
Andre Staltz 8d0d3cf175
msg-v2 with group tangles 2023-05-25 15:52:11 +03:00
Andre Staltz 1680719fb8
fix tests to use correct plugin js 2023-04-21 14:54:16 +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 babfd5e39f use Tangle data structure in feed format 2023-04-14 16:54:41 +03:00
Andre Staltz 4e334e242c make feed depth/prev a regular tangle 2023-04-10 22:08:24 +03:00
Andre Staltz 94ba7246e5 remove opts.tips as a FeedV1 API 2023-04-07 15:27:30 +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