-
Notifications
You must be signed in to change notification settings - Fork 38.7k
refactor: [move-only] Merge core_io module, remove from libkernel #34296
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
base: master
Are you sure you want to change the base?
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34296. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK. |
hebasto
left a comment
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.
ACK fa93e01, I have reviewed the code and it looks OK.
|
Concept ACK This became possible after introducing a bespoke small hex parser in |
|
I agree, and we may even go further: Make core_io use the kernel, instead of re-implementing the logic? I think in combination with #30595 (comment) this would even lead to a speedup for free? Happy to work on this in a follow-up, if there is no obvious issue I am missing. |
Although looks like the |
Also, util/string and util/strencodings
This can be reviewed with the git option --color-moved=dimmed-zebra
sedited
left a comment
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.
ACK fa994e4
Currently the core_io module is split across two translation units. This will confuse code readers and tooling about the real state of the module.
Fix that by merging the module and removing the mapping workarounds.
Also, remove the module from the kernel lib, because it is not used there: The kernel does not use any json or string parsing or formatting.