nostrdb

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

commit cc7244454d2478545682e277ea38c02da55ee16c
parent b9a7ab3ea34be2dd1f0a841aee00d656a2c8cf5f
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  5 Jan 2024 20:40:39 -0800

cleanup: remove old dbscan stuff

Diffstat:
Msrc/nostrdb.c | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/nostrdb.c b/src/nostrdb.c @@ -212,18 +212,6 @@ enum ndb_scan_cursor_type { NDB_SCAN_ID, }; -// same idea as DBScan::ScanCursor in strfry -struct ndb_scan_cursor { - enum ndb_scan_cursor_type type; - int outstanding; -}; - -// same idea as DBScan in strfry -struct ndb_dbscan { - struct ndb_scan_cursor cursors[MAX_SCAN_CURSORS]; - int num_cursors; -}; - // A clustered key with an id and a timestamp struct ndb_tsid { unsigned char id[32];