8 Commits

Author SHA1 Message Date
fiatjaf
3349b2a52b
fix encoding and decoding of event "extra" fields.
fixes https://github.com/nbd-wtf/go-nostr/issues/31
2023-01-03 14:46:50 -03:00
alex
28663f21f0 relaypool: add a unique events subscription smoke test
was trying to reproduce the issue described in
https://github.com/nbd-wtf/go-nostr/issues/23

no success in reproducing that specific problem, but i believe the test
can still be useful to help in avoiding regression bugs in the future.
2022-12-26 16:03:00 -03:00
fiatjaf
ac25c2071e
another event serialization test, now reversed. 2022-12-14 13:35:13 -03:00
fiatjaf
fe01c9474b
fix string formatting on test errors. 2022-11-08 08:44:22 -03:00
fiatjaf
329b8d44d2
move stuff back from nostr package to top level.
because otherwise the path must be specified as github.com/fiatjaf/go-nostr/nostr, which is annoying.
2022-11-04 08:22:13 -03:00
BitcoinCoderBob
9549c3624a
nostr package, readme updates accordingly, matching example program (#14) 2022-10-12 17:24:30 -03:00
fiatjaf
dd43f4c495 add another event to serialization and verification test. 2022-02-14 10:18:50 -03:00
fiatjaf
41955a0601 serialization tests for events and filters. 2022-02-09 13:40:26 -03:00