diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2017-03-08 15:56:59 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2017-03-14 06:43:37 -0400 |
commit | abe7b3d3abe10e3554b770f40824174b3b217490 (patch) | |
tree | 45054c26ef435b80eebdf9c5965023592b749e63 /src/miner.h | |
parent | 3cc13eac40a0d65f7b4c8d1bc74cb7060b5e1eb1 (diff) |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h index c105d07c23..a159b05534 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 |