Skip to content

Limit number of expensive operations in script #474

Closed

Description

@remagpie

Every opcodes in virtual machine has different computational complexity, but current code for sort/validation of transaction doesn't consider such aspects.
This can be a problem since transactions containing many expensive opcodes can make machine slower, providing opportunity for other attacks.
Simplest solution would be limiting number of complex operations allowed in single script.(e.g. allowing up to 6 CHKSIGs in one script)

Activity

  1. sgkim126 commented on Aug 9, 2018

    @sgkim126
    Contributor

    Fixed by #563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions