sendrawtransaction RPC command does not appear to work correctly #1414

issue wizkid057 opened this issue on June 3, 2012
  1. wizkid057 commented at 3:43 PM on June 3, 2012: none

    While working on a project I noticed the new "sendrawtx" command and figured it would save me some trouble.

    Long story short, I've tried sending many well-formed valid transactions through this command, none of which were ever broadcast to rest of the network, even though they were accepted and the txid was returned by "sendrawtx."

    The command seems to correctly verify that the inputs are valid and that the transaction otherwise meets the requirements of the network, however it does not appear to ever relay it to it's peers.

    Edit: I note also that the transactions I tried end up in that client's "getmemorypool", but not in any other clients, even when they're directly connected with -addnode.

  2. jgarzik commented at 5:22 PM on June 8, 2012: contributor

    sounds like 'sendrawtx' has a bug... it adds the new tx to relay inventory, but does not force immediate broadcast.

    sounds like it should force immediate broadcast too.

  3. jgarzik commented at 12:52 AM on June 29, 2012: contributor

    Retract my previous comment... it should broadcast as any other tx.

  4. jgarzik commented at 3:29 AM on July 13, 2012: contributor

    Commit 771ffb5e28a75bf2a99283b3a9c7c40dc0f7907d should fix this issue.

  5. jgarzik closed this on Jul 13, 2012

  6. lateminer referenced this in commit 83c76dfd24 on Jan 22, 2019
  7. MarcoFalke locked this on Sep 8, 2021
Contributors
Labels

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: 2026-04-26 09:16 UTC

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