Order CTxMemPool::queryHashes result by feerate including descendents. #7629

pull pstratem wants to merge 1 commits into bitcoin:master from pstratem:2016-03-01-queryhashes changing 1 files +1 −1
  1. pstratem commented at 10:10 PM on March 1, 2016: contributor

    No description provided.

  2. pstratem force-pushed on Mar 1, 2016
  3. sdaftuar commented at 10:12 PM on March 1, 2016: member

    Motivation? Curious whether whatever you're using this for should be using descendant fee rate or ancestor fee rate (see #7594)...

  4. pstratem force-pushed on Mar 1, 2016
  5. pstratem commented at 10:17 PM on March 1, 2016: contributor

    @sdaftuar the motivation is two part

    first to ensure mempool walks are in an order which avoids any orphans

    second to make the feefilter command more efficient in combination with the mempool p2p command

  6. Order CTxMemPool::queryHashes result by feerate including descendents. 0a94cf6e03
  7. pstratem commented at 10:33 PM on March 1, 2016: contributor

    @sdaftuar is right this should be using ancestor indexing

  8. laanwj added the label Mempool on Mar 3, 2016
  9. sipa commented at 5:13 AM on March 5, 2016: member

    @pstratem Can you elaborate? How does this guarantee the avoidance of orphans? Transaction descendants can have both higher or lower feerate than the parent.

  10. pstratem commented at 8:21 AM on March 5, 2016: contributor

    @sipa it doesn't i mis understood what was being indexed.

    i'll fix this properly later

  11. pstratem closed this on Mar 5, 2016

  12. MarcoFalke locked this on Sep 8, 2021
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-19 00:15 UTC

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