brugeman on Nostr: Hi it was a bug in nostr.band frontend that showed kind:"1" for any event json, fixed ...
Hi it was a bug in nostr.band frontend that showed kind:"1" for any event json, fixed it. I don't think d-tag presence is enforced by any relay, I tried republishing it to other relays and it's accepted. IIRC originally with parameterized-replaceable events (now called addressable) the absence of d-tag was treated as empty-string d-tag which was an acceptable case - all this nuance was scrapped when it all was merged into nip01, but that nuance meant that relays didn't have to do anything extra. So I'm not sure why your sync process rejects it.
With bad signatures - do you have an example?
Published at
2025-02-18 09:08:07Event JSON
{
"id": "772e91fa0381d04d2204cd096acec1127665450b37a3ff9bc2694b547cdc59a1",
"pubkey": "3356de61b39647931ce8b2140b2bab837e0810c0ef515bbe92de0248040b8bdd",
"created_at": 1739869687,
"kind": 1,
"tags": [
[
"p",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b",
"wss://offchain.pub/",
"OceanSlim"
],
[
"e",
"cc2cb2b8dcda37612554bef8c5cb8aff1225e91fa696b58fc6fedc598fdf5ac1",
"wss://bbb.santos.lol/",
"root"
],
[
"e",
"d6094409cb4c1b898aa0d311cb6ac56acba0a827c30e29e98246b76b5da842a3",
"wss://wheat.happytavern.co/",
"mention"
],
[
"e",
"d02d1bc945d2d10dd7d7b3997606c5d58b5cd731b6b995136ab606b305019949",
"wss://wheat.happytavern.co/",
"reply",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b"
]
],
"content": "Hi it was a bug in nostr.band frontend that showed kind:\"1\" for any event json, fixed it. I don't think d-tag presence is enforced by any relay, I tried republishing it to other relays and it's accepted. IIRC originally with parameterized-replaceable events (now called addressable) the absence of d-tag was treated as empty-string d-tag which was an acceptable case - all this nuance was scrapped when it all was merged into nip01, but that nuance meant that relays didn't have to do anything extra. So I'm not sure why your sync process rejects it. \n\nWith bad signatures - do you have an example?",
"sig": "07ee0b7b60711f881272b09c80f5bf3608f1cbbb1a7811afde1189be1b953eb2255c5fc09852ecd4983dabc0434bfceb76ade925f091b1ec6bd81b3175b9ac6e"
}