Skip to content

Check if input was entirely consumed in decoderawtransaction/btcDecode #2195

Description

@brunoerg

Using the decoderawtransaction command (btcDecode function?) we noticed that it does not check if the entire input was successfully consumed when decoding which is important to keep it consistent.

To reproduce:

decoderawtransaction "0a9a9e0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010100000000010001010101a09a"

Obs.: Running same command on Bitcoin Core fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions