fiatjaf
|
61cd3130fd
|
remove unnecessary json tags from cc5979c.
|
2023-08-21 15:53:03 -03:00 |
|
fiatjaf
|
6155cf4059
|
remove nip-26.
|
2023-08-21 15:51:16 -03:00 |
|
fiatjaf
|
1d67a8ed87
|
nip44 initial implementation.
|
2023-08-21 15:50:42 -03:00 |
|
Kay
|
ac2350c722
|
style: using effective go and refactoring
|
2023-08-21 15:50:05 -03:00 |
|
fiatjaf
|
abb66db97e
|
fix filter tests.
v0.20.0
|
2023-08-06 20:03:05 -03:00 |
|
fiatjaf
|
5a51f84433
|
pool.QuerySingle()
|
2023-08-06 19:57:08 -03:00 |
|
fiatjaf
|
b522d24c30
|
use a named lock instead of a single per-pool mutex.
|
2023-08-06 19:54:30 -03:00 |
|
fiatjaf
|
2e9cdc8255
|
dependencies from unsafe conversion stuff.
|
2023-08-06 19:54:17 -03:00 |
|
fiatjaf
|
017816e3dc
|
stop supporting prefix matches.
|
2023-08-05 10:12:57 -03:00 |
|
fiatjaf
|
35faff858a
|
reuse buffer when reading messages from websocket.
|
2023-07-30 17:12:30 -03:00 |
|
fiatjaf
|
cfcd19568b
|
unsafe string/bytes conversion on nson.
|
2023-07-30 17:03:25 -03:00 |
|
fiatjaf
|
8bdbcc93eb
|
remove useless util.
|
2023-07-28 20:53:59 -03:00 |
|
fiatjaf
|
53b9dde6e0
|
relay.Count()
v0.19.5
|
2023-07-18 16:17:00 -03:00 |
|
fiatjaf
|
6cee628149
|
rename debugLog->debugLogf
v0.19.4
|
2023-07-11 15:25:02 -03:00 |
|
fiatjaf
|
c03c028142
|
fix: don't stop reading the websocket for no reason!
|
2023-07-11 15:23:48 -03:00 |
|
fiatjaf
|
6e79f72174
|
prevent halting in some other places.
|
2023-07-11 11:04:48 -03:00 |
|
fiatjaf
|
f6dddfd770
|
CountEnvelope.
|
2023-07-10 20:52:49 -03:00 |
|
fiatjaf
|
c0c20b8401
|
validate and normalize relay urls received from kind 3 and 10002.
v0.19.3
|
2023-07-08 08:16:30 -03:00 |
|
fiatjaf
|
82a51f149a
|
prevent halting on SubManyEose.
|
2023-07-08 08:15:34 -03:00 |
|
fiatjaf
|
9b2b3b9039
|
inbox-outbox relay barebones helpers on sdk package.
|
2023-07-08 07:50:54 -03:00 |
|
fiatjaf
|
62e0068373
|
add readme.
v0.19.2
|
2023-07-05 13:50:41 -03:00 |
|
fiatjaf
|
cfdfba3bdd
|
add benchmarks.
|
2023-07-05 13:48:14 -03:00 |
|
fiatjaf
|
7ba3844a6f
|
nson: test encoder with events from the wild.
|
2023-07-05 13:30:19 -03:00 |
|
fiatjaf
|
6f03e6b82c
|
nson: more test events.
|
2023-07-05 08:27:02 -03:00 |
|
fiatjaf
|
db22f132f4
|
nson: assign constants and fix bugs so tests pass.
|
2023-07-04 20:33:50 -03:00 |
|
fiatjaf
|
f55bb2f07b
|
porting nson from nostr-benchmarks codebase.
|
2023-07-04 18:17:31 -03:00 |
|
fiatjaf
|
16580f3e84
|
InsertEventIntoDescendingList() helper.
|
2023-07-04 17:57:43 -03:00 |
|
fiatjaf
|
6b625f7896
|
handle OK callbacks properly when there is not a "reason" (which is the expected behavior).
v0.19.1
|
2023-06-26 21:00:39 -03:00 |
|
fiatjaf
|
1f38213b3f
|
update auth example on readme to v0.19
|
2023-06-25 18:01:25 -03:00 |
|
fiatjaf
|
71f4594033
|
wait when CLOSEing.
v0.19.0
|
2023-06-25 12:56:17 -03:00 |
|
fiatjaf
|
3b44ab9381
|
refactor these tests to ensure nested subscriptions are not blocking each other.
|
2023-06-25 00:17:57 -03:00 |
|
fiatjaf
|
54d3de4908
|
refactor some things, add back one mutex for each subscription for dispatching events, but in a cleaner way.
|
2023-06-25 00:17:39 -03:00 |
|
fiatjaf
|
a7964ae675
|
nested subscription test.
|
2023-06-24 21:02:12 -03:00 |
|
fiatjaf
|
ac0c0769fe
|
disentangle things a little more.
having a single loop for everything was too much. goroutines things were getting stuck.
|
2023-06-23 16:23:00 -03:00 |
|
fiatjaf
|
f0a35d7ab2
|
Write returns an error in a channel (why? I think it makes no difference.)
|
2023-06-22 10:46:31 -03:00 |
|
fiatjaf
|
f78270765d
|
prevent halting when a relay gets disconnected.
|
2023-06-22 10:45:45 -03:00 |
|
fiatjaf
|
fd409f6c35
|
add closure queue channel that was missing.
|
2023-06-22 09:32:12 -03:00 |
|
fiatjaf
|
68648a16b9
|
remove conn field from subscription.
|
2023-06-22 09:12:35 -03:00 |
|
fiatjaf
|
030c1d1898
|
get rid of mutexes and use a single loop to prevent races.
in the meantime change the API to makes a little less error-prone.
|
2023-06-21 19:55:43 -03:00 |
|
fiatjaf
|
af4fc98fc2
|
stop decoding strings unsafely.
v0.18.12
|
2023-06-21 13:03:43 -03:00 |
|
boreq
|
b984a598cb
|
Fix panic in ParseMessage
There is a chance the function can panic if a comma is included in the
input which is invalid.
v0.18.11
|
2023-06-20 12:13:48 -03:00 |
|
Yasuhiro Matsumoto
|
f4102ea8d2
|
add icon to RelayInformationDocument
|
2023-06-20 12:03:45 -03:00 |
|
fiatjaf
|
5bbb6ba05b
|
add empty tags field if nil before signing.
|
2023-06-13 09:36:38 -03:00 |
|
Isaque Veras
|
58d56abe05
|
fix: removing redundancy
|
2023-06-12 08:18:29 -03:00 |
|
fiatjaf
|
ee8f58360f
|
print all filters when doesn't match.
|
2023-06-09 16:11:16 -03:00 |
|
fiatjaf
|
f37eb96f28
|
rename KindBoost to KindRepost.
v0.18.10
|
2023-06-09 13:54:07 -03:00 |
|
fiatjaf
|
a80965425b
|
comment out info log for when we get an event outside of a subscription.
relays will often keep sending stored events even though we've closed a subscription already.
|
2023-06-09 13:49:29 -03:00 |
|
fiatjaf
|
bc783a3a24
|
fix atomicity of subscription ids.
v0.18.9
|
2023-06-09 11:01:42 -03:00 |
|
Daniele Tonon
|
b7ec430166
|
Fix GetImmediateReply
When scanning an event with positional "e" tags the reply is the last one
v0.18.8
|
2023-05-31 12:35:48 -03:00 |
|
fiatjaf
|
9cafea7e2a
|
ensure relay context and subscriptions are closed when we lose connectivity.
v0.18.7
|
2023-05-30 17:44:25 -03:00 |
|