Commit Graph

12 Commits

Author SHA1 Message Date
fiatjaf 8458e26291 nip10: fix parsing when the reply is an "a". fix and test nip10. 2025-11-23 06:57:54 -03:00
fiatjaf ba91afc128 Pointer cannot hold a pointer so it can't be a hidden nil. 2025-05-25 15:58:18 -03:00
fiatjaf 5b8954461f it never ends. 2025-04-16 02:59:47 -03:00
fiatjaf 376834cbf9 more conversions. 2025-04-15 00:00:03 -03:00
fiatjaf b4268d649c a bunch of [32]byte conversions. still more needed. 2025-04-14 17:47:53 -03:00
fiatjaf 7e04bbb4b8 breaking pointer mess
- ExternalPointer (?)
- nip27, nip22 and nip10 functions to return pointers
- get rid of sdk/thread helpers that were just a thin layer over nip10 and nip22
2025-03-10 02:38:06 -03:00
fiatjaf a52165fb7d deprecate all useless tag methods, implement Find() and friends. 2025-03-10 02:33:29 -03:00
fiatjaf e69eeb8938 nip10: rename GetImmediateReply() -> GetImmediateParent(). 2025-01-23 17:52:26 -03:00
dtonon 742873bde6 Support a tags in GetImmediateReply 2024-05-29 17:59:08 -03:00
Daniele Tonon b7ec430166 Fix GetImmediateReply
When scanning an event with positional "e" tags the reply is the last one
2023-05-31 12:35:48 -03:00
fiatjaf 7be5330d42 improve nip10.GetImmediateReply() 2023-03-04 21:04:59 -03:00
fiatjaf 381ee2cc01 tag helpers in a separate file and nip10 helpers. 2022-11-17 09:19:55 -03:00