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:
committed by
Daniel D’Aquino
parent
6f9bd6c4f4
commit
034f2cc02f
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
struct str_block {
|
||||
struct ndb_str_block {
|
||||
const char *str;
|
||||
uint32_t len;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user