💡 Suggestion
Explain the crossed comparator operands (src/node/blockstorage.h:144, head)
The crossed operands can look like a typo. They deliberately make sequence-ID and pointer ordering descending while work remains ascending. Please add a brief comment explaining this and why the pointer tie-break is needed when indexes loaded from disk share a sequence ID. This preserves the comparator’s behavior and the rationale in the removed implementation.
Make the sorting test reproducible (src/test/arith_uint256_tests.cpp:300, head)
The test uses a non-deterministic random context to choose one of 24 input permutations. If a failure depends on that choice, there is no fixed input to replay. Use a deterministic seed or exhaustively test the small set of permutations. Either approach preserves the ordering assertion, and exhaustive testing also provides consistent coverage.
Review coverage was incomplete. The adversarial review had incomplete evidence. The adversarial_glm review had incomplete evidence.