MOVEONLY: Move struct CBlockTemplate to miner.h (from main.h)

This commit is contained in:
Luke Dashjr
2014-10-12 03:26:42 +00:00
committed by jtimon
parent 8e4578af0f
commit 2ce63d395f
3 changed files with 8 additions and 16 deletions

View File

@@ -45,7 +45,6 @@ class CScriptCheck;
class CValidationInterface;
class CValidationState;
struct CBlockTemplate;
struct CNodeStateStats;
/** Default for -blockmaxsize and -blockminsize, which control the range of sizes the mining code will create **/
@@ -513,17 +512,6 @@ extern CCoinsViewCache *pcoinsTip;
/** Global variable that points to the active block tree (protected by cs_main) */
extern CBlockTreeDB *pblocktree;
struct CBlockTemplate
{
CBlock block;
std::vector<CAmount> vTxFees;
std::vector<int64_t> vTxSigOps;
};
class CValidationInterface {
protected: