0770f217a5
khatru: prevent large indexable tags doesn't make any sense anymore as we don't index tags verbatim, only hashes.
fiatjaf
2025-09-04 10:13:08 -03:00
aec2dc318d
actually it's better if nip11 pubkey is a pointer.
fiatjaf
2025-09-04 00:35:46 -03:00
cd398b94b5
get rid of badger everywhere, including as an sdk/hints backend.
fiatjaf
2025-09-03 21:33:39 -03:00
a09429236e
khatru: disable ratelimit for local ipv6 too.
fiatjaf
2025-09-03 21:32:17 -03:00
aa321f6e7f
nip60: calling Processed() on deletes.
fiatjaf
2025-08-29 16:23:28 -03:00
76e90481f4
nip60: dropping a token.
fiatjaf
2025-08-29 09:50:36 -03:00
7ac9e6290b
khatru: replace useless ApplySaneDefaults() with a set of pluggable "strict" defaults.
fiatjaf
2025-08-28 17:18:22 -03:00
43d6814daf
betterbinary: finally fix (well, a very hackish fix but should be ok) decoding events with way too many tags.
fiatjaf
2025-08-27 01:19:08 -03:00
80d0546ce6
we should be doing this since years ago: force an EOSE if the relay refuses to give us one.
fiatjaf
2025-08-25 22:42:05 -03:00
db2c1c7653
nip11: this relay pubkey doesn't have to be a pointer.
fiatjaf
2025-08-25 18:48:30 -03:00
72b5aa5051
lmdb: fix id logging when decoding fails.
fiatjaf
2025-08-25 18:46:58 -03:00
d345bb3529
betterbinary: prevent binary index overflow by casting the numbers to int (from uint16).
fiatjaf
2025-08-25 18:01:34 -03:00
a581d9677d
readme: add how to go get
1l0
2025-08-22 12:08:34 +09:00
6ab6b49940
nip11: omitempty all the things.
fiatjaf
2025-08-25 07:32:21 -03:00
ae076a7be2
nip46: hopefully fix "send on closed channel" cases on client responses.
fiatjaf
2025-07-21 17:21:30 -03:00
e164b49aad
nip46: ParseBunkerInput() for allowing NewBunker() to be used without calling "connect".
fiatjaf
2025-07-19 11:52:09 -03:00
68b0caf2ab
khatru: improve ephemeral ok message when handled internally.
fiatjaf
2025-07-19 11:51:44 -03:00
9f0376692b
nip46: dynamic bunker can't rely on a secret to be persistent or "connect" to be always sent, that's a job for the implementor.
fiatjaf
2025-07-18 14:37:18 -03:00
7cbca5f040
nip46: dynamic signer to store sessions associated with the handler pubkey to prevent stupid bugs when the same client try to use two different bunkers.
fiatjaf
2025-07-18 14:36:42 -03:00
29cf3c7c6e
simplify easyjson even more, rename functions, assume ids and pubkeys will always be safe hex strings that do not need to be escaped and eliminate unnecessary variables that would probably be eliminated by the compiler anyway.
fiatjaf
2025-05-15 15:01:51 -03:00