doc: update tor docs to use bitcoind binary from path #32679

pull ismaelsadeeq wants to merge 1 commits into bitcoin:master from ismaelsadeeq:06-2025-fix-tor-docs changing 1 files +5 −5
  1. ismaelsadeeq commented at 5:09 pm on June 4, 2025: member

    I noticed this while trying to run a node over Tor. Using ./bitcoind as the executable path is incorrect.

    This is a simple documentation update PR that fixes the path by removing the prefix and just having bitcoind as the usage example targeting those who have Bitcoin Core in their PATH.

  2. DrahtBot commented at 5:09 pm on June 4, 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/32679.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK janb84, davidgumberg, jonatack
    Stale ACK hebasto, brunoerg

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

  3. DrahtBot added the label Docs on Jun 4, 2025
  4. andrewtoth commented at 5:21 pm on June 4, 2025: contributor
    The docs do not assume you are building bitcoind from source. They are assuming you are running the commands from whichever directory bitcoind is in.
  5. hebasto approved
  6. hebasto commented at 5:22 pm on June 4, 2025: member

    ACK b42ba6f806cda1e771ca9a0d57cc9716d1110a04.

    Backport to 29.x?

  7. ismaelsadeeq commented at 5:30 pm on June 4, 2025: member

    They are assuming you’re running the commands from whatever directory bitcoind is in.

    I dont think that’s what it is assuming by explicitly indicates that the binary is in the current directory, which isn’t true. Yes, you could argue that the build in the new docs path is just a default and users can change it, but bin/bitcoind is constant. So we’re just updating the docs to reflect the default setup.

    The docs do not assume you’re building bitcoind from source.

    If that were the case, the command would simply be bitcoind without the ./ prefix.

  8. brunoerg approved
  9. brunoerg commented at 6:17 pm on June 4, 2025: contributor
    ACK b42ba6f806cda1e771ca9a0d57cc9716d1110a04
  10. davidgumberg commented at 6:24 pm on June 4, 2025: contributor

    I do sort of see both points here, I think the question to answer is who this documentation is for, there being three groups:

    1. Those building from source
    2. Those who download releases, unzip them to some local directory, and run bitcoin core from there., e.g.: ~/Downloads/bitcoin-29.0/
    3. Those who have Bitcoin Core in their PATH, probably installed from a package manager.

    Previously, this documentation was written for $2$, and this PR changes it to be for $1$.

    I lean a little towards removing the ./ prefix from the commands here to cater to group $3$, whom I assume are average users.

  11. ismaelsadeeq force-pushed on Jun 4, 2025
  12. ismaelsadeeq commented at 6:56 pm on June 4, 2025: member

    I lean a little towards removing the ./ prefix from the commands here to cater to group 3, whom I assume are average users.

    Done, I also see thats the pattern in i2p docs. This approach also prevents use from having to update when the location of the binary after building from source change again https://github.com/bitcoin/bitcoin/compare/b42ba6f806cda1e771ca9a0d57cc9716d1110a04..4ce53495e5e18370b7935551b3b8700faa720a33

  13. ismaelsadeeq force-pushed on Jun 4, 2025
  14. ismaelsadeeq renamed this:
    doc: update tor docs to use correct bitcoind binary path
    doc: update tor docs to use bitcoind binary from path
    on Jun 4, 2025
  15. doc: update tor docs to use bitcoind binary from path 4ce53495e5
  16. ismaelsadeeq force-pushed on Jun 4, 2025
  17. janb84 commented at 7:27 pm on June 4, 2025: contributor

    ACK 4ce53495e5e18370b7935551b3b8700faa720a33

    Can imagine that the ./ is confusing for some people, removing is the best option to keep the documentation “generic”. (Although this can be a typical item that can get reintroduced in a new PR later on)

  18. DrahtBot requested review from brunoerg on Jun 4, 2025
  19. DrahtBot requested review from davidgumberg on Jun 4, 2025
  20. DrahtBot requested review from hebasto on Jun 4, 2025
  21. davidgumberg commented at 8:14 pm on June 4, 2025: contributor

    ACK https://github.com/bitcoin/bitcoin/commit/4ce53495e5e18370b7935551b3b8700faa720a33

    I think this makes the documentation more generic, stable, and useful for general users of Bitcoin Core, I think people that are downloading and unzipping binaries are likely to still be able to figure out what to do from these instructions.

  22. jonatack commented at 9:52 pm on June 4, 2025: member
    ACK 4ce53495e5e18370b7935551b3b8700faa720a33
  23. fanquake merged this on Jun 5, 2025
  24. fanquake closed this on Jun 5, 2025

  25. ismaelsadeeq deleted the branch on Jun 5, 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-06-15 06:13 UTC

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