doc: add clarifying comment that creating the .bitcoin file is to avoid any mainnet datadir access #33503

pull kevkevinpal wants to merge 1 commits into bitcoin:master from kevkevinpal:commentNoDataDirAccess changing 1 files +1 −0
  1. kevkevinpal commented at 6:03 pm on September 29, 2025: contributor

    referenced from #33486 (comment)

    This adds a clarifying comment to tell the reader that the creation of the ${HOME}/.bitcoin file is to ensure that there is no mainnet datadir access happening from any of the tests

  2. doc: add clarifying comment that creating the .bitcoin file is to avoid any mainnet datadir access d66bf8fbd5
  3. DrahtBot added the label Docs on Sep 29, 2025
  4. DrahtBot commented at 6:03 pm on September 29, 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/33503.

    Reviews

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

  5. in ci/test/03_test_script.sh:95 in d66bf8fbd5
    91@@ -92,6 +92,7 @@ if [ "$USE_BUSY_BOX" = "true" ]; then
    92 fi
    93 
    94 # Make sure default datadir does not exist and is never read by creating a dummy file
    95+# Ensuring that no mainnet datadir access is happening from any of the tests
    


    laanwj commented at 1:29 pm on October 23, 2025:
    This is not only about the mainnet datadir, but any default datadir. i’m not convinced that this comment adds any information beyond that in the previous line, which already states that.
  6. kevkevinpal commented at 2:59 pm on October 23, 2025: contributor
    closing due to lack of interest and may not add any substantial value
  7. kevkevinpal closed this on Oct 23, 2025


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-10-31 18:13 UTC

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