nostrdb/flag: add ndb config flag for skipping note verification

makes some large imports a bit faster

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2023-11-30 09:44:10 -08:00
parent b74bde5cc4
commit 213a26cd01
2 changed files with 27 additions and 12 deletions

View File

@@ -8,6 +8,7 @@
#define NDB_PACKED_ID 0x2
#define NDB_FLAG_NOMIGRATE (1 << 0)
#define NDB_FLAG_SKIP_NOTE_VERIFY (1 << 1)
//#define DEBUG 1