Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

feature: error messaging/reporting in SURB replies #86

@chaitanyaprem

Description

@chaitanyaprem

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.

@AkshayaMani WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions