-
Notifications
You must be signed in to change notification settings - Fork 86
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
improve reorg by using getbestblockhash #363
improve reorg by using getbestblockhash #363
Conversation
Hey @LarryRuane, I just checked out your code and ran darksidewalletd locally with it. When I fired up one of my tests, lightwalletd failed with this error
|
I everything passes except for one test
This is the dLWD log
when I change this failing statement of the test, it works
But, latest stageBlockCreate was |
2f47d31
to
c592362
Compare
Thanks for all this information, @pacu, very helpful. I unintentionally made the behavior of |
Ok that's great! Maybe we can discuss these changes to be added later! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c592362
to
2959306
Compare
This is the implementation of the suggestion here: #348 (comment). This should make that PR unnecessary (since the latest block height won't jump around). This new version also has the virtue of being simpler.
@adityapk00 and @nighthawk24, perhaps you can review and test these changes.
CC @pacu @defuse