Skip to content

Disable OP_PUSHDATA2 and OP_PUSHDATA4 (effective push limit of 255 bytes) rather than introducing MAX_ELEMENT_SIZE_REDUCED constant #46

@7c2bac1d

Description

@7c2bac1d

Please describe the feature you'd like to see added.

OP_PUSHDATA1 can push at most 255 bytes. Rather than introducing the MAX_ELEMENT_SIZE_REDUCED constant, we could disable OP_PUSHDATA2 and OP_PUSHDATA4 for new UTXOs. This would simplify the implementation.

Is your feature related to a problem, if so please describe it.

No response

Describe the solution you'd like

No response

Describe any alternatives you've considered

No response

Please leave any additional context

No response

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