Page MenuHomePhabricator

Make sure we generate a block bigger than 1MB by stuffing the coinbase when required
ClosedPublic

Authored by deadalnix on Jun 21 2017, 20:56.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/miner.cpp
209 ↗(On Diff #612)

My feeling is it would be better to limit this block stuffing to testnets. But there is an argument to be made for keeping the code path the same and trying to eliminate as much uncertainty as possible from the mainnet fork.

Cleanup the whole thing.
Tested it work by forking testnet at 1498127000 .

I'm ok with these changes and have convinced myself (by a little math) that the block stuffing works as advertised.

src/miner.cpp
216 ↗(On Diff #619)

spelling of comitmentSize and missingComitment in this section

commitment

This revision is now accepted and ready to land.Jun 22 2017, 13:10
This revision was automatically updated to reflect the committed changes.