Commit Graph

  • 0a7f44307d nip44: use fmt.Errorf correctly master 1l0 2025-06-15 08:23:26 +09:00
  • 2f4a604975 nip11: add user-agent for nostr.wine, replace dead relays 1l0 2025-06-15 08:56:22 +09:00
  • dde31e3637 nip27: fix ws:// parsing. fiatjaf 2025-06-08 10:52:59 -03:00
  • 5c2d463313 Pointer cannot hold a pointer so it can't be a hidden nil. v0.51.12 fiatjaf 2025-05-25 15:56:26 -03:00
  • 48bc94aaeb probably fixing race condition v0.51.11 pippellia-btc 2025-05-07 14:44:27 +02:00
  • 1e42994d7f fixed panic when there is no "relay" tag pippellia-btc 2025-05-05 16:31:23 +02:00
  • 57683d4cae nip46: fix messages nip04->nip44. fiatjaf 2025-04-21 08:33:31 -03:00
  • 40535e6b19 feat(nip11): update to nips pr nostr-protocol/nip#1821 Kay 2025-03-25 14:37:14 +00:00
  • b6f0e46a85 nip45: support kind:1111 comment counts. fiatjaf 2025-04-10 23:06:26 -03:00
  • a90f9e61a2 sdk: prepare note for publication (wip). fiatjaf 2025-04-10 17:49:01 -03:00
  • 5e650f27ff nip77: fix envelope parsing. v0.51.10 fiatjaf 2025-04-08 12:22:17 -03:00
  • dad99b226c relay: fix unsafe overwriting of event buffer that affected parsed pubkeys, ids, content. v0.51.9 fiatjaf 2025-04-07 15:56:36 -03:00
  • 0fc00d8a68 sdk/hints: eliminate two unnecessary unsafe conversions on copy. fiatjaf 2025-04-07 15:14:56 -03:00
  • ed0c6534da nip27: fix for contents that end in broken strings. fiatjaf 2025-04-07 15:10:58 -03:00
  • 14beb34363 sdk: hint tracker to use new nip27 parser. fiatjaf 2025-04-06 13:33:25 -03:00
  • a88b34ed3c sdk/hints: simplify memory. fiatjaf 2025-04-06 11:56:48 -03:00
  • 2e28cc809a sdk/hints: HintsDB.GetDetailedScores() fiatjaf 2025-04-06 11:47:08 -03:00
  • 05e2018d3a exit BatchedSubManyEose() immediately as the context expires. fiatjaf 2025-04-06 09:40:53 -03:00
  • bba332aea6 pool: pre-update seenAlready atomically so there is no risk of the same event being parsed and dispatched twice racily. fiatjaf 2025-04-06 09:40:19 -03:00
  • 198dc6ebda fix (break) sys.FetchWriteRelays() signature. fiatjaf 2025-04-04 23:40:27 -03:00
  • 087e6c220a sdk: include level1 follows in the wot. fiatjaf 2025-04-04 14:34:16 -03:00
  • 72eeabd2f4 sdk: wot knows its size. fiatjaf 2025-04-04 14:32:08 -03:00
  • 4705719c76 sdk: fix wot filter. fiatjaf 2025-04-04 12:58:32 -03:00
  • c3cfb21097 sdk: replaceable loader checks if result exists first on map. fiatjaf 2025-04-03 23:25:59 -03:00
  • f3ef256e65 sdk: wot xor filter has a proper .Contains() function. fiatjaf 2025-04-03 23:25:08 -03:00
  • 1ccd9ba417 pool.PublishMany() runs in parallel. fiatjaf 2025-04-03 23:24:13 -03:00
  • b48d2249b9 small things. fiatjaf 2025-04-03 00:23:26 -03:00
  • 0d5daf66bf sdk: beginnings of basic wot helpers. fiatjaf 2025-03-28 21:49:26 -03:00
  • 6fc68dc039 nip70: HasEmbeddedProtected() v0.51.8 fiatjaf 2025-03-26 12:56:55 -03:00
  • a60e225a5f sdk/dataloader simplify and fix lock issues, now it will work. fiatjaf 2025-03-26 00:58:19 -03:00
  • d1fca24cc3 sdk/dataloader: fix lock around reset()/create new batch logic. fiatjaf 2025-03-25 19:45:15 -03:00
  • 15d946dad8 sdk: update list of fallback relays. fiatjaf 2025-03-25 17:37:47 -03:00
  • ca9c2d7c57 sdk/hints: add lmdb implementation. fiatjaf 2025-03-25 17:06:28 -03:00
  • a1e2a46b5b sdk/hints: add badger implementation. fiatjaf 2025-03-25 17:00:37 -03:00
  • 1544d90354 split up serializeEvent() v0.51.7 fiatjaf 2025-03-24 15:54:08 -03:00
  • e18528c043 move ExternalPointer to nip73 and write nip27.Parse() that gets all the parts of the text including URLs, Nostr URIs and just raw text. fiatjaf 2025-03-21 23:43:23 -03:00
  • 3ebfc7812b sdk: simplified dataloader event more. should be faster. fiatjaf 2025-03-20 20:54:51 -03:00
  • 78dbf9def5 use our own dataloader and simplify batch replaceable requests, removing bugs. fiatjaf 2025-03-20 19:37:37 -03:00
  • 25838a024e added lenght check pippellia-btc 2025-03-20 12:35:40 +01:00
  • c1d9c094ee get rid of base64x temporarily since it doesn't work on arm64. v0.51.6 fiatjaf 2025-03-19 14:59:48 -03:00
  • 7c9c5d7cd9 fix unsafe strings that change underneath us on envelope parsing by force-copying them as gjson doesn't. v0.51.5 fiatjaf 2025-03-14 21:09:33 -03:00
  • c64ebde59d fix sonic parsing req envelopes with limit/since/until. v0.51.4 fiatjaf 2025-03-14 20:08:56 -03:00
  • 4dcadd4d88 update go version so we can use the new benchmarking helper. fiatjaf 2025-03-13 18:57:28 -03:00
  • 1b610ba318 khatru string transition v0.51.3 fiatjaf 2025-03-12 00:54:35 -03:00
  • cc23d81e80 pool's .FetchManyReplaceable() and amends to previous commit. fiatjaf 2025-03-12 00:46:43 -03:00
  • 441f94563f WithCheckDuplicateReplaceable() and helper functions for efficient replaceable event matching. fiatjaf 2025-03-12 00:19:41 -03:00
  • d2ceac48f6 sdk: FetchWriteRelays() shouldn't have a hardcoded fallback, it's better to fail. fiatjaf 2025-03-12 00:18:41 -03:00
  • cecc71cd81 fix and improve envelope stuff again, deal with messages as strings on all envelope parsing steps. fiatjaf 2025-03-12 00:17:01 -03:00
  • 42a2243b72 tags Clone() and CloneDeep() fiatjaf 2025-03-11 16:35:51 -03:00
  • 7df79c1845 improve readme tagline. fiatjaf 2025-03-11 15:32:21 -03:00
  • 657c6edf6c remove sonic from the default build, guard it under "sonic" tag for now. v0.51.2 fiatjaf 2025-03-10 17:33:32 -03:00
  • 74e121075e try to prevent pointer to pointer bug. v0.51.1 fiatjaf 2025-03-10 16:16:44 -03:00
  • 769887fac1 sdk: ConcurrentMetadata test to fail properly. v0.51.0 fiatjaf 2025-03-10 09:57:35 -03:00
  • f19125af65 get rid of nocopy, do it directly. fiatjaf 2025-03-10 09:42:55 -03:00
  • bbccd56108 kvstore: get rid of useless copy()s fiatjaf 2025-03-10 03:05:41 -03:00
  • d430b8c9ed I had forgotten to implement Tags.FindAll() fiatjaf 2025-03-10 02:58:31 -03:00
  • 459273216c replace deprecated functions in multiple places. fiatjaf 2025-03-10 02:54:34 -03:00
  • 8d869009b0 localhost and 127.0.0.1 are "virtual" relays, but not when running go test fiatjaf 2025-03-10 02:49:08 -03:00
  • 7e04bbb4b8 breaking pointer mess fiatjaf 2025-03-10 02:35:02 -03:00
  • f575f63f6c nip92: fix imeta parsing to guard against invalid tags. fiatjaf 2025-03-10 02:34:17 -03:00
  • c15904ba7b change relay for COUNT test. fiatjaf 2025-03-10 02:33:47 -03:00
  • a52165fb7d deprecate all useless tag methods, implement Find() and friends. fiatjaf 2025-03-10 02:33:29 -03:00
  • 99b11ea3be a method for identifying nip70 "protected" events. fiatjaf 2025-03-10 02:26:20 -03:00
  • 94e8b6790a a User interface that is like a Signer but can't sign. fiatjaf 2025-03-10 02:25:57 -03:00
  • fa17e4003f get rid of deprecated keyer.Keyer. fiatjaf 2025-03-08 11:21:27 -03:00
  • a37dd05344 remove simdjson because sonic is just better. v0.50.5 fiatjaf 2025-03-07 21:49:44 -03:00
  • 9e94310604 ridiculous performance string and serialization performance improvements. fiatjaf 2025-03-07 21:45:47 -03:00
  • 4431f58df2 update khatru so feeds_test can run again. fiatjaf 2025-03-07 21:23:54 -03:00
  • d7ef485934 comments on sonic functions. fiatjaf 2025-03-07 21:21:43 -03:00
  • 765f16f86a update sonic so it works with go1.24 v0.50.4 fiatjaf 2025-03-07 16:31:10 -03:00
  • 7c57ad860a add more ParseMessage tests. fiatjaf 2025-03-07 15:50:55 -03:00
  • 8d7e854779 some fixes to sonic and make it faster by reusing arrays. fiatjaf 2025-03-07 15:38:20 -03:00
  • 39bde22639 sonic ast visitor approach. now we're getting faster. fiatjaf 2025-03-07 09:43:42 -03:00
  • cb74908f5d use base64x everywhere instead of encoding/base64. fiatjaf 2025-03-06 22:36:22 -03:00
  • 8140857879 nipb0: Add authorization headers to Blossom downloads v0.50.3 Daniel D’Aquino 2025-03-06 11:55:26 -08:00
  • c9411a3c5b depressing sonic json decoder implementation, breakingly force COUNT to use a single filter, reorganize envelope tests. fiatjaf 2025-03-06 19:34:36 -03:00
  • ec55b1fac8 nip19: decode to pointer. fiatjaf 2025-03-06 11:49:10 -03:00
  • 4fb6fcd9a2 make simdjson great again. fiatjaf 2025-03-05 23:42:16 -03:00
  • de358e641c use bytes.Equal() instead of slices.Equal() on simdjson readers. fiatjaf 2025-03-05 22:37:39 -03:00
  • 535f62cec9 nip90: list all available jobs, update dvm definitions a little bit. fiatjaf 2025-03-05 19:44:40 -03:00
  • eaec35c156 nip90: improve autogeneration, replace ag and awk with rg. v0.50.2 fiatjaf 2025-03-05 11:40:52 -03:00
  • 1090fbb0b6 nip90: autogenerated dvm kinds from https://github.com/nostr-protocol/data-vending-machines fiatjaf 2025-03-05 11:13:08 -03:00
  • b3b8d5804d nipb0: fixes to blossom. v0.50.1 fiatjaf 2025-03-04 19:20:11 -03:00
  • 2865cccc46 keyer: add ReadOnlySigner. fiatjaf 2025-03-04 18:03:02 -03:00
  • 5bafd1c778 add nipb0/blossom helpers. fiatjaf 2025-03-04 12:42:24 -03:00
  • 5bfaed2740 docstrings for many functions. fiatjaf 2025-03-04 11:08:31 -03:00
  • a82780e82e fix these simdjson benchmarks so others can run them. fiatjaf 2025-02-25 19:40:28 -03:00
  • be2fe4a019 do not make the simd stuff a requirement for Envelope. fiatjaf 2025-02-25 18:23:38 -03:00
  • 201abf231b fix nip11 tests again because jellyfish.land is gone. fiatjaf 2025-02-25 18:23:19 -03:00
  • c82b0831e2 depressing simdjson-go benchmarks. fiatjaf 2025-02-25 18:18:31 -03:00
  • 56e9a5a709 implement envelope, event and filter parsing with simdjson-go. fiatjaf 2025-02-25 17:57:15 -03:00
  • 6d8cd55784 fix and use a supposedly much faster library on NormalizeURL(), it's slightly less tolerant with stupidly-formed URLs. fiatjaf 2025-02-25 09:55:19 -03:00
  • 7e06354b6f nip11: catch invalid/small urls. fiatjaf 2025-02-25 08:15:58 -03:00
  • c98b2ea67e nip23: support tables. fiatjaf 2025-02-23 06:51:15 -03:00
  • 6be0541653 nip19: EncodePointer() v0.50.0 fiatjaf 2025-02-17 16:00:08 -03:00
  • fec4524324 sdk: FetchSpecificEvent() takes options. fiatjaf 2025-02-16 18:45:29 -03:00
  • 00c22b0b77 maybe fix logic for closing waitgroup in subMany() fiatjaf 2025-02-16 18:45:09 -03:00
  • 7412a6fb40 use atomic eosed bool in subMany() fiatjaf 2025-02-16 17:36:05 -03:00
  • b437cc6a1f remove useless noswhere.com from list of id-only relays. fiatjaf 2025-02-16 11:53:39 -03:00
  • 1685a3ae09 Pointer.AsFilter() fiatjaf 2025-02-16 11:53:26 -03:00