-
Notifications
You must be signed in to change notification settings - Fork 772
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
Blockchain: Deprecation Tasks / Head Function Renamings / Iterator adjustments #1754
Comments
Ah, and another deprecation task, will also put here since not too big: the iterator() function was expanded at some point (for the client) to not return The blockchain implementation is already reflecting this. The interface though still has |
Ah, this additional point hasn't been tackled yet, right? @ScottyPoi do you also want to take this over (it's a really really small one, maybe you could do with the test re-additions), since you have also tackled the other stuff? (remember to delete your local |
Here is a small sub-task not being tackled yet (see last comment) if I am not mistaken, just a short reminder that this won't get forgotten. |
ah, i took care of this a couple weeks back. must not have made it to a PR. |
Part of #1717
The following tasks are to be done along deprecation for the
Blockchain
package:getIteratorHead()
(above))I would be a fan of the following renamings (maybe execute upon if no one objects here during the day or so):
getLatestHeader()
->getCanonicalHeadHeader()
getLatestBlock()
->getCanonicalHeadBlock()
This is to make this more expressive and semantically clear and better differentiate on the iterator head functions.
The text was updated successfully, but these errors were encountered: