Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

fjahr
Copy link
Contributor

@fjahr fjahr commented Oct 9, 2019

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.

@laanwj
Copy link
Member

laanwj commented Oct 10, 2019

Concept ACK, thanks.

@fjahr fjahr force-pushed the loadblock_test branch 2 times, most recently from 28d4aec to 8ac734f Compare October 10, 2019 14:04
@DrahtBot
Copy link
Contributor

DrahtBot commented Oct 11, 2019

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #17104 (build: make dist uses git archive by ch4ot1c)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@laanwj
Copy link
Member

laanwj commented Oct 23, 2019

ACK 89339d1

laanwj added a commit that referenced this pull request Oct 23, 2019
89339d1 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`.

ACKs for top commit:
  laanwj:
    ACK 89339d1

Tree-SHA512: aede0cd6e8b21194973f3633bc07fa2672d66a6f85dfe6a57cee2bb269a65d19ea49d5f9ed7914a173b3847c76e70257aa865f44bde170c1999d9655b4862d1c
@laanwj laanwj merged commit 89339d1 into bitcoin:master Oct 23, 2019
@maflcko
Copy link
Member

maflcko commented Oct 23, 2019

Thanks. ACK

sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Oct 26, 2019
…ze scripts

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

Pull request description:

  Fixes bitcoin#17019

  Was initially part of bitcoin#17044 but as the test got larger it made sense to split it into its own commit as suggested in bitcoin#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`.

ACKs for top commit:
  laanwj:
    ACK 89339d1

Tree-SHA512: aede0cd6e8b21194973f3633bc07fa2672d66a6f85dfe6a57cee2bb269a65d19ea49d5f9ed7914a173b3847c76e70257aa865f44bde170c1999d9655b4862d1c
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jun 11, 2020
…cripts

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 [[bitcoin/bitcoin#17091 | PR17091]]

Test Plan:
  test_runner.py feature_loadblock

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D6512
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

contrib/linearize scripts need tests
6 participants