2024-08-27 08:46 | Merge remote-tracking branch 'github/pr/43' | William Casarin | 3 | +5 | -3 |
2024-08-19 21:35 | filter: retain const variant of get_int_elemnet | William Casarin | 3 | +17 | -10 |
2024-08-19 21:23 | filter: allow mutable int elements | William Casarin | 3 | +12 | -12 |
2024-08-18 01:58 | bolt11: remove unneeded fields. | Rusty Russell | 2 | +3 | -189 |
2024-08-18 01:58 | bolt11: update to latest version from CLN | Rusty Russell | 4 | +402 | -346 |
2024-08-18 01:58 | Makefile: fix missing dependencies on bolt11 headers. | Rusty Russell | 3 | +2 | -259 |
2024-08-16 19:17 | ndb_filter_from_json | William Casarin | 3 | +376 | -5 |
2024-08-17 05:53 | Makefile: define CCAN_TAL_NEVER_RETURN_NULL | Rusty Russell | 1 | +1 | -1 |
2024-08-17 05:51 | ccan: update to latest. | Rusty Russell | 5 | +68 | -68 |
2024-08-17 05:51 | ccan: sync with normal versions. | Rusty Russell | 97 | +36657 | -2101 |
2024-08-17 05:27 | Makefile: rule to update ccan/ subdir. | Rusty Russell | 1 | +13 | -1 |
2024-08-17 05:27 | src: delete copies outside ccan/ dirs. | Rusty Russell | 27 | +1 | -5851 |
2024-08-17 05:27 | Makefile: build using ccan/ versions of files. | Rusty Russell | 22 | +50 | -47 |
2024-08-17 05:27 | bolt11: move utf8_check into local function. | Rusty Russell | 5 | +18 | -24 |
2024-08-17 05:06 | ccan: copy ccan files into their own subdirectory. | Rusty Russell | 28 | +6085 | -0 |
2024-08-14 18:21 | expose filter introspection methods | William Casarin | 2 | +11 | -6 |
2024-08-13 18:20 | expose ndb_filter_get_elements | William Casarin | 2 | +2 | -1 |
2024-08-03 21:24 | make more things const | William Casarin | 3 | +11 | -11 |
2024-08-03 20:34 | add ndb_filter_json method | William Casarin | 3 | +190 | -2 |
2024-08-03 20:50 | ocd: cleanup eol whitespace | William Casarin | 2 | +32 | -31 |
2024-08-01 23:55 | Fix issue where id tag filters are pushed as strings | William Casarin | 2 | +12 | -2 |
2024-08-01 21:07 | fix bech32 parsing and add test | William Casarin | 2 | +41 | -3 |
2024-08-01 20:38 | ndb: add #e queries | William Casarin | 1 | +25 | -1 |
2024-08-01 20:38 | debug: improve tag index display | William Casarin | 3 | +34 | -7 |
2024-08-01 20:37 | fix note content parsing bug with damus.io urls | William Casarin | 2 | +117 | -11 |
2024-07-15 17:35 | fix crash on release builds because of flatcc assertions | William Casarin | 1 | +1 | -1 |
2024-06-28 21:41 | ndb_note_json: return length | William Casarin | 1 | +6 | -1 |
2024-06-28 20:35 | fix bug | William Casarin | 1 | +3 | -1 |
2024-05-28 18:26 | switch to MIT license | William Casarin | 1 | +22 | -674 |
2024-04-30 21:22 | ndb: dump json in filters and fulltext queries | William Casarin | 2 | +31 | -24 |
2024-04-30 21:19 | api: add ndb_note_json | William Casarin | 2 | +51 | -0 |
2024-04-25 23:20 | fix realloc corruption | William Casarin | 1 | +3 | -3 |
2024-04-25 23:22 | make: fix ingest bench build | William Casarin | 1 | +1 | -1 |
2024-04-04 20:22 | add ability to register a subscription callback | William Casarin | 2 | +34 | -3 |
2024-04-20 05:18 | ndb: add profile flatbuffer record dump util | William Casarin | 2 | +40 | -5 |
2024-04-11 01:06 | add ndb_unsubscribe | William Casarin | 3 | +46 | -14 |
2024-04-04 20:03 | build: fix compile warning | William Casarin | 1 | +3 | -2 |
2024-04-03 19:23 | fix dubious looking parens logic | William Casarin | 1 | +1 | -1 |
2024-03-21 17:03 | readme: we have query support now | William Casarin | 1 | +1 | -2 |
2024-03-13 07:27 | ndb: add author query support | William Casarin | 1 | +26 | -4 |
2024-03-13 07:31 | plan: use a less efficient plan for author query plans | William Casarin | 1 | +3 | -1 |
2024-03-12 19:53 | test: add test for created_at query plan | William Casarin | 1 | +29 | -0 |
2024-03-12 18:55 | plan: add created_at query plan | William Casarin | 1 | +89 | -5 |
2024-03-12 19:53 | test: add testdata for a large contact filter | William Casarin | 1 | +285 | -0 |
2024-02-11 17:05 | profile: fix bug where profile does not update | William Casarin | 1 | +0 | -1 |
2024-02-11 22:07 | Merge remote-tracking branch 'github/master' | William Casarin | 3 | +21 | -9 |
2024-02-11 22:05 | cores: just set to 2 on unknown platforms | William Casarin | 1 | +1 | -1 |
2024-02-10 03:02 | android: add missing headers | William Casarin | 1 | +4 | -0 |
2024-02-10 02:59 | random: add getrandom fallback for android | William Casarin | 1 | +20 | -0 |
2024-02-09 23:09 | filter: make sure clone copies metadata | William Casarin | 1 | +2 | -0 |
2024-02-09 22:14 | filter: make sure to return clone errors | William Casarin | 1 | +1 | -2 |
2024-02-09 22:07 | filter: add ndb_filter_clone | William Casarin | 2 | +31 | -1 |
2024-02-09 21:58 | filter: use relative data offsets for easy cloning | William Casarin | 3 | +203 | -127 |
2024-02-08 23:07 | filter: add ndb_filter_end | William Casarin | 3 | +102 | -12 |
2024-02-08 00:18 | query: include note size in query results | William Casarin | 2 | +12 | -8 |
2024-02-07 23:14 | return number of items popped when polling | William Casarin | 1 | +1 | -1 |
2024-02-07 23:05 | silence annoying debug | William Casarin | 1 | +1 | -1 |
2024-02-07 21:55 | filters: copy filter metadata into subscription | William Casarin | 1 | +6 | -8 |
2024-01-10 20:17 | cli/ndb: show fulltext search perf | William Casarin | 1 | +7 | -1 |
2024-02-06 00:48 | ndb: add ndb_poll_for_notes | William Casarin | 2 | +16 | -2 |
2024-02-06 00:47 | queue: switch to prot_queue_try_pop_all | William Casarin | 2 | +15 | -9 |
2024-02-06 00:46 | make: pass src to tags cmd | William Casarin | 1 | +1 | -1 |
2024-01-26 01:52 | tce: fix build for previous TCE change | William Casarin | 1 | +1 | -0 |
2024-01-26 01:52 | blocks: add word count interface | William Casarin | 2 | +5 | -0 |
2024-01-25 23:31 | header: add ptr helpers for swift | William Casarin | 1 | +7 | -1 |
2024-01-25 23:30 | strblock: add typedef | William Casarin | 1 | +2 | -2 |
2023-12-24 21:22 | tce: add AUTH to-client-event | Charlie Fish | 2 | +12 | -0 |
2024-01-10 17:01 | fix build on macos | William Casarin | 2 | +2 | -3 |
2024-01-09 00:18 | query: add tag index and tag queries | William Casarin | 5 | +320 | -20 |
2024-01-08 22:29 | filter: don't end field if we don't have one active | William Casarin | 1 | +4 | -0 |
2024-01-06 17:05 | cli/ndb: allow multiple kind values in query | William Casarin | 2 | +21 | -4 |
2024-01-08 22:29 | envrc: add PWD to path | William Casarin | 1 | +1 | -0 |
2024-01-08 20:09 | perf: add some flamegraph helpers to makefile | William Casarin | 3 | +20 | -2 |
2024-01-06 19:50 | fix macos build | William Casarin | 3 | +5 | -5 |
2024-01-06 06:54 | ndb: measure query performance | William Casarin | 2 | +18 | -5 |
2024-01-06 05:45 | query: support until for kind query plans | William Casarin | 2 | +14 | -4 |
2024-01-06 05:39 | ndb: some query docs | William Casarin | 1 | +1 | -0 |
2024-01-06 05:37 | ndb: add inital query command | William Casarin | 3 | +44 | -3 |
2024-01-06 04:45 | Query Plans | William Casarin | 3 | +235 | -204 |
2024-01-06 04:46 | index: make sure kind index is DUPSORT + INTEGERDUP | William Casarin | 1 | +3 | -1 |
2024-01-06 04:45 | filter: rename FILTER_GENERIC to FILTER_TAG | William Casarin | 3 | +21 | -21 |
2024-01-06 04:40 | cleanup: remove old dbscan stuff | William Casarin | 1 | +0 | -12 |
2024-01-06 04:40 | debug: add print_kind_keys helper | William Casarin | 3 | +28 | -0 |
2024-01-06 04:46 | todo: update some todos | William Casarin | 1 | +3 | -0 |
2024-01-05 15:26 | Fix typos | shuoer86 | 2 | +3 | -3 |
2024-01-04 23:24 | query: implement kind queries | William Casarin | 2 | +109 | -10 |
2024-01-04 22:39 | Initial nostrdb queries | William Casarin | 3 | +284 | -9 |
2024-01-04 22:38 | cursor: fix bug when pushing last element | William Casarin | 1 | +1 | -1 |
2024-01-04 21:44 | query: extract ndb_cursor_start | William Casarin | 1 | +23 | -11 |
2024-01-04 21:44 | cursor: remove old array code | William Casarin | 1 | +0 | -11 |
2024-01-04 21:43 | filter: don't allow adding id elements on kinds | William Casarin | 1 | +1 | -1 |
2024-01-04 16:28 | ocd: small cleanup | William Casarin | 1 | +6 | -6 |
2024-01-04 02:15 | test: actually use filter in subscription in filter test | William Casarin | 1 | +1 | -1 |
2024-01-04 01:57 | filters: remove ndb_filter_group from public API | William Casarin | 3 | +22 | -30 |
2024-01-04 01:02 | filter: use binary search for large contact list filters | William Casarin | 1 | +8 | -7 |
2024-01-04 00:34 | filter: sort filter elements | William Casarin | 2 | +58 | -1 |
2024-01-03 22:40 | test: use subscriptions in profile update test | William Casarin | 3 | +28 | -20 |
2024-01-03 22:44 | subs: always fail when calling wait_for_notes on a subid of 0 | William Casarin | 1 | +5 | -0 |
2024-01-03 22:44 | subs: notify on profile notes as well | William Casarin | 1 | +9 | -0 |
2024-01-03 22:44 | debug: add a few more debug statement | William Casarin | 1 | +7 | -6 |
2024-01-03 22:43 | filters: add ndb_filter_group_init function | William Casarin | 2 | +2 | -1 |
2024-01-03 22:04 | subs: subs and monitor cleanup | William Casarin | 4 | +34 | -11 |
2024-01-04 02:09 | search: don't enforce sequential tokens | William Casarin | 1 | +2 | -2 |
2024-01-03 20:27 | test: switch reaction test to use subscriptions | William Casarin | 3 | +20 | -6 |
2024-01-03 19:50 | test: extend subscription test to query afterwards | William Casarin | 2 | +11 | -0 |
2023-11-27 04:04 | Initial nostrdb relay subscriptions | William Casarin | 5 | +277 | -22 |
2024-01-02 21:24 | test: add another url parsing test | William Casarin | 1 | +37 | -0 |
2024-01-01 22:39 | disable lmdb download | William Casarin | 1 | +6 | -6 |
2023-12-31 05:20 | blocks: add ndb_blocks_flags function | William Casarin | 2 | +6 | -2 |
2024-01-01 17:40 | fix: don't write the owned flag to the DB | William Casarin | 1 | +3 | -0 |
2023-12-31 04:22 | test: make sure the block types are correct | William Casarin | 1 | +19 | -5 |
2023-12-31 03:20 | fix clang compile issue | William Casarin | 1 | +1 | -1 |
2023-12-31 03:19 | blocks: expose block iterator internals | William Casarin | 6 | +56 | -60 |
2023-12-29 17:40 | blocks: write note blocks on ingest | William Casarin | 2 | +160 | -9 |
2023-12-30 14:33 | blocks: actually set the note block version | William Casarin | 1 | +1 | -0 |
2023-12-30 14:30 | blocks: add ndb_blocks_free | William Casarin | 4 | +14 | -1 |
2023-12-30 14:29 | blocks: add total_size | William Casarin | 4 | +15 | -5 |
2023-12-30 14:27 | header: move bech32 around | William Casarin | 1 | +76 | -76 |
2023-12-29 17:38 | invoice: fix crash in any-amount invoice parsing | William Casarin | 1 | +1 | -2 |
2023-12-30 14:33 | test: chop some unused logs | William Casarin | 1 | +0 | -1 |
2023-12-29 00:11 | parser: fix bech32 block decoding | William Casarin | 6 | +142 | -87 |
2023-12-28 22:46 | bech32: fix big in bech32 size parsing | William Casarin | 1 | +1 | -1 |
2023-12-28 22:00 | test: ocd tweak | William Casarin | 1 | +8 | -6 |
2023-12-28 21:54 | blocks: add note block iterator | William Casarin | 9 | +283 | -155 |
2023-12-28 21:52 | parser: handle period at end of url | kernelkind | 1 | +50 | -3 |
2023-12-27 23:20 | bech32: expand nevent test to include 2 relays | William Casarin | 1 | +4 | -2 |
2023-12-27 22:55 | content_parser: add initial db decoders | William Casarin | 6 | +167 | -36 |
2023-12-27 22:54 | bech32: add some initial tests | William Casarin | 3 | +61 | -21 |
2023-12-27 22:28 | nostr_bech32: parse in one pass | William Casarin | 2 | +107 | -125 |
2023-12-27 20:48 | update todo | William Casarin | 1 | +1 | -0 |
2023-12-27 20:43 | Inital embedded content parser | William Casarin | 9 | +264 | -102 |
2023-12-27 20:42 | search: switch to cursor_align function | William Casarin | 1 | +2 | -9 |
2023-12-27 20:41 | cursor: add align function | William Casarin | 1 | +15 | -0 |
2023-12-27 20:41 | cursor: fix some warnings | William Casarin | 1 | +2 | -1 |
2023-12-27 20:41 | cursor: fix empty string pushing in push_c_str | William Casarin | 1 | +2 | -0 |
2023-12-27 20:40 | cursor: add pull_varint_u32 | William Casarin | 1 | +13 | -0 |
2023-12-27 20:40 | cursor: add malloc_slice | William Casarin | 1 | +10 | -0 |
2023-12-27 20:35 | nostr_bech32: only parse up to raw bech32 buffers | William Casarin | 4 | +166 | -93 |
2023-12-23 23:42 | bech32: retab | William Casarin | 2 | +280 | -280 |
2023-12-23 22:46 | block: add bolt11 invoice encoding/decoding | William Casarin | 5 | +132 | -2 |
2023-12-23 21:38 | test: fix uint64 types | William Casarin | 1 | +10 | -10 |
2023-12-23 23:36 | make: cleanup a bit, separate bench running | William Casarin | 1 | +6 | -5 |
2023-12-23 23:23 | fix github action | William Casarin | 1 | +7 | -7 |
2023-12-23 23:16 | fix build | William Casarin | 1 | +8 | -5 |
2023-12-23 21:20 | varint: switch to 64 bit varints | William Casarin | 6 | +123 | -101 |
2023-12-23 21:19 | test: disable migrate for now | William Casarin | 2 | +4 | -4 |
2023-12-23 21:11 | cursor: re-apply infinite loop bug fix | William Casarin | 1 | +32 | -33 |
2023-12-23 01:10 | add libnostrdb.a | William Casarin | 2 | +5 | -1 |
2023-12-23 00:56 | add initial content parser | William Casarin | 1 | +388 | -0 |
2023-12-23 17:30 | move everything to src | William Casarin | 83 | +351 | -399 |
2023-12-23 00:48 | add supporting files for the bolt11 parser | William Casarin | 50 | +8007 | -418 |
2023-12-22 21:16 | improve compile times | William Casarin | 2 | +4 | -5 |
2023-12-21 02:48 | add nix shell | William Casarin | 2 | +7 | -1 |
2023-12-17 21:29 | re-apply ispunct crash fix | William Casarin | 1 | +1 | -1 |
2023-12-16 03:52 | make: don't build bindings in `all` | William Casarin | 2 | +12 | -12 |
2023-12-15 03:01 | commit config for now since rust can't build it yet | William Casarin | 2 | +18 | -1 |
2023-12-15 02:57 | rust: move into separate project | William Casarin | 10 | +0 | -263 |
2023-12-15 02:56 | deps: commit lmdb and flatcc | William Casarin | 243 | +70674 | -1 |
2023-12-15 02:49 | rust: output bindings to build dir | William Casarin | 4 | +3 | -4 |
2023-12-15 02:36 | rust: update published includes | William Casarin | 1 | +1 | -2 |
2023-12-15 02:33 | rust: add description for initial release | William Casarin | 1 | +3 | -0 |
2023-12-14 20:10 | build: fix constness on config pointer in ingester thread | William Casarin | 1 | +1 | -1 |
2023-12-14 20:09 | rust: libc is not needed | William Casarin | 1 | +0 | -3 |
2023-12-14 19:59 | rust: initial api for Ndb and NdbConfig | William Casarin | 8 | +119 | -31 |
2023-12-14 19:25 | rust: fix some warnings | William Casarin | 2 | +3 | -2 |
2023-12-14 18:58 | rust: move to subfolder | William Casarin | 6 | +125 | -135 |
2023-12-14 04:25 | ci: add rust build to ci | William Casarin | 2 | +7 | -1 |
2023-12-14 04:23 | rust: build secp256k1 as a part of the build process | William Casarin | 1 | +66 | -11 |
2023-12-11 03:16 | rust: generate rust bindings from C header | William Casarin | 5 | +122 | -4 |
2023-12-14 01:56 | cursor: fix warning that build.rs is complaining about | William Casarin | 1 | +1 | -2 |
2023-12-12 21:19 | api: don't expose many internals, like note | William Casarin | 4 | +464 | -418 |
2023-12-14 01:53 | stream: actually use file pointer in stream api | William Casarin | 1 | +1 | -1 |
2023-12-03 14:33 | add "import -" | Yasuhiro Matsumoto | 3 | +26 | -3 |
2023-12-11 03:04 | build: fix additional compiler errors | William Casarin | 3 | +7 | -6 |
2023-12-11 22:43 | lmdb: don't begin query if we have a bad lmdb env | William Casarin | 1 | +2 | -0 |
2023-12-04 22:55 | cursor: silence utf8 warnings | William Casarin | 1 | +2 | -2 |
2023-12-04 22:50 | cursor: sync with damus' cursor | William Casarin | 3 | +587 | -273 |
2023-12-04 22:13 | writer: make sure we don't write a note if we already have it | William Casarin | 2 | +7 | -10 |
2023-12-04 22:27 | test: "fix" search test | William Casarin | 1 | +4 | -2 |
2023-12-04 22:27 | util: add print_util.h for various printing tasks | William Casarin | 4 | +38 | -47 |
2023-12-02 23:02 | search: fix another newest-first bug | William Casarin | 1 | +7 | -2 |
2023-12-02 21:55 | add lmdb data stuff to gitignore | William Casarin | 1 | +4 | -0 |
2023-12-02 21:09 | search: fix subtle bug with some newest-first text search | William Casarin | 3 | +92 | -26 |
2023-12-02 20:16 | search: also index longform | William Casarin | 1 | +2 | -2 |
2023-12-02 19:49 | refactor: move search key printer in case we need it | William Casarin | 1 | +8 | -8 |
2023-12-02 01:26 | test: fix text search test | William Casarin | 1 | +1 | -1 |
2023-12-02 01:19 | util/ndb: return note ids | William Casarin | 1 | +10 | -0 |
2023-12-02 18:40 | test: add missing search testdata | William Casarin | 1 | +3 | -0 |
2023-12-02 01:14 | search: make sure we break instead of return | William Casarin | 1 | +1 | -1 |
2023-12-02 01:04 | search: allow searching from newest-to-oldest and oldest-to-newest | William Casarin | 4 | +106 | -26 |
2023-12-02 00:21 | search: add limit param | William Casarin | 3 | +6 | -4 |
2023-12-01 23:37 | search: remove result printing, move to util/ndb | William Casarin | 2 | +33 | -41 |
2023-12-01 23:29 | remove old benchmark | William Casarin | 2 | +0 | -60 |
2023-12-01 22:26 | util/ndb: fix build | William Casarin | 3 | +10 | -4 |
2023-12-01 17:52 | Delete unuse argument (destsize) | hakkadaikon | 2 | +2 | -2 |
2023-12-01 21:56 | rename get_physical_cores to get_cpu_cores | William Casarin | 2 | +2 | -2 |
2023-12-01 21:20 | add missing cpu.h | William Casarin | 2 | +35 | -1 |
2023-12-01 21:17 | config: fix ingester thread settings | William Casarin | 1 | +3 | -3 |
2023-12-01 21:10 | ingest: add configurable ingest filter | William Casarin | 4 | +144 | -78 |
2023-12-01 19:17 | readme: you need to make many-events! | William Casarin | 1 | +1 | -0 |
2023-12-01 19:08 | readme: show search query output | William Casarin | 1 | +4 | -0 |
2023-12-01 18:49 | readme: fix typo | William Casarin | 1 | +1 | -1 |
2023-12-01 18:48 | readme: update to mention ndb tool | William Casarin | 1 | +37 | -0 |
2023-12-01 18:45 | readme: update wording | William Casarin | 1 | +2 | -2 |
2023-12-01 18:44 | readme: note about api stability | William Casarin | 1 | +5 | -0 |
2023-12-01 18:41 | Switch to GPL | William Casarin | 1 | +674 | -1 |
2023-11-30 21:00 | search: phrase searching working | William Casarin | 2 | +254 | -160 |
2023-11-30 17:44 | flag: add ndb config flag for skipping note verification | William Casarin | 4 | +47 | -20 |
2023-11-29 20:04 | util/ndb: add import command | William Casarin | 1 | +27 | -0 |
2023-11-29 19:01 | util/ndb: add fulltext searching | William Casarin | 2 | +28 | -6 |
2023-11-29 20:02 | util/ndb: reduce threads a bit | William Casarin | 1 | +1 | -1 |
2023-11-29 20:01 | search: fix infinite loop when parsing some notes | William Casarin | 1 | +9 | -0 |
2023-11-29 19:58 | segfault: fix weird crash in ispunct | William Casarin | 1 | +1 | -1 |
2023-11-29 20:03 | db: remove the DUPFIXED flag from the fulltext db | William Casarin | 1 | +2 | -1 |
2023-11-29 20:03 | debug: fix some debug-mode compile issues | William Casarin | 1 | +3 | -1 |
2023-11-28 23:53 | search: prepare text search for accurate phrase results | William Casarin | 3 | +323 | -61 |
2023-11-28 18:51 | search: make search case insensitive | William Casarin | 3 | +27 | -3 |
2023-11-28 00:08 | Add fulltext search index | William Casarin | 5 | +662 | -20 |
2023-11-28 00:39 | Fix invalid db selection when writing kind index | William Casarin | 1 | +1 | -1 |
2023-11-25 23:24 | index: write kind index when processing notes | William Casarin | 1 | +37 | -0 |
2023-11-25 23:15 | refactor: move write id index to its own function | William Casarin | 1 | +29 | -14 |
2023-11-25 23:07 | refactor: move profile index writing to its own function | William Casarin | 1 | +31 | -15 |
2023-11-23 22:19 | readme: add workflow status badge | William Casarin | 1 | +2 | -0 |
2023-11-23 21:32 | ci: add flatcc to github action | William Casarin | 1 | +17 | -1 |
2023-11-23 21:20 | index: create kind+timestamp index database | William Casarin | 2 | +9 | -1 |
2023-11-23 21:19 | index: add u64_timestamp lmdb comparator | William Casarin | 1 | +27 | -0 |
2023-11-23 21:18 | debug: use mdb_strerror in more places | William Casarin | 1 | +2 | -2 |
2023-11-23 20:45 | filter: make sure we only match single chars | William Casarin | 1 | +1 | -1 |
2023-11-22 21:46 | filters: add initial filter interface | William Casarin | 3 | +512 | -0 |
2023-11-22 18:27 | test: remove non-deterministic test | William Casarin | 1 | +2 | -1 |
2023-11-21 23:41 | cursor: add cursor_skip | William Casarin | 1 | +10 | -0 |
2023-11-17 01:58 | all these TODOs are done | William Casarin | 1 | +0 | -8 |
2023-11-14 18:25 | ndb/stat: include totals in stat output | William Casarin | 3 | +14 | -3 |
2023-11-14 18:25 | fix build | William Casarin | 1 | +1 | -1 |
2023-11-14 17:47 | cli: add ndb tool | William Casarin | 3 | +82 | -1 |
2023-11-14 17:45 | stat: add ndb_stat for counting things | William Casarin | 2 | +212 | -12 |
2023-11-14 17:43 | ingester: handle case where transaction may fail | William Casarin | 1 | +7 | -2 |
2023-11-04 02:57 | ndb: fix potential crash in some tsid queries | William Casarin | 1 | +5 | -2 |
2023-11-02 05:12 | ndb: migration fix for japanese profile names | William Casarin | 2 | +99 | -22 |
2023-11-02 01:18 | json: fix profile parsing of japanese usernames | William Casarin | 1 | +2 | -2 |
2023-10-23 01:52 | log: remove spammy log | William Casarin | 1 | +1 | -1 |
2023-10-20 04:26 | test: add test for fetched_at logic | William Casarin | 2 | +21 | -5 |
2023-10-06 17:04 | record when a profile was last fetched | William Casarin | 3 | +114 | -13 |
2023-10-08 05:38 | stats: add reaction counter | William Casarin | 5 | +181 | -6 |
2023-10-08 05:43 | update generated bindings for note metadata | William Casarin | 6 | +335 | -18 |
2023-10-08 05:34 | update metadata schema | William Casarin | 1 | +5 | -0 |
2023-10-08 04:12 | txn: refactor nostrdb to use ndb_txn in more places internally | William Casarin | 2 | +87 | -60 |
2023-10-08 00:37 | testdata: add japanese profile | William Casarin | 1 | +1 | -0 |
2023-10-08 00:37 | test: update replacement test | William Casarin | 2 | +5 | -7 |
2023-10-06 17:37 | Fix profiles not updating | William Casarin | 1 | +1 | -1 |
2023-09-28 10:41 | profiles: switch to pubkeys for last fetched time | William Casarin | 2 | +7 | -7 |
2023-09-28 02:51 | db: add ndb_read_last_profile_fetch | William Casarin | 2 | +12 | -1 |
2023-09-28 02:43 | db: add new database for tracking last profile fetches | William Casarin | 2 | +50 | -0 |
2023-09-28 02:16 | initial rust bindings | William Casarin | 3 | +706 | -2 |
2023-09-25 01:34 | make rust bindings dir | William Casarin | 1 | +0 | -0 |
2023-09-24 23:21 | add ndb_process_client_event(s) | William Casarin | 4 | +180 | -66 |
2023-09-24 22:39 | actually run profile updates test... | William Casarin | 1 | +1 | -0 |
2023-09-24 22:39 | log: cleanup logs | William Casarin | 2 | +4 | -4 |
2023-09-24 22:16 | test: test profile updates | William Casarin | 2 | +49 | -2 |
2023-09-22 18:43 | bench: fix build | William Casarin | 2 | +2 | -2 |
2023-09-22 18:43 | log: move some printfs to ndb_debug | William Casarin | 1 | +3 | -3 |
2023-09-21 22:00 | search: make profile search case insensitive | William Casarin | 2 | +49 | -6 |
2023-09-21 16:09 | add profile search index migrations | William Casarin | 2 | +149 | -86 |
2023-09-20 13:33 | test: add test to check profile search duplicates | William Casarin | 1 | +19 | -11 |
2023-09-20 13:23 | query: remove unused data | William Casarin | 1 | +0 | -1 |
2023-09-20 13:18 | search: skip duplicate pubkeys when searching profiles | William Casarin | 3 | +55 | -10 |
2023-09-19 20:30 | search: use proper compare function | William Casarin | 1 | +1 | -0 |
2023-09-19 19:20 | db: implement profile search index | William Casarin | 4 | +224 | -3 |
2023-09-13 15:29 | rgignore: add testdata | William Casarin | 1 | +1 | -0 |
2023-09-12 23:14 | migrations: add initial migration logic | William Casarin | 6 | +198 | -12 |
2023-09-11 15:43 | log: fix log error messages | William Casarin | 1 | +15 | -3 |
2023-09-07 20:21 | query: fix invalid type signature | William Casarin | 2 | +19 | -4 |
2023-09-07 17:47 | optimized function just for fetching notekeys from indices | William Casarin | 2 | +12 | -0 |
2023-09-06 18:21 | return primkey keys on profile and note index queries | William Casarin | 3 | +19 | -11 |
2023-08-31 22:39 | test: add test for profile replacement logic | William Casarin | 2 | +47 | -0 |
2023-08-30 20:57 | add transactions | William Casarin | 3 | +49 | -36 |
2023-08-29 02:43 | Fix build on some compilers | William Casarin | 1 | +1 | -1 |
2023-08-28 17:08 | port escaped slash fix from damus | William Casarin | 1 | +1 | -0 |
2023-08-28 15:04 | don't force debug builds | William Casarin | 1 | +1 | -1 |
2023-08-28 14:32 | debug: turn off noisy debugs for now | William Casarin | 1 | +3 | -3 |
2023-08-28 14:22 | fix lmdb alignment issues | William Casarin | 5 | +26 | -13 |
2023-08-28 04:10 | ndb: assert alignment | William Casarin | 2 | +17 | -6 |
2023-08-28 01:57 | ndb: add support for fetching notes by primary key | William Casarin | 3 | +45 | -4 |
2023-08-28 01:25 | ndb: add note foreign key to profile | William Casarin | 9 | +155 | -69 |
2023-08-27 22:06 | swift: gen codable instances | William Casarin | 2 | +57 | -1 |
2023-08-27 19:44 | ndb: switch to profile records in db | William Casarin | 4 | +43 | -18 |
2023-08-27 19:37 | profile: use ProfileRecord to hold additional profile metadata | William Casarin | 7 | +261 | -2 |
2023-08-27 19:35 | add bech32 utils | William Casarin | 2 | +359 | -0 |
2023-08-27 05:16 | profiles: add lud06 field | William Casarin | 7 | +55 | -27 |
2023-08-27 03:34 | ndb: test profile flatbuffers | William Casarin | 4 | +22 | -12 |
2023-08-27 01:09 | tsid: return length | William Casarin | 3 | +13 | -8 |
2023-08-27 00:40 | ndb: add ndb_lookup_tsid helper | William Casarin | 2 | +22 | -9 |
2023-08-26 23:51 | add failing damus test... yet curiously it works | William Casarin | 2 | +42 | -0 |
2023-08-26 23:39 | fix benches | William Casarin | 2 | +4 | -4 |
2023-08-26 01:26 | ndb: make id lookups const | William Casarin | 2 | +5 | -5 |
2023-08-26 01:03 | ndb: add db directory argument | William Casarin | 3 | +14 | -8 |
2023-08-21 21:36 | test: add test for fuzz crash | William Casarin | 1 | +9 | -0 |
2023-08-13 14:35 | Fix potential crashes in char_to_hex | geeknik | 1 | +2 | -2 |
2023-08-18 15:03 | tsid: switch to uint64_max | William Casarin | 1 | +1 | -1 |
2023-08-12 16:14 | make: add more benches to clean | William Casarin | 1 | +1 | -1 |
2023-08-12 04:40 | make: fix build on linux, bump queue sizes | William Casarin | 3 | +5 | -8 |
2023-08-12 04:28 | bench: add 1million note import benchmark | William Casarin | 4 | +83 | -2 |
2023-08-12 04:08 | benchmark very large file | William Casarin | 3 | +11 | -6 |
2023-08-12 04:08 | bench: switch to monotonic clock for benchmarking | William Casarin | 2 | +4 | -4 |
2023-08-12 03:27 | ndb: add note querying by id, add tests | William Casarin | 3 | +73 | -16 |
2023-08-12 02:20 | ndb: parse profiles, index notes using clustered keys | William Casarin | 2 | +256 | -34 |
2023-08-12 02:19 | notes: change created_at to uint64 | William Casarin | 3 | +10 | -7 |
2023-08-12 02:21 | note: add a reserved area for future expansion | William Casarin | 1 | +1 | -1 |
2023-08-12 02:18 | nbd: add clustered key helpers | William Casarin | 1 | +59 | -9 |
2023-08-12 02:21 | ndb: add padding to tags | William Casarin | 1 | +1 | -0 |
2023-08-12 02:21 | schema: add evid | William Casarin | 1 | +2 | -0 |
2023-08-11 04:16 | schemas: add event metadata schema | William Casarin | 6 | +276 | -2 |
2023-08-11 04:16 | make: more comprehensive ctag searching | William Casarin | 1 | +1 | -1 |
2023-08-11 04:15 | make: simplify flatcc builder commands | William Casarin | 2 | +13 | -17 |
2023-08-10 19:29 | memchr: fix build on non-arm systems | William Casarin | 1 | +1 | -1 |
2023-08-10 22:38 | perf: optimize hex_decode | William Casarin | 1 | +12 | -11 |
2023-08-10 19:53 | schema: add flatcc json parser for profiles | William Casarin | 2 | +293 | -4 |
2023-08-10 19:45 | make: add flatcc dep | William Casarin | 1 | +9 | -0 |
2023-08-10 19:45 | make: remove bindings from clean | William Casarin | 1 | +1 | -1 |
2023-08-10 19:26 | build: fix compilation of ndb_process_events in release mode | William Casarin | 1 | +4 | -0 |
2023-08-10 19:26 | memchr: cleanup debugs | William Casarin | 1 | +2 | -14 |
2023-08-10 19:26 | test: reset db on test runs | William Casarin | 1 | +1 | -0 |
2023-08-10 19:25 | profile: remove json from bindings | William Casarin | 5 | +60 | -75 |
2023-08-10 19:10 | ndb: add ndb_process_events | William Casarin | 3 | +53 | -1 |
2023-08-10 19:11 | test: add profiles testdata | William Casarin | 1 | +500 | -0 |
2023-08-10 19:09 | debug: add a few debugs | William Casarin | 1 | +29 | -6 |
2023-08-10 19:07 | idhack: make sure json parser in continable after we parse the id | William Casarin | 2 | +5 | -3 |
2023-08-10 19:05 | json: ensure all fields are present when parsing | William Casarin | 1 | +25 | -2 |
2023-08-10 17:21 | add optimized memchr function for processing newlines | William Casarin | 4 | +119 | -1 |
2023-08-10 17:21 | bench: move ingest benchmark to its own file | William Casarin | 4 | +63 | -28 |
2023-08-10 05:21 | insane optimization: check id existence before parsing entire json | William Casarin | 6 | +127 | -52 |
2023-08-10 04:06 | ndb: only validate signature if don't have the note already | William Casarin | 1 | +7 | -8 |
2023-08-10 04:03 | ndb: actually write notes to DB | William Casarin | 2 | +162 | -50 |
2023-08-10 04:01 | ndb: close db after threads | William Casarin | 1 | +2 | -2 |
2023-08-10 03:58 | ndb: add ndb_lmdb struct | William Casarin | 1 | +6 | -0 |
2023-08-10 03:58 | ndb: define dbi's | William Casarin | 1 | +5 | -0 |
2023-08-08 21:59 | ingester: switch single-thread to threadpool | William Casarin | 4 | +41 | -57 |
2023-08-08 21:59 | threadpool: add threadpool implementation | William Casarin | 2 | +104 | -0 |
2023-08-08 19:58 | queue: write many messages to the queue at once | William Casarin | 3 | +65 | -9 |
2023-08-08 00:32 | test: make sure to free! | William Casarin | 1 | +1 | -0 |
2023-08-08 00:30 | test: add ingest test | William Casarin | 3 | +20 | -8 |
2023-08-07 22:36 | ndb: add threaded ingester and writer queues | William Casarin | 2 | +351 | -10 |
2023-08-07 22:35 | queue: add pop_all | William Casarin | 1 | +35 | -4 |
2023-08-07 22:34 | util: add util helpers | William Casarin | 1 | +33 | -0 |
2023-08-07 20:27 | dir: add test database dir | William Casarin | 2 | +1 | -0 |
2023-08-07 18:25 | ndb: lmdb init | William Casarin | 3 | +64 | -4 |
2023-08-07 18:25 | make: update in preparation for lmdb tests | William Casarin | 1 | +10 | -4 |
2023-08-07 18:24 | direnv: nix off for now | William Casarin | 1 | +1 | -1 |
2023-08-07 18:24 | direnv: todo.sh optional | William Casarin | 1 | +1 | -1 |
2023-08-07 17:04 | ndb: add ndb_init and ndb_process_event placeholders | William Casarin | 2 | +52 | -1 |
2023-08-07 17:05 | lmdb: add db scan helper | William Casarin | 1 | +100 | -0 |
2023-08-07 17:03 | make: add lmdb to build | William Casarin | 2 | +28 | -8 |
2023-08-06 04:21 | some todo helpers | William Casarin | 3 | +12 | -1 |
2023-08-04 23:26 | queue: add protected queue implementation | William Casarin | 2 | +275 | -0 |
2023-08-04 15:58 | bindings: add generated profile bindings | William Casarin | 6 | +1588 | -0 |
2023-08-04 15:57 | schema: add profile flatbuffers schema | William Casarin | 2 | +56 | -1 |
2023-08-03 17:49 | fix issue where small content lengths weren't getting written | William Casarin | 3 | +118 | -0 |
2023-07-29 23:48 | bench: fix file path | William Casarin | 1 | +1 | -1 |
2023-07-26 19:27 | fix command result messages | William Casarin | 2 | +25 | -0 |
2023-07-26 17:10 | test: ws_event contact | William Casarin | 3 | +3209 | -1 |
2023-07-26 15:09 | fix builder id generation and signing | William Casarin | 1 | +4 | -2 |
2023-07-26 03:02 | ndb: switch to enum for tce types | William Casarin | 1 | +9 | -7 |
2023-07-26 17:09 | fix build | William Casarin | 2 | +2 | -2 |
2023-07-26 02:41 | ndb: handle eose and command results | William Casarin | 4 | +56 | -10 |
2023-07-26 02:29 | ndb: add websocket event parser | William Casarin | 4 | +167 | -34 |
2023-07-25 20:10 | ndb: expose keypair struct | William Casarin | 2 | +13 | -13 |
2023-07-25 19:48 | ndb: simplify by not requiring secp context in API | William Casarin | 2 | +19 | -17 |
2023-07-25 19:29 | type-erase any secp stuff so it's not in the ndb header | William Casarin | 2 | +22 | -21 |
2023-07-25 19:04 | add ndb_sign_id and ndb_calculate_id | William Casarin | 9 | +242 | -43 |
2023-07-25 16:15 | support note id calculation | William Casarin | 3 | +171 | -0 |
2023-07-25 14:45 | extract cursor_push_unescaped_char | William Casarin | 1 | +19 | -37 |
2023-07-24 23:23 | add sha256 | William Casarin | 7 | +2030 | -3 |
2023-07-24 23:04 | test: add test that make sure string functions work before finalization | William Casarin | 1 | +16 | -0 |
2023-07-24 22:57 | builder: allow note string funcs to work before finalization | William Casarin | 1 | +1 | -0 |
2023-07-24 21:49 | Add a CMake script. Tested in Ubuntu Linux 22.04 | pvn | 1 | +46 | -0 |
2023-07-24 21:56 | add created_at to builder | William Casarin | 2 | +6 | -0 |
2023-07-24 21:39 | ndb_builder_new -> ndb_builder_init | William Casarin | 3 | +6 | -6 |
2023-07-23 19:07 | huge perf boost when switching from strncmp to memcmp | William Casarin | 2 | +9 | -6 |
2023-07-23 17:42 | make iterator more intuitive | William Casarin | 2 | +63 | -9 |
2023-07-23 16:55 | fix tests | William Casarin | 1 | +2 | -1 |
2023-07-23 15:49 | we don't actually store the json (yet?) | William Casarin | 1 | +0 | -1 |
2023-07-22 17:52 | pack pubkeys and id strings | William Casarin | 3 | +131 | -98 |
2023-07-23 15:44 | Create c-cpp.yml | William Casarin | 1 | +17 | -0 |
2023-07-22 22:23 | add content length to ndb_note | William Casarin | 3 | +27 | -4 |
2023-07-22 20:49 | add kind parsing support | William Casarin | 3 | +12 | -1 |
2023-07-22 20:35 | json: parse created_at | William Casarin | 2 | +39 | -1 |
2023-07-22 19:58 | make contacts smaller for a more realistic bench | William Casarin | 1 | +1 | -3162 |
2023-07-22 19:02 | fix build on some compilers | William Casarin | 3 | +5 | -3 |
2023-07-22 18:36 | make: update clean | William Casarin | 1 | +1 | -1 |
2023-07-22 18:32 | add benchmarking | William Casarin | 5 | +62 | -3 |
2023-07-22 18:13 | test: check for unescaped content | William Casarin | 1 | +13 | -1 |
2023-07-22 18:03 | test: assert size again | William Casarin | 1 | +1 | -1 |
2023-07-22 18:06 | json: try compact string before we unescape | William Casarin | 1 | +5 | -2 |
2023-07-22 18:05 | rename to push_string -> make_string to align with other functions | William Casarin | 1 | +3 | -3 |
2023-07-22 18:05 | extract ndb_builder_try_compact_string | William Casarin | 1 | +21 | -9 |
2023-07-22 17:49 | refactor builder logic a bit | William Casarin | 1 | +43 | -17 |
2023-07-22 17:44 | use strncmp instead of strcmp | William Casarin | 1 | +1 | -1 |
2023-07-22 17:36 | push chunks at a time when unescaping json | William Casarin | 1 | +17 | -8 |
2023-07-22 17:25 | initial string unescaping logic | William Casarin | 2 | +101 | -9 |
2023-07-22 16:43 | fix indents | William Casarin | 1 | +2 | -3 |
2023-07-22 15:49 | write ndb record for testing purposes | William Casarin | 4 | +21 | -6 |
2023-07-22 14:38 | Revert "switch to 2-byte string indices and remove packed string" | William Casarin | 3 | +84 | -29 |
2023-07-22 14:38 | add large contacts test | William Casarin | 3 | +3217 | -0 |
2023-07-22 14:01 | switch to 2-byte string indices and remove packed string | William Casarin | 3 | +29 | -84 |
2023-07-21 22:01 | fixup style some more | William Casarin | 1 | +46 | -35 |
2023-07-21 21:58 | add ndb_tag_matches_char function | William Casarin | 1 | +11 | -0 |
2023-07-21 21:21 | reverse braindamage | William Casarin | 1 | +37 | -32 |
2023-07-21 21:21 | hardcode jsmn settings | William Casarin | 2 | +4 | -1 |
2023-07-21 20:44 | fix tag iteration | William Casarin | 1 | +8 | -9 |
2023-07-20 23:30 | fix json token memory calc | William Casarin | 2 | +8 | -4 |
2023-07-20 23:29 | git: add some ignore for mac files | William Casarin | 1 | +1 | -0 |
2023-07-20 21:17 | json: support tag parsing | William Casarin | 3 | +86 | -37 |
2023-07-20 20:17 | json: switch to ndb_json_parser for tag processing | William Casarin | 1 | +7 | -7 |
2023-07-20 19:08 | remove all dynamic allocations | William Casarin | 5 | +123 | -63 |
2023-07-20 17:44 | remove duplicate license file | William Casarin | 1 | +0 | -1 |
2023-07-20 17:42 | json: start on tags builder | William Casarin | 2 | +65 | -29 |
2023-07-20 17:37 | move some function names to their own line | William Casarin | 2 | +40 | -20 |
2023-07-20 07:59 | flatbuffers: remove nostr_index.fbs | William Casarin | 1 | +0 | -32 |
2023-07-20 07:55 | initial json decoding | William Casarin | 6 | +663 | -27 |
2023-07-20 06:20 | makefile: add clean and optimize | William Casarin | 1 | +5 | -2 |
2023-07-20 05:54 | test: empty tags | William Casarin | 1 | +20 | -2 |
2023-07-20 05:49 | move comment | William Casarin | 1 | +1 | -1 |
2023-07-19 19:10 | nostrdb: the unfairly fast nostr database | William Casarin | 10 | +574 | -0 |
2023-12-04 22:13 | writer: make sure we don't write a note if we already have it | William Casarin | 2 | +7 | -0 |
2023-12-04 22:27 | test: "fix" search test | William Casarin | 1 | +4 | -2 |
2023-12-04 22:27 | util: add print_util.h for various printing tasks | William Casarin | 4 | +38 | -47 |
2023-12-02 23:02 | search: fix another newest-first bug | William Casarin | 1 | +7 | -2 |
2023-12-02 21:55 | add lmdb data stuff to gitignore | William Casarin | 1 | +4 | -0 |
2023-12-02 21:09 | search: fix subtle bug with some newest-first text search | William Casarin | 3 | +92 | -26 |
2023-12-02 20:16 | search: also index longform | William Casarin | 1 | +2 | -2 |
2023-12-02 19:49 | refactor: move search key printer in case we need it | William Casarin | 1 | +8 | -8 |
2023-12-02 01:26 | test: fix text search test | William Casarin | 1 | +1 | -1 |
2023-12-02 01:19 | util/ndb: return note ids | William Casarin | 1 | +10 | -0 |
2023-12-02 18:40 | test: add missing search testdata | William Casarin | 1 | +3 | -0 |
2023-12-02 01:14 | search: make sure we break instead of return | William Casarin | 1 | +1 | -1 |
2023-12-02 01:04 | search: allow searching from newest-to-oldest and oldest-to-newest | William Casarin | 4 | +106 | -26 |
2023-12-02 00:21 | search: add limit param | William Casarin | 3 | +6 | -4 |
2023-12-01 23:37 | search: remove result printing, move to util/ndb | William Casarin | 2 | +33 | -41 |
2023-12-01 23:29 | remove old benchmark | William Casarin | 2 | +0 | -60 |
2023-12-01 22:26 | util/ndb: fix build | William Casarin | 3 | +10 | -4 |
2023-12-01 17:52 | Delete unuse argument (destsize) | hakkadaikon | 2 | +2 | -2 |
2023-12-01 21:56 | rename get_physical_cores to get_cpu_cores | William Casarin | 2 | +2 | -2 |
2023-12-01 21:20 | add missing cpu.h | William Casarin | 2 | +35 | -1 |
2023-12-01 21:17 | config: fix ingester thread settings | William Casarin | 1 | +3 | -3 |
2023-12-01 21:10 | ingest: add configurable ingest filter | William Casarin | 4 | +144 | -78 |
2023-12-01 19:17 | readme: you need to make many-events! | William Casarin | 1 | +1 | -0 |
2023-12-01 19:08 | readme: show search query output | William Casarin | 1 | +4 | -0 |
2023-12-01 18:49 | readme: fix typo | William Casarin | 1 | +1 | -1 |
2023-12-01 18:48 | readme: update to mention ndb tool | William Casarin | 1 | +37 | -0 |
2023-12-01 18:45 | readme: update wording | William Casarin | 1 | +2 | -2 |
2023-12-01 18:44 | readme: note about api stability | William Casarin | 1 | +5 | -0 |
2023-12-01 18:41 | Switch to GPL | William Casarin | 1 | +674 | -1 |
2023-11-30 21:00 | search: phrase searching working | William Casarin | 2 | +254 | -160 |
2023-11-30 17:44 | flag: add ndb config flag for skipping note verification | William Casarin | 4 | +47 | -20 |
2023-11-29 20:04 | util/ndb: add import command | William Casarin | 1 | +27 | -0 |
2023-11-29 19:01 | util/ndb: add fulltext searching | William Casarin | 2 | +28 | -6 |
2023-11-29 20:02 | util/ndb: reduce threads a bit | William Casarin | 1 | +1 | -1 |
2023-11-29 20:01 | search: fix infinite loop when parsing some notes | William Casarin | 1 | +9 | -0 |
2023-11-29 19:58 | segfault: fix weird crash in ispunct | William Casarin | 1 | +1 | -1 |
2023-11-29 20:03 | db: remove the DUPFIXED flag from the fulltext db | William Casarin | 1 | +2 | -1 |
2023-11-29 20:03 | debug: fix some debug-mode compile issues | William Casarin | 1 | +3 | -1 |
2023-11-28 23:53 | search: prepare text search for accurate phrase results | William Casarin | 3 | +323 | -61 |
2023-11-28 18:51 | search: make search case insensitive | William Casarin | 3 | +27 | -3 |
2023-11-28 00:08 | Add fulltext search index | William Casarin | 5 | +662 | -20 |
2023-11-28 00:39 | Fix invalid db selection when writing kind index | William Casarin | 1 | +1 | -1 |
2023-11-25 23:24 | index: write kind index when processing notes | William Casarin | 1 | +37 | -0 |
2023-11-25 23:15 | refactor: move write id index to its own function | William Casarin | 1 | +29 | -14 |
2023-11-25 23:07 | refactor: move profile index writing to its own function | William Casarin | 1 | +31 | -15 |
2023-11-23 22:19 | readme: add workflow status badge | William Casarin | 1 | +2 | -0 |
2023-11-23 21:32 | ci: add flatcc to github action | William Casarin | 1 | +17 | -1 |
2023-11-23 21:20 | index: create kind+timestamp index database | William Casarin | 2 | +9 | -1 |
2023-11-23 21:19 | index: add u64_timestamp lmdb comparator | William Casarin | 1 | +27 | -0 |
2023-11-23 21:18 | debug: use mdb_strerror in more places | William Casarin | 1 | +2 | -2 |
2023-11-23 20:45 | filter: make sure we only match single chars | William Casarin | 1 | +1 | -1 |
2023-11-22 21:46 | filters: add initial filter interface | William Casarin | 3 | +512 | -0 |
2023-11-22 18:27 | test: remove non-deterministic test | William Casarin | 1 | +2 | -1 |
2023-11-21 23:41 | cursor: add cursor_skip | William Casarin | 1 | +10 | -0 |
2023-11-17 01:58 | all these TODOs are done | William Casarin | 1 | +0 | -8 |
2023-11-14 18:25 | ndb/stat: include totals in stat output | William Casarin | 3 | +14 | -3 |
2023-11-14 18:25 | fix build | William Casarin | 1 | +1 | -1 |
2023-11-14 17:47 | cli: add ndb tool | William Casarin | 3 | +82 | -1 |
2023-11-14 17:45 | stat: add ndb_stat for counting things | William Casarin | 2 | +212 | -12 |
2023-11-14 17:43 | ingester: handle case where transaction may fail | William Casarin | 1 | +7 | -2 |
2023-11-04 02:57 | ndb: fix potential crash in some tsid queries | William Casarin | 1 | +5 | -2 |
2023-11-02 05:12 | ndb: migration fix for japanese profile names | William Casarin | 2 | +99 | -22 |
2023-11-02 01:18 | json: fix profile parsing of japanese usernames | William Casarin | 1 | +2 | -2 |
2023-10-23 01:52 | log: remove spammy log | William Casarin | 1 | +1 | -1 |
2023-10-20 04:26 | test: add test for fetched_at logic | William Casarin | 2 | +21 | -5 |
2023-10-06 17:04 | record when a profile was last fetched | William Casarin | 3 | +114 | -13 |
2023-10-08 05:38 | stats: add reaction counter | William Casarin | 5 | +181 | -6 |
2023-10-08 05:43 | update generated bindings for note metadata | William Casarin | 6 | +335 | -18 |
2023-10-08 05:34 | update metadata schema | William Casarin | 1 | +5 | -0 |
2023-10-08 04:12 | txn: refactor nostrdb to use ndb_txn in more places internally | William Casarin | 2 | +87 | -60 |
2023-10-08 00:37 | testdata: add japanese profile | William Casarin | 1 | +1 | -0 |
2023-10-08 00:37 | test: update replacement test | William Casarin | 2 | +5 | -7 |
2023-10-06 17:37 | Fix profiles not updating | William Casarin | 1 | +1 | -1 |
2023-09-28 10:41 | profiles: switch to pubkeys for last fetched time | William Casarin | 2 | +7 | -7 |
2023-09-28 02:51 | db: add ndb_read_last_profile_fetch | William Casarin | 2 | +12 | -1 |
2023-09-28 02:43 | db: add new database for tracking last profile fetches | William Casarin | 2 | +50 | -0 |
2023-09-28 02:16 | initial rust bindings | William Casarin | 3 | +706 | -2 |
2023-09-25 01:34 | make rust bindings dir | William Casarin | 1 | +0 | -0 |
2023-09-24 23:21 | add ndb_process_client_event(s) | William Casarin | 4 | +180 | -66 |
2023-09-24 22:39 | actually run profile updates test... | William Casarin | 1 | +1 | -0 |
2023-09-24 22:39 | log: cleanup logs | William Casarin | 2 | +4 | -4 |
2023-09-24 22:16 | test: test profile updates | William Casarin | 2 | +49 | -2 |
2023-09-22 18:43 | bench: fix build | William Casarin | 2 | +2 | -2 |
2023-09-22 18:43 | log: move some printfs to ndb_debug | William Casarin | 1 | +3 | -3 |
2023-09-21 22:00 | search: make profile search case insensitive | William Casarin | 2 | +49 | -6 |
2023-09-21 16:09 | add profile search index migrations | William Casarin | 2 | +149 | -86 |
2023-09-20 13:33 | test: add test to check profile search duplicates | William Casarin | 1 | +19 | -11 |
2023-09-20 13:23 | query: remove unused data | William Casarin | 1 | +0 | -1 |
2023-09-20 13:18 | search: skip duplicate pubkeys when searching profiles | William Casarin | 3 | +55 | -10 |
2023-09-19 20:30 | search: use proper compare function | William Casarin | 1 | +1 | -0 |
2023-09-19 19:20 | db: implement profile search index | William Casarin | 4 | +224 | -3 |
2023-09-13 15:29 | rgignore: add testdata | William Casarin | 1 | +1 | -0 |
2023-09-12 23:14 | migrations: add initial migration logic | William Casarin | 6 | +198 | -12 |
2023-09-11 15:43 | log: fix log error messages | William Casarin | 1 | +15 | -3 |
2023-09-07 20:21 | query: fix invalid type signature | William Casarin | 2 | +19 | -4 |
2023-09-07 17:47 | optimized function just for fetching notekeys from indices | William Casarin | 2 | +12 | -0 |
2023-09-06 18:21 | return primkey keys on profile and note index queries | William Casarin | 3 | +19 | -11 |
2023-08-31 22:39 | test: add test for profile replacement logic | William Casarin | 2 | +47 | -0 |
2023-08-30 20:57 | add transactions | William Casarin | 3 | +49 | -36 |
2023-08-29 02:43 | Fix build on some compilers | William Casarin | 1 | +1 | -1 |
2023-08-28 17:08 | port escaped slash fix from damus | William Casarin | 1 | +1 | -0 |
2023-08-28 15:04 | don't force debug builds | William Casarin | 1 | +1 | -1 |
2023-08-28 14:32 | debug: turn off noisy debugs for now | William Casarin | 1 | +3 | -3 |
2023-08-28 14:22 | fix lmdb alignment issues | William Casarin | 5 | +26 | -13 |
2023-08-28 04:10 | ndb: assert alignment | William Casarin | 2 | +17 | -6 |
2023-08-28 01:57 | ndb: add support for fetching notes by primary key | William Casarin | 3 | +45 | -4 |
2023-08-28 01:25 | ndb: add note foreign key to profile | William Casarin | 9 | +155 | -69 |
2023-08-27 22:06 | swift: gen codable instances | William Casarin | 2 | +57 | -1 |
2023-08-27 19:44 | ndb: switch to profile records in db | William Casarin | 4 | +43 | -18 |
2023-08-27 19:37 | profile: use ProfileRecord to hold additional profile metadata | William Casarin | 7 | +261 | -2 |
2023-08-27 19:35 | add bech32 utils | William Casarin | 2 | +359 | -0 |
2023-08-27 05:16 | profiles: add lud06 field | William Casarin | 7 | +55 | -27 |
2023-08-27 03:34 | ndb: test profile flatbuffers | William Casarin | 4 | +22 | -12 |
2023-08-27 01:09 | tsid: return length | William Casarin | 3 | +13 | -8 |
2023-08-27 00:40 | ndb: add ndb_lookup_tsid helper | William Casarin | 2 | +22 | -9 |
2023-08-26 23:51 | add failing damus test... yet curiously it works | William Casarin | 2 | +42 | -0 |
2023-08-26 23:39 | fix benches | William Casarin | 2 | +4 | -4 |
2023-08-26 01:26 | ndb: make id lookups const | William Casarin | 2 | +5 | -5 |
2023-08-26 01:03 | ndb: add db directory argument | William Casarin | 3 | +14 | -8 |
2023-08-21 21:36 | test: add test for fuzz crash | William Casarin | 1 | +9 | -0 |
2023-08-13 14:35 | Fix potential crashes in char_to_hex | geeknik | 1 | +2 | -2 |
2023-08-18 15:03 | tsid: switch to uint64_max | William Casarin | 1 | +1 | -1 |
2023-08-12 16:14 | make: add more benches to clean | William Casarin | 1 | +1 | -1 |
2023-08-12 04:40 | make: fix build on linux, bump queue sizes | William Casarin | 3 | +5 | -8 |
2023-08-12 04:28 | bench: add 1million note import benchmark | William Casarin | 4 | +83 | -2 |
2023-08-12 04:08 | benchmark very large file | William Casarin | 3 | +11 | -6 |
2023-08-12 04:08 | bench: switch to monotonic clock for benchmarking | William Casarin | 2 | +4 | -4 |
2023-08-12 03:27 | ndb: add note querying by id, add tests | William Casarin | 3 | +73 | -16 |
2023-08-12 02:20 | ndb: parse profiles, index notes using clustered keys | William Casarin | 2 | +256 | -34 |
2023-08-12 02:19 | notes: change created_at to uint64 | William Casarin | 3 | +10 | -7 |
2023-08-12 02:21 | note: add a reserved area for future expansion | William Casarin | 1 | +1 | -1 |
2023-08-12 02:18 | nbd: add clustered key helpers | William Casarin | 1 | +59 | -9 |
2023-08-12 02:21 | ndb: add padding to tags | William Casarin | 1 | +1 | -0 |
2023-08-12 02:21 | schema: add evid | William Casarin | 1 | +2 | -0 |
2023-08-11 04:16 | schemas: add event metadata schema | William Casarin | 6 | +276 | -2 |
2023-08-11 04:16 | make: more comprehensive ctag searching | William Casarin | 1 | +1 | -1 |
2023-08-11 04:15 | make: simplify flatcc builder commands | William Casarin | 2 | +13 | -17 |
2023-08-10 19:29 | memchr: fix build on non-arm systems | William Casarin | 1 | +1 | -1 |
2023-08-10 22:38 | perf: optimize hex_decode | William Casarin | 1 | +12 | -11 |
2023-08-10 19:53 | schema: add flatcc json parser for profiles | William Casarin | 2 | +293 | -4 |
2023-08-10 19:45 | make: add flatcc dep | William Casarin | 1 | +9 | -0 |
2023-08-10 19:45 | make: remove bindings from clean | William Casarin | 1 | +1 | -1 |
2023-08-10 19:26 | build: fix compilation of ndb_process_events in release mode | William Casarin | 1 | +4 | -0 |
2023-08-10 19:26 | memchr: cleanup debugs | William Casarin | 1 | +2 | -14 |
2023-08-10 19:26 | test: reset db on test runs | William Casarin | 1 | +1 | -0 |
2023-08-10 19:25 | profile: remove json from bindings | William Casarin | 5 | +60 | -75 |
2023-08-10 19:10 | ndb: add ndb_process_events | William Casarin | 3 | +53 | -1 |
2023-08-10 19:11 | test: add profiles testdata | William Casarin | 1 | +500 | -0 |
2023-08-10 19:09 | debug: add a few debugs | William Casarin | 1 | +29 | -6 |
2023-08-10 19:07 | idhack: make sure json parser in continable after we parse the id | William Casarin | 2 | +5 | -3 |
2023-08-10 19:05 | json: ensure all fields are present when parsing | William Casarin | 1 | +25 | -2 |
2023-08-10 17:21 | add optimized memchr function for processing newlines | William Casarin | 4 | +119 | -1 |
2023-08-10 17:21 | bench: move ingest benchmark to its own file | William Casarin | 4 | +63 | -28 |
2023-08-10 05:21 | insane optimization: check id existence before parsing entire json | William Casarin | 6 | +127 | -52 |
2023-08-10 04:06 | ndb: only validate signature if don't have the note already | William Casarin | 1 | +7 | -8 |
2023-08-10 04:03 | ndb: actually write notes to DB | William Casarin | 2 | +162 | -50 |
2023-08-10 04:01 | ndb: close db after threads | William Casarin | 1 | +2 | -2 |
2023-08-10 03:58 | ndb: add ndb_lmdb struct | William Casarin | 1 | +6 | -0 |
2023-08-10 03:58 | ndb: define dbi's | William Casarin | 1 | +5 | -0 |
2023-08-08 21:59 | ingester: switch single-thread to threadpool | William Casarin | 4 | +41 | -57 |
2023-08-08 21:59 | threadpool: add threadpool implementation | William Casarin | 2 | +104 | -0 |
2023-08-08 19:58 | queue: write many messages to the queue at once | William Casarin | 3 | +65 | -9 |
2023-08-08 00:32 | test: make sure to free! | William Casarin | 1 | +1 | -0 |
2023-08-08 00:30 | test: add ingest test | William Casarin | 3 | +20 | -8 |
2023-08-07 22:36 | ndb: add threaded ingester and writer queues | William Casarin | 2 | +351 | -10 |
2023-08-07 22:35 | queue: add pop_all | William Casarin | 1 | +35 | -4 |
2023-08-07 22:34 | util: add util helpers | William Casarin | 1 | +33 | -0 |
2023-08-07 20:27 | dir: add test database dir | William Casarin | 2 | +1 | -0 |
2023-08-07 18:25 | ndb: lmdb init | William Casarin | 3 | +64 | -4 |
2023-08-07 18:25 | make: update in preparation for lmdb tests | William Casarin | 1 | +10 | -4 |
2023-08-07 18:24 | direnv: nix off for now | William Casarin | 1 | +1 | -1 |
2023-08-07 18:24 | direnv: todo.sh optional | William Casarin | 1 | +1 | -1 |
2023-08-07 17:04 | ndb: add ndb_init and ndb_process_event placeholders | William Casarin | 2 | +52 | -1 |
2023-08-07 17:05 | lmdb: add db scan helper | William Casarin | 1 | +100 | -0 |
2023-08-07 17:03 | make: add lmdb to build | William Casarin | 2 | +28 | -8 |
2023-08-06 04:21 | some todo helpers | William Casarin | 3 | +12 | -1 |
2023-08-04 23:26 | queue: add protected queue implementation | William Casarin | 2 | +275 | -0 |
2023-08-04 15:58 | bindings: add generated profile bindings | William Casarin | 6 | +1588 | -0 |
2023-08-04 15:57 | schema: add profile flatbuffers schema | William Casarin | 2 | +56 | -1 |
2023-08-03 17:49 | fix issue where small content lengths weren't getting written | William Casarin | 3 | +118 | -0 |
2023-07-29 23:48 | bench: fix file path | William Casarin | 1 | +1 | -1 |
2023-07-26 19:27 | fix command result messages | William Casarin | 2 | +25 | -0 |
2023-07-26 17:10 | test: ws_event contact | William Casarin | 3 | +3209 | -1 |
2023-07-26 15:09 | fix builder id generation and signing | William Casarin | 1 | +4 | -2 |
2023-07-26 03:02 | ndb: switch to enum for tce types | William Casarin | 1 | +9 | -7 |
2023-07-26 17:09 | fix build | William Casarin | 2 | +2 | -2 |
2023-07-26 02:41 | ndb: handle eose and command results | William Casarin | 4 | +56 | -10 |
2023-07-26 02:29 | ndb: add websocket event parser | William Casarin | 4 | +167 | -34 |
2023-07-25 20:10 | ndb: expose keypair struct | William Casarin | 2 | +13 | -13 |
2023-07-25 19:48 | ndb: simplify by not requiring secp context in API | William Casarin | 2 | +19 | -17 |
2023-07-25 19:29 | type-erase any secp stuff so it's not in the ndb header | William Casarin | 2 | +22 | -21 |
2023-07-25 19:04 | add ndb_sign_id and ndb_calculate_id | William Casarin | 9 | +242 | -43 |
2023-07-25 16:15 | support note id calculation | William Casarin | 3 | +171 | -0 |
2023-07-25 14:45 | extract cursor_push_unescaped_char | William Casarin | 1 | +19 | -37 |
2023-07-24 23:23 | add sha256 | William Casarin | 7 | +2030 | -3 |
2023-07-24 23:04 | test: add test that make sure string functions work before finalization | William Casarin | 1 | +16 | -0 |
2023-07-24 22:57 | builder: allow note string funcs to work before finalization | William Casarin | 1 | +1 | -0 |
2023-07-24 21:49 | Add a CMake script. Tested in Ubuntu Linux 22.04 | pvn | 1 | +46 | -0 |
2023-07-24 21:56 | add created_at to builder | William Casarin | 2 | +6 | -0 |
2023-07-24 21:39 | ndb_builder_new -> ndb_builder_init | William Casarin | 3 | +6 | -6 |
2023-07-23 19:07 | huge perf boost when switching from strncmp to memcmp | William Casarin | 2 | +9 | -6 |
2023-07-23 17:42 | make iterator more intuitive | William Casarin | 2 | +63 | -9 |
2023-07-23 16:55 | fix tests | William Casarin | 1 | +2 | -1 |
2023-07-23 15:49 | we don't actually store the json (yet?) | William Casarin | 1 | +0 | -1 |
2023-07-22 17:52 | pack pubkeys and id strings | William Casarin | 3 | +131 | -98 |
2023-07-23 15:44 | Create c-cpp.yml | William Casarin | 1 | +17 | -0 |
2023-07-22 22:23 | add content length to ndb_note | William Casarin | 3 | +27 | -4 |
2023-07-22 20:49 | add kind parsing support | William Casarin | 3 | +12 | -1 |
2023-07-22 20:35 | json: parse created_at | William Casarin | 2 | +39 | -1 |
2023-07-22 19:58 | make contacts smaller for a more realistic bench | William Casarin | 1 | +1 | -3162 |
2023-07-22 19:02 | fix build on some compilers | William Casarin | 3 | +5 | -3 |
2023-07-22 18:36 | make: update clean | William Casarin | 1 | +1 | -1 |
2023-07-22 18:32 | add benchmarking | William Casarin | 5 | +62 | -3 |
2023-07-22 18:13 | test: check for unescaped content | William Casarin | 1 | +13 | -1 |
2023-07-22 18:03 | test: assert size again | William Casarin | 1 | +1 | -1 |
2023-07-22 18:06 | json: try compact string before we unescape | William Casarin | 1 | +5 | -2 |
2023-07-22 18:05 | rename to push_string -> make_string to align with other functions | William Casarin | 1 | +3 | -3 |
2023-07-22 18:05 | extract ndb_builder_try_compact_string | William Casarin | 1 | +21 | -9 |
2023-07-22 17:49 | refactor builder logic a bit | William Casarin | 1 | +43 | -17 |
2023-07-22 17:44 | use strncmp instead of strcmp | William Casarin | 1 | +1 | -1 |
2023-07-22 17:36 | push chunks at a time when unescaping json | William Casarin | 1 | +17 | -8 |
2023-07-22 17:25 | initial string unescaping logic | William Casarin | 2 | +101 | -9 |
2023-07-22 16:43 | fix indents | William Casarin | 1 | +2 | -3 |
2023-07-22 15:49 | write ndb record for testing purposes | William Casarin | 4 | +21 | -6 |
2023-07-22 14:38 | Revert "switch to 2-byte string indices and remove packed string" | William Casarin | 3 | +84 | -29 |
2023-07-22 14:38 | add large contacts test | William Casarin | 3 | +3217 | -0 |
2023-07-22 14:01 | switch to 2-byte string indices and remove packed string | William Casarin | 3 | +29 | -84 |
2023-07-21 22:01 | fixup style some more | William Casarin | 1 | +46 | -35 |
2023-07-21 21:58 | add ndb_tag_matches_char function | William Casarin | 1 | +11 | -0 |
2023-07-21 21:21 | reverse braindamage | William Casarin | 1 | +37 | -32 |
2023-07-21 21:21 | hardcode jsmn settings | William Casarin | 2 | +4 | -1 |
2023-07-21 20:44 | fix tag iteration | William Casarin | 1 | +8 | -9 |
2023-07-20 23:30 | fix json token memory calc | William Casarin | 2 | +8 | -4 |
2023-07-20 23:29 | git: add some ignore for mac files | William Casarin | 1 | +1 | -0 |
2023-07-20 21:17 | json: support tag parsing | William Casarin | 3 | +86 | -37 |
2023-07-20 20:17 | json: switch to ndb_json_parser for tag processing | William Casarin | 1 | +7 | -7 |
2023-07-20 19:08 | remove all dynamic allocations | William Casarin | 5 | +123 | -63 |
2023-07-20 17:44 | remove duplicate license file | William Casarin | 1 | +0 | -1 |
2023-07-20 17:42 | json: start on tags builder | William Casarin | 2 | +65 | -29 |
2023-07-20 17:37 | move some function names to their own line | William Casarin | 2 | +40 | -20 |
2023-07-20 07:59 | flatbuffers: remove nostr_index.fbs | William Casarin | 1 | +0 | -32 |
2023-07-20 07:55 | initial json decoding | William Casarin | 6 | +663 | -27 |
2023-07-20 06:20 | makefile: add clean and optimize | William Casarin | 1 | +5 | -2 |
2023-07-20 05:54 | test: empty tags | William Casarin | 1 | +20 | -2 |
2023-07-20 05:49 | move comment | William Casarin | 1 | +1 | -1 |
2023-07-19 19:10 | nostrdb: the unfairly fast nostr database | William Casarin | 10 | +574 | -0 |
2023-09-07 17:47 | optimized function just for fetching notekeys from indices | William Casarin | 2 | +12 | -0 |
2023-09-06 18:21 | return primkey keys on profile and note index queries | William Casarin | 3 | +19 | -11 |
2023-08-31 22:39 | test: add test for profile replacement logic | William Casarin | 2 | +47 | -0 |
2023-08-30 20:57 | add transactions | William Casarin | 3 | +49 | -36 |
2023-08-28 17:08 | port escaped slash fix from damus | William Casarin | 1 | +1 | -0 |
2023-08-28 15:04 | don't force debug builds | William Casarin | 1 | +1 | -1 |
2023-08-28 14:32 | debug: turn off noisy debugs for now | William Casarin | 1 | +3 | -3 |
2023-08-28 14:22 | fix lmdb alignment issues | William Casarin | 5 | +26 | -13 |
2023-08-28 04:10 | ndb: assert alignment | William Casarin | 2 | +17 | -6 |
2023-08-28 01:57 | ndb: add support for fetching notes by primary key | William Casarin | 3 | +45 | -4 |
2023-08-28 01:25 | ndb: add note foreign key to profile | William Casarin | 9 | +155 | -69 |
2023-08-27 22:06 | swift: gen codable instances | William Casarin | 2 | +57 | -1 |
2023-08-27 19:44 | ndb: switch to profile records in db | William Casarin | 4 | +43 | -18 |
2023-08-27 19:37 | profile: use ProfileRecord to hold additional profile metadata | William Casarin | 7 | +261 | -2 |
2023-08-27 19:35 | add bech32 utils | William Casarin | 2 | +359 | -0 |
2023-08-27 05:16 | profiles: add lud06 field | William Casarin | 7 | +55 | -27 |
2023-08-27 03:34 | ndb: test profile flatbuffers | William Casarin | 4 | +22 | -12 |
2023-08-27 01:09 | tsid: return length | William Casarin | 3 | +13 | -8 |
2023-08-27 00:40 | ndb: add ndb_lookup_tsid helper | William Casarin | 2 | +22 | -9 |
2023-08-26 23:51 | add failing damus test... yet curiously it works | William Casarin | 2 | +42 | -0 |
2023-08-26 23:39 | fix benches | William Casarin | 2 | +4 | -4 |
2023-08-26 01:26 | ndb: make id lookups const | William Casarin | 2 | +5 | -5 |
2023-08-26 01:03 | ndb: add db directory argument | William Casarin | 3 | +14 | -8 |
2023-08-21 21:36 | test: add test for fuzz crash | William Casarin | 1 | +9 | -0 |
2023-08-13 14:35 | Fix potential crashes in char_to_hex | geeknik | 1 | +2 | -2 |
2023-08-18 15:03 | tsid: switch to uint64_max | William Casarin | 1 | +1 | -1 |
2023-08-12 16:14 | make: add more benches to clean | William Casarin | 1 | +1 | -1 |
2023-08-12 04:40 | make: fix build on linux, bump queue sizes | William Casarin | 3 | +5 | -8 |
2023-08-12 04:28 | bench: add 1million note import benchmark | William Casarin | 4 | +83 | -2 |
2023-08-12 04:08 | benchmark very large file | William Casarin | 3 | +11 | -6 |
2023-08-12 04:08 | bench: switch to monotonic clock for benchmarking | William Casarin | 2 | +4 | -4 |
2023-08-12 03:27 | ndb: add note querying by id, add tests | William Casarin | 3 | +73 | -16 |
2023-08-12 02:20 | ndb: parse profiles, index notes using clustered keys | William Casarin | 2 | +256 | -34 |
2023-08-12 02:19 | notes: change created_at to uint64 | William Casarin | 3 | +10 | -7 |
2023-08-12 02:21 | note: add a reserved area for future expansion | William Casarin | 1 | +1 | -1 |
2023-08-12 02:18 | nbd: add clustered key helpers | William Casarin | 1 | +59 | -9 |
2023-08-12 02:21 | ndb: add padding to tags | William Casarin | 1 | +1 | -0 |
2023-08-12 02:21 | schema: add evid | William Casarin | 1 | +2 | -0 |
2023-08-11 04:16 | schemas: add event metadata schema | William Casarin | 6 | +276 | -2 |
2023-08-11 04:16 | make: more comprehensive ctag searching | William Casarin | 1 | +1 | -1 |
2023-08-11 04:15 | make: simplify flatcc builder commands | William Casarin | 2 | +13 | -17 |
2023-08-10 19:29 | memchr: fix build on non-arm systems | William Casarin | 1 | +1 | -1 |
2023-08-10 22:38 | perf: optimize hex_decode | William Casarin | 1 | +12 | -11 |
2023-08-10 19:53 | schema: add flatcc json parser for profiles | William Casarin | 2 | +293 | -4 |
2023-08-10 19:45 | make: add flatcc dep | William Casarin | 1 | +9 | -0 |
2023-08-10 19:45 | make: remove bindings from clean | William Casarin | 1 | +1 | -1 |
2023-08-10 19:26 | build: fix compilation of ndb_process_events in release mode | William Casarin | 1 | +4 | -0 |
2023-08-10 19:26 | memchr: cleanup debugs | William Casarin | 1 | +2 | -14 |
2023-08-10 19:26 | test: reset db on test runs | William Casarin | 1 | +1 | -0 |
2023-08-10 19:25 | profile: remove json from bindings | William Casarin | 5 | +60 | -75 |
2023-08-10 19:10 | ndb: add ndb_process_events | William Casarin | 3 | +53 | -1 |
2023-08-10 19:11 | test: add profiles testdata | William Casarin | 1 | +500 | -0 |
2023-08-10 19:09 | debug: add a few debugs | William Casarin | 1 | +29 | -6 |
2023-08-10 19:07 | idhack: make sure json parser in continable after we parse the id | William Casarin | 2 | +5 | -3 |
2023-08-10 19:05 | json: ensure all fields are present when parsing | William Casarin | 1 | +25 | -2 |
2023-08-10 17:21 | add optimized memchr function for processing newlines | William Casarin | 4 | +119 | -1 |
2023-08-10 17:21 | bench: move ingest benchmark to its own file | William Casarin | 4 | +63 | -28 |
2023-08-10 05:21 | insane optimization: check id existence before parsing entire json | William Casarin | 6 | +127 | -52 |
2023-08-10 04:06 | ndb: only validate signature if don't have the note already | William Casarin | 1 | +7 | -8 |
2023-08-10 04:03 | ndb: actually write notes to DB | William Casarin | 2 | +162 | -50 |
2023-08-10 04:01 | ndb: close db after threads | William Casarin | 1 | +2 | -2 |
2023-08-10 03:58 | ndb: add ndb_lmdb struct | William Casarin | 1 | +6 | -0 |
2023-08-10 03:58 | ndb: define dbi's | William Casarin | 1 | +5 | -0 |
2023-08-08 21:59 | ingester: switch single-thread to threadpool | William Casarin | 4 | +41 | -57 |
2023-08-08 21:59 | threadpool: add threadpool implementation | William Casarin | 2 | +104 | -0 |
2023-08-08 19:58 | queue: write many messages to the queue at once | William Casarin | 3 | +65 | -9 |
2023-08-08 00:32 | test: make sure to free! | William Casarin | 1 | +1 | -0 |
2023-08-08 00:30 | test: add ingest test | William Casarin | 3 | +20 | -8 |
2023-08-07 22:36 | ndb: add threaded ingester and writer queues | William Casarin | 2 | +351 | -10 |
2023-08-07 22:35 | queue: add pop_all | William Casarin | 1 | +35 | -4 |
2023-08-07 22:34 | util: add util helpers | William Casarin | 1 | +33 | -0 |
2023-08-07 20:27 | dir: add test database dir | William Casarin | 2 | +1 | -0 |
2023-08-07 18:25 | ndb: lmdb init | William Casarin | 3 | +64 | -4 |
2023-08-07 18:25 | make: update in preparation for lmdb tests | William Casarin | 1 | +10 | -4 |
2023-08-07 18:24 | direnv: nix off for now | William Casarin | 1 | +1 | -1 |
2023-08-07 18:24 | direnv: todo.sh optional | William Casarin | 1 | +1 | -1 |
2023-08-07 17:04 | ndb: add ndb_init and ndb_process_event placeholders | William Casarin | 2 | +52 | -1 |
2023-08-07 17:05 | lmdb: add db scan helper | William Casarin | 1 | +100 | -0 |
2023-08-07 17:03 | make: add lmdb to build | William Casarin | 2 | +28 | -8 |
2023-08-06 04:21 | some todo helpers | William Casarin | 3 | +12 | -1 |
2023-08-04 23:26 | queue: add protected queue implementation | William Casarin | 2 | +275 | -0 |
2023-08-04 15:58 | bindings: add generated profile bindings | William Casarin | 6 | +1588 | -0 |
2023-08-04 15:57 | schema: add profile flatbuffers schema | William Casarin | 2 | +56 | -1 |
2023-08-03 17:49 | fix issue where small content lengths weren't getting written | William Casarin | 3 | +118 | -0 |
2023-07-29 23:48 | bench: fix file path | William Casarin | 1 | +1 | -1 |
2023-07-26 19:27 | fix command result messages | William Casarin | 2 | +25 | -0 |
2023-07-26 17:10 | test: ws_event contact | William Casarin | 3 | +3209 | -1 |
2023-07-26 15:09 | fix builder id generation and signing | William Casarin | 1 | +4 | -2 |
2023-07-26 03:02 | ndb: switch to enum for tce types | William Casarin | 1 | +9 | -7 |
2023-07-26 17:09 | fix build | William Casarin | 2 | +2 | -2 |
2023-07-26 02:41 | ndb: handle eose and command results | William Casarin | 4 | +56 | -10 |
2023-07-26 02:29 | ndb: add websocket event parser | William Casarin | 4 | +167 | -34 |
2023-07-25 20:10 | ndb: expose keypair struct | William Casarin | 2 | +13 | -13 |
2023-07-25 19:48 | ndb: simplify by not requiring secp context in API | William Casarin | 2 | +19 | -17 |
2023-07-25 19:29 | type-erase any secp stuff so it's not in the ndb header | William Casarin | 2 | +22 | -21 |
2023-07-25 19:04 | add ndb_sign_id and ndb_calculate_id | William Casarin | 9 | +242 | -43 |
2023-07-25 16:15 | support note id calculation | William Casarin | 3 | +171 | -0 |
2023-07-25 14:45 | extract cursor_push_unescaped_char | William Casarin | 1 | +19 | -37 |
2023-07-24 23:23 | add sha256 | William Casarin | 7 | +2030 | -3 |
2023-07-24 23:04 | test: add test that make sure string functions work before finalization | William Casarin | 1 | +16 | -0 |
2023-07-24 22:57 | builder: allow note string funcs to work before finalization | William Casarin | 1 | +1 | -0 |
2023-07-24 21:49 | Add a CMake script. Tested in Ubuntu Linux 22.04 | pvn | 1 | +46 | -0 |
2023-07-24 21:56 | add created_at to builder | William Casarin | 2 | +6 | -0 |
2023-07-24 21:39 | ndb_builder_new -> ndb_builder_init | William Casarin | 3 | +6 | -6 |
2023-07-23 19:07 | huge perf boost when switching from strncmp to memcmp | William Casarin | 2 | +9 | -6 |
2023-07-23 17:42 | make iterator more intuitive | William Casarin | 2 | +63 | -9 |
2023-07-23 16:55 | fix tests | William Casarin | 1 | +2 | -1 |
2023-07-23 15:49 | we don't actually store the json (yet?) | William Casarin | 1 | +0 | -1 |
2023-07-22 17:52 | pack pubkeys and id strings | William Casarin | 3 | +131 | -98 |
2023-07-23 15:44 | Create c-cpp.yml | William Casarin | 1 | +17 | -0 |
2023-07-22 22:23 | add content length to ndb_note | William Casarin | 3 | +27 | -4 |
2023-07-22 20:49 | add kind parsing support | William Casarin | 3 | +12 | -1 |
2023-07-22 20:35 | json: parse created_at | William Casarin | 2 | +39 | -1 |
2023-07-22 19:58 | make contacts smaller for a more realistic bench | William Casarin | 1 | +1 | -3162 |
2023-07-22 19:02 | fix build on some compilers | William Casarin | 3 | +5 | -3 |
2023-07-22 18:36 | make: update clean | William Casarin | 1 | +1 | -1 |
2023-07-22 18:32 | add benchmarking | William Casarin | 5 | +62 | -3 |
2023-07-22 18:13 | test: check for unescaped content | William Casarin | 1 | +13 | -1 |
2023-07-22 18:03 | test: assert size again | William Casarin | 1 | +1 | -1 |
2023-07-22 18:06 | json: try compact string before we unescape | William Casarin | 1 | +5 | -2 |
2023-07-22 18:05 | rename to push_string -> make_string to align with other functions | William Casarin | 1 | +3 | -3 |
2023-07-22 18:05 | extract ndb_builder_try_compact_string | William Casarin | 1 | +21 | -9 |
2023-07-22 17:49 | refactor builder logic a bit | William Casarin | 1 | +43 | -17 |
2023-07-22 17:44 | use strncmp instead of strcmp | William Casarin | 1 | +1 | -1 |
2023-07-22 17:36 | push chunks at a time when unescaping json | William Casarin | 1 | +17 | -8 |
2023-07-22 17:25 | initial string unescaping logic | William Casarin | 2 | +101 | -9 |
2023-07-22 16:43 | fix indents | William Casarin | 1 | +2 | -3 |
2023-07-22 15:49 | write ndb record for testing purposes | William Casarin | 4 | +21 | -6 |
2023-07-22 14:38 | Revert "switch to 2-byte string indices and remove packed string" | William Casarin | 3 | +84 | -29 |
2023-07-22 14:38 | add large contacts test | William Casarin | 3 | +3217 | -0 |
2023-07-22 14:01 | switch to 2-byte string indices and remove packed string | William Casarin | 3 | +29 | -84 |
2023-07-21 22:01 | fixup style some more | William Casarin | 1 | +46 | -35 |
2023-07-21 21:58 | add ndb_tag_matches_char function | William Casarin | 1 | +11 | -0 |
2023-07-21 21:21 | reverse braindamage | William Casarin | 1 | +37 | -32 |
2023-07-21 21:21 | hardcode jsmn settings | William Casarin | 2 | +4 | -1 |
2023-07-21 20:44 | fix tag iteration | William Casarin | 1 | +8 | -9 |
2023-07-20 23:30 | fix json token memory calc | William Casarin | 2 | +8 | -4 |
2023-07-20 23:29 | git: add some ignore for mac files | William Casarin | 1 | +1 | -0 |
2023-07-20 21:17 | json: support tag parsing | William Casarin | 3 | +86 | -37 |
2023-07-20 20:17 | json: switch to ndb_json_parser for tag processing | William Casarin | 1 | +7 | -7 |
2023-07-20 19:08 | remove all dynamic allocations | William Casarin | 5 | +123 | -63 |
2023-07-20 17:44 | remove duplicate license file | William Casarin | 1 | +0 | -1 |
2023-07-20 17:42 | json: start on tags builder | William Casarin | 2 | +65 | -29 |
2023-07-20 17:37 | move some function names to their own line | William Casarin | 2 | +40 | -20 |
2023-07-20 07:59 | flatbuffers: remove nostr_index.fbs | William Casarin | 1 | +0 | -32 |
2023-07-20 07:55 | initial json decoding | William Casarin | 6 | +663 | -27 |
2023-07-20 06:20 | makefile: add clean and optimize | William Casarin | 1 | +5 | -2 |
2023-07-20 05:54 | test: empty tags | William Casarin | 1 | +20 | -2 |
2023-07-20 05:49 | move comment | William Casarin | 1 | +1 | -1 |
2023-07-19 19:10 | nostrdb: the unfairly fast nostr database | William Casarin | 10 | +574 | -0 |