Skip to content

Should is_standard match sending-standardness or spending-standardness #1558

@TheBlueMatt

Description

@TheBlueMatt

Address::is_standard currently considers "unassigned witness versions or non-standard program sizes" non-standard. This matches the standardness rules for spending the given address, but it doesn't match the standardness rules for sending to the given address. This isn't super obvious from the documentation, and it seems like we should maybe have a method to expose both.

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