Make CBlockIndex* returned by GetDepthInMainChain const. #5135

pull domob1812 wants to merge 1 commits into bitcoin:master from domob1812:btc-depthinchain-const changing 2 files +6 −6
  1. domob1812 commented at 2:17 PM on October 24, 2014: contributor

    Make the CBlockIndex* (optionally) returned by GetDepthInMainChain const. This prevents accidental modification. The result is for reading its properties rather than modifying it.

  2. Make CBlockIndex* returned by GetDepthInMainChain const.
    Make the CBlockIndex* (optionally) returned by GetDepthInMainChain
    const.  This prevents accidental modification.  The result is for
    reading its properties rather than modifying it.
    a31e8bad53
  3. sipa commented at 5:00 PM on October 24, 2014: member

    utACK

  4. gavinandresen merged this on Oct 27, 2014
  5. gavinandresen closed this on Oct 27, 2014

  6. gavinandresen referenced this in commit 35ece7dd07 on Oct 27, 2014
  7. domob1812 deleted the branch on Oct 27, 2014
  8. MarcoFalke locked this on Sep 8, 2021
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-21 18:15 UTC

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