File tree Expand file tree Collapse file tree 3 files changed +8
-16
lines changed
Expand file tree Collapse file tree 3 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ class CScriptCheck;
4545class CValidationInterface ;
4646class CValidationState ;
4747
48- struct CBlockTemplate ;
4948struct CNodeStateStats ;
5049
5150/* * Default for -blockmaxsize and -blockminsize, which control the range of sizes the mining code will create **/
@@ -513,17 +512,6 @@ extern CCoinsViewCache *pcoinsTip;
513512/* * Global variable that points to the active block tree (protected by cs_main) */
514513extern CBlockTreeDB *pblocktree;
515514
516- struct CBlockTemplate
517- {
518- CBlock block;
519- std::vector<CAmount> vTxFees;
520- std::vector<int64_t > vTxSigOps;
521- };
522-
523-
524-
525-
526-
527515
528516class CValidationInterface {
529517protected:
Original file line number Diff line number Diff line change 66#include " miner.h"
77
88#include " amount.h"
9- #include " primitives/block.h"
109#include " primitives/transaction.h"
1110#include " hash.h"
1211#include " main.h"
Original file line number Diff line number Diff line change 66#ifndef BITCOIN_MINER_H
77#define BITCOIN_MINER_H
88
9+ #include " primitives/block.h"
10+
911#include < stdint.h>
1012
11- class CBlock ;
12- class CBlockHeader ;
1313class CBlockIndex ;
1414class CReserveKey ;
1515class CScript ;
1616class CWallet ;
1717
18- struct CBlockTemplate ;
18+ struct CBlockTemplate
19+ {
20+ CBlock block;
21+ std::vector<CAmount> vTxFees;
22+ std::vector<int64_t > vTxSigOps;
23+ };
1924
2025/* * Run the miner threads */
2126void GenerateBitcoins (bool fGenerate , CWallet* pwallet, int nThreads);
You can’t perform that action at this time.
0 commit comments