Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc spec 1.0 missing some commands #11

Open
jcramer opened this issue May 29, 2018 · 4 comments
Open

rpc spec 1.0 missing some commands #11

jcramer opened this issue May 29, 2018 · 4 comments

Comments

@jcramer
Copy link

jcramer commented May 29, 2018

Is there a reason why there are RPC commands missing from the Bitcoin Cash 1.0 RPC specification? Like under "Wallet" category the commands "getbalance" and "listunspent" are not shown, and probably more.

I happen to notice this while I was using this website as a handy reference for bitcoin-cli.

@kenman345
Copy link
Collaborator

I do not see those RPCs listed inside https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/JSON-RPC.md

The spec I believe is growing and being updated frequently. I am sure @cgcardona may be able to help get it added to the spec and to the site.

@cgcardona
Copy link
Member

cgcardona commented May 29, 2018

When I fired up nodes for all of the multiple clients I had the following in my ~/.bitcoin/bitcoin.conf

# [wallet]
# Do not load the wallet and disable wallet RPC calls.
disablewallet=1

It didn't build the wallet so I didn't have the RPC calls when I put together the spec doc and the bitcoincash.org JSON-RPC.md doc.

I'm intending to rebuild these clients w/ the wallet when I have a moment.

If you are able to create a PR I can merge that as well.

@jcramer
Copy link
Author

jcramer commented May 29, 2018

Here is the list of RPC commands for BitcoinUnlimited: client.cpp

See vRPCConvertParams[] variable with long list.

@dgenr8
Copy link

dgenr8 commented Jun 19, 2018

fundrawtransaction is a useful non-wallet API that is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants