HomePhabricator

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

Description

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

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

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D6512

Details

Provenance
Wladimir J. van der Laan <laanwj@protonmail.com>Authored on Oct 23 2019, 08:57
majcostaCommitted on Jun 11 2020, 00:03
majcostaPushed on Jun 11 2020, 00:03
Reviewer
Restricted Project
Differential Revision
D6512: [backport#17091] tests: Add test for loadblock option and linearize scripts
Parents
rABC6ae6b1bf4780: Use std::condition_variable and sync.h instead of boost in scheduler_tests.cpp
Branches
Unknown
Tags
Unknown