diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-05 15:14:48 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-15 17:48:38 +0200 |
commit | 99e70751f23aa59ac297f6746dd8f09a140d48ae (patch) | |
tree | 2be46a38d1150ab1a07ba6871931194661464f0f /src/rpc/misc.cpp | |
parent | 73fc922ed64333d45f18d8a448f30cfa2ae0281e (diff) |
Break circular dependency main ↔ txdb
Break the circular dependency between main and txdb by:
- Moving `CBlockFileInfo` from `main.h` to `chain.h`. I think this makes
sense, as the other block-file stuff is there too.
- Moving `CDiskTxPos` from `main.h` to `txdb.h`. This type seems
specific to txdb.
- Pass a functor `insertBlockIndex` to `LoadBlockIndexGuts`. This leaves
it up to the caller how to insert block indices.
Diffstat (limited to 'src/rpc/misc.cpp')
0 files changed, 0 insertions, 0 deletions