Skip to content

getrawtransaction hangs node when calling large size tx #932

@hebasto

Description

@hebasto

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

Using Bitcoin Core (bitcoin-qt) 30.2 console, the command "getrawtransaction 30794005e228089a56cca58b6ad85e8cc0667cdc06b0ee6f9fe72aa19f50acd2" leaves the software unresponsive. This transaction is non-standard and included in block 938523. The transaction is 3.98 MB in size according to a 3rd party block explorer.

Image

Expected behaviour

Expected raw transaction output in Console

Steps to reproduce

Run "getrawtransaction 30794005e228089a56cca58b6ad85e8cc0667cdc06b0ee6f9fe72aa19f50acd2"

(warning: expect your node to become unresponsive)

Relevant log output

No response

How did you obtain Bitcoin Core

Compiled from source

What version of Bitcoin Core are you using?

30.2

Operating system and version

Ubuntu 24.04.2 LTS

Machine specifications

Image

Moved from bitcoin/bitcoin#34703.

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