mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Merge pull request #5648
2ce63d3 MOVEONLY: Move struct CBlockTemplate to miner.h (from main.h) (Luke Dashjr)
This commit is contained in:
12
src/main.h
12
src/main.h
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user