nostrdb/blocks: add note block iterator

This adds an api that walks along and pulls compact note block data out of
nostrdb.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-08-11 16:39:43 -07:00
committed by Daniel D’Aquino
parent 6f9bd6c4f4
commit 034f2cc02f
8 changed files with 247 additions and 152 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include <inttypes.h>
struct str_block {
struct ndb_str_block {
const char *str;
uint32_t len;
};