Details
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- SeperatingBlockIndexClass
- Lint
Lint Passed Severity Location Code Message Auto-Fix src/validation.cpp:1 CFMT Code style violation - Unit
No Test Coverage - Build Status
Buildable 3100 Build 4287: Bitcoin ABC Buildbot (legacy) Build 4286: arc lint + arc unit
Event Timeline
It's not clear to me why many of the include change are required. Except that it seems like a good change.
src/blockindex.h | ||
---|---|---|
1 | The Bitcoin developers | |
221 | Keep | |
src/blockindexworkcomparator.h | ||
8 | ||
src/chain.h | ||
63 | This is the only place where CBlockIndex is not used by pointer and/or ref, so this would deserve to be commented on and have a plan to split this one as well so everything else in there can just use a forward declaration rather than an include. | |
src/checkpoints.cpp | ||
7 | It doesn't seems like it is required. | |
src/init.cpp | ||
14 | dito | |
src/rest.cpp | ||
6 | dito | |
src/rpc/blockchain.cpp | ||
10 | Why is it required now ? | |
src/test/blockencodings_tests.cpp | ||
9 | ??? |
Will update this patch with recommended changes as soon as soon as I can.
src/blockindex.h | ||
---|---|---|
1 | Fixed. | |
221 | This is just a single newline between line 221 and 222, right? I will re-add this back in. | |
src/chain.h | ||
63 | Doing this causes compile errors on my end. | |
src/checkpoints.cpp | ||
7 | Ah, you're right. Will fix. | |
src/init.cpp | ||
14 | Also, fixed. Although this might come back after CDiskBlockIndex is removed from chain.h in the next patch. | |
src/rest.cpp | ||
6 | Also fixed. | |
src/rpc/blockchain.cpp | ||
10 | Opps, this was a mistake I missed. Fixed. | |
src/test/blockencodings_tests.cpp | ||
9 | This is actually necessary now because of some overly complicated include chains. The specific function call used is CheckProofOfWork(). |
src/versionbits.h | ||
---|---|---|
8 ↗ | (On Diff #4712) | Yes, it's preferable so that other code does not end up including blockindex.h as a side effect of including versionbits.h. |
src/chain.h | ||
---|---|---|
63 ↗ | (On Diff #4823) | Please add a comment as previously requested. |
src/chain.h | ||
---|---|---|
63 ↗ | (On Diff #4883) | That is not not what was asked. |
src/chain.h | ||
---|---|---|
63 ↗ | (On Diff #4883) | Sorry, I'm not quite sure what exactly you're asking for. Could you clarify what you want here for me? |
src/chain.h | ||
---|---|---|
63 ↗ | (On Diff #4883) |
What do you not understand in that comment ? If you do not understand something, you need to ask. |
Trying to clear off the review queue temporarily. Will get back to review this later.