Frost on Nostr: `Upon receiving a REQ message, the relay MUST query its internal database and return ...
`Upon receiving a REQ message, the relay MUST 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 ` Relay 的存储和查询的成本,和 Client 发一个 REQ 的成本,是不对等的,需要抗 Spam 机制。
Published at
2022-04-23 06:30:32Event JSON
{
"id": "809ec7cb479672767de06b27e5398ad91dd3fc802b48f88cb2d5382e8747e89a",
"pubkey": "4416e97154fee968dffa2aa49d0042dde925dbc78261396f83f3e9d754e12827",
"created_at": 1650695432,
"kind": 1,
"tags": [],
"content": "`Upon receiving a REQ message, the relay MUST 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 ` Relay 的存储和查询的成本,和 Client 发一个 REQ 的成本,是不对等的,需要抗 Spam 机制。",
"sig": "279cdf3406d73559f8dec092852ba12c7983f1b9e1d2700cd34613130ac7b23f980109fa2d8c1fad5f7fd1156d063138a11d1d342c001eb569f9d0a315203e3e"
}