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.
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.
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.
hebasto approved
hebasto
commented at 5:22 pm on June 4, 2025:
member
ACKb42ba6f806cda1e771ca9a0d57cc9716d1110a04.
Backport to 29.x?
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.
brunoerg approved
brunoerg
commented at 6:17 pm on June 4, 2025:
contributor
ACKb42ba6f806cda1e771ca9a0d57cc9716d1110a04
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:
Those building from source
Those who download releases, unzip them to some local directory, and run bitcoin core from there., e.g.: ~/Downloads/bitcoin-29.0/
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.
ismaelsadeeq force-pushed
on Jun 4, 2025
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.
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
doc: update tor docs to use bitcoind binary from path4ce53495e5
ismaelsadeeq force-pushed
on Jun 4, 2025
janb84
commented at 7:27 pm on June 4, 2025:
contributor
ACK4ce53495e5e18370b7935551b3b8700faa720a33
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)
DrahtBot requested review from brunoerg
on Jun 4, 2025
DrahtBot requested review from davidgumberg
on Jun 4, 2025
DrahtBot requested review from hebasto
on Jun 4, 2025
davidgumberg
commented at 8:14 pm on June 4, 2025:
contributor
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.
jonatack
commented at 9:52 pm on June 4, 2025:
member
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