fiatjaf
6f778f85ba
always use fastsign option on btcec schnorr.
2024-12-02 10:38:05 -03:00
fiatjaf
a546203758
nip11: support hex nip numbers as strings.
2024-11-30 08:53:08 -03:00
fiatjaf
9df2fc8d7b
hints: prevent malicious timestamp hints to bork calculations.
2024-11-28 21:29:47 -03:00
fiatjaf
2519cab5ae
sdk: validate nip05.
v0.42.3
2024-11-27 10:23:28 -03:00
fiatjaf
a1a4c04a18
nip05: identifier to url.
2024-11-27 10:16:52 -03:00
fiatjaf
1ac5516440
sdk: mutelist cache.
2024-11-27 00:59:34 -03:00
fiatjaf
c5c9bba586
nip77: remove bloom filter, use a map.
2024-11-26 13:22:37 -03:00
fiatjaf
98d3766474
fix race condition on ticker ping.
...
fixes nevent1qqszqakrmmjyjelgp06f3hx0fu70xyvmqt4ed8v65xpmpy9g8nj9qgqpz4mhxue69uhkummnw3ezummcw3ezuer9wchsz9nhwden5te0dehhxarjv4kxjar9wvhx7un89uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcnynjra
2024-11-24 14:49:32 -03:00
1l0
72c7892a8b
kinds: fix typo
2024-11-22 07:55:39 -03:00
fiatjaf
0d40b40c9c
pool: support CountMany() using hyperloglog.
2024-11-16 17:47:42 -03:00
fiatjaf
99e45035d5
nip45: simplify algorithm and hardcode to precision 8.
2024-11-15 20:46:31 -03:00
fiatjaf
59fc2be652
nip45: hyperloglog implementation.
2024-11-15 20:46:31 -03:00
fiatjaf
898455cbe6
nip46: better error messages on decrypt failure.
v0.42.2
2024-11-12 17:29:19 -03:00
fiatjaf
903770f78d
nip46: check signatures incoming from bunkers by default.
2024-11-12 17:29:19 -03:00
fiatjaf
a0bf181547
remove HTML escaping from (easy)json encoder everywhere.
v0.42.1
2024-11-11 22:55:07 -03:00
fiatjaf
b62678e606
nip29: fix roles event kind.
2024-11-11 12:45:26 -03:00
fiatjaf
456f8687ed
nip29: update to latest NIP version (change some kinds and remove permissions and moderation stuff).
2024-11-09 16:12:53 -03:00
fiatjaf
7fc2f88e79
filter theoretical limits.
v0.42.0
2024-11-03 15:54:31 -03:00
fiatjaf
1d06176c7e
kind checking moved to top-level functions on kinds.go
2024-11-03 15:34:49 -03:00
fiatjaf
99c3765092
nip05: use a global http client.
v0.41.0
2024-10-29 21:11:59 -03:00
1l0
6091256d03
remove unused err condition
2024-10-28 14:56:36 -03:00
fiatjaf
9e6342a23b
nip46: delete create_account.go, it was broken.
2024-10-27 15:03:49 -03:00
fiatjaf
4346158f83
nip46: only use nip44 for encrypting requests and responses (breaking).
2024-10-27 15:03:07 -03:00
fiatjaf
579172e5b7
nip46: move some code around for clarity.
v0.40.1
2024-10-26 19:55:55 -03:00
fiatjaf
6445b3bfe6
nip46: client to support decrypting with nip44 together with nip04.
2024-10-26 19:37:36 -03:00
fiatjaf
d4399892ee
nip46: dynamic signer sessions were missing nip44 conversation key.
2024-10-26 19:26:20 -03:00
fiatjaf
ab52b3efb2
sdk: ristretto is generic now, no need for the fiatjaf fork.
v0.40.0
2024-10-22 08:02:52 -03:00
fiatjaf
986944059f
sdk: remove an unnecessary type annotation because this linter thing is annoying.
v0.39.1
2024-10-18 07:09:05 -03:00
fiatjaf
b58c4c5516
nip13: defer cancel() calls.
2024-10-18 07:08:47 -03:00
fiatjaf
28b05cdd9b
SimplePool.PublishMany(), finally.
2024-10-18 07:08:15 -03:00
fiatjaf
4cf3cdbe66
fix horrible infinite loop in Relay.QueryEvents()
2024-10-18 07:07:53 -03:00
fiatjaf
050ad2c509
nip17: use new path for Keyer interface.
2024-10-17 01:04:09 -03:00
fiatjaf
9c692af624
I think this handles CLOSED messages better.
v0.39.0
2024-10-16 16:27:50 -03:00
fiatjaf
14fa7a0358
deprecate storing extra fields in events.
2024-10-16 09:37:41 -03:00
fiatjaf
9e0a86d48e
subscription must be deemed closed when receiving a CLOSED.
2024-10-15 18:27:19 -03:00
fiatjaf
f9271a6802
fix two tests.
2024-10-14 17:50:37 -03:00
fiatjaf
022d4ce598
nip46: implement fmt.Stringer for request and response.
2024-10-14 16:42:54 -03:00
fiatjaf
e05dbb5d51
nip46: revamp dynamic signer, require a ctx on HandleRequest().
2024-10-14 16:26:16 -03:00
fiatjaf
ee5ca07d6d
keyer: move interfaces to toplevel "nostr" package.
2024-10-14 16:25:24 -03:00
fiatjaf
9057b1a7e1
get rid of all the deprecated things.
2024-10-14 16:20:30 -03:00
fiatjaf
7ede46661c
fix FetchSpecificEvent() behavior for the faster no-relays case.
v0.38.3
2024-10-14 14:47:15 -03:00
1l0
9e744e1eb0
tags: fix out of range panic
2024-10-14 11:59:13 -03:00
fiatjaf
97ed96ef73
more tag helpers.
2024-10-13 10:32:43 -03:00
Chris Daley
9069fb6743
Removed duplicate array length check
2024-10-07 00:23:30 -03:00
fiatjaf
f0f4eb5276
sdk: default eventstore to NullStore instead of SliceStore.
v0.38.2
2024-10-06 15:54:00 -03:00
fiatjaf
36c197af42
sdk: FetchSpecificEvent()
2024-10-06 15:54:00 -03:00
1l0
f08e4e9af7
add kinds
2024-10-05 22:24:29 -03:00
sebas
27bd9bfc8c
nip46: fix HandleRequest request parsing logic
...
Move out the `session.ParseRequest` call from the `else` branch. This
caused an empty `Request` object to be used down in the function when
the `Session` already existed.
2024-10-01 16:58:54 -03:00
jiftechnify
db39f79f23
ping method considered harmless
2024-10-01 09:39:03 -03:00
jiftechnify
1b6ac1fe0a
implement ping method in nip46 signers
2024-10-01 09:39:03 -03:00