Commit Graph

38 Commits

Author SHA1 Message Date
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
fiatjaf
02e05e2935 prevent saving duplicates in badger and lmdb. 2023-11-06 12:19:02 -03:00
fiatjaf
da19fdcc10 nullstore doesn't have to have a pointer receiver. 2023-11-05 19:53:50 -03:00
fiatjaf
23d76dcea2 add nullstore that does absolutely nothing. v0.2.0 2023-11-05 10:40:34 -03:00
fiatjaf
027ad0738d fix mysql nostr.KindProfileMetadata constant. 2023-11-05 10:40:20 -03:00
fiatjaf
03517317f8 add .Close() method to interface and all implementations. 2023-11-05 10:39:41 -03:00
fiatjaf
8c0fd4c760 wrap a line on relay_interface.go v0.1.0 2023-11-02 16:07:40 -03:00
fiatjaf
0c70a7a812 update go-nostr so we get the binary encoding. 2023-11-02 16:07:19 -03:00
fiatjaf
805d134bbb badger: fail completely when a filter has any malformed key or id. 2023-11-02 16:04:08 -03:00
fiatjaf
ddb950d8b5 make lmdb and badger backends use a binary encoding instead of nson. 2023-11-02 15:37:09 -03:00
fiatjaf
16258ae338 fix deleting replaceable when none exists. 2023-11-02 11:50:58 -03:00
fiatjaf
b84f6db9b2 fix Publish() interface and assert. 2023-10-31 20:30:11 -03:00
fiatjaf
01d3ab9b49 relay interface over stores. 2023-10-31 18:50:07 -03:00
fiatjaf
fbf2b9e2a3 get rid of annoying .0 on go version. 2023-10-31 17:46:28 -03:00
fiatjaf
7b4b759d29 rename Storage interface to Store. v0.0.1 2023-10-31 16:13:23 -03:00
fiatjaf
28fc5b0571 bring in mysql backend from relayer. 2023-10-31 16:06:44 -03:00
fiatjaf
a82b9b4bde assert badgern and lmdbn interfaces. 2023-10-31 16:02:59 -03:00
fiatjaf
faad1b39cd fix issues. 2023-10-31 16:01:30 -03:00
fiatjaf
e95c3cb033 bring in updates from relayer. 2023-10-31 15:49:01 -03:00
fiatjaf
473d817cc6 import from khatru. 2023-10-31 15:40:42 -03:00