fiatjaf
|
e175e634c8
|
unsafe.String() on binary decoding is not safe.
|
2024-09-07 10:48:25 -03:00 |
|
fiatjaf
|
f57d93ac78
|
after getting an EOSE we should stop checking since/until.
|
2024-09-06 19:37:34 -03:00 |
|
fiatjaf
|
cd145f4fcb
|
nip19: fix decoding faulty kind from tlv.
v0.34.14
|
2024-09-05 14:34:15 -03:00 |
|
fiatjaf
|
51e527680e
|
WithNoticeHandler() just calls a function, no channel stuff anymore.
probably fixes https://t.me/nostr_protocol/145832
I think we were using this channel for legacy reasons, it feels completely unnecessary now.
|
2024-08-31 23:12:20 -03:00 |
|
fiatjaf
|
5edb54efee
|
nip46: do not allow one faulty relay to break RPC calls to other relays.
v0.34.13
|
2024-08-29 17:49:51 -03:00 |
|
fiatjaf
|
1db4da7ed3
|
nip29: get rid of useless constant.
|
2024-08-29 07:57:05 -03:00 |
|
fiatjaf
|
ddf28001cf
|
nip34: fix .Branches -> .Tags for refs/tags/
v0.34.12
|
2024-08-28 16:08:04 -03:00 |
|
fiatjaf
|
0750057b13
|
nip34: fixes.
v0.34.11
|
2024-08-28 10:07:05 -03:00 |
|
fiatjaf
|
106ca136fd
|
nip34: repository state and some ToEvent() helpers.
|
2024-08-27 12:05:10 -03:00 |
|
fiatjaf
|
c78c5658a3
|
move kind constants to kinds.go
|
2024-08-26 17:16:28 -03:00 |
|
fiatjaf
|
148942cfae
|
nip13: use slightly more efficient difficulty checking on DoWork() that makes it 17% faster
v0.34.10
|
2024-08-21 17:07:26 -03:00 |
|
fiatjaf
|
75e6befdd0
|
nip13: move Generate() to deprecated.go
|
2024-08-21 16:54:02 -03:00 |
|
fiatjaf
|
2fc34e0de8
|
nip13: fix slice pointer race issue on DoWork()
|
2024-08-21 16:53:40 -03:00 |
|
fiatjaf
|
83bd196bae
|
nip13: parallel DoWork(), deprecate Generate()
v0.34.9
|
2024-08-20 23:04:52 -03:00 |
|
fiatjaf
|
2da58356b0
|
Revert "nip13: crazier and more fun and hopefully slightly more performant nonce encoding."
This reverts commit edbbd6df445dcd2bed8025397c44f2d03661f014.
v0.34.8
|
2024-08-20 17:05:49 -03:00 |
|
fiatjaf
|
edbbd6df44
|
nip13: crazier and more fun and hopefully slightly more performant nonce encoding.
v0.34.7
|
2024-08-20 13:54:51 -03:00 |
|
fiatjaf
|
437cdecfb1
|
nip13: CommittedDifficulty()
|
2024-08-20 13:19:21 -03:00 |
|
fiatjaf
|
0e72540696
|
nip13: fail when pubkey is not provided -- may help some clueless people like me.
v0.34.6
|
2024-08-20 10:31:52 -03:00 |
|
fiatjaf
|
18dbda437b
|
nip13: superficial changes.
|
2024-08-20 09:52:35 -03:00 |
|
Yasuhiro Matsumoto
|
b3ca3c1b82
|
add KindSimpleGroupLeaveRequest
|
2024-08-19 16:03:27 -03:00 |
|
Yasuhiro Matsumoto
|
b6aca13732
|
ditto
|
2024-08-19 16:03:27 -03:00 |
|
Yasuhiro Matsumoto
|
7faa3da20a
|
add KindSimpleGroupDeleteGroup
|
2024-08-19 16:03:27 -03:00 |
|
fiatjaf
|
70dfeea299
|
127.0.0.1 also defaults to ws://
|
2024-08-19 11:53:18 -03:00 |
|
fiatjaf
|
894a98b98b
|
remove some useless checks from event json.
|
2024-08-13 22:02:39 -03:00 |
|
bndw
|
e781c1be8f
|
nip96: http file storage
|
2024-08-09 21:07:20 -03:00 |
|
fiatjaf
|
ca396e794f
|
nip29: move relay-side moderation actions to relay29.
|
2024-08-03 10:23:08 -03:00 |
|
fiatjaf
|
1bed62c7af
|
nip04: one more test to make @mleku happy.
|
2024-07-31 20:49:06 -03:00 |
|
fiatjaf
|
077c14cef6
|
pool: implement optional penalty box mechanic.
v0.34.5
|
2024-07-29 14:58:53 -03:00 |
|
Yasuhiro Matsumoto
|
53ff9019d6
|
use ubuntu-24.04
|
2024-07-29 14:46:31 -03:00 |
|
Yasuhiro Matsumoto
|
4f71918311
|
fix IsValidRelayURL
|
2024-07-29 14:43:40 -03:00 |
|
Yasuhiro Matsumoto
|
f3f29950b7
|
fix test.yml
|
2024-07-20 09:44:21 -03:00 |
|
fiatjaf
|
81a396be56
|
nip44: some more refactors and fix max length case.
fixes https://github.com/nbd-wtf/go-nostr/issues/134
|
2024-07-15 22:28:10 -03:00 |
|
fiatjaf
|
6c19aa1b5e
|
nip44: refactor so bizarre var declarations are eliminated.
|
2024-07-15 19:02:45 -03:00 |
|
fiatjaf
|
3ea28878de
|
nip86: fix wrong rpc name.
v0.34.4
|
2024-07-12 13:53:40 -03:00 |
|
fiatjaf
|
684ff538ab
|
nip86: omit empty result or error.
v0.34.3
|
2024-07-12 13:45:47 -03:00 |
|
fiatjaf
|
d4c31e3fc9
|
nip29: fix updating LastMembersUpdate and LastAdminsUpdate on .Apply()
|
2024-07-12 13:45:47 -03:00 |
|
fiatjaf
|
d3c2667428
|
nip29: fix making metadata event (about was name).
|
2024-07-11 11:03:35 -03:00 |
|
fiatjaf
|
a95de1dc8a
|
nip86: structured response types.
v0.34.2
|
2024-07-08 15:40:27 -03:00 |
|
fiatjaf
|
ad022f7c80
|
add nip86 (relay management API) types.
|
2024-07-08 09:00:08 -03:00 |
|
fiatjaf
|
ccdab0fa6b
|
nip29: enable private groups.
v0.34.1
|
2024-07-05 16:59:12 -03:00 |
|
fiatjaf
|
92b85c9483
|
fix localhost trick from 8aaf5b.
v0.34.0
|
2024-07-04 16:29:20 -03:00 |
|
fiatjaf
|
f9fd760808
|
nip29: handle 9007 create_group.
|
2024-07-04 16:22:50 -03:00 |
|
P. Reis
|
8aaf5b8f98
|
Append 'ws://' prefix if url starts with localhost (#132)
* test: refactor NormalizeURL tests
* feat(NormalizeURL): add 'ws://' prefix if url starts with 'localhost'
* test(NormalizeURL): add 'ws://' prefix if url is localhost
|
2024-07-04 12:06:24 -03:00 |
|
fiatjaf
|
6ed112cc69
|
pool event middleware for optionally doing stuff with all events.
|
2024-06-27 16:49:50 -03:00 |
|
fiatjaf
|
a7303c385b
|
error instead of panic'ing when opening subscription.
|
2024-06-27 14:50:24 -03:00 |
|
fiatjaf
|
a35cdff6c8
|
problem: connection can be nil when writing and we're panic'ing.
|
2024-06-21 09:32:53 -03:00 |
|
fiatjaf
|
3862333dfa
|
nip11: always return a struct from Fetch() with URL filled.
v0.33.0
|
2024-06-19 19:54:40 -03:00 |
|
fiatjaf
|
37ef70e4cb
|
relay: prevent panic on double-closing.
probably fixes https://github.com/nbd-wtf/go-nostr/issues/130
|
2024-06-19 09:59:28 -03:00 |
|
fiatjaf
|
d6d02686a9
|
nip29: NewGroupFromMetadataEvent()
|
2024-06-07 14:22:17 -03:00 |
|
fiatjaf
|
b173c40f14
|
nip34: read all maintainers instead of just the first.
|
2024-06-07 08:11:35 -03:00 |
|