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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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. |