cleanup db.cpp/.h after Ultraprune patch #2011

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@Diapolo
Diapolo commented Nov 14, 2012
  • remove obsolete functions, variables, definitions and such
  • cleanup layout (no need to keep that many ugly empty lines IMHO)

I searched trough the source to see where functions are used and removed all that were not used anywhere anymore. Tried a compilation afterwards and the client still works fine :). Needs a careful review from a core dev.

Philip Kaufmann cleanup db.cpp/.h after Ultraprune patch
- remove obsolete functions, variables, definitions and such
- cleanup layout (no need to keep that many ugly empty lines IMHO)
0c7d18c
@sipa
Member
sipa commented Nov 14, 2012

I think you're a bit over-eager, and missed the fact that mocking is only used in tests.

@Diapolo Diapolo closed this Nov 14, 2012
@Diapolo
Diapolo commented Nov 14, 2012

Indeed... searched through the client source but didn't search within tests, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment