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

Pubkey duplication in Transaction #1210

@garious

Description

@garious

Transaction.keys contains information that is also serialized into Transaction.userdata. Instead, change Transaction.keys from Vec<Pubkey> to Vec<u16>, where u16 is a byte offset to the first instance of that Pubkey in userdata.

Also, consider making that Vec<(u16, Option<u16>)> to optionally pair that Pubkey with a Signature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions