bitcoin/bitcoin — pull request #1108 by jgarzik (2012-04-15 22:01:05+00:00)
Title: Move code to new walletdb module.  Simplify header dependencies.

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.

2) Reduce headers.h usage in most modules.