requesting tx that are already in the memory pool #3788

issue rebroad opened this issue on March 3, 2014
  1. rebroad commented at 8:38 PM on March 3, 2014: contributor

    bitcoind is requesting transactions that are already in the memory pool. debug.log extract below:-

    2014-03-03 20:24:19 askfor tx 11acc2f0cefaa8e70676e26e6dfa7da82efdc5bfc36da2cad50041fd240a984b 0 (00:00:00) node=3 2014-03-03 20:24:19 sending getdata: tx 11acc2f0cefaa8e70676e26e6dfa7da82efdc5bfc36da2cad50041fd240a984b node=3 2014-03-03 20:24:20 askfor tx 11acc2f0cefaa8e70676e26e6dfa7da82efdc5bfc36da2cad50041fd240a984b 1393878258823154 (20:24:18) node=4 2014-03-03 20:24:20 AcceptToMemoryPool: node=3 : accepted 11acc2f0cefaa8e70676e26e6dfa7da82efdc5bfc36da2cad50041fd240a984b (poolsz 287) 2014-03-03 20:26:21 sending getdata: tx 11acc2f0cefaa8e70676e26e6dfa7da82efdc5bfc36da2cad50041fd240a984b node=4 2014-03-03 20:26:21 ERROR: AcceptToMemoryPool : inputs already spent 2014-03-03 20:26:21 node=4 11acc2f0cefaa8e70676e26e6dfa7da82efdc5bfc36da2cad50041fd240a984b was not accepted into the memory pool: bad-txns-inputs-spent

  2. laanwj added the label P2P on May 13, 2014
  3. laanwj commented at 4:34 PM on February 16, 2016: member

    I'm pretty sure that this is fixed. The handling for the inv message checks AlreadyHave before requesting the transaction, which checks whether a transaction is already in the memory pool.

  4. laanwj closed this on Feb 16, 2016

  5. DrahtBot 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-22 18:15 UTC

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