aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorDaniel Kraft <d@domob.eu>2014-10-24 16:13:41 +0200
committerDaniel Kraft <d@domob.eu>2014-10-24 16:13:41 +0200
commita31e8bad53e44629b26e7f36e0431b9fa01c1ed6 (patch)
treeba360bbcb5471fbc049dc1e0abe225e683baa6f7 /src/db.h
parent3552d4b859d56726cd25baa6f1e5988050bdad33 (diff)
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.
Diffstat (limited to 'src/db.h')
0 files changed, 0 insertions, 0 deletions