You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
getrawtransaction hangs node when calling large size tx #932
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.
Expected behaviour
Expected raw transaction output in Console
Steps to reproduce
Run "getrawtransaction 30794005e228089a56cca58b6ad85e8cc0667cdc06b0ee6f9fe72aa19f50acd2"
(warning: expect your node to become unresponsive)
Could you clarify please if the GUI is truly frozen, or if it's just taking too long time to produce the output?
The first time I ran into this issue, I let it run overnight (7-8 hours) and still had no output. The GUI becomes unresponsive - cannot close the console window, cannot open the Settings drop down menu, etc.
Looking into this. The hang appears to be in the GUI's RPC console when it attempts to render the ~8 MB hex output (3.98 MB transaction = ~7.96 MB hex string) inside a Qt text widget, Qt's internal document model is not designed for single-line payloads of that size, which causes the UI thread to stall.
Will raise a PR to add a size threshold in the console's response rendering path, truncating or paginating output beyond a reasonable limit (e.g. 100 KB) and showing a notice like "Output too large to display, use -rpcwallet or pipe to a file."
Activity
hebasto commentedon Mar 17, 2026
@FafoDevelopment
Could you clarify please if the GUI is truly frozen, or if it's just taking too long time to produce the output?
hebasto commentedon Mar 17, 2026
It seems that
QTextEdit::appendis responsible for this performance issue.FafoDevelopment commentedon Mar 17, 2026
The first time I ran into this issue, I let it run overnight (7-8 hours) and still had no output. The GUI becomes unresponsive - cannot close the console window, cannot open the Settings drop down menu, etc.
ShauryaaSharma commentedon Jun 20, 2026
Looking into this. The hang appears to be in the GUI's RPC console when it attempts to render the ~8 MB hex output (3.98 MB transaction = ~7.96 MB hex string) inside a Qt text widget, Qt's internal document model is not designed for single-line payloads of that size, which causes the UI thread to stall.
Will raise a PR to add a size threshold in the console's response rendering path, truncating or paginating output beyond a reasonable limit (e.g. 100 KB) and showing a notice like "Output too large to display, use -rpcwallet or pipe to a file."