Jacob Karlsson
|
37022b8969
|
Export DBTangle type
|
2024-06-05 17:25:51 +02:00 |
Jacob Karlsson
|
047c88fb86
|
Return null instead of throwing on property errs (#8)
Trying to fix https://codeberg.org/pzp/pzp-sync/issues/10
This doesn't solve the problem of missing rootMsg but maybe allows sync to fail more gracefully
Reviewed-on: https://codeberg.org/pzp/pzp-db/pulls/8
Co-authored-by: Jacob Karlsson <jacob.karlsson95@gmail.com>
Co-committed-by: Jacob Karlsson <jacob.karlsson95@gmail.com>
|
2024-06-01 16:21:00 +00:00 |
Jacob Karlsson
|
1d2470865b
|
Improve cb types
|
2024-05-17 17:38:54 +02:00 |
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
|
f056429f31
|
Document the api (#31)
|
2024-04-13 14:33:36 +02:00 |
Powersource
|
15cfc7459d
|
Make all APIs async, internally wait for rescanning (#29)
|
2024-04-07 17:04:32 +02:00 |
Powersource
|
e40c7cff09
|
Prune the accountTangle in getSigkeysInAccount (#23)
|
2024-03-25 16:46:28 +01:00 |
Powersource
|
d332308104
|
Add db.account.del (#27)
|
2024-03-25 16:45:08 +01:00 |
Powersource
|
3c236581fa
|
Make getSigkeysInAccount consider "del" (#24)
|
2024-03-25 16:33:41 +01:00 |
Andre Staltz
|
ba6f727417
|
moot can be added without sigkey validation
|
2024-03-12 12:59:40 +02:00 |
Andre Staltz
|
0c86b43d22
|
improve Tangle error messages
|
2024-03-06 11:13:04 +02:00 |
Andre Staltz
|
cf1532965e
|
tiny refactor in Ghosts
|
2024-03-01 14:56:44 +02:00 |
Andre Staltz
|
6661b73fd4
|
add() can replace a dataless msg with a dataful
|
2024-02-28 15:32:36 +02:00 |
Andre Staltz
|
cbeabab904
|
Tangle can be built from randomly ordered msgs
|
2024-02-28 13:53:31 +02:00 |
Andre Staltz
|
c31580a961
|
add a few code comments
|
2024-02-27 18:03:35 +02:00 |
Andre Staltz
|
60afd4b64b
|
Re-scan log into memory after compacting
|
2024-02-27 16:52:01 +02:00 |
Andre Staltz
|
667b33779d
|
add() supports concurrency
|
2024-01-31 13:12:55 +02:00 |
Andre Staltz
|
68605ea387
|
getTangle() returns null if tangleID is unknown
|
2024-01-30 17:27:31 +02:00 |
Andre Staltz
|
4946afac12
|
fix typescript
|
2024-01-19 12:48:57 +02:00 |
Andre Staltz
|
7d5588ef4d
|
new API onRecordDeletedOrErased
|
2024-01-19 12:47:52 +02:00 |
Andre Staltz
|
f8a2006eb1
|
improve types of dependencies
|
2024-01-19 12:24:38 +02:00 |
Andre Staltz
|
9e41400cdc
|
Log: fix concurrent overwrite() and compact()
|
2024-01-18 16:40:39 +02:00 |
Andre Staltz
|
844b808e78
|
new name for the log stats file
|
2024-01-18 16:27:17 +02:00 |
Andre Staltz
|
69a0a1f60c
|
improve debug logs in the Log module
|
2024-01-18 16:25:00 +02:00 |
Andre Staltz
|
17742f9ed2
|
avoid infinite loop in Tangle.precedes()
|
2024-01-17 15:47:58 +02:00 |
Andre Staltz
|
001fcaa1ab
|
refactor isMoot()
|
2024-01-05 14:18:19 +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
|
f38a62e006
|
use the microqueue for onRecordAdded
|
2023-12-21 11:17:28 +02:00 |
Andre Staltz
|
42acbc310f
|
add() supports inferring tangleID
|
2023-12-15 15:49:54 +02:00 |
Andre Staltz
|
fa15271fdf
|
loosen tangle.slice() arguments
|
2023-12-15 14:38:02 +02:00 |
Andre Staltz
|
99c1520415
|
new API tangle.slice()
|
2023-12-15 14:34:34 +02:00 |
Andre Staltz
|
f523df3a0e
|
MsgV3.isFeedMsg() API
|
2023-12-14 15:58:49 +02:00 |
Andre Staltz
|
b76130aa74
|
new feed.getID() API
|
2023-12-11 15:29:31 +02:00 |
Andre Staltz
|
f9a3875ffd
|
rename feed.getID() to feed.findMoot()
|
2023-12-11 15:25:57 +02:00 |
Andre Staltz
|
5b81c6ea82
|
move config.path to config.db.path
|
2023-11-24 15:44:25 +02:00 |
Andre Staltz
|
dd492553be
|
log: improve error messages in compact()
|
2023-11-23 17:02:32 +02:00 |
Andre Staltz
|
29badc9fd8
|
log: dont compact on startup
|
2023-11-23 17:02:07 +02:00 |
Andre Staltz
|
1f88d67116
|
log: show compaction duration in debugging
|
2023-11-23 16:49:23 +02:00 |
Andre Staltz
|
cfebe1f46c
|
expose log methods: stats, compact
|
2023-11-23 15:49:54 +02:00 |
Andre Staltz
|
ac8e730b64
|
fix some typescript
|
2023-11-23 15:43:41 +02:00 |
Andre Staltz
|
5e63142e50
|
log: fix how stats are counted
|
2023-11-23 15:38:05 +02:00 |
Andre Staltz
|
a84dd297a5
|
log: implement compaction (sift-clone and rename)
|
2023-11-23 15:04:40 +02:00 |
Andre Staltz
|
f8db4fb224
|
fix account powers validation
|
2023-11-23 12:10:27 +02:00 |
Andre Staltz
|
3e4fe864f7
|
align impl and spec regarding account key purposes
|
2023-11-16 14:09:55 +02:00 |
Andre Staltz
|
fc47a4006b
|
account msgs have "account__" domain prefix
|
2023-11-16 12:09:00 +02:00 |
Andre Staltz
|
1ff84756bc
|
flatten tagged union in msg AccountData
|
2023-11-16 11:29:55 +02:00 |
Andre Staltz
|
9223402335
|
refactor: simplify some code in MsgV3
|
2023-11-13 20:44:20 +02:00 |
Andre Staltz
|
accc41a68c
|
refactor: remove unreachable code in MsgV3
|
2023-11-13 15:33:03 +02:00 |
Andre Staltz
|
ae122c815e
|
support erase() persistence
|
2023-11-10 15:46:17 +02:00 |