Help not working over RPC
Open
Nobody has claimed this yet.
CLI/RPC ▶
- Dominant language
- Python
- Stars
- 8.6k
- Forks
- 3.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 61
Description
Hi
First of all, I could not find a list of all the rpc commands with their documentation,
if you have this and could share this, would be really really great!!
We have started using electrum-daemon with RPC.
I try to list the help for a command, but it fails.
Request
{"jsonrpc": "2.0", "id": "1", "method": "help", "params": [ "add_peer" ] }
Response
{
"id": "1",
"jsonrpc": "2.0",
"error": {
"code": 1,
"message": "help() takes 1 positional argument but 2 were given"
}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the JSON-RPC request for help with the add_peer parameter, then trace how the help command is dispatched over RPC. Done means the request returns the add_peer help text instead of the reported positional-argument error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100