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