aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-06-12 16:19:08 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-06-12 16:29:59 +0200
commitb7296bcea0c942abefcb3243e3e558b95933c082 (patch)
tree7d6e93af29fbb934ec8685ceaf473225f5d5f89f /src/validation.h
parentad1a13e85c1eb638f32509993ce319356ba2b9e0 (diff)
parent3ff1fa8c4a6198ebc277bbf814b4e07bf78eb98a (diff)
downloadbitcoin-b7296bcea0c942abefcb3243e3e558b95933c082.tar.xz
Merge #10550: Don't return stale data from CCoinsViewCache::Cursor()
3ff1fa8 Use override keyword on CCoinsView overrides (Russell Yanofsky) 24e44c3 Don't return stale data from CCoinsViewCache::Cursor() (Russell Yanofsky) Tree-SHA512: 08699dae0925ffb9c018f02612ac6b7eaf73ec331e2f4f934f1fe25a2ce120735fa38596926e924897c203f7470e99f0a99cf70d2ce31ff428b105e16583a861
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index 0f410530fb..b8d39c4b41 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -34,6 +34,7 @@ class CBlockIndex;
class CBlockTreeDB;
class CBloomFilter;
class CChainParams;
+class CCoinsViewDB;
class CInv;
class CConnman;
class CScriptCheck;
@@ -440,6 +441,9 @@ bool ResetBlockFailureFlags(CBlockIndex *pindex);
/** The currently-connected chain of blocks (protected by cs_main). */
extern CChain chainActive;
+/** Global variable that points to the coins database (protected by cs_main) */
+extern CCoinsViewDB *pcoinsdbview;
+
/** Global variable that points to the active CCoinsView (protected by cs_main) */
extern CCoinsViewCache *pcoinsTip;