nostrdb

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

commit 56202c3f3931b1940b8557f289f0dfbef7ce350b
parent e2dd7862ee67abdb437689953794124ec61f3aac
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  9 Aug 2023 20:58:38 -0700

ndb: define dbi's

Diffstat:
Mnostrdb.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/nostrdb.c b/nostrdb.c @@ -23,6 +23,11 @@ static const int THREAD_QUEUE_BATCH = 1024; // the maximum size of inbox queues static const int DEFAULT_QUEUE_SIZE = 50000; +enum ndb_dbs { + NDB_DBI_ID, +}; +#define NDB_DBIS 1 + struct ndb_json_parser { const char *json; int json_len;