Implement a block size dependent sigops limit.
Summary:
This implement a sigops limit strategy compatible with BU's . The limit is computed by multiplying the size of the block in MB rounded up to the closest integer by 20k.
Equivalent Classic patch for referrence: https://github.com/bitcoinclassic/bitcoinclassic/pull/246
Depends on D126
Test Plan:
make check ../qa/pull-tester/rpc-tests.py -extended
Reviewers: freetrader, sickpig, #bitcoin_abc, kyuupichan
Reviewed By: freetrader, #bitcoin_abc, kyuupichan
Subscribers: kyuupichan
Differential Revision: https://reviews.bitcoinabc.org/D127