Commit Graph

  • 19c09f45d6
    Merge 1c9e97d2101b29d30d12c8d35bf568b56ceee5dc into 7c9c5d7cd9e1b946a25b57726d816abb79873bb9 Roland 2025-03-17 13:04:51 +07:00
  • 7c9c5d7cd9 fix unsafe strings that change underneath us on envelope parsing by force-copying them as gjson doesn't. master 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
  • 1c9e97d210 feat: add basic nip47 methods Roland Bewick 2025-03-09 22:17:02 +07: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
  • e1f38a1717 nipb0: Add authorization headers to Blossom downloads 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
  • 6f5737a763 pointers from tags helpers. fiatjaf 2025-02-13 23:05:39 -03:00
  • c37ed1a309 pool: deprecate methods that take more than one filter. fiatjaf 2025-02-12 15:50:08 -03:00
  • 332a1642f0 nip77: FetchIDsOnly() v0.49.7 fiatjaf 2025-02-12 15:45:52 -03:00
  • 1f36d7a9f1 increase websocket message limit to an absurd of 33MB. fiatjaf 2025-02-12 15:41:52 -03:00
  • e0ed40613d pool: bug that was causing a SubMany() to close if any of the relays failed to connect. v0.49.6 fiatjaf 2025-02-12 14:32:22 -03:00
  • 3de002aca1 sdk: only instantiate caches by default when they are necessary. fiatjaf 2025-02-11 14:14:48 -03:00
  • 7189cd7e02 add banner to nip-11. Kay 2025-02-09 19:33:13 +00:00
  • a8d6e1f37f sdk: adjust test expected relay. fiatjaf 2025-02-09 18:11:25 -03:00
  • d07cccdd45 nip27 parsing improved (and with nip08 support removed) in its own package. fiatjaf 2025-02-09 18:00:19 -03:00
  • 28fd947f7b add banner to nip-11. Kay 2025-02-09 19:33:13 +00:00
  • 7df4cdcb4f nip-86: stat. Kay 2025-02-08 12:21:01 +00:00
  • fcc231e9d7 nip-86: update methods. Kay 2025-02-08 12:17:24 +00:00
  • 577348a9a2 nip-86: stat. Kay 2025-02-08 12:21:01 +00:00
  • 3c34d43987 nip-86: update methods. Kay 2025-02-08 12:17:24 +00:00
  • fcf01fcbf6 pool's PaginatorWithTimeout() helper. v0.49.5 fiatjaf 2025-02-07 18:02:34 -03:00
  • 0ea7fd95f3 QuerySingle() to take opts. fiatjaf 2025-02-07 18:02:19 -03:00
  • f19efb4013 nip19: helper for building nevent from RelayEvent. fiatjaf 2025-02-07 18:01:59 -03:00
  • 1b31dd892e nip61: verify dleq and sum tokens from nutzaps. fiatjaf 2025-02-06 15:03:09 -03:00
  • bce95327d4 nip60: expose ParseKeysetKeys() fiatjaf 2025-02-06 15:02:49 -03:00
  • 41b7261735 nip60: upon receive do not swap into mints unless explicitly asked for. fiatjaf 2025-02-05 16:33:10 -03:00
  • 0330c198fb nip60: expose GetSatoshisAmountFromBolt11() helper. v0.49.4 fiatjaf 2025-02-05 13:20:41 -03:00
  • 26da7967dc sdk: decrease interval between replaceable lists and sets refetch attempts conditionally. fiatjaf 2025-02-04 19:27:57 -03:00
  • 0ccc1b8e9c meaningless optimizations. fiatjaf 2025-02-04 17:52:05 -03:00
  • 1e4848d84d nip61 and nip60 improvements and fixes. v0.49.3 fiatjaf 2025-02-04 13:43:18 -03:00
  • 48ce669a3d sdk: increase sanity threshold of relay lists. fiatjaf 2025-02-04 10:33:28 -03:00
  • e7432baeba nip60: fix a bunch of stupid bugs. fiatjaf 2025-02-04 10:25:13 -03:00
  • 3c0f4a723a nip60/nip61: update to latest nip changes. fiatjaf 2025-02-03 16:40:42 -03:00
  • 8446557788 debug log relay reconnections. fiatjaf 2025-02-03 10:34:43 -03:00
  • d0f53b3b7a nip61, and related modifications to nip60. fiatjaf 2025-02-02 18:16:46 -03:00
  • c9f670d700 sdk: FetchWriteRelays() and comments explaining these relay functions. fiatjaf 2025-01-31 22:47:10 -03:00
  • 3f901954e6 nip60: emit history. fiatjaf 2025-01-31 15:20:41 -03:00
  • b1571e0253 sdk: fix FetchFeedPage() fiatjaf 2025-01-31 14:27:43 -03:00
  • 4200144489 nip60: fix mutex double-lock issue when saving change. v0.49.2 fiatjaf 2025-01-30 19:56:30 -03:00
  • 2b9c50a220 nip60: EnsureWallet() publishes an update if a wallet wasn't found. fiatjaf 2025-01-30 16:08:21 -03:00
  • 14c4101a03 nip60: Processed is also a function now. fiatjaf 2025-01-30 16:07:20 -03:00
  • b86d5d52bb nip60: Changes channel is a PublishUpdate hook now that must be set, to prevent unpublished updates -- and also now updates have more metadata so the client can display more info about them. fiatjaf 2025-01-30 10:32:23 -03:00
  • f0054af4d8 nip60: just rely on nut08 overpaid fees to get change when melting, don't try to swap beforehand. fiatjaf 2025-01-30 09:45:00 -03:00