X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.h;h=12ca01eae0b9cc441b71da5c3431523b019251fc;hb=ddb68d77d9ff170eeefe21d7584a6fb06a5194b8;hp=195d62e25f002a929e70f6e04636a0fb57124b06;hpb=18a7a330ee5de2dd06ccfc4a824bdbe55ed36eaa;p=novacoin.git diff --git a/src/main.h b/src/main.h index 195d62e..12ca01e 100644 --- a/src/main.h +++ b/src/main.h @@ -106,7 +106,7 @@ static const uint64 nMinDiskSpace = 52428800; class CReserveKey; class CCoinsDB; -class CChainDB; +class CBlockTreeDB; class CDiskBlockPos; class CCoins; class CTxUndo; @@ -2135,6 +2135,10 @@ public: bool HaveCoins(uint256 txid); }; +/** Global variable that points to the active CCoinsView (protected by cs_main) */ extern CCoinsViewCache *pcoinsTip; +/** Global variable that points to the active block tree (protected by cs_main) */ +extern CBlockTreeDB *pblocktree; + #endif