Database micro-optimization for "tx" network message #1093

pull jgarzik wants to merge 1 commits into bitcoin:master from jgarzik:tx-opt changing 2 files +3 −9
  1. jgarzik commented at 9:51 PM on April 13, 2012: contributor

    Open database once per "tx" message, rather than multiple times, in the case of orphan transaction presence.

    As a side effect, a now-unused CTransaction::AcceptToMemoryPool() variant is removed.

  2. Database micro-optimization for "tx" network message
    Open database once per "tx" message, rather than multiple times,
    in the case of orphan transaction presence.
    
    As a side effect, a now-unused CTransaction::AcceptToMemoryPool()
    variant is removed.
    9925d34a49
  3. gavinandresen commented at 10:36 PM on April 13, 2012: contributor

    ACK

  4. laanwj commented at 5:30 AM on April 14, 2012: member

    ACK (code-wise, cannot test this)

  5. jgarzik referenced this in commit 22014c31e5 on Apr 14, 2012
  6. jgarzik merged this on Apr 14, 2012
  7. jgarzik closed this on Apr 14, 2012

  8. coblee referenced this in commit 6883751b8b on Jul 17, 2012
  9. suprnurd referenced this in commit c0a830aa8e on Dec 5, 2017
  10. dagurval referenced this in commit aaaf73ca9a on May 27, 2018
  11. lateminer referenced this in commit a34a7dfe1f on Dec 25, 2019
  12. DrahtBot 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-20 00:16 UTC

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