Move code to new walletdb module. Simplify header dependencies. #1108

pull jgarzik wants to merge 3 commits into bitcoin:master from jgarzik:headers changing 23 files +652 −598
  1. jgarzik commented at 10:01 PM on April 15, 2012: contributor

    Addresses issue #1105. Does not solve things completely, but one big code movement (walletdb) appeared to magically solve many include dependency problems.

    1. Move defs and code to walletdb.{h,cpp} respectively. This solves a key circular dependency plaguing include file cleanups, namely that db.h inclusion no longer sucks in CWalletTx etc.

    2. Reduce headers.h usage in most modules.

  2. Move CWalletDB code to new walletdb module.
    In addition to standard code separation, this change opens the door
    to fixing several include inter-dependencies.
    4af5d0addc
  3. Greatly reduce use of headers.h. ea97c507a6
  4. Move proto version to version.h. Reduce header deps a bit more. 0ff6ce4e2a
  5. jgarzik commented at 11:15 PM on April 15, 2012: contributor

    superceded by #1109

  6. jgarzik closed this on Apr 15, 2012

  7. jgarzik deleted the branch on Aug 24, 2014
  8. lateminer referenced this in commit c7bc2e1288 on Dec 25, 2019
  9. 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-13 18:16 UTC

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