aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2017-03-08 15:56:59 -0500
committerSuhas Daftuar <[email protected]>2017-03-14 06:43:37 -0400
commitabe7b3d3abe10e3554b770f40824174b3b217490 (patch)
tree45054c26ef435b80eebdf9c5965023592b749e63 /src/miner.h
parentMerge #9970: Improve readability of segwit.py, smartfees.py (diff)
downloaddiscoin-abe7b3d3abe10e3554b770f40824174b3b217490.tar.xz
discoin-abe7b3d3abe10e3554b770f40824174b3b217490.zip
Don't require segwit in getblocktemplate for segwit signalling or mining
Segwit's version bit will be signalled for all invocations of CreateNewBlock, and not specifying segwit only will cause CreateNewBlock to skip transactions with witness from being selected.
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h
index c105d07c2..a159b0553 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -170,7 +170,7 @@ public:
BlockAssembler(const CChainParams& params, const Options& options);
/** Construct a new block template with coinbase to scriptPubKeyIn */
- std::unique_ptr<CBlockTemplate> CreateNewBlock(const CScript& scriptPubKeyIn);
+ std::unique_ptr<CBlockTemplate> CreateNewBlock(const CScript& scriptPubKeyIn, bool fMineWitnessTx=true);
private:
// utility functions