[WIP] Wallet: Cache CWalletDB pointer in CWallet to improve performance #8026

pull pstratem wants to merge 6 commits into bitcoin:master from pstratem:2016-05-08-wallet-speed changing 7 files +86 −67
  1. pstratem commented at 3:46 AM on May 9, 2016: contributor

    No description provided.

  2. pstratem force-pushed on May 9, 2016
  3. pstratem force-pushed on May 9, 2016
  4. jonasschnelli added the label Wallet on May 9, 2016
  5. pstratem force-pushed on May 9, 2016
  6. pstratem force-pushed on May 9, 2016
  7. pstratem force-pushed on May 9, 2016
  8. pstratem force-pushed on May 9, 2016
  9. pstratem force-pushed on May 10, 2016
  10. pstratem force-pushed on May 10, 2016
  11. pstratem force-pushed on May 10, 2016
  12. TheBlueMatt commented at 11:09 PM on May 11, 2016: member

    Can you fix the tests for this?

  13. pstratem commented at 11:14 PM on May 11, 2016: contributor

    @TheBlueMatt I'm not sure whether it's broken or if the tests are broken.

  14. pstratem force-pushed on May 12, 2016
  15. pstratem commented at 12:54 AM on May 12, 2016: contributor

    Indeed all the tests pass except for the tests which fail on master #8045

  16. pstratem force-pushed on May 12, 2016
  17. pstratem force-pushed on May 12, 2016
  18. pstratem force-pushed on May 12, 2016
  19. pstratem force-pushed on May 12, 2016
  20. pstratem force-pushed on May 12, 2016
  21. pstratem force-pushed on May 12, 2016
  22. MarcoFalke commented at 10:53 AM on May 12, 2016: member

    @pstratem The backupwallet rpc appears to be no longer working

  23. pstratem force-pushed on May 14, 2016
  24. Replace pwalletdbEncryption with pwalletdb. ae66aeb669
  25. Use pwalletdb in CWallet::IncOrderPosNext 577192c65c
  26. Move CWallet::AddToWallet to use CWallet::pwalletdb ea26ca76ab
  27. Move CWallet::AddAccountingEntry to use CWallet::pwalletdb 2e93924166
  28. Move CWallet::SetMinVersion to use CWallet::pwalletdb cd86a710fe
  29. pstratem force-pushed on May 14, 2016
  30. Prevent deadlock in BackupWallet. 85a02715c5
  31. in src/wallet/wallet.h:None in ae66aeb669 outdated
     622 | +        pwalletdb = new CWalletDB(strWalletFile, "cr+");
     623 | +    }
     624 | +
     625 | +    void CloseDB()
     626 | +    {
     627 | +        if (pwalletdb) {
    


    sipa commented at 4:13 AM on May 15, 2016:

    The conditional is unneeded: deleting NULL is defined to be a nop.

  32. pstratem commented at 11:06 PM on May 16, 2016: contributor

    Going to reorganize these changes

  33. pstratem closed this on May 16, 2016

  34. 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-19 00:15 UTC

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