Chaneg the flow a bit to reduce nesting, and add a few comments.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING4636385d7fa0: Refactor FindMostWorkChain
rABC4636385d7fa0: Refactor FindMostWorkChain
make check ./test/functional/test_runner.py
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- findmostwork
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3628 Build 5331: Bitcoin ABC Buildbot (legacy) Build 5330: arc lint + arc unit
Event Timeline
src/validation.cpp | ||
---|---|---|
2449 ↗ | (On Diff #5457) | Seems like this spinning forever could be error-prone despite the comment at the top of this function. Doesn't need to be part of this diff, but we should have some sort of cycle detection in place to fail out if this appears to spin forever. |