nostrdb/Inital embedded content parser

This adds some initial code for nostrdb content parsing.

We still need to write tests for encoding and decoding, so this is
likely not working yet.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2023-12-27 12:43:20 -08:00
committed by Daniel D’Aquino
parent 9ff1f69a82
commit e0a2dcf3db
8 changed files with 253 additions and 102 deletions

View File

@@ -2,6 +2,9 @@
#ifndef NDB_INVOICE_H
#define NDB_INVOICE_H
#include <inttypes.h>
#include "cursor.h"
struct bolt11;
struct ndb_invoice {