kernel: allow null data_directory #33867

pull stickies-v wants to merge 1 commits into bitcoin:master from stickies-v:2025-11/kernel-datadir-nullptr changing 2 files +19 −4
  1. stickies-v commented at 10:43 pm on November 12, 2025: contributor

    An empty path may be represented with a nullptr. For example, std::string_view::data() may return nullptr.

    Removes the BITCOINKERNEL_ARG_NONNULL attribute for data_directory, and instead handles such null arguments in the implementation.

    Also documents how BITCOINKERNEL_ARG_NONNULL should be used.

    Follow-up to #33853#pullrequestreview-3454620265

  2. kernel: allow null data_directory
    An empty path may be represented with a nullptr. For example,
    std::string_view::data() may return nullptr.
    
    Removes the BITCOINKERNEL_ARG_NONNULL attribute for data_directory,
    and instead handles such null arguments in the implementation.
    
    Also documents how BITCOINKERNEL_ARG_NONNULL should be used.
    1dee29ef47
  3. DrahtBot added the label Validation on Nov 12, 2025
  4. DrahtBot commented at 10:43 pm on November 12, 2025: contributor

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

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33867.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • “will associate” -> “will be associated” [passive voice needed: “the created options and … the chainstate manager will be associated with this kernel context” makes the sentence grammatically correct]

    drahtbot_id_5_m


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: 2025-11-13 00:13 UTC

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