aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-10-26 15:27:24 -0400
committerCarl Dong <contact@carldong.me>2021-01-28 14:15:26 -0500
commit3664a150ac7547c9336b571557af223d9e31aac9 (patch)
tree7fdc5b2030c92b6f675b58c870fed0d8a7f06a71 /src/validation.h
parenteae54e6e60d7ed05b29d8345c0bb055397149ce8 (diff)
validation: Remove global LookupBlockIndex
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h
index 1c3852d158..e829c0c1c5 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -311,8 +311,6 @@ public:
bool VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview, int nCheckLevel, int nCheckDepth);
};
-CBlockIndex* LookupBlockIndex(const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
-
/** Find the last common block between the parameter chain and a locator. */
CBlockIndex* FindForkInGlobalIndex(const CChain& chain, const CBlockLocator& locator) EXCLUSIVE_LOCKS_REQUIRED(cs_main);