#28690 (build: Introduce internal kernel library by sedited)
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.
DrahtBot added the label
CI failed
on Jan 15, 2026
DrahtBot removed the label
CI failed
on Jan 15, 2026
hebasto
commented at 5:33 pm on January 15, 2026:
member
Concept ACK.
hebasto approved
hebasto
commented at 5:55 pm on January 15, 2026:
member
ACKfa93e014c8a3482c3084f88b7fe4734022633398, I have reviewed the code and it looks OK.
sedited
commented at 11:39 am on January 16, 2026:
contributor
Concept ACK
This became possible after introducing a bespoke small hex parser in bitcoin-chainstate.cpp in #30595. We should eventually re-use our own internal utilities for things like hex parsing in our small tool binaries. The strencodings module can be used for that, so removing core_read from the kernel doesn’t make this more complicated.
maflcko
commented at 11:52 am on January 16, 2026:
member
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 (review) 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.
sedited
commented at 12:30 pm on January 16, 2026:
contributor
The strencodings module can be used for that, so removing core_read from the kernel doesn’t make this more complicated.
Although looks like the strencodings and string modules could be removed from the kernel lib now too?
maflcko force-pushed
on Jan 16, 2026
sedited approved
sedited
commented at 4:07 pm on January 17, 2026:
contributor
ACKfa994e41eb6eb941cd283c3140322ea7382d8160
DrahtBot requested review from hebasto
on Jan 17, 2026
hebasto approved
hebasto
commented at 9:44 am on January 18, 2026:
member
re-ACKfa994e41eb6eb941cd283c3140322ea7382d8160.
DrahtBot added the label
Needs rebase
on Jan 19, 2026
kernel: Remove unused core_read.cpp from kernel
Also, util/string and util/strencodings
fa6947f491
refactor: [move-only] Merge core_io module
This can be reviewed with the git option
--color-moved=dimmed-zebra
faf66673ac
doc: Fix typo found by LLMfaf07bd1ab
maflcko force-pushed
on Jan 19, 2026
maflcko
commented at 11:59 am on January 19, 2026:
member
rebased due to adjacent changes. Should be trivial to re-review via git range-diff bitcoin-core/master fa994e41eb faf07bd1ab --word-diff-regex=. -U0.
hebasto approved
hebasto
commented at 12:12 pm on January 19, 2026:
member
re-ACKfaf07bd1ab26621e7c76fe78d2bf3c16ad3792b7, only rebased since my recent review.
DrahtBot requested review from sedited
on Jan 19, 2026
sedited approved
sedited
commented at 12:26 pm on January 19, 2026:
contributor
Re-ACKfaf07bd1ab26621e7c76fe78d2bf3c16ad3792b7
DrahtBot removed the label
Needs rebase
on Jan 19, 2026
stickies-v approved
stickies-v
commented at 2:17 pm on January 19, 2026:
contributor
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-01-22 03:13 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me