mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
8b5397c00ewallet: bdb: include bdb header from our implementation files only (Cory Fields)6e010626afwallet: bdb: don't use bdb define in header (Cory Fields)004b184b02wallet: bdb: move BerkeleyDatabase constructor to cpp file (Cory Fields)b3582baa3awallet: bdb: move SafeDbt to cpp file (Cory Fields)e5e5aa1da2wallet: bdb: move SpanFromDbt to below SafeDbt's implementation (Cory Fields)4216f69250wallet: bdb: move TxnBegin to cpp file since it uses a bdb function (Cory Fields)43369f3706wallet: bdb: drop default parameter (Cory Fields) Pull request description: Only `#include` upstream bdb headers from our cpp files. It's generally good practice to avoid including 3rd party deps in headers as otherwise they tend to sneak into new compilation units. IMO this makes for a nice cleanup. There's a good bit of code movement here, but each commit is small and _should_ be obviously correct. Note: in the future, the buildsystem can add the bdb include path for `bdb.cpp` and `salvage.cpp` only, rather than all wallet sources. ACKs for top commit: achow101: reACK8b5397c00ehebasto: ACK8b5397c00eTree-SHA512: 0ef6e8a9c4c6e2d1e5d6a3534495f91900e4175143911a5848258c56da54535b85fad67b6d573da5f7b96e7881299b5a8ca2327e708f305b317b9a3e85038d66