a88b34ed3c
sdk/hints: simplify memory.
2025-04-06 11:56:48 -03:00
2e28cc809a
sdk/hints: HintsDB.GetDetailedScores()
2025-04-06 11:47:08 -03:00
05e2018d3a
exit BatchedSubManyEose() immediately as the context expires.
...
I'm not sure about this, but seems to work.
2025-04-06 09:40:54 -03:00
bba332aea6
pool: pre-update seenAlready atomically so there is no risk of the same event being parsed and dispatched twice racily.
2025-04-06 09:40:32 -03:00
198dc6ebda
fix (break) sys.FetchWriteRelays() signature.
2025-04-04 23:40:27 -03:00
087e6c220a
sdk: include level1 follows in the wot.
2025-04-04 14:34:16 -03:00
72eeabd2f4
sdk: wot knows its size.
2025-04-04 14:32:08 -03:00
4705719c76
sdk: fix wot filter.
2025-04-04 13:47:39 -03:00
c3cfb21097
sdk: replaceable loader checks if result exists first on map.
2025-04-03 23:25:59 -03:00
f3ef256e65
sdk: wot xor filter has a proper .Contains() function.
2025-04-03 23:25:08 -03:00
1ccd9ba417
pool.PublishMany() runs in parallel.
2025-04-03 23:24:13 -03:00
b48d2249b9
small things.
2025-04-03 00:24:16 -03:00
0d5daf66bf
sdk: beginnings of basic wot helpers.
2025-03-28 21:49:26 -03:00
6fc68dc039
nip70: HasEmbeddedProtected()
v0.51.8
2025-03-28 17:41:41 -03:00
a60e225a5f
sdk/dataloader simplify and fix lock issues, now it will work.
2025-03-28 17:41:41 -03:00
d1fca24cc3
sdk/dataloader: fix lock around reset()/create new batch logic.
2025-03-25 19:45:17 -03:00
15d946dad8
sdk: update list of fallback relays.
2025-03-25 17:37:47 -03:00
ca9c2d7c57
sdk/hints: add lmdb implementation.
2025-03-25 17:06:28 -03:00
a1e2a46b5b
sdk/hints: add badger implementation.
2025-03-25 17:00:37 -03:00
1544d90354
split up serializeEvent()
v0.51.7
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.
2025-03-24 15:50:10 -03:00
3ebfc7812b
sdk: simplified dataloader event more. should be faster.
2025-03-24 15:50:10 -03:00
78dbf9def5
use our own dataloader and simplify batch replaceable requests, removing bugs.
2025-03-24 15:50:10 -03:00
25838a024e
added lenght check
2025-03-24 15:39:54 -03:00
c1d9c094ee
get rid of base64x temporarily since it doesn't work on arm64.
v0.51.6
2025-03-19 14:59:49 -03:00
7c9c5d7cd9
fix unsafe strings that change underneath us on envelope parsing by force-copying them as gjson doesn't.
v0.51.5
2025-03-14 21:09:33 -03:00
c64ebde59d
fix sonic parsing req envelopes with limit/since/until.
v0.51.4
2025-03-14 20:08:56 -03:00
4dcadd4d88
update go version so we can use the new benchmarking helper.
2025-03-13 18:57:30 -03:00
1b610ba318
khatru string transition
v0.51.3
2025-03-12 00:55:08 -03:00
cc23d81e80
pool's .FetchManyReplaceable() and amends to previous commit.
2025-03-12 00:49:58 -03:00
441f94563f
WithCheckDuplicateReplaceable() and helper functions for efficient replaceable event matching.
2025-03-12 00:19:41 -03:00
d2ceac48f6
sdk: FetchWriteRelays() shouldn't have a hardcoded fallback, it's better to fail.
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.
2025-03-12 00:18:11 -03:00
42a2243b72
tags Clone() and CloneDeep()
2025-03-11 16:35:51 -03:00
7df79c1845
improve readme tagline.
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
2025-03-10 17:33:32 -03:00
74e121075e
try to prevent pointer to pointer bug.
v0.51.1
2025-03-10 16:16:44 -03:00
769887fac1
sdk: ConcurrentMetadata test to fail properly.
v0.51.0
2025-03-10 09:57:35 -03:00
f19125af65
get rid of nocopy, do it directly.
2025-03-10 09:42:55 -03:00
bbccd56108
kvstore: get rid of useless copy()s
2025-03-10 03:05:41 -03:00
d430b8c9ed
I had forgotten to implement Tags.FindAll()
2025-03-10 02:58:31 -03:00
459273216c
replace deprecated functions in multiple places.
2025-03-10 02:56:12 -03:00
8d869009b0
localhost and 127.0.0.1 are "virtual" relays, but not when running go test
2025-03-10 02:49:08 -03:00
7e04bbb4b8
breaking pointer mess
...
- ExternalPointer (?)
- nip27, nip22 and nip10 functions to return pointers
- get rid of sdk/thread helpers that were just a thin layer over nip10 and nip22
2025-03-10 02:38:06 -03:00
f575f63f6c
nip92: fix imeta parsing to guard against invalid tags.
2025-03-10 02:34:17 -03:00
c15904ba7b
change relay for COUNT test.
2025-03-10 02:33:47 -03:00
a52165fb7d
deprecate all useless tag methods, implement Find() and friends.
2025-03-10 02:33:29 -03:00
99b11ea3be
a method for identifying nip70 "protected" events.
2025-03-10 02:26:20 -03:00
94e8b6790a
a User interface that is like a Signer but can't sign.
2025-03-10 02:25:57 -03:00
fa17e4003f
get rid of deprecated keyer.Keyer.
2025-03-08 11:21:27 -03:00