consensus refactor: range based for loops #17814

pull sanjaykdragon wants to merge 2 commits into bitcoin:master from sanjaykdragon:master changing 1 files +24 −24
  1. sanjaykdragon commented at 4:45 PM on December 28, 2019: contributor

    Modernized for loops (range based for loops were introduced in C++11). Range based for loops were used in this file earlier, not sure why they weren't used for the entire file.

  2. consensus refactor: changed for loops to range based for loops (modern cpp).
    Should not change behavior of consensus itself.
    caf91fac90
  3. fixed some stuff, im an idiot 99d84fcd6a
  4. fanquake commented at 6:40 PM on December 28, 2019: member

    Please see the section on refactoring in CONTRIBUTING.md. In general it's rare for the project to refactor just for the sake of it. Particularly in consensus related code. If you're interested in contributing, checkout out the good first issue list.

  5. fanquake closed this on Dec 28, 2019

  6. DrahtBot locked this on Dec 16, 2021

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-05-02 21:14 UTC

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