build: Move message.{h,cpp} from libbitcoin_util to libbitcoin_common #28549

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:230928-message changing 11 files +15 −14
  1. hebasto commented at 1:37 pm on September 28, 2023: member

    This PR breaks the libbitcoin_util library’s dependency on the libbitcoin_consensus library due to the CPubKey::RecoverCompact symbol, which is not in alignment with our library design goals.

    The libbitcoin_util library, unlike libbitcoin_common, is a dependency of the kernel library, so we are trying to move unnecessary things out of it, to make the kernel library smaller.

    For more details please refer to #28548.

  2. DrahtBot commented at 1:37 pm on September 28, 2023: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK BrandonOdiwuor
    Stale ACK ryanofsky

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #28690 (build: Introduce internal kernel library by TheCharlatan)
    • #28075 (util: Remove DirIsWritable, GetUniquePath by maflcko)

    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.

  3. DrahtBot added the label Build system on Sep 28, 2023
  4. ryanofsky commented at 1:46 pm on September 28, 2023: contributor
    Code review ACK 31eaa9db17b253683a0a457a85ae5240d3587cc2. If you wanted to update PR description to describe rationale a little more, you could say libbitcoin_util library, unlike libbitcoin_common, is a dependency of the kernel library, so we are trying to move unnecessary things out of it, to make the kernel library smaller
  5. build: Move `message.{h,cpp}` from libbitcoin_util to libbitcoin_common
    This change breaks the `libbitcoin_util` library's dependency on the
    `libbitcoin_consensus` library due to the `CPubKey::RecoverCompact`
    symbol, which is not in alignment with our library design goals.
    e39d827206
  6. hebasto force-pushed on Sep 28, 2023
  7. DrahtBot added the label CI failed on Sep 28, 2023
  8. hebasto commented at 2:28 pm on September 28, 2023: member

    Updated 31eaa9db17b253683a0a457a85ae5240d3587cc2 -> e39d82720641317d7f24d6564c1286641e81b1e2 (pr28549.01 -> pr28549.02, diff):

    f you wanted to update PR description to describe rationale a little more, you could say libbitcoin_util library, unlike libbitcoin_common, is a dependency of the kernel library, so we are trying to move unnecessary things out of it, to make the kernel library smaller

    Thank you! Done.

  9. DrahtBot removed the label CI failed on Sep 28, 2023
  10. BrandonOdiwuor commented at 2:00 pm on September 29, 2023: contributor
    Review ACK e39d82720641317d7f24d6564c1286641e81b1e2 moving message.{h, cpp} from libbitcoin_util to libbitcoin_common breaking its dependency on the libbitcoin_consensus library
  11. DrahtBot requested review from ryanofsky on Sep 29, 2023
  12. fanquake commented at 12:20 pm on October 2, 2023: member
  13. hebasto commented at 3:08 pm on December 6, 2023: member
    Closing in favour of #28690.
  14. hebasto closed this on Dec 6, 2023


github-metadata-mirror

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: 2024-11-21 21:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me