fiatjaf
|
0a8f93e886
|
break when idx isn't found to prevent an infinite loop.
v0.2.16
|
2023-12-09 14:53:08 -03:00 |
|
fiatjaf
|
59ac03f08d
|
update RelayInterface() to match new go-nostr API.
|
2023-12-09 14:42:35 -03:00 |
|
fiatjaf
|
37e16afaba
|
lmdb: prevent queries from getting halted and locking readers forever.
v0.2.15
|
2023-12-07 23:52:01 -03:00 |
|
fiatjaf
|
55c3cfcb48
|
go mod tidy.
v0.2.14
|
2023-12-07 18:07:10 -03:00 |
|
fiatjaf
|
ea79f525f4
|
lmdb: increase number of max readers to 1000.
|
2023-12-07 18:07:06 -03:00 |
|
fiatjaf
|
0390512f9a
|
lmdb: multi-index support and update bindings to fix unpinnned pointer issue.
|
2023-12-07 18:07:06 -03:00 |
|
fiatjaf
|
c09105f54b
|
lmdb: use a different goroutine for each read txn.
|
2023-12-07 11:44:20 -03:00 |
|
fiatjaf
|
3777e2f8f6
|
lmdb: do not use goroutines for each query.
thanks to @wojas at https://github.com/PowerDNS/lmdb-go/issues/28#issuecomment-1845056613
|
2023-12-07 11:36:25 -03:00 |
|
fiatjaf
|
01aeabe23b
|
badger: fix dangling "fmt"
v0.2.13
|
2023-12-06 07:08:46 -03:00 |
|
fiatjaf
|
9bd8c0fd4e
|
lmdb: use an waitgroup so transactions don't get closed before they actually end in the sub goroutines.
|
2023-12-06 06:50:28 -03:00 |
|
fiatjaf
|
6443b73eab
|
badger/lmdb: delete doesn't require refetching.
|
2023-12-06 06:49:49 -03:00 |
|
fiatjaf
|
f2cccb0fce
|
lmdb: use 8-byte keys instead of 32, use indexAddr, migrations.
|
2023-12-06 06:48:16 -03:00 |
|
fiatjaf
|
e3ddc80a08
|
lmdb: switch to powerdns fork of lmdb-go.
|
2023-12-06 06:45:51 -03:00 |
|
fiatjaf
|
b4ee108b6b
|
badger: use special index for 'a'-like tags.
|
2023-12-02 18:55:37 -03:00 |
|
fiatjaf
|
fe0b7c799c
|
badger: remove a dangling print()
|
2023-11-29 12:27:40 -03:00 |
|
fiatjaf
|
b95cfc42cc
|
lmdb/badger: change (fix?) and simplify queries (offsets and created_at stuff should be simpler and q-dependent).
|
2023-11-28 16:05:27 -03:00 |
|
fiatjaf
|
348bed02e9
|
top-level cli command that handles the output of nak.
|
2023-11-28 15:58:08 -03:00 |
|
fiatjaf
|
1b7e7e7aff
|
move cli to proper directory with correct name.
|
2023-11-28 15:35:46 -03:00 |
|
fiatjaf
|
b7f018e985
|
a readme.
|
2023-11-28 15:34:18 -03:00 |
|
fiatjaf
|
4ccace1ea9
|
add cli tool.
|
2023-11-28 15:34:12 -03:00 |
|
fiatjaf
|
0214061431
|
lmdb/badger: prevent crashing when we get a filter like {"#e":[]}
|
2023-11-27 11:53:28 -03:00 |
|
fiatjaf
|
b89a24cba0
|
badger: improve a comment.
v0.2.11
|
2023-11-25 15:22:53 -03:00 |
|
fiatjaf
|
93a595e710
|
lmdb: fix argument ordering that was breaking the entire query system.
|
2023-11-25 15:22:08 -03:00 |
|
fiatjaf
|
d15d78bf10
|
lmdb: raw read.
v0.2.10
|
2023-11-24 17:24:17 -03:00 |
|
fiatjaf
|
a0fa1278d5
|
lmdb: automated migrations.
|
2023-11-24 17:23:59 -03:00 |
|
fiatjaf
|
332e34f77a
|
lmdb: store 32-byte tags in a separate index than the other tags.
|
2023-11-24 17:23:37 -03:00 |
|
fiatjaf
|
2621ff5f91
|
badger: make sure we don't match tag index keys that are bigger than the queried tag.
v0.2.9
|
2023-11-13 16:33:43 -03:00 |
|
fiatjaf
|
a29b9f298c
|
badger: improve messages and comments on query.
|
2023-11-11 15:01:43 -03:00 |
|
fiatjaf
|
77f8ab5656
|
lmdb: fix error checking reversed signal.
|
2023-11-10 21:54:43 -03:00 |
|
fiatjaf
|
a161b58175
|
lmdb: fix mkdir -p
|
2023-11-10 21:54:30 -03:00 |
|
fiatjaf
|
63c621f806
|
lmdb: create directory if it doesn't exist.
v0.2.8
|
2023-11-10 18:09:49 -03:00 |
|
fiatjaf
|
0041a3621e
|
cleanup.
|
2023-11-09 13:31:24 -03:00 |
|
fiatjaf
|
cc8695a3cc
|
badger: get rid of panics.
|
2023-11-09 13:31:24 -03:00 |
|
mattn
|
02ba8f3cfe
|
Merge pull request #6 from mattn/kindtimeidx2
add kindtimeidx for postgresql
|
2023-11-09 21:38:50 +09:00 |
|
Yasuhiro Matsumoto
|
445f033abe
|
add kindtimeidx to mysql
|
2023-11-09 02:12:43 +09:00 |
|
Yasuhiro Matsumoto
|
cc4bd2ebcd
|
add kindtimeidx for postgresql
|
2023-11-09 02:08:47 +09:00 |
|
mattn
|
36aa81840d
|
Merge pull request #5 from mattn/kindtimeidx
add kindtimeidx
v0.2.7
|
2023-11-09 01:21:15 +09:00 |
|
Yasuhiro Matsumoto
|
fed1abfe0a
|
add kindtimeidx
|
2023-11-09 01:18:53 +09:00 |
|
mattn
|
5e45b03914
|
Merge pull request #4 from mattn/lazy-make
create channel lazy
|
2023-11-08 23:28:00 +09:00 |
|
Yasuhiro Matsumoto
|
0f47de5c3c
|
create channel lazy
|
2023-11-08 23:15:50 +09:00 |
|
fiatjaf
|
b502aa1a7e
|
fix RelayInterface.Publish() to not try to delete things all the time.
v0.2.5
|
2023-11-07 14:16:21 -03:00 |
|
fiatjaf
|
58e53aa004
|
fix badger GC error log.
|
2023-11-07 14:15:56 -03:00 |
|
mattn
|
e57c982913
|
Merge pull request #3 from mattn/fix-sqlite3
fix sqlite3
v0.2.4
|
2023-11-07 22:19:59 +09:00 |
|
Yasuhiro Matsumoto
|
ac0d9a7e3f
|
fix sqlite3. added parameters as same as postgresql
|
2023-11-07 22:18:31 +09:00 |
|
fiatjaf
|
a05360a099
|
add public domain license.
|
2023-11-07 09:15:39 -03:00 |
|
Yasuhiro Matsumoto
|
3539b22598
|
update deps
v0.2.3
|
2023-11-07 07:55:00 +09:00 |
|
fiatjaf
|
ffd9a81810
|
badger: do not panic on gc error.
|
2023-11-06 16:45:23 -03:00 |
|
mattn
|
09c8bd6151
|
Merge pull request #1 from mattn/update-deps
update deps
v0.2.2
|
2023-11-07 02:25:47 +09:00 |
|
Yasuhiro Matsumoto
|
07e8472811
|
update deps
|
2023-11-07 02:09:14 +09:00 |
|
fiatjaf
|
9a0b75313b
|
badger: fix logic for checking if an event id exists.
v0.2.1
|
2023-11-06 13:42:50 -03:00 |
|