Skip to content

Move nBits check to ContextualCheckBlock - #517

Merged
proletesseract merged 5 commits into
masterfrom
aguycalled-patch-1-1
Jun 29, 2019
Merged

proletesseract merged 5 commits into
masterfrom
aguycalled-patch-1-1

Conversation

@aguycalled

Copy link
Copy Markdown
Member

This PR moves the nBits check to ContextualCheckBlock.

@proletesseract

Copy link
Copy Markdown
Member

Travis failed, re-running

@mxaddict

Copy link
Copy Markdown
Contributor

utACK

@mxaddict

Copy link
Copy Markdown
Contributor

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

@aguycalled

Copy link
Copy Markdown
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
Copy Markdown
Contributor

@aguycalled maybe you should merge master into this PR?

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

@mxaddict mxaddict left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

testedACK

@mxaddict

Copy link
Copy Markdown
Contributor

testedACK

Tested on Ubuntu 18.04

@proletesseract

Copy link
Copy Markdown
Member

building and testing now

@proletesseract

Copy link
Copy Markdown
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