Details
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- SeperatingBlockIndexClass
- Lint
Lint Passed Severity Location Code Message Auto-Fix src/versionbits.cpp:1 CFMT Code style violation - Unit
No Test Coverage - Build Status
Buildable 3331 Build 4745: Bitcoin ABC Buildbot (legacy) Build 4744: 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 ↗ | (On Diff #4612) | The Bitcoin developers |
221 ↗ | (On Diff #4612) | Keep |
src/blockindexworkcomparator.h | ||
8 ↗ | (On Diff #4612) | |
src/chain.h | ||
63 ↗ | (On Diff #4612) | 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 ↗ | (On Diff #4612) | It doesn't seems like it is required. |
src/init.cpp | ||
14 ↗ | (On Diff #4612) | dito |
src/rest.cpp | ||
6 ↗ | (On Diff #4612) | dito |
src/rpc/blockchain.cpp | ||
10 ↗ | (On Diff #4612) | Why is it required now ? |
src/test/blockencodings_tests.cpp | ||
9 ↗ | (On Diff #4612) | ??? |
Will update this patch with recommended changes as soon as soon as I can.
src/blockindex.h | ||
---|---|---|
1 ↗ | (On Diff #4612) | Fixed. |
221 ↗ | (On Diff #4612) | This is just a single newline between line 221 and 222, right? I will re-add this back in. |
src/chain.h | ||
63 ↗ | (On Diff #4612) | Doing this causes compile errors on my end. |
src/checkpoints.cpp | ||
7 ↗ | (On Diff #4612) | Ah, you're right. Will fix. |
src/init.cpp | ||
14 ↗ | (On Diff #4612) | Also, fixed. Although this might come back after CDiskBlockIndex is removed from chain.h in the next patch. |
src/rest.cpp | ||
6 ↗ | (On Diff #4612) | Also fixed. |
src/rpc/blockchain.cpp | ||
10 ↗ | (On Diff #4612) | Opps, this was a mistake I missed. Fixed. |
src/test/blockencodings_tests.cpp | ||
9 ↗ | (On Diff #4612) | 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.