. #33836

pull 777genius wants to merge 1 commits into bitcoin:master from 777genius:refactor/bool-comparisons-cleanup changing 4 files +4 −4
  1. 777genius commented at 6:16 PM on November 9, 2025: none

    .

  2. refactor: Remove redundant boolean comparisons across codebase
    Replace explicit boolean comparisons with idiomatic C++ boolean evaluation
    in multiple files.
    
    Changes:
    - src/script/interpreter.cpp: 'CastToBool(...) == false' → '!CastToBool(...)'
    - src/addrman.cpp: 'fInTried == false' → '!fInTried'
    - src/policy/fees/block_policy_estimator.cpp: 'passing == true' → 'passing'
    - src/util/subprocess.h: 'force == false && argument.empty() == false' → '!force && !argument.empty()'
    
    All changes improve code readability while maintaining exact semantic
    equivalence.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    6e5e857f1f
  3. DrahtBot added the label Refactoring on Nov 9, 2025
  4. DrahtBot commented at 6:16 PM on November 9, 2025: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33836.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. bitcoin deleted a comment on Nov 9, 2025
  6. bitcoin locked this on Nov 9, 2025
  7. achow101 renamed this:
    refactor: Remove redundant boolean comparisons across codebase
    .
    on Nov 9, 2025
  8. fanquake removed the label Refactoring on Nov 10, 2025
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me