Skip to content

side-effect of limiting density #18

@A60AB5450353F40E

Description

@A60AB5450353F40E

I think only O(N2) opcodes would be affected (assuming removal of int limits). Imagine you want to do a few more OP_MULs but they'd be over the budget. Couldn't you add some <garbage> OP_DROP to inflate the TX size to reduce density and then squeeze in more calls to OP_MUL?

The push/drop consumes budget too, could one try to dodge it by inflating non-Script parts of TX (adding filler inputs/outputs). If yes, then we might consider counting output size as if it was a push op.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions