nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

ModeNameSize
-rw-r--r--.envrc7L
-rw-r--r--.github/workflows/c-cpp.yml39L
-rw-r--r--.gitignore39L
-rw-r--r--.gitmodules3L
-rw-r--r--.rgignore1L
-rw-r--r--CMakeLists.txt46L
-rw-r--r--LICENSE22L
-rw-r--r--Makefile209L
-rw-r--r--README.md68L
-rw-r--r--TODO5L
-rw-r--r--bench-ingest-many.c75L
-rw-r--r--ccan/README5L
l---------ccan/ccan/alignof/LICENSE1L
-rw-r--r--ccan/ccan/alignof/_info51L
-rw-r--r--ccan/ccan/alignof/alignof.h20L
l---------ccan/ccan/array_size/LICENSE1L
-rw-r--r--ccan/ccan/array_size/_info46L
-rw-r--r--ccan/ccan/array_size/array_size.h26L
l---------ccan/ccan/build_assert/LICENSE1L
-rw-r--r--ccan/ccan/build_assert/_info49L
-rw-r--r--ccan/ccan/build_assert/build_assert.h40L
l---------ccan/ccan/check_type/LICENSE1L
-rw-r--r--ccan/ccan/check_type/_info33L
-rw-r--r--ccan/ccan/check_type/check_type.h64L
l---------ccan/ccan/compiler/LICENSE1L
-rw-r--r--ccan/ccan/compiler/_info64L
-rw-r--r--ccan/ccan/compiler/compiler.h317L
l---------ccan/ccan/container_of/LICENSE1L
-rw-r--r--ccan/ccan/container_of/_info65L
-rw-r--r--ccan/ccan/container_of/container_of.h145L
l---------ccan/ccan/cppmagic/LICENSE1L
-rw-r--r--ccan/ccan/cppmagic/_info30L
-rw-r--r--ccan/ccan/cppmagic/cppmagic.h191L
l---------ccan/ccan/crypto/sha256/LICENSE1L
-rw-r--r--ccan/ccan/crypto/sha256/_info61L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/Makefile20L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/double-sha-bench.c122L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/open_software_license.txt32L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/sha256_avx1.asm586L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/sha256_avx2_rorx2.asm826L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/sha256_avx2_rorx8.asm1507L
-rw-r--r--ccan/ccan/crypto/sha256/benchmarks/sha256_sse4.asm544L
-rw-r--r--ccan/ccan/crypto/sha256/sha256.c308L
-rw-r--r--ccan/ccan/crypto/sha256/sha256.h147L
l---------ccan/ccan/endian/LICENSE1L
-rw-r--r--ccan/ccan/endian/_info55L
-rw-r--r--ccan/ccan/endian/endian.h363L
l---------ccan/ccan/htable/LICENSE1L
-rw-r--r--ccan/ccan/htable/_info118L
-rw-r--r--ccan/ccan/htable/htable.c491L
-rw-r--r--ccan/ccan/htable/htable.h290L
-rw-r--r--ccan/ccan/htable/htable_type.h188L
-rw-r--r--ccan/ccan/htable/tools/Makefile41L
-rw-r--r--ccan/ccan/htable/tools/density.c107L
-rw-r--r--ccan/ccan/htable/tools/hsearchspeed.c95L
-rw-r--r--ccan/ccan/htable/tools/speed.c370L
-rw-r--r--ccan/ccan/htable/tools/stringspeed.c240L
l---------ccan/ccan/likely/LICENSE1L
-rw-r--r--ccan/ccan/likely/_info57L
-rw-r--r--ccan/ccan/likely/likely.c136L
-rw-r--r--ccan/ccan/likely/likely.h111L
l---------ccan/ccan/list/LICENSE1L
-rw-r--r--ccan/ccan/list/_info72L
-rw-r--r--ccan/ccan/list/list.c43L
-rw-r--r--ccan/ccan/list/list.h842L
l---------ccan/ccan/mem/LICENSE1L
-rw-r--r--ccan/ccan/mem/_info30L
-rw-r--r--ccan/ccan/mem/mem.c128L
-rw-r--r--ccan/ccan/mem/mem.h295L
l---------ccan/ccan/short_types/LICENSE1L
-rw-r--r--ccan/ccan/short_types/_info87L
-rw-r--r--ccan/ccan/short_types/short_types.h35L
l---------ccan/ccan/str/LICENSE1L
-rw-r--r--ccan/ccan/str/_info52L
-rw-r--r--ccan/ccan/str/debug.c108L
-rw-r--r--ccan/ccan/str/str.c13L
-rw-r--r--ccan/ccan/str/str.h228L
-rw-r--r--ccan/ccan/str/str_debug.h30L
l---------ccan/ccan/structeq/LICENSE1L
-rw-r--r--ccan/ccan/structeq/_info57L
-rw-r--r--ccan/ccan/structeq/structeq.h46L
l---------ccan/ccan/take/LICENSE1L
-rw-r--r--ccan/ccan/take/_info61L
-rw-r--r--ccan/ccan/take/take.c126L
-rw-r--r--ccan/ccan/take/take.h136L
l---------ccan/ccan/tal/LICENSE1L
-rw-r--r--ccan/ccan/tal/_info108L
-rw-r--r--ccan/ccan/tal/benchmark/Makefile26L
-rw-r--r--ccan/ccan/tal/benchmark/samba-allocs.c374L
-rw-r--r--ccan/ccan/tal/benchmark/speed.c125L
-rw-r--r--ccan/ccan/tal/benchmark/talloc.dump26137L
l---------ccan/ccan/tal/str/LICENSE1L
-rw-r--r--ccan/ccan/tal/str/_info61L
-rw-r--r--ccan/ccan/tal/str/str.c286L
-rw-r--r--ccan/ccan/tal/str/str.h232L
-rw-r--r--ccan/ccan/tal/tal.c1031L
-rw-r--r--ccan/ccan/tal/tal.h563L
l---------ccan/ccan/typesafe_cb/LICENSE1L
-rw-r--r--ccan/ccan/typesafe_cb/_info151L
-rw-r--r--ccan/ccan/typesafe_cb/typesafe_cb.h134L
l---------ccan/ccan/utf8/LICENSE1L
-rw-r--r--ccan/ccan/utf8/_info48L
-rw-r--r--ccan/ccan/utf8/utf8.c178L
-rw-r--r--ccan/ccan/utf8/utf8.h54L
-rw-r--r--ccan/licenses/BSD-MIT17L
-rw-r--r--ccan/licenses/CC028L
-rw-r--r--ccan/licenses/LGPL-2.1510L
-rw-r--r--ccan/licenses/LGPL-3165L
-rw-r--r--deps/flatcc/.github/workflows/ci.yml60L
-rw-r--r--deps/flatcc/.github/workflows/weekly.yml193L
-rw-r--r--deps/flatcc/.gitignore8L
-rw-r--r--deps/flatcc/.travis.yml29L
-rw-r--r--deps/flatcc/CHANGELOG.md570L
-rw-r--r--deps/flatcc/CMakeLists.txt373L
-rw-r--r--deps/flatcc/CONTRIBUTING.md17L
-rw-r--r--deps/flatcc/LICENSE202L
-rw-r--r--deps/flatcc/NOTICE22L
-rw-r--r--deps/flatcc/README.md2635L
-rw-r--r--deps/flatcc/appveyor.yml38L
-rw-r--r--deps/flatcc/doc/Grammar-2015-07-23.md42L
-rw-r--r--deps/flatcc/doc/Grammar.README.md2L
-rw-r--r--deps/flatcc/doc/benchmarks.md147L
-rw-r--r--deps/flatcc/doc/binary-format.md1378L
-rw-r--r--deps/flatcc/doc/builder.md1845L
-rw-r--r--deps/flatcc/doc/eclectic.fbs12L
-rw-r--r--deps/flatcc/doc/flatcc-help.md106L
-rw-r--r--deps/flatcc/doc/json_parser_design.md138L
-rw-r--r--deps/flatcc/doc/security.md272L
-rw-r--r--deps/flatcc/external/grisu3/.gitignore1L
-rw-r--r--deps/flatcc/external/grisu3/LICENSE14L
-rw-r--r--deps/flatcc/external/grisu3/README.md9L
-rw-r--r--deps/flatcc/external/grisu3/grisu3_math.h329L
-rw-r--r--deps/flatcc/external/grisu3/grisu3_parse.h582L
-rw-r--r--deps/flatcc/external/grisu3/grisu3_print.h265L
-rw-r--r--deps/flatcc/external/grisu3/grisu3_test.c141L
-rw-r--r--deps/flatcc/external/grisu3/grisu3_test_dblcnv.c482L
-rwxr-xr-xdeps/flatcc/external/grisu3/test.sh18L
-rwxr-xr-xdeps/flatcc/external/grisu3/test_dblcnv.sh15L
-rw-r--r--deps/flatcc/external/hash/.gitignore1L
-rw-r--r--deps/flatcc/external/hash/CMakeLists.txt38L
-rw-r--r--deps/flatcc/external/hash/LICENSE28L
-rw-r--r--deps/flatcc/external/hash/PMurHash.c334L
-rw-r--r--deps/flatcc/external/hash/PMurHash.h64L
-rw-r--r--deps/flatcc/external/hash/README.md158L
-rw-r--r--deps/flatcc/external/hash/cmetrohash.h78L
-rw-r--r--deps/flatcc/external/hash/cmetrohash64.c185L
-rw-r--r--deps/flatcc/external/hash/hash.h115L
-rw-r--r--deps/flatcc/external/hash/hash_table.h266L
-rw-r--r--deps/flatcc/external/hash/hash_table_def.h154L
-rw-r--r--deps/flatcc/external/hash/hash_table_impl.h233L
-rw-r--r--deps/flatcc/external/hash/hash_table_impl_rh.h360L
-rw-r--r--deps/flatcc/external/hash/hash_test.c419L
-rw-r--r--deps/flatcc/external/hash/ht32.c47L
-rw-r--r--deps/flatcc/external/hash/ht32.h36L
-rw-r--r--deps/flatcc/external/hash/ht32rh.c47L
-rw-r--r--deps/flatcc/external/hash/ht32rh.h36L
-rw-r--r--deps/flatcc/external/hash/ht64.c47L
-rw-r--r--deps/flatcc/external/hash/ht64.h36L
-rw-r--r--deps/flatcc/external/hash/ht64rh.c47L
-rw-r--r--deps/flatcc/external/hash/ht64rh.h36L
-rw-r--r--deps/flatcc/external/hash/ht_hash_function.h258L
-rw-r--r--deps/flatcc/external/hash/ht_portable.h9L
-rw-r--r--deps/flatcc/external/hash/ht_trace.h59L
-rwxr-xr-xdeps/flatcc/external/hash/initbuild.sh5L
-rwxr-xr-xdeps/flatcc/external/hash/initbuild_debug.sh5L
-rw-r--r--deps/flatcc/external/hash/int_set.h50L
-rw-r--r--deps/flatcc/external/hash/load_test.c86L
-rw-r--r--deps/flatcc/external/hash/pstdint.h898L
-rw-r--r--deps/flatcc/external/hash/ptr_set.c60L
-rw-r--r--deps/flatcc/external/hash/ptr_set.h19L
-rw-r--r--deps/flatcc/external/hash/str_set.c61L
-rw-r--r--deps/flatcc/external/hash/str_set.h32L
-rw-r--r--deps/flatcc/external/hash/token_map.c54L
-rw-r--r--deps/flatcc/external/hash/token_map.h39L
-rw-r--r--deps/flatcc/external/hash/unaligned.h42L
-rw-r--r--deps/flatcc/external/lex/LICENSE21L
-rw-r--r--deps/flatcc/external/lex/README.md3L
-rw-r--r--deps/flatcc/external/lex/luthor.c1509L
-rw-r--r--deps/flatcc/external/lex/luthor.h472L
-rw-r--r--deps/flatcc/external/lex/tokens.h554L
-rw-r--r--deps/flatcc/include/flatcc/flatcc.h268L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_accessors.h101L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_alloc.h127L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_assert.h45L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_builder.h1911L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_emitter.h215L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_endian.h125L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_epilogue.h8L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_flatbuffers.h55L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_identifier.h148L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_iov.h31L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_json_parser.h909L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_json_printer.h788L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_portable.h14L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_prologue.h8L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_refmap.h144L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_rtconfig.h162L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_types.h97L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_unaligned.h16L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_verifier.h239L
-rw-r--r--deps/flatcc/include/flatcc/flatcc_version.h14L
-rw-r--r--deps/flatcc/include/flatcc/portable/LICENSE14L
-rw-r--r--deps/flatcc/include/flatcc/portable/README.md57L
-rw-r--r--deps/flatcc/include/flatcc/portable/grisu3_math.h329L
-rw-r--r--deps/flatcc/include/flatcc/portable/grisu3_parse.h582L
-rw-r--r--deps/flatcc/include/flatcc/portable/grisu3_print.h265L
-rw-r--r--deps/flatcc/include/flatcc/portable/include/README4L
-rw-r--r--deps/flatcc/include/flatcc/portable/include/linux/endian.h1L
-rw-r--r--deps/flatcc/include/flatcc/portable/include/std/inttypes.h1L
-rw-r--r--deps/flatcc/include/flatcc/portable/include/std/stdalign.h1L
-rw-r--r--deps/flatcc/include/flatcc/portable/include/std/stdbool.h1L
-rw-r--r--deps/flatcc/include/flatcc/portable/include/std/stdint.h1L
-rw-r--r--deps/flatcc/include/flatcc/portable/paligned_alloc.h212L
-rw-r--r--deps/flatcc/include/flatcc/portable/pattributes.h84L
-rw-r--r--deps/flatcc/include/flatcc/portable/pbase64.h448L
-rw-r--r--deps/flatcc/include/flatcc/portable/pcrt.h48L
-rw-r--r--deps/flatcc/include/flatcc/portable/pdiagnostic.h85L
-rw-r--r--deps/flatcc/include/flatcc/portable/pdiagnostic_pop.h20L
-rw-r--r--deps/flatcc/include/flatcc/portable/pdiagnostic_push.h51L
-rw-r--r--deps/flatcc/include/flatcc/portable/pendian.h206L
-rw-r--r--deps/flatcc/include/flatcc/portable/pendian_detect.h118L
-rw-r--r--deps/flatcc/include/flatcc/portable/pinline.h19L
-rw-r--r--deps/flatcc/include/flatcc/portable/pinttypes.h52L
-rw-r--r--deps/flatcc/include/flatcc/portable/portable.h2L
-rw-r--r--deps/flatcc/include/flatcc/portable/portable_basic.h25L
-rw-r--r--deps/flatcc/include/flatcc/portable/pparsefp.h226L
-rw-r--r--deps/flatcc/include/flatcc/portable/pparseint.h374L
-rw-r--r--deps/flatcc/include/flatcc/portable/pprintfp.h39L
-rw-r--r--deps/flatcc/include/flatcc/portable/pprintint.h628L
-rw-r--r--deps/flatcc/include/flatcc/portable/pstatic_assert.h67L
-rw-r--r--deps/flatcc/include/flatcc/portable/pstatic_assert_scope.h280L
-rw-r--r--deps/flatcc/include/flatcc/portable/pstdalign.h162L
-rw-r--r--deps/flatcc/include/flatcc/portable/pstdbool.h37L
-rw-r--r--deps/flatcc/include/flatcc/portable/pstdint.h898L
-rw-r--r--deps/flatcc/include/flatcc/portable/punaligned.h190L
-rw-r--r--deps/flatcc/include/flatcc/portable/pversion.h6L
-rw-r--r--deps/flatcc/include/flatcc/portable/pwarnings.h52L
-rw-r--r--deps/flatcc/include/flatcc/reflection/README19L
-rw-r--r--deps/flatcc/include/flatcc/reflection/flatbuffers_common_builder.h685L
-rw-r--r--deps/flatcc/include/flatcc/reflection/flatbuffers_common_reader.h578L
-rw-r--r--deps/flatcc/include/flatcc/reflection/reflection_builder.h457L
-rw-r--r--deps/flatcc/include/flatcc/reflection/reflection_reader.h411L
-rw-r--r--deps/flatcc/include/flatcc/reflection/reflection_verifier.h308L
-rw-r--r--deps/flatcc/include/flatcc/support/README1L
-rw-r--r--deps/flatcc/include/flatcc/support/cdump.h38L
-rw-r--r--deps/flatcc/include/flatcc/support/elapsed.h73L
-rw-r--r--deps/flatcc/include/flatcc/support/hexdump.h47L
-rw-r--r--deps/flatcc/include/flatcc/support/readfile.h66L
-rw-r--r--deps/flatcc/reflection/README.in19L
-rwxr-xr-xdeps/flatcc/reflection/generate_code.sh13L
-rw-r--r--deps/flatcc/reflection/reflection.fbs117L
-rw-r--r--deps/flatcc/samples/CMakeLists.txt8L
-rw-r--r--deps/flatcc/samples/bugreport/.gitignore1L
-rwxr-xr-xdeps/flatcc/samples/bugreport/build.sh22L
-rw-r--r--deps/flatcc/samples/bugreport/eclectic.fbs11L
-rw-r--r--deps/flatcc/samples/bugreport/myissue.c35L
-rw-r--r--deps/flatcc/samples/monster/CMakeLists.txt22L
-rwxr-xr-xdeps/flatcc/samples/monster/build.sh27L
-rw-r--r--deps/flatcc/samples/monster/monster.c353L
-rw-r--r--deps/flatcc/samples/monster/monster.fbs32L
-rw-r--r--deps/flatcc/samples/reflection/CMakeLists.txt31L
-rw-r--r--deps/flatcc/samples/reflection/bfbs2json.c314L
-rwxr-xr-xdeps/flatcc/samples/reflection/build.sh27L
-rw-r--r--deps/flatcc/scripts/_user_build.in41L
-rwxr-xr-xdeps/flatcc/scripts/benchflatcc.sh6L
-rwxr-xr-xdeps/flatcc/scripts/benchmark.sh6L
-rwxr-xr-xdeps/flatcc/scripts/bfbs-sample.sh15L
-rw-r--r--deps/flatcc/scripts/build.cfg.make3L
-rw-r--r--deps/flatcc/scripts/build.cfg.make-32bit3L
-rw-r--r--deps/flatcc/scripts/build.cfg.make-concurrent3L
-rw-r--r--deps/flatcc/scripts/build.cfg.ninja3L
-rwxr-xr-xdeps/flatcc/scripts/build.sh37L
-rwxr-xr-xdeps/flatcc/scripts/cleanall.sh20L
-rwxr-xr-xdeps/flatcc/scripts/dev.sh9L
-rwxr-xr-xdeps/flatcc/scripts/flatcc-doc.sh36L
-rwxr-xr-xdeps/flatcc/scripts/initbuild.sh40L
-rwxr-xr-xdeps/flatcc/scripts/monster-doc.example.sh6L
-rwxr-xr-xdeps/flatcc/scripts/reflection-doc-example.sh6L
-rwxr-xr-xdeps/flatcc/scripts/release.sh9L
-rwxr-xr-xdeps/flatcc/scripts/setup.sh112L
-rwxr-xr-xdeps/flatcc/scripts/test.sh38L
-rw-r--r--deps/flatcc/src/cli/CMakeLists.txt20L
-rw-r--r--deps/flatcc/src/cli/flatcc_cli.c505L
-rw-r--r--deps/flatcc/src/compiler/CMakeLists.txt43L
-rw-r--r--deps/flatcc/src/compiler/catalog.h217L
-rw-r--r--deps/flatcc/src/compiler/codegen.h46L
-rw-r--r--deps/flatcc/src/compiler/codegen_c.c285L
-rw-r--r--deps/flatcc/src/compiler/codegen_c.h397L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_builder.c2159L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_json_parser.c1850L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_json_printer.c732L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_reader.c1928L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_sort.c171L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_sort.h9L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_sorter.c355L
-rw-r--r--deps/flatcc/src/compiler/codegen_c_verifier.c327L
-rw-r--r--deps/flatcc/src/compiler/codegen_schema.c581L
-rw-r--r--deps/flatcc/src/compiler/coerce.c266L
-rw-r--r--deps/flatcc/src/compiler/coerce.h13L
-rw-r--r--deps/flatcc/src/compiler/fileio.c225L
-rw-r--r--deps/flatcc/src/compiler/fileio.h86L
-rw-r--r--deps/flatcc/src/compiler/flatcc.c511L
-rw-r--r--deps/flatcc/src/compiler/hash_tables/README.txt2L
-rw-r--r--deps/flatcc/src/compiler/hash_tables/name_table.c21L
-rw-r--r--deps/flatcc/src/compiler/hash_tables/schema_table.c21L
-rw-r--r--deps/flatcc/src/compiler/hash_tables/scope_table.c177L
-rw-r--r--deps/flatcc/src/compiler/hash_tables/symbol_table.c22L
-rw-r--r--deps/flatcc/src/compiler/hash_tables/value_set.c60L
-rw-r--r--deps/flatcc/src/compiler/keywords.h56L
-rw-r--r--deps/flatcc/src/compiler/parser.c1550L
-rw-r--r--deps/flatcc/src/compiler/parser.h214L
-rw-r--r--deps/flatcc/src/compiler/pstrutil.h58L
-rw-r--r--deps/flatcc/src/compiler/semantics.c1962L
-rw-r--r--deps/flatcc/src/compiler/semantics.h12L
-rw-r--r--deps/flatcc/src/compiler/symbols.h457L
-rw-r--r--deps/flatcc/src/runtime/CMakeLists.txt16L
-rw-r--r--deps/flatcc/src/runtime/builder.c2050L
-rw-r--r--deps/flatcc/src/runtime/emitter.c269L
-rw-r--r--deps/flatcc/src/runtime/json_parser.c1297L
-rw-r--r--deps/flatcc/src/runtime/json_printer.c1486L
-rw-r--r--deps/flatcc/src/runtime/refmap.c248L
-rw-r--r--deps/flatcc/src/runtime/verifier.c617L
-rw-r--r--deps/lmdb/.gitignore23L
-rw-r--r--deps/lmdb/CHANGES276L
-rw-r--r--deps/lmdb/COPYRIGHT20L
-rw-r--r--deps/lmdb/Doxyfile1631L
-rw-r--r--deps/lmdb/LICENSE47L
-rw-r--r--deps/lmdb/Makefile117L
-rw-r--r--deps/lmdb/intro.doc192L
-rw-r--r--deps/lmdb/lmdb.h1608L
-rw-r--r--deps/lmdb/mdb.c10354L
-rw-r--r--deps/lmdb/mdb_copy.155L
-rw-r--r--deps/lmdb/mdb_copy.c82L
-rw-r--r--deps/lmdb/mdb_dump.175L
-rw-r--r--deps/lmdb/mdb_dump.c319L
-rw-r--r--deps/lmdb/mdb_load.184L
-rw-r--r--deps/lmdb/mdb_load.c496L
-rw-r--r--deps/lmdb/mdb_stat.164L
-rw-r--r--deps/lmdb/mdb_stat.c263L
-rw-r--r--deps/lmdb/midl.c359L
-rw-r--r--deps/lmdb/midl.h186L
-rw-r--r--deps/lmdb/mtest.c177L
-rw-r--r--deps/lmdb/mtest2.c124L
-rw-r--r--deps/lmdb/mtest3.c133L
-rw-r--r--deps/lmdb/mtest4.c168L
-rw-r--r--deps/lmdb/mtest5.c135L
-rw-r--r--deps/lmdb/mtest6.c141L
-rw-r--r--deps/lmdb/sample-bdb.txt73L
-rw-r--r--deps/lmdb/sample-mdb.txt62L
-rw-r--r--deps/lmdb/tooltag22L
m---------deps/secp256k1
-rwxr-xr-xdevtools/refresh-submodules.sh42L
-rw-r--r--ndb.c390L
-rw-r--r--schemas/meta.fbs11L
-rw-r--r--schemas/note.fbs20L
-rw-r--r--schemas/profile.fbs25L
-rw-r--r--shell.nix7L
-rw-r--r--src/bindings/c/.dir0B
-rw-r--r--src/bindings/c/flatbuffers_common_builder.h685L
-rw-r--r--src/bindings/c/flatbuffers_common_reader.h578L
-rw-r--r--src/bindings/c/meta_builder.h69L
-rw-r--r--src/bindings/c/meta_json_parser.h250L
-rw-r--r--src/bindings/c/meta_reader.h58L
-rw-r--r--src/bindings/c/meta_verifier.h47L
-rw-r--r--src/bindings/c/profile_builder.h131L
-rw-r--r--src/bindings/c/profile_json_parser.h412L
-rw-r--r--src/bindings/c/profile_reader.h93L
-rw-r--r--src/bindings/c/profile_verifier.h84L
-rw-r--r--src/bindings/rust/.dir0B
-rw-r--r--src/bindings/rust/ndb_meta.rs264L
-rw-r--r--src/bindings/rust/ndb_profile.rs514L
-rw-r--r--src/bindings/swift/NdbMeta.swift71L
-rw-r--r--src/bindings/swift/NdbProfile.swift231L
-rw-r--r--src/block.c204L
-rw-r--r--src/block.h36L
-rw-r--r--src/bolt11/amount.c566L
-rw-r--r--src/bolt11/amount.h203L
-rw-r--r--src/bolt11/bech32.c220L
-rw-r--r--src/bolt11/bech32.h143L
-rw-r--r--src/bolt11/bech32_util.c127L
-rw-r--r--src/bolt11/bech32_util.h28L
-rw-r--r--src/bolt11/bolt11.c624L
-rw-r--r--src/bolt11/bolt11.h46L
-rw-r--r--src/bolt11/debug.h15L
-rw-r--r--src/bolt11/error.c34L
-rw-r--r--src/bolt11/error.h33L
-rw-r--r--src/bolt11/hash_u5.c49L
-rw-r--r--src/bolt11/hash_u5.h20L
-rw-r--r--src/bolt11/libnostrdb.a172632B
-rw-r--r--src/bolt11/node_id.c64L
-rw-r--r--src/bolt11/node_id.h38L
-rw-r--r--src/bolt11/overflows.h43L
-rw-r--r--src/config.h18L
-rw-r--r--src/configurator.c1110L
-rw-r--r--src/content_parser.c592L
-rw-r--r--src/cpu.h34L
-rw-r--r--src/cursor.h726L
-rw-r--r--src/hex.h68L
-rw-r--r--src/invoice.c69L
-rw-r--r--src/invoice.h15L
-rw-r--r--src/io.h48L
-rw-r--r--src/jsmn.h491L
-rw-r--r--src/lmdb_util.h100L
-rw-r--r--src/memchr.h72L
-rw-r--r--src/nostr_bech32.c321L
-rw-r--r--src/nostr_bech32.h32L
-rw-r--r--src/nostrdb.c6492L
-rw-r--r--src/nostrdb.h596L
-rw-r--r--src/print_util.h52L
-rw-r--r--src/protected_queue.h239L
-rw-r--r--src/random.h91L
-rw-r--r--src/str_block.h12L
-rw-r--r--src/threadpool.h103L
-rw-r--r--src/typedefs.h0B
-rw-r--r--src/util.h32L
-rw-r--r--test.c1724L
-rw-r--r--testdata/author-filter.c285L
-rw-r--r--testdata/contacts-event.json3190L
-rw-r--r--testdata/contacts.json1L
-rw-r--r--testdata/db/.dir0B
-rw-r--r--testdata/failed_size.json96L
-rw-r--r--testdata/old-new.json3L
-rw-r--r--testdata/profile-updates.json3L
-rw-r--r--testdata/profiles.json501L
-rw-r--r--testdata/random.json5L
-rw-r--r--testdata/reactions.json6L
-rw-r--r--testdata/search.json3L