m3 on Nostr: > Upon receiving a REQ message, the relay SHOULD query its internal database and ...
> Upon receiving a REQ message, the relay SHOULD query its internal database and return events that match the filter, then store that filter and send again all future events it receives to that same websocket until the websocket is closed.
NIP-01ではrelayが最新イベントをそのソケットに送り続けることを強く推奨してますね(SHOULDなので
Published at
2023-02-09 11:47:01Event JSON
{
"id": "722852e245426f03da601de13444106405f097291b1f9c56d4cc30ad68d808b8",
"pubkey": "f1db37389f268a87afe95ab0f4f1e6302ca0cc21cd36294323a9352e3374985a",
"created_at": 1675943221,
"kind": 1,
"tags": [
[
"e",
"bd1b25a0ef26a4cb105ea075a9049a86b987aaf9e36b8f901d8b41fa0f500ebc",
"",
"root"
],
[
"e",
"f3e0b165b3c8945817cea243b8bcab3c48be70fd1ea32b306cbe74eb2a41f0e5",
"",
"reply"
],
[
"p",
"8630407ab201b4ba7df5e9e2d3dfd8c8975f6a92a097f740e15102452d0c3c0d"
]
],
"content": "\u003e Upon receiving a REQ message, the relay SHOULD query its internal database and return events that match the filter, then store that filter and send again all future events it receives to that same websocket until the websocket is closed. \n\nNIP-01ではrelayが最新イベントをそのソケットに送り続けることを強く推奨してますね(SHOULDなので",
"sig": "a074cfac235c3b439b3c68430ed533bd7269251752e0c75f78541e9a356bfd37f395e49d3841e5a47e28c558f3756590869f7bf5a4af348ac4e9f8c587f9f3e1"
}