[Wallet] remove unused code/conditions in ReadAtCursor #8564

pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2016/08/bdb_abstraction_1 changing 3 files +9 −11
  1. jonasschnelli commented at 1:41 PM on August 23, 2016: contributor

    Long term goal should be to provide alternative database connectors for our wallet. I have worked out a flexible adaptor like pattern that would allow a drop-in-alternative/replacement for BDB (https://github.com/jonasschnelli/bitcoin/tree/2016/08/bdb_abstract_prework).

    This is a small, easy-to-review trivial PR towards this direction.

    CDB::ReadAtCursor() has some unused flags handling (which would be relative hard to abstract for other databases). It seems like it only used to set a filter for the key (DB_SET_RANGE).

    This removes unused code and simplifies CDB::ReadAtCursor() logic.

  2. [Wallet] remove unused code/conditions in ReadAtCursor beef966e36
  3. jonasschnelli added the label Refactoring on Aug 23, 2016
  4. jonasschnelli added the label Wallet on Aug 23, 2016
  5. sipa commented at 5:21 PM on August 26, 2016: member

    utACK beef966e365e16a9b041321e404f7cd21a4e999e

  6. luke-jr commented at 3:47 AM on August 27, 2016: member

    utACK

  7. sipa merged this on Aug 29, 2016
  8. sipa closed this on Aug 29, 2016

  9. sipa referenced this in commit 01680195f8 on Aug 29, 2016
  10. codablock referenced this in commit 78e637e114 on Sep 19, 2017
  11. codablock referenced this in commit 8d5ecf7c91 on Jan 9, 2018
  12. codablock referenced this in commit 707e2945a4 on Jan 9, 2018
  13. andvgal referenced this in commit 387aa6048e on Jan 6, 2019
  14. random-zebra referenced this in commit 46fad30bbb on Nov 15, 2020
  15. 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-21 15:15 UTC

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