[cleanup] leveldbwrapper becomes more generic 'dbwrapper' module #6873

pull jgarzik wants to merge 3 commits into bitcoin:master from jgarzik:2015_dbwrapper changing 7 files +85 −89
  1. jgarzik commented at 1:40 AM on October 23, 2015: contributor

    See individual commits for step-by-step transformation.

    This originates from the conversion from leveldb to sqlite. Some operations in the wrapper class were not needed, and the 'leveldb' moniker itself is not needed as this is really bitcoin's generic backend database glue layer.

    The follow-on changes that build on top of this preparatory step can be seen at https://github.com/jgarzik/bitcoin/tree/2015_sqlite

  2. leveldbwrapper: Remove unused .Prev(), .SeekToLast() methods
    Also, trim trailing whitespace.
    6ec4b7eb20
  3. leveldbwrapper symbol rename: Remove "Level" from class, etc. names 8587b23038
  4. leveldbwrapper file rename to dbwrapper.* 3795e8152b
  5. jmcorgan commented at 2:06 AM on October 23, 2015: contributor

    ACK

  6. dcousens commented at 2:14 AM on October 23, 2015: contributor

    ACK. @jgarzik any thoughts on whether the path argument is relevant to the API? It is relevant to the current underlying implementation (leveldb), but if the idea is to allow expansion to other data models, its likely it won't always be relevant.

  7. btcdrak commented at 6:14 AM on October 23, 2015: contributor

    utACK

  8. jonasschnelli commented at 6:26 AM on October 23, 2015: contributor

    Nice! UtACK

  9. MarcoFalke commented at 6:29 AM on October 23, 2015: member

    utACK

  10. pstratem commented at 6:34 AM on October 23, 2015: contributor

    utACK

  11. laanwj added the label Refactoring on Oct 23, 2015
  12. laanwj commented at 8:32 AM on October 23, 2015: member

    Great idea. concept ACK (only quickly skimmed over it)

  13. jgarzik merged this on Oct 23, 2015
  14. jgarzik closed this on Oct 23, 2015

  15. jgarzik referenced this in commit 46f74379b8 on Oct 23, 2015
  16. veikkoeeva cross-referenced this on Jan 7, 2017 from issue ZCash build system improvements to leverage native tooling and other (native) assets where applicable by veikkoeeva
  17. str4d cross-referenced this on Aug 1, 2017 from issue Fixes for GCC 7 by bhjortsberg
  18. str4d cross-referenced this on Aug 28, 2017 from issue Bitcoin 0.12+ dbwrapper improvements by str4d
  19. dagurval cross-referenced this on Oct 27, 2017 from issue [cleanup] leveldbwrapper becomes more generic 'dbwrapper' module by dagurval
  20. zkbot referenced this in commit 068e82e00a on Jan 15, 2018
  21. litecoinz-project referenced this in commit f9cf85eb37 on Mar 15, 2018
  22. zkbot referenced this in commit 564119eb31 on Apr 3, 2018
  23. zkbot referenced this in commit 77669b952b on Apr 3, 2018
  24. random-zebra cross-referenced this on May 19, 2020 from issue [DB] Bitcoin 0.12-0.14 dbwrapper improvements by random-zebra
  25. random-zebra referenced this in commit 73d26f20e9 on May 27, 2020
  26. lyricidal cross-referenced this on Aug 27, 2021 from issue [Upstream] [DB] Bitcoin 0.12-0.14 dbwrapper improvements by lyricidal
  27. bitcoin 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-05-19 06:55 UTC