dolu on Nostr: GM This morning, I have an idea for Nostr Proxy. Is it required for the proxy to ...
GM
This morning, I have an idea for Nostr Proxy.
Is it required for the proxy to validate schnorr signatures for each events?
Because stored events in relays are already validated and client validate events too when getting them.
So... is it required for the proxy to validate them?
Schnorr signature validation is really CPU intensive. It validates ~5000 events/min when opening 7 global feeds.
Published at
2023-02-16 09:33:05Event JSON
{
"id": "04b3d7d17741e881f1f1f74756a165e1ab2ce337c956f3bc2d642481f765ddc6",
"pubkey": "59b96df8d8b5e66b3b95a3e1ba159750a6edd69bcbba1857aeb652a5b208bd59",
"created_at": 1676539985,
"kind": 1,
"tags": [],
"content": "GM\n\nThis morning, I have an idea for Nostr Proxy.\nIs it required for the proxy to validate schnorr signatures for each events?\n\nBecause stored events in relays are already validated and client validate events too when getting them.\nSo... is it required for the proxy to validate them?\n\nSchnorr signature validation is really CPU intensive. It validates ~5000 events/min when opening 7 global feeds.",
"sig": "042ffa0eee4cdce7e42f56eca0351fe0faae05b7846f8bc0f3b0b9deeeb635a4c27701cb4ce34a3fe1f3917e8cf1498a6096d24842d358e7a7c15c8c1fac6a88"
}