Skip to content

Dedicated Struct for Item + Sender-Randomness + Reciever-Preimage #546

@aszepieniec

Description

@aszepieniec

A very strong pattern throughout the codebase is a triple of Digests labeled "item", "sender_randomness", and "receiver_preimage". Let's dedicate a struct to this triple so that we can reuse code, make use of natural From-casts, and structured proptests.

Hat-tip-to: @skaunov

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