I noticed the following were unused from the node namespace in validation.cpp:
- BLOCKFILE_CHUNK_SIZE
- nPruneTarget
- OpenBlockFile
- UNDOFILE_CHUNK_SIZE
I am not sure if maybe there is some reason these are still defined here in which case I’ll close this
I noticed the following were unused from the node namespace in validation.cpp:
I am not sure if maybe there is some reason these are still defined here in which case I’ll close this
The following were unused from the node namespace:
- BLOCKFILE_CHUNK_SIZE
- nPruneTarget
- OpenBlockFile
- UNDOFILE_CHUNK_SIZE
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
No conflicts as of last run.
src/rpc/transaction.cpp for ReadBlockFromDisk
We already run clang-tidy, so there is no additional cost of enabling https://clang.llvm.org/extra/clang-tidy/checks/misc/unused-using-decls.html
The question is: Is it worth it?
If the clang-tidy check helps to avoid:
I’d say it is worth it.
(Surely it is frustrating to open a pull request and see a red CI 6 minutes later, but if a pull request author isn’t willing to put up 6 minutes of their time, maybe they shouldn’t open a pull request in the first place to ask others to spend time on it.)
Labels
Refactoring