Skip to content

Does payload padding still make sense? #70

Description

@jstuczyn

Or even, has it ever made any sense? Recall that inside sphinx library itself we are padding the received message so that the payload has constant length: https://github.com/nymtech/sphinx/blob/develop/src/payload/mod.rs#L95-L96 . But should it even be responsibility of this library? I think it should rather be up to the user to what they put there. Plus right now (inside nym) we are padding the message twice and thus losing a tiny bit of possible data we could send.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions