commit 8613ba33be77a9e6ad1c6cb685fa6fe91476022c
parent f7aac3215575f2f6089ce7ac91da36347fb83b79
Author: William Casarin <jb55@jb55.com>
Date: Sun, 12 Jan 2025 17:41:29 -0800
remove ndb_writer_queue_note (dead code)
This doesn't seem to be used at all
Diffstat:
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/nostrdb.c b/src/nostrdb.c
@@ -1930,18 +1930,6 @@ int ndb_note_verify(void *ctx, unsigned char pubkey[32], unsigned char id[32],
return 1;
}
-static int ndb_writer_queue_note(struct ndb_writer *writer,
- struct ndb_note *note, size_t note_len)
-{
- struct ndb_writer_msg msg;
- msg.type = NDB_WRITER_NOTE;
-
- msg.note.note = note;
- msg.note.note_len = note_len;
-
- return prot_queue_push(&writer->inbox, &msg);
-}
-
static void ndb_writer_last_profile_fetch(struct ndb_txn *txn,
const unsigned char *pubkey,
uint64_t fetched_at)