Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
nCheckDepth chain height fix #10775
+1
−3
Conversation
|
utACK |
fanquake
added the
Validation
label
Jul 8, 2017
|
utACK |
|
utACK |
laanwj
merged commit d9d1bd3
into
bitcoin:master
Jul 20, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
laanwj
added a commit
that referenced
this pull request
Jul 20, 2017
|
|
laanwj |
7c2400c
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
romanornr commentedJul 8, 2017
•
edited
These lines confuse me.
Correct me if I am wrong, but we can't check any more blocks than we have right?
If someone requests <= 0 it get set it into some huge number and then immediately limit it to the chain height in the following statement.
when using
--checkblocks=ZWhen Z is0or any other negative number, it will check all blocks.I think it should be changed to this maybe.
Which gets rid of that huge number which is confusing for any other altcoins that have a different block time.