From 206efba58a7ea97d6c8f01bfc204d71e8d69c267 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 5 Jan 2024 20:40:39 -0800 Subject: [PATCH] nostrdb/cleanup: remove old dbscan stuff Signed-off-by: William Casarin --- nostrdb/src/nostrdb.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index b74812d7..d58a588d 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/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];