You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
I was thinking about SURB's while integrating with Waku and realized something that i confirmed after looking into the code.
As of now if a reply is larger than payloadSize supported ( in case of store protocol the sender is not aware of the size of reply) reply gets dropped silently and sender will keep retying thinking there is a network issue or path broken etc.
Since exit layer detects this error and it has SURB, it makes sense to send back the error to the sender so that entry_layer can then identify and report it back to sender protocol. This is just 1 error that i thought of, but i am sure other errors like this exist which need reporting to sender so that sender can take action accordingly.
This would happen since destination node protocol is not aware that this packet came via mix and hence not aware of possible size limitations.
There is a need to identify any other such errors that can be relayed back to sender via SURB and perform similar action.
I was thinking about SURB's while integrating with Waku and realized something that i confirmed after looking into the code.
As of now if a reply is larger than payloadSize supported ( in case of store protocol the sender is not aware of the size of reply) reply gets dropped silently and sender will keep retying thinking there is a network issue or path broken etc.
Since
exit layerdetects this error and it has SURB, it makes sense to send back the error to the sender so thatentry_layercan then identify and report it back to sender protocol. This is just 1 error that i thought of, but i am sure other errors like this exist which need reporting to sender so that sender can take action accordingly.This would happen since destination node protocol is not aware that this packet came via mix and hence not aware of possible size limitations.
There is a need to identify any other such errors that can be relayed back to sender via SURB and perform similar action.
@AkshayaMani WDYT?