Sending ~200KB to bitcoind via RPC causes ECONNABORT #14767

issue Lesmiscore openend this issue on November 20, 2018
  1. Lesmiscore commented at 4:49 am on November 20, 2018: none

    Summary

    Sending ~200KB to bitcoind via RPC causes ECONNABORT for its connection.
    Such operation cannot be possible via bitcoin-cli due to Linux’s limitation, so it has to be done via HTTP libraries.
    Confirmed on sendrawtransaction.

    Expected

    If you did sendrawtransaction <A Transaction that is very close to the weight limit>, it should return transaction hash.
    Any other calls like getwalletinfo should work too.

    Actual

    ECONNABORT occured for sendrawtransaction <A Transaction that is very close to the weight limit>.
    Any other calls like getwalletinfo worked normally.

    Steps to reproduce

    • Enable RPC
    • Try example at Expected field.
      • To make such transaction, you may use 1 input and set 2910 outputs.
    • ECONNABORT occured.

    Bitcoin Core version

    0.17.0.1, with binaries at website.

    Computer information

    0$ uname -a
    1Linux *** [#42](/bitcoin-bitcoin/42/)-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    
  2. fanquake added the label RPC/REST/ZMQ on Nov 21, 2018
  3. MarcoFalke commented at 3:15 pm on April 26, 2020: member
    Doesn’t sound like an issue with Bitcoin Core
  4. MarcoFalke closed this on Apr 26, 2020

  5. MarcoFalke commented at 11:51 pm on April 26, 2020: member
    Corresponding error in python is OSError: [Errno 7] Argument list too long fyi
  6. Sjors commented at 6:17 pm on September 7, 2020: member

    For Google reference, try something like this:

    0cat transaction.txt | bitcoin-cli -stdin sendrawtransaction
    
  7. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 03:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me