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

086 [src/validation.cpp] @ void CChainState::CheckBlockIndex() #458

Open
ihavenoface opened this issue Feb 18, 2023 · 0 comments
Open

086 [src/validation.cpp] @ void CChainState::CheckBlockIndex() #458

ihavenoface opened this issue Feb 18, 2023 · 0 comments
Labels

Comments

@ihavenoface
Copy link
Owner

Context: https://github.com/peercoin/peercoin/blob/6839e7cc431fd284b80fdf6a2d338aa03ca3ab6a/src/validation.cpp#L4326-L4332
Origin: https://github.com/ihavenoface/diff-btc-ppc/blob/main/src/validation.cpp.diff

@@ -4371,8 +4326,7 @@ void CChainState::CheckBlockIndex()
 
                 // If this block sorts at least as good as the current tip and
                 // is valid and we have all data for its parents, it must be in
-                // setBlockIndexCandidates.  m_chain.Tip() must also be there
-                // even if some data has been pruned.
+                // setBlockIndexCandidates. m_chain.Tip() must also be there.
                 //
                 // Don't perform this check for the background chainstate since
                 // its setBlockIndexCandidates shouldn't have some entries (i.e. those past the
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant