Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
The general help command is not helpful.
0$ bitcoin-cli help
1error: timeout on transient error: Could not connect to the server 127.0.0.1:8332
2
3Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
Specific command help is not helpful.
0$ bitcoin-cli help -addrinfo
1error: timeout on transient error: Could not connect to the server 127.0.0.1:8332
2
3Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
Expected behaviour
I expect the general help to display something useful.
I expect the help for a specific command to display helpful information about that command.
The man page states that the help has these command input options.
0 bitcoin-cli [options] help List commands
1 bitcoin-cli [options] help <command> Get help for a command
I do not expect to have to connect to the remote node to receive help. In fact, the help command should not be doing any networking.
Steps to reproduce
Ensure that bitcoin-cli cannot connect to a bitcoind node.
Run bitcoin-cli help
Relevant log output
No response
How did you obtain Bitcoin Core
Package manager
What version of Bitcoin Core are you using?
v25.0.0
Operating system and version
OpenBSD 7.4
Machine specifications
No response