[Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds #8765

pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2016/09/flush_wallet_dump changing 1 files +0 −2
  1. jonasschnelli commented at 2:21 PM on September 20, 2016: contributor

    Calling ThreadFlushWalletDB makes not much sense if an explicit flush is required. The function will return immediately because of the fOneThread (populated/thread started during AppInit).

    Removing it for now.

    (originally reported by @luke-jr in #8687)

  2. [Wallet] remove "unused" ThreadFlushWalletDB from removeprunedfunds c6f5ca822f
  3. jonasschnelli added the label Wallet on Sep 20, 2016
  4. laanwj commented at 2:23 PM on September 20, 2016: member

    Good catch. A shame we didn't catch this in the review. Calling into another thread's main function is 100% of times a mistake. utACK https://github.com/bitcoin/bitcoin/pull/8765/commits/c6f5ca822f1308983431bf1b3c91f8aaccff51a0

  5. laanwj approved
  6. paveljanik approved
  7. fanquake approved
  8. fanquake commented at 12:39 AM on September 21, 2016: member

    utACK c6f5ca8

  9. luke-jr approved
  10. luke-jr commented at 6:13 AM on September 21, 2016: member

    utACK

  11. laanwj merged this on Sep 21, 2016
  12. laanwj closed this on Sep 21, 2016

  13. laanwj referenced this in commit b4f53641a9 on Sep 21, 2016
  14. luke-jr commented at 6:23 AM on September 27, 2016: member

    Backport for 0.13.1?

  15. laanwj added the label Needs backport on Sep 27, 2016
  16. MarcoFalke added this to the milestone 0.13.1 on Sep 27, 2016
  17. MarcoFalke referenced this in commit 62886598db on Oct 3, 2016
  18. laanwj commented at 5:57 PM on October 13, 2016: member

    Was backported in #8866, removing tag

  19. laanwj removed the label Needs backport on Oct 13, 2016
  20. laanwj removed this from the milestone 0.13.1 on Oct 13, 2016
  21. sickpig referenced this in commit 028ec007c5 on Feb 17, 2017
  22. codablock referenced this in commit 563b7e5110 on Sep 19, 2017
  23. codablock referenced this in commit e02b48cad0 on Jan 11, 2018
  24. andvgal referenced this in commit 32dcc5bbf6 on Jan 6, 2019
  25. 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-14 18:15 UTC

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