Page MenuHomePhabricator

[backport#17091] tests: Add test for loadblock option and linearize scripts
ClosedPublic

Authored by majcosta on Jun 10 2020, 22:01.

Details

Summary

89339d14607434b33cfa343dc75877b62b1dfe0e tests: Add test for loadblock option (Fabian Jahr)

Pull request description:

Fixes #17019

Was initially part of #17044 but as the test got larger it made sense to split it into its own commit as suggested in #17019 .

This is testing the `-loadblock` option by using the scripts in `contrib/linearize` to generate a `bootstrap.dat` file and starting a disconnected node with it. So it is also testing the linearize scripts which were untested before and needed to be made available for the CI environment, hence they are added to `DIST_CONTRIB` in `Makefile.am`.

Backport of Core PR17091

Test Plan
test_runner.py feature_loadblock

Diff Detail

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

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Jun 10 2020, 23:02