Bugfix: PrioritiseTransaction updates the mempool tx counter #10196

pull sdaftuar wants to merge 2 commits into bitcoin:master from sdaftuar:2017-04-prioritise-transaction changing 3 files +15 −3
  1. sdaftuar commented at 2:36 PM on April 12, 2017: member

    The mempool's nTransactionsUpdated is used by getblocktemplate to trigger new invocations of CreateNewBlock().

  2. fanquake added the label Mempool on Apr 12, 2017
  3. TheBlueMatt commented at 8:34 PM on April 12, 2017: member

    utACK 909306cde3770ed7019e7b635e24cedbd9de66ce

  4. dcousens approved
  5. gmaxwell approved
  6. gmaxwell commented at 8:28 PM on April 14, 2017: contributor

    utACK.

  7. sipa commented at 12:16 PM on April 17, 2017: member

    Test for this?

  8. sdaftuar commented at 4:55 PM on April 18, 2017: member

    @sipa Test added in 6a61424c9eed072ae8d79d68aac71f525c1608b5

  9. luke-jr commented at 6:28 PM on April 19, 2017: member

    utACK, good catch

  10. luke-jr approved
  11. luke-jr referenced this in commit d28d583820 on Apr 21, 2017
  12. luke-jr referenced this in commit 22246c889c on Apr 21, 2017
  13. luke-jr referenced this in commit 71463a7d18 on Apr 21, 2017
  14. Bugfix: PrioritiseTransaction updates the mempool tx counter
    The mempool's nTransactionsUpdated is used by getblocktemplate
    to trigger new invocations of CreateNewBlock().
    acc2e4bc96
  15. [qa] Test prioritise_transaction / getblocktemplate interaction 6c2e25caf6
  16. sdaftuar force-pushed on May 6, 2017
  17. sdaftuar commented at 9:33 AM on May 6, 2017: member

    Rebased (due to conflict in the test)

  18. sdaftuar commented at 1:15 AM on May 12, 2017: member

    Anything else needed here?

  19. in test/functional/prioritise_transaction.py:118 in 6c2e25caf6
     114 | @@ -115,5 +115,16 @@ def run_test(self):
     115 |          assert_equal(self.nodes[0].sendrawtransaction(tx_hex), tx_id)
     116 |          assert(tx_id in self.nodes[0].getrawmempool())
     117 |  
     118 | +        # Test that calling prioritisetransaction is sufficient to trigger
    


    paveljanik commented at 10:50 AM on May 12, 2017:

    nit: What about some self.log.info call here?

    self.log.info("Assert that prioritising transaction changes the block template")
    
  20. paveljanik commented at 10:51 AM on May 12, 2017: contributor
  21. sipa commented at 8:17 PM on May 17, 2017: member

    utACK 6c2e25caf6b6e55bbb4161f815f1c6402ac10d10

  22. sipa merged this on May 17, 2017
  23. sipa closed this on May 17, 2017

  24. sipa referenced this in commit bee3529971 on May 17, 2017
  25. luke-jr referenced this in commit 32877915e1 on Jun 5, 2017
  26. luke-jr referenced this in commit d9e893418e on Jun 5, 2017
  27. luke-jr referenced this in commit 07cdaa9934 on Jun 5, 2017
  28. luke-jr referenced this in commit ee80bf3095 on Jun 5, 2017
  29. luke-jr referenced this in commit 74653a41fe on Jun 5, 2017
  30. nomnombtc referenced this in commit 68973bfb5d on Jul 17, 2017
  31. nomnombtc referenced this in commit 234069f8b0 on Jul 17, 2017
  32. codablock referenced this in commit bcef7260d0 on Jan 26, 2018
  33. lateminer referenced this in commit bb93c3c6eb on Jan 5, 2019
  34. andvgal referenced this in commit 06295839d0 on Jan 6, 2019
  35. CryptoCentric referenced this in commit 9d7cc1178b on Feb 27, 2019
  36. jasonbcox referenced this in commit d20f0fb142 on Jun 28, 2019
  37. jtoomim referenced this in commit 978311aeda on Jun 29, 2019
  38. jonspock referenced this in commit 6c76f1faf1 on Jul 5, 2019
  39. jonspock referenced this in commit 37b81943a5 on Jul 5, 2019
  40. jonspock referenced this in commit f7e5ee6432 on Jul 6, 2019
  41. jonspock referenced this in commit bdc828b314 on Jul 7, 2019
  42. jonspock referenced this in commit c72dd3a9ac on Jul 7, 2019
  43. proteanx referenced this in commit cc6fc21453 on Jul 7, 2019
  44. jonspock referenced this in commit 95e2e122c6 on Jul 9, 2019
  45. 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-14 12:15 UTC

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