Allow force-rebroadcasting of a transaction, make sendrawtransaction return a unique message if transaction is already known #2512

issue Michagogo opened this issue on April 11, 2013
  1. Michagogo commented at 6:54 PM on April 11, 2013: contributor

    At the moment, if you want to rebroadcast a transaction, say, to a new node, you need to getrawtransaction, take the output of that, and use it with sendrawtransaction after restarting the client. If you try this without the restart, you'll get this: "TX rejected (code -22)" If a transaction is already in the client's memory, it should return a more specific error message, the way "transaction already in block chain (code -5)" is returned for one of those transactions. In addition, there should be a way to force a rebroadcast, whether that's simply making a would-be rebroadcast go through rather than rejecting, or adding a command that will push it through anyway.

  2. Michagogo commented at 4:36 PM on June 9, 2013: contributor

    Actually, in general it would be nice if sendrawtransaction would be more verbose about what exactly failed whan a TX is rejected...

  3. yhaenggi commented at 6:35 AM on August 7, 2013: none

    was nobody interested in this?

  4. laanwj added the label Improvement on Feb 21, 2014
  5. laanwj commented at 11:06 AM on February 22, 2014: member

    See #3730.

  6. laanwj closed this on Feb 22, 2014

  7. Michagogo commented at 5:01 PM on February 22, 2014: contributor

    Heh, I'd completely forgotten about this issue...

    Also, is it a common practice to close issues before the fix is actually pulled?

    On Saturday, February 22, 2014, Wladimir J. van der Laan < notifications@github.com> wrote:

    Closed #2512 #2512.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/2512 .

  8. laanwj commented at 8:32 AM on February 23, 2014: member

    Yes, any discussion can happen in that issue now (There were a lot of issues about this. One is enough).

  9. MarcoFalke locked this on Sep 8, 2021

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-19 15:15 UTC

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