Merge #10313: [Consensus] Add constant for maximum stack size
Summary:
cb184b3 Add constant for maximum stack size (Gregory Sanders)
Tree-SHA512: 0ec4a28552a6eee7fba8c69278f63c61f095e4ba06cb34456bd0162cd702370d10cca621ae1797a0d5e62fb39814cbb8245d3a7adc007ca39dab7a49cbc925dc
Backport of Core PR10313
https://github.com/bitcoin/bitcoin/pull/10313/
Test Plan:
make check test_runner.py
Reviewers: deadalnix, Fabien, jasonbcox, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc
Reviewed By: deadalnix, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D3541