fiatjaf
|
775821f4e5
|
fix CLOSED->CLOSE marshaling on CloseEnvelope.
v0.26.1
|
2023-12-01 12:57:18 -03:00 |
|
fiatjaf
|
3adb1cde3c
|
only store the last AUTH challenge and allow user to perform auth only whenever they want instead of automatically.
v0.26.0
|
2023-11-28 22:30:16 -03:00 |
|
fiatjaf
|
0c5a1b7b4f
|
move internal utilts to helpers.go
|
2023-11-28 22:24:05 -03:00 |
|
fiatjaf
|
ddc50028c3
|
add NormalizeOKMessage() helper.
|
2023-11-28 22:23:51 -03:00 |
|
fiatjaf
|
7449f254db
|
support handling CLOSED messages from relay client.
|
2023-11-28 18:54:24 -03:00 |
|
fiatjaf
|
fa20f84ec7
|
support CLOSED messages.
|
2023-11-28 18:25:46 -03:00 |
|
fiatjaf
|
b6ec7327ef
|
easyjson on filter.String()
|
2023-11-28 15:14:35 -03:00 |
|
Yasuhiro Matsumoto
|
cd0d644046
|
If EOSE is not given, they should not be deleted.
|
2023-11-24 10:33:08 -03:00 |
|
Yasuhiro Matsumoto
|
ba25770f65
|
seenAlready must drop older events
|
2023-11-24 10:33:08 -03:00 |
|
fiatjaf
|
8a540998b9
|
nip11 fetch better errors.
|
2023-11-20 14:59:12 -03:00 |
|
fiatjaf
|
f3c081fcd6
|
remove nip11 min_prefix.
|
2023-11-18 10:43:29 -03:00 |
|
fiatjaf
|
b33fe374c1
|
nip11's info.AddSupportedNIP()
v0.25.7
|
2023-11-18 10:32:15 -03:00 |
|
fiatjaf
|
fe32ecd440
|
nip11: "restricted_writes".
v0.25.6
|
2023-11-18 09:42:19 -03:00 |
|
fiatjaf
|
0cfaa0da0a
|
ensure private key is 64 characters long.
fixes https://github.com/nbd-wtf/go-nostr/issues/111
v0.25.5
|
2023-11-17 09:27:16 -03:00 |
|
fiatjaf
|
307df51b9a
|
use xsync maps for pool relays to prevent concurrent access panics.
|
2023-11-16 14:51:33 -03:00 |
|
fiatjaf
|
9287b9fb5e
|
accept > 2 items on EOSE and NOTICE envelopes, but ignore them.
fixes https://github.com/nbd-wtf/go-nostr/issues/110
v0.25.4
|
2023-11-14 15:45:52 -03:00 |
|
fiatjaf
|
93b43ed426
|
add infolog for when a relay sends an unexpected OK message.
this can be indicative of either us or the relay miscalculating the event id.
|
2023-11-08 22:22:30 -03:00 |
|
fiatjaf
|
fda3bd2acb
|
accept custom sign options for schnorr library.
|
2023-11-08 21:51:01 -03:00 |
|
fiatjaf
|
c357e6babe
|
log event id on bad signature.
|
2023-11-08 00:07:01 -03:00 |
|
fiatjaf
|
2fa04c96cc
|
remove duplicated badges.
|
2023-11-07 22:26:42 -03:00 |
|
fiatjaf
|
8bd03cbaed
|
turns out we don't need just to run tests.
|
2023-11-07 22:24:02 -03:00 |
|
fiatjaf
|
fe17b5c0ad
|
add badges to readme.
|
2023-11-07 22:23:52 -03:00 |
|
fiatjaf
|
fe9fe0abc8
|
remove useless assignment.
|
2023-11-07 22:17:50 -03:00 |
|
fiatjaf
|
f5cd0c1140
|
Filter.Clone()
v0.25.3
|
2023-11-06 18:50:55 -03:00 |
|
Yasuhiro Matsumoto
|
d6baa2f74c
|
separate msgState for reader/writer
v0.25.2
|
2023-11-06 13:29:19 -03:00 |
|
fiatjaf
|
4fccda5549
|
use go version from go.mod in github action.
|
2023-11-06 13:28:20 -03:00 |
|
fiatjaf
|
50c6c7cb4b
|
use newer go version in github action.
|
2023-11-06 13:26:57 -03:00 |
|
fiatjaf
|
5c1d5e9d56
|
jsutfile with bash instead of fish.
|
2023-11-06 13:25:08 -03:00 |
|
fiatjaf
|
771d87e1e5
|
use just test-all in github action.
|
2023-11-06 13:15:23 -03:00 |
|
Yasuhiro Matsumoto
|
b7d0a30a73
|
fix GitHub workflow
|
2023-11-06 13:13:19 -03:00 |
|
fiatjaf
|
f6df0f3f40
|
rename .mu -> .closeMutex
|
2023-11-05 13:39:09 -03:00 |
|
Yasuhiro Matsumoto
|
20d65d4a76
|
fix race condition in Close
|
2023-11-05 13:38:32 -03:00 |
|
fiatjaf
|
29646d8bec
|
fix ok envelope test.
fixes https://github.com/nbd-wtf/go-nostr/pull/106
|
2023-11-05 13:35:45 -03:00 |
|
fiatjaf
|
f8fb9e8c26
|
fix OKEnvelope always requiring the 4th field.
v0.25.1
|
2023-11-04 17:30:19 -03:00 |
|
fiatjaf
|
0ecffe686d
|
binary decoding performance gains are negligible.
|
2023-11-04 10:06:34 -03:00 |
|
fiatjaf
|
2fd7c221ff
|
use trunk ristretto for our hashing magic instead of modded fork.
v0.25.0
|
2023-11-02 16:05:08 -03:00 |
|
fiatjaf
|
9e593c44c2
|
nson and binary on justfile.
|
2023-11-02 16:04:23 -03:00 |
|
fiatjaf
|
4c72e16f3e
|
binary encoding and some changes to nson benchmarks.
|
2023-11-02 15:28:01 -03:00 |
|
fiatjaf
|
1789d43d51
|
move sdk out to its own module.
|
2023-10-31 17:49:27 -03:00 |
|
fiatjaf
|
5847335506
|
sdk: return store event along with ProfileMetadata.
|
2023-10-31 15:22:55 -03:00 |
|
fiatjaf
|
711b0844b1
|
expose System properties.
|
2023-10-31 12:16:08 -03:00 |
|
fiatjaf
|
374dbbe1a0
|
sdk: fetch and cache profiles.
|
2023-10-31 11:00:46 -03:00 |
|
fiatjaf
|
aaaf608c2b
|
I thought I had removed this.
|
2023-10-30 19:24:30 -03:00 |
|
fiatjaf
|
c506cc0f8b
|
sdk taking shape.
|
2023-10-30 19:23:58 -03:00 |
|
fiatjaf
|
234d825e43
|
remove deprecated nip44 version.
|
2023-10-09 07:39:42 -03:00 |
|
fiatjaf
|
15b3aebc86
|
fix an accidental API breaking change.
v0.24.2
|
2023-10-08 14:46:16 -03:00 |
|
fiatjaf
|
edefc57b28
|
clear context differentiation on submany/unique.
|
2023-10-03 15:43:18 -03:00 |
|
fiatjaf
|
7d1091b66b
|
fix a stupid bool.
v0.24.1
|
2023-10-02 14:46:19 -03:00 |
|
fiatjaf
|
e45921c11a
|
pool.SubMany(Eose)NonUnique()
v0.24.0
|
2023-10-02 14:16:16 -03:00 |
|
fiatjaf
|
c68e876b05
|
RemoveExtra()
|
2023-10-02 12:26:34 -03:00 |
|