The block height validation is gated by the startup option
`con_blockheightinheader`, accesible in custom chains only
using option `chain=<name>`. Only if set to true will this
field be (de)serialized and evaluated in consensus logic.
Otherwise the field is simply ignored, other than being
stored in memory as the default value 0.
e20b836 Actually run the bitcoin functional tests with test_runner (Gregory Sanders)
Pull request description:
We were just re-running the other tests.
Tree-SHA512: 25d7ffada5fc97f1188cdd906b4c36cdb230ef3ec51e9db4fd199902b675db1e91d6595292ccb0b24a094055c13aae3fe076e0cfc9a09b5d718695f27344f96e
d97920c add functional test for coinbase connection to db (Gregory Sanders)
e532664 allow grabbing genesis transaction(s) when connected (Gregory Sanders)
c7e5549 [#9102] really don't validate genesis block (Gregory Sanders)
ccf40db connect genesis block transaction outputs to coin db (Gregory Sanders)
Pull request description:
Tests should now be working.
Tree-SHA512: aa2af6637c534d7f9185e969118b52519fe0609ae79fa8f4d5213f939f9a5915f958cf93d02aa6f4a47795c87cc23c93daff3807347cb1b12a426326e6dea60e
5b4aff7 Duplicate serializations of consensus objects to use as Bitcoin serialization (Gregory Sanders)
Pull request description:
…lization
This will allow us to break elements serialization in other PRs such as height in block header.
Tree-SHA512: 1c58bb6caeef8d874579abcf536c7ca4541538e85441f51709971b7c7c5ce9e48e0c6dc09626a27aed0f045fbb1fe21c756b1d3986ce75489cf06fecc16eb15b
ef039f0 Add travis build that tests bitcoin functional tests (Gregory Sanders)
Pull request description:
We're going to keep these tests alive as long as possible to increase modularity/QA of the codebase.
Tree-SHA512: c0639422fe518cd9a5f6eb06f24a4c812d38bdde95f37a6787b10ab009e6ee9ff22b30ea8f79e6cf47581bd0d7577fe149f3e636c4c6f0488c9c6555730b8315
7bac720 add block subsidy argument to allow different/non-inflation chains (Gregory Sanders)
Pull request description:
Previously we just set this to 0 and continued, this allows tests to otherwise pass up until this point.
Tree-SHA512: e4e6ae85779a6079ccad38941b4b0dbb3362fa4d902aff5cedbea4641201646f6946cc0d140cb0fdac81c5009ff983baabebcbeeed99f089e44ad492fd6cd1ee
1f1c7df Test: Fix example_test.py (Jorge Timón)
Pull request description:
Fix this useful test in -extended.
IMO should be backported to bitcoin/0.17, but I'm not sure if it's wanted there.
Tree-SHA512: d67c186c3dd59d13ec7c9cc79ae6dfd5a0dbd2ea76a8e3b5eb0020dedd08e004929741ed7b4ac9ca2a30da10b11e73179b0967023f59892eb59cb8d68ca67294
06f1b42 Don't edit Chainparams after initialization (Jorge Timón)
875a47c MOVEONLY: Move versionbits info out of versionbits.o (Jorge Timón)
Pull request description:
This is a backport of https://github.com/bitcoin/bitcoin/pull/13311 since it's already merged, merging this in elements-0.17 should at least make the next rebase slightly easier. And since we're heavily touching chainparams in elements, I think it's a good thing.
Tree-SHA512: 177f6396a34ecf87b609b39a108cc2b1e5b49bd8d12b705a4ae0241c7a5007db754ff01d6d045ee1e6a219ec6c6767663cd98558752c83961c4aff3378aef5a2