Skip to content

Rework wire.rs #9229

@alexpyattaev

Description

@alexpyattaev

Problem

ledger/src/wire.rs works fine and is fast, but the code is fragile. A good abstraction on top would be preferred.

Proposed Solution

The solution may revolve around a wrapper into which every shred can be wrapped, such that the underlying byte buffer can be protected from accidental corruption.

Some work was started in this direction in #6028

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