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

Move nBits check to ContextualCheckBlock #517

Merged
merged 5 commits into from
Jun 29, 2019
Merged

Conversation

aguycalled
Copy link
Member

This PR moves the nBits check to ContextualCheckBlock.

@proletesseract
Copy link
Member

Travis failed, re-running

@mxaddict
Copy link
Contributor

utACK

@mxaddict
Copy link
Contributor

@aguycalled I think reindex.py test fails on this branch

@aguycalled
Copy link
Member Author

It passed locally

$ ./qa/pull-tester/rpc-tests.py reindex.py
WARNING: "import zmq" failed. Set ENABLE_ZMQ=0 or to run zmq tests, see dependency info in /qa/README.md.
.....................................................................................
reindex.py:
Initializing test directory /var/folders/qh/7_l8lmqx2sb5ncxgtzzyb51r0000gn/T/testjsjz8dit/0
Success
Success
Success
Success
Stopping nodes
Cleaning up
Tests successful

 
Pass: True, Duration: 43 s

TEST       | PASSED | DURATION

reindex.py | True   | 43 s

ALL        | True   | 43 s (accumulated)

Runtime: 43 s

Restarting travis

@mxaddict
Copy link
Contributor

@aguycalled maybe you should merge master into this PR?

@aguycalled aguycalled requested a review from mxaddict June 25, 2019 18:03
Copy link
Contributor

@mxaddict mxaddict left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testedACK

@mxaddict
Copy link
Contributor

testedACK

Tested on Ubuntu 18.04

@proletesseract
Copy link
Member

building and testing now

@proletesseract
Copy link
Member

Compiles and runs on ubuntu 18.04.

  • The --reindex flag gets stuck as best block 229 for me. Reconsidering the block doesn't get past it.
  • The --reindex-chainstate flag also gets stuck as best block 229 for me. Reconsidering the block does get past it though.
  • Removing the data folder and syncing again gets past block 229.

Assuming this is just some localised problem and am still happy to merge, just thought it was worth documenting what happened in my tests.

Tests pass on travis so haven't run them locally.

@proletesseract proletesseract merged commit a16c48f into master Jun 29, 2019
This was referenced Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants