fiatjaf
|
307df51b9a
|
use xsync maps for pool relays to prevent concurrent access panics.
|
2023-11-16 14:51:33 -03:00 |
|
fiatjaf
|
15b3aebc86
|
fix an accidental API breaking change.
|
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.
|
2023-10-02 14:46:19 -03:00 |
|
fiatjaf
|
e45921c11a
|
pool.SubMany(Eose)NonUnique()
|
2023-10-02 14:16:16 -03:00 |
|
fiatjaf
|
978d7825b5
|
return IncomingEvent struct from SimplePool methods containing the relay.
|
2023-09-30 19:16:30 -03:00 |
|
fiatjaf
|
18cee7421a
|
fix xsync counter initialization.
|
2023-09-16 07:51:44 -03:00 |
|
fiatjaf
|
eef7c40dc7
|
migrate to xsync v2.
|
2023-09-04 16:44:36 -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
|
6cee628149
|
rename debugLog->debugLogf
|
2023-07-11 15:25:02 -03:00 |
|
fiatjaf
|
82a51f149a
|
prevent halting on SubManyEose.
|
2023-07-08 08:15:34 -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 |
|
Isaque Veras
|
58d56abe05
|
fix: removing redundancy
|
2023-06-12 08:18:29 -03:00 |
|
fiatjaf
|
9cafea7e2a
|
ensure relay context and subscriptions are closed when we lose connectivity.
|
2023-05-30 17:44:25 -03:00 |
|
fiatjaf
|
19d96e3566
|
close SubMany channel when all underlying subscriptions die.
|
2023-05-30 16:11:33 -03:00 |
|
fiatjaf
|
39f09e6bb9
|
replace generic-sync-map with xsync.
|
2023-05-30 13:52:14 -03:00 |
|
fiatjaf
|
9dc674bc02
|
use different contexts for the relay connection lifetime and the Connect() call.
fixes https://github.com/nbd-wtf/go-nostr/pull/86
|
2023-05-09 17:08:08 -03:00 |
|
fiatjaf
|
52a493fd96
|
EnsureRelay() returns an error.
|
2023-05-09 00:09:05 -03:00 |
|
fiatjaf
|
c0a42ff2ff
|
SimplePool improvements.
|
2023-05-06 14:32:39 -03:00 |
|
fiatjaf
|
98a2a39521
|
add SimplePool.
|
2023-05-05 19:05:11 -03:00 |
|