Make FindNextHashes()
behavior different when no branchpoint is found
#2582
Labels
api
Related to user-facing APIs
Related to #2581.
When the method fails to find a branchpoint between itself and the given
BlockLocator
object, it simply "assumes" that the branchpoint should be the genesis. This means, this method does not differentiate a case between a validBlockLocator
object with actual genesis branchpoint and some arbitrary/invalidBlockLocator
.If we dig a little deeper, this is due to underlying assumptions, or lack there of, on
BlockLocator
objects and possible/allowed states forBlockChain<T>
. I'll be making a separate issue on this shortly.The text was updated successfully, but these errors were encountered: