DASHU on Nostr: The debounced way is also ok. But the NIP would be better to state that relay can ...
The debounced way is also ok. But the NIP would be better to state that relay can implement this method and this method is optional.
But the batch way is also optional and need to stated. And it is a way easier to implement.
These two method also can handle hundreds events. I can't find that whick one is better.
Published at
2024-04-13 12:21:00Event JSON
{
"id": "39ae17920f2cee7269b066a5665ca911d54c9ce66c18a5d4900ab47ef39aac94",
"pubkey": "29320975df855fe34a7b45ada2421e2c741c37c0136901fe477133a91eb18b07",
"created_at": 1713003660,
"kind": 1,
"tags": [
[
"e",
"872b26fa4ba0510162de7bb393f3c21353451c734eddcb7a8de3b86805e2c683",
"wss://nos.lol/",
"root"
],
[
"e",
"06fb6de6c016fc37b92dd8a9eac73dba1191f2ab1814d3aa451f24daeb35d398",
"wss://relay.damus.io",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
],
[
"p",
"29320975df855fe34a7b45ada2421e2c741c37c0136901fe477133a91eb18b07"
]
],
"content": "The debounced way is also ok. But the NIP would be better to state that relay can implement this method and this method is optional.\nBut the batch way is also optional and need to stated. And it is a way easier to implement. \nThese two method also can handle hundreds events. I can't find that whick one is better.",
"sig": "c96f2598eeb9985f1b168e4f3a445b0142d50ea826259cbb6aaf30b61d0e6417b75d472c4997e433f6f68e854638b02bf87ae08382f7df4c4f3531cf9e362b60"
}