nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit 969744c45f84170c33c34cd0a3aa2fb7ed1a1add
parent d481dcd8e264dbb8697f90c9516965b09f84f298
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 29 Jul 2023 16:48:44 -0700

bench: fix file path

Diffstat:
Mbench.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bench.c b/bench.c @@ -36,7 +36,7 @@ int main(int argc, char *argv[], char **env) int times = 10000, len = 0; unsigned char buf[alloc_size]; - if (!read_file("contacts.json", buf, alloc_size, &len)) + if (!read_file("testdata/contacts.json", buf, alloc_size, &len)) return 1; if (argc >= 2)